Todos os artigos

immich

How to self-host Immich (Google Photos alternative)

A plain-English guide to self-hosting Immich, including storage, backups, HTTPS, and the mistakes that make photo libraries painful later.

  • immich
  • photos
  • self-hosting
An abstract VPS server hosts an Immich photo library with HTTPS and backups highlighted in green.

Your phone keeps filling up, cloud photo storage keeps getting less comfortable, and you want your family photos somewhere you control without turning your weekend into a repair job.

Short version: to self host Immich, you run the Immich photo app on your own server with a database, file storage, HTTPS, and a backup plan. Immich can replace much of the Google Photos experience, but the important work is not just installing it — it is making sure uploads, storage, updates, and restores stay understandable months later.

What is Immich, and what are you actually self-hosting?

Immich is a self-hosted photo and video backup app. Think of it as a private photo library with a phone app, a web gallery, automatic uploads, albums, search, and sharing.

When you self-host Immich, you are not just putting one app on a server. You are giving that app a small household to live in:

  • the Immich web app you open in your browser
  • the Immich mobile app that uploads from your phone
  • a database that remembers albums, people, dates, and settings
  • storage where the original photos and videos live
  • background workers that create thumbnails and run machine-learning tasks

That last part matters. Photos are heavy. Videos are heavier. Immich does more than show files in a folder; it processes them so browsing feels fast later. Your server needs enough room to breathe.

If Docker is new to you, it helps to picture it as labeled lunchboxes for apps. Each piece of Immich gets its own box, with clear boundaries, instead of everything being poured into one drawer. We explain that idea more gently in Docker on a server for beginners.

How much server do you need for Immich?

For Immich, storage is usually the first limit, not raw power. Your photo library grows quietly. A few years of phone photos and 4K videos can become hundreds of gigabytes before you notice.

A small personal Immich setup can run on modest CPU and memory, especially if only one or two people use it. But thumbnail generation, video handling, and face recognition can create bursts of work. That is like asking a small kitchen to prepare a holiday meal: it can do it, but not instantly.

The practical sizing questions are:

  • How large is your current photo library?
  • How many phones will upload automatically?
  • Do you shoot lots of video?
  • Do you want machine-learning features enabled?
  • How much growth do you expect over the next year?

For most people, disk space and backups deserve more planning than the initial install. A server that feels fine on day one can become cramped once every family member starts uploading. If you are unsure how CPU, RAM, and storage translate into real use, read what size server do you need.

Is Immich really a Google Photos alternative?

Immich is one of the closest self-hosted alternatives to Google Photos, but it changes who is responsible. Google Photos hides the machinery. Immich gives you ownership of the machinery.

QuestionGoogle PhotosSelf-hosted Immich
Who stores the originals?GoogleYour server
Who handles updates?GoogleYou, or your management tool
Who controls access?Your Google account settingsYour domain, users, and server security
What happens if storage fills up?You buy more cloud storageUploads and processing may fail until you expand or clean up
Who is responsible for backups?Mostly GoogleYou

That trade is the heart of self-hosting. You gain control, privacy, and portability. You also become the person who must care about boring things like disk space, certificates, and restore tests.

For many people, that is worth it. Family photos are personal. But Immich should be treated like a real home archive, not a throwaway experiment.

What can go wrong when you self host Immich?

The most common Immich problems are not mysterious. They usually come from the parts around the app.

Storage fills up. Then uploads stop, thumbnails fail, or the database cannot write new information. It feels like “Immich is broken,” but the real issue is that the attic is full.

HTTPS is missing or broken. Your browser warns you, the mobile app refuses to connect cleanly, or family members lose trust in the link. If you plan to open Immich from outside your home, a proper certificate matters. We cover the basics in free HTTPS on your server.

Backups are incomplete. This is the painful one. Backing up only the app is not enough. You need the uploaded originals and the database, because the database is the card catalog for the library. Without it, you may still have files, but albums, metadata, and organization can be damaged or lost.

Updates are rushed. Immich moves quickly, and updates can bring database changes. A casual click without a backup is like rearranging a library while the lights are off.

The safer mindset is simple: your photo server should be boring. Boring means you know where the data lives, what depends on what, and how you would recover if something breaks.

FAQ

Can I self host Immich for my whole family? Yes, but plan storage and backups before inviting everyone. Multiple phones can grow the library very quickly.

Does Immich store my photos in the cloud? No. With self-hosted Immich, the originals live on the storage you provide for your server.

Do I need a domain name for Immich? You do not strictly need one for private testing, but a domain makes HTTPS and mobile access much cleaner.

Is Immich stable enough for important photos? Many people use it seriously, but you should still keep tested backups. Treat Immich as your photo library, not your only copy.

Can I import an existing Google Photos export? Yes, but large imports take patience. Expect processing time for thumbnails, metadata, and videos.

The shortcut

Server Manager helps by keeping the Immich setup legible after the exciting first install is over. The real benefit is not avoiding one difficult afternoon; it is avoiding the moment six months later when you cannot remember which part stores photos, which part stores the database, and why uploads suddenly stopped.

For Immich specifically, that means fewer ordinary failures turning into detective work: a wrong or expired certificate, a full disk breaking uploads, one project crowding another, or an update happening before you have a usable recovery path. Your photo library stays easier to reason about because the moving pieces remain visible.

You still own the server and the responsibility. But the shape of the setup stays understandable, so maintaining Immich feels less like guarding a pile of wires and more like keeping a labeled photo cabinet in order.

What does a good Immich setup give you?

A good Immich setup gives you private photo backup without pretending that photos are lightweight. Your phone uploads, your browser can browse, your family can find memories, and you know where the originals live.

The win is calm ownership. Not just “I installed Immich,” but “I understand my photo library, I can maintain it, and I have a way back if something goes wrong.”