Immich is awesome
Immich is awesome
I am a bit confused what is meant by:
“You can do this by connecting to the immich database as a superuser and running…”
How do I connect to the database exactly?
You only need to do this in a specific scenario, “Note: If you are running your database with a non-superuser role for Immich”
If you’re running the docker stack that immich provides you don’t need to do this.
Noticed it stopped working yesterday, wasnt at home so I couldn't really get into it, just checked the docker logs via portainer on the go and was like "wtf is this error?!" Was relieved when I learned what the issue was and that it's just a restructuring of the containers.
While it can be unnerving that they don't shy away from breaking things in order to improve the service, it's actually a very good thing and keeps the app from getting bogged down in some "but backwards compatibility"legacy code hell (wonder what some people in Redmond would know about that). Let's just hope that they never publish an update that permanently breaks things when you haven't followed a very strict weird update procedure or something.
you should exclude the immich stack from auto-updating and subscribe to immich releases.
most of the time will just be a docker compose pull && docker compose up -d && docker compose logs -f
Or, if you do have it auto-update (like I do) prepare for things to break every now and then. I auto-update just about all containers except those that would break either my home automation or my ability to login to my network and fix things. Everything else auto-updates, including Immich.
My Immich broke this weekend when they switched the stack over to pgvecto, to use vector searching in Postgres. Easily fixed, but took me a solid minute to figure out what had changed.
Which is kinda weird they didn’t communicate this one so well. In the lead-up to v.1.88.0, Alex made an announcement on Github to let people know the breaking change was the removal of the web container from the stack, rolling the webserver into the main server container itself. That was a good move, as all I did was flip my Watchtower container on that host to monitor only.
Dunno why they didn’t do something similar for the Postgres change. Was just as breaking.
Thanks for the reminder to check my docker compose file. I finally deployed immich for the family last week. I had tried it before, but held out for external libraries.
We never really used Google photos or iCloud, so having a similar experience with the library on my NAS is amazing.
I think photoprism supports multiple users.
If you pay $72 per year…
I’ve just set up an Immich server and the UI is nice and uploading is quite fast. Waiting for Google takeout to finish so I can import my whole library…
Also your Lemmy account is marked as a bot btw. Some people block bot accounts.
Installed it because of this thread to my homelab today. I never really managed my phone images in any way, never uploaded them anywhere. This was the first time. About 5 gigabytes of images and videos were synced to my NAS in a few minutes, now I can search them and all that. It’s a pretty cool setup, although the installation is a bit tricky if you don’t go to the path they give you. I run a Postgres server in Proxmox, and you have to install just the right version of pgvecto.rs for the system to work.
Browsing the issues I was able to figure out what went wrong, and after downgrading, no issues.
Think this way: postgress db is just part of immich. That’s it - separate your services into logical units.
That’s actually makes more sense to do at home lab. Bringing down your main DB breaks a lot of your services. By separating - only part would be broken.
My postgress db lives in the same docker compose file where immich is. If I decide to delete immich - it’s very simple to run “docker compose down” and delete folders. :)
Ask yourself what your "job" in the homelab should be: do you want to manage what apps are available or do you want to be a DB admin? Because if you are sharing DB-containers between multiple applications, then you've basically signed up to checking the release notes of each release of each involved app closely to check for changes like this.
Treating "immich+postgres+redis+..." as a single unit that you deploy and upgrade together makes everything simpler at the (probably small) cost of requiring some more resources. But even on a 4GB-ram RPi that's unlikely to become the primary issue soon.
Considering that it’s free, always improving and self-hosted, I am more than happy that it lacks some minor features from Google Photos. :) It’s not perfect, but I can relax that nothing like this would happen to me:
Not only that, but Google Photos already pulled a huge bait-and-switch. It used to be free unlimited photo storage for compressed photos…until they just stopped.
I love immich!
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters NAS Network-Attached Storage RPi Raspberry Pi brand of SBC SBC Single-Board Computer[Thread #360 for this sub, first seen 17th Dec 2023, 14:15] [FAQ] [Full list] [Contact] [Source code]
40+ years of photos already sorted into albums and sub albums make immich useless to me. I am using LibrePhoto which feels slower but works as well.
We will see what the future holds for both projects.