There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…
Self-hosting my photos with Immich
281–290 of 384 posts
Re: Self-hosting my photos with Immich
#282Re: Self-hosting my photos with Immich
#283Earlier quoted context omitted.
What? It is literally just start the container and forget. When upgrading it is change the version tag and restart the container. Upgrades are frequent but no hassle. I have been running this for half a year. It might have been more work earlier? My household is using this for our shared photos repository and everyone can use it. Even the kids. There is both direct web access and an iPhone app.
Idk maintaining the PG vector extensions has been kind of a pain in the ass, at least from an automation perspective
Re: Self-hosting my photos with Immich
#284Earlier quoted context omitted.
> How do you update the software in the containers when new versions come out or vulnerabilities are actively being exploited? You build new image with updated/patched versions of packages and then replace your vulnerable container with a new one, created from new image
Am I the only one surprised that this is a serious discussion in 2025?
Re: Self-hosting my photos with Immich
#285There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…
I hope someone will create a Debian package for Immich. I’m running a bunch of services and they are all nicely organized with user foo, /var/lib/foo, journalctl -u foo, systemctl start foo, except for Immich which is the odd one out needing docker compose. The nix package shows it can be done but it would probably be a fair amount of work to translate to a Debian package.
I may try to package it, and if it proves to be easy to maintain, I might file an ITP.
Re: Self-hosting my photos with Immich
#286There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…
I hope someone will create a Debian package for Immich. I’m running a bunch of services and they are all nicely organized with user foo, /var/lib/foo, journalctl -u foo, systemctl start foo, except for Immich which is the odd one out needing docker compose. The nix package shows it can be done but it would probably be a fair amount of work to translate to a Debian package.
Re: Self-hosting my photos with Immich
#287Earlier quoted context omitted.
Not really. No. You can easily checkout repo containing the Dockerfile, add a Dockerfile override, change most of the stuff while maintaining the original Dockerfile instact and the ability to use git to update it. Then you change one line in docker-compose.yaml (or override it if it's also hosted by the repo) and build the container locally. Can't imagine easier way to modify existing docker images, I do this a lot…
I'll be honest, that does not sound "easy". It is straightforward, but so is the NixOS module system, and I could describe writing a custom module the same way you described custom Docker images.
Re: Self-hosting my photos with Immich
#288There is something to be said about NixOS, it really is a matter of setting `services.immich.enable = true;` in a configuration file. I find this really powerful and simpler than docker and docker-compose. But don't get me wrong, I am all for containerization when it comes to other OS/distros. Yes, there is a learning curve for the Nix language and creating your own packages. But anyone who can install a distro can i…
OK, I'll stick with Ubuntu + KDE (so Kubuntu really) on all my machines.
Re: Self-hosting my photos with Immich
#289I had immich running great for a while, maybe for months. It would seamlessly sync photos from phone to local home server. I was going to setup nightly outbound sync too (1 is none, 2 is some). I updated the container for usual appliance maintenance. Entire thing is toast. Metadata files can't be read, mounted, permission issues and more. It's been four months since.
as an un-solicited drive-by suggestion: see if they're owned by root? you may have sudo'd the original run.
since you're at least a few months behind though, do check for breaking changes: https://github.com/immich-app/immich/discussions?discussions... they've pretty consistently had instructions, but you unfortunately mostly have to know to look for it. not sure why the upgrade notification doesn't make it super incredibly painfully obvious.
Re: Self-hosting my photos with Immich
#290I use my Immich instance locally as photos and videos storage for 7-8 months now. It's really amazing. Reading comments here I'd say it's medium-difficulty tier to set up. I have it on my Elitedesk 800 G3 mini, in Docker Compose, with hardware encoding and it's more than sufficient to handle this work. Never had a bug.
On hardware that doesn't have docker, or is significantly more resource constrained somehow: yea, I completely believe it. I haven't tried that, but given the features it makes total sense that it'd be harder.