Immich broken after latest update
I belive I was working just fine on version 1.40 until the latest upgrade and replacement of the docker-compose.yml file.
43 Replies
:wave: Hey @athornfam2,
Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:.
References
- Container Logs:
docker compose logs
docs
- Container Status: docker ps -a
docs
- Reverse Proxy: https://immich.app/docs/administration/reverse-proxy
- Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA
Checklist
I have...
1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time).
2. :ballot_box_with_check: read applicable release notes.
3. :ballot_box_with_check: reviewed the FAQs for known issues.
4. :ballot_box_with_check: reviewed Github for known issues.
5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy).
6. :ballot_box_with_check: uploaded the relevant information (see below).
7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable
(an item can be marked as "complete" by reacting with the appropriate number)
Information
In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:
- Your docker-compose.yml and .env files.
- Logs from all the containers and their status (see above).
- All the troubleshooting steps you've tried so far.
- Any recent changes you've made to Immich or your system.
- Details about your system (both software/OS and hardware).
- Details about your storage (filesystems, type of disks, output of commands like fdisk -l
and df -h
).
- The version of the Immich server, mobile app, and other relevant pieces.
- Any other information that you think might be relevant.
Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)
If this ticket can be closed you can use the /close
command, and re-open it later if needed.docker ps -a
de798688897d ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 "/usr/local/bin/immi…" 9 minutes ago Up 9 minutes (healthy) 5432/tcp immich_postgres
6b5bbbd123fa ghcr.io/immich-app/immich-server:release "tini -- /bin/bash -…" 13 minutes ago Up 2 seconds (health: starting) 0.0.0.0:2283->2283/tcp, [::]:2283->2283/tcp immich_server
3123e3cdd6ec valkey/valkey:8-bookworm "docker-entrypoint.s…" 13 minutes ago Up 9 minutes (healthy) 6379/tcp immich_redis
e7fe44402c6d ghcr.io/immich-app/immich-machine-learning:release "tini -- python -m i…" 13 minutes ago Up 9 minutes (healthy) immich_machine_learning
Try run docker compose up without -d to see what is in the log
You've probably made a typo @athornfam2 and it's trying to find a variable that doesn't exist.
Could you post your full compose?
That would be great if it was just a typo.
It's not in there, maybe your .env file?
Does anything in your env/compose have the string
zCK
?
Specifically the password you've removed for instanceit does
I'm guessing there's a $ in front of there
Wow yes.
That .env must have changed because it has been working with that password since 0.30 of immich
How would I go about updating the DB password?
Not too sure if it will work but start off by putting it in quotes if it isn't already
Still now working after doing the docker down/up stuff
what about
DB_PASSWORD="blabla\$zCKblabla"
adding the \
That didn't work either.
If I can just change the password with no problems. I can do that and get rid of any special characters
Well just changed the password to try it out and still a no go
It doesn't just change the password like that
Hmm.. So what would be the process to fix this up?
docker exec -it immich_postgres /bin/bash
psql postgres -U postgres
ALTER USER postgres WITH PASSWORD 'new_password';
I think this should cover it
Changed the psql part ^Think I'm back to where I started minus the string issue
Did you skip versions 1.133 to 1.136?
I can't exactly remember but based on the error and what it says it sounds like I may have.
But you're certain 1.140 worked?
I more than likely had "update fatigue"
It doesn't matter to me how often you update, just what the versions were before this 😛
I'm very certain I was on 1.140
You could try specifying
IMMICH_VERSION=v.1.136.0
in your env file
But I'm guessing this might involve a db restore to get going properly
I would be totally fine redoing all of immich as long as I don't lose my photos under immich-storage which is a separate storage mount.
instead of do docker compose stop
can you try
docker compose down
?
it is a proper shutdown then stopstill the same issue
I put a . too many in my version
IMMICH_VERSION=v1.136.0
no dot between v and 1
That's what I have in the .env
it's 136 not 36
whoops
I'm getting a different type of error now but still no interface
What hardware are you running this on @athornfam2 ?
I'm running this on VMware with Ubuntu 24 LTS
Ah this is what I was looking for, try:
docker exec immich_postgres psql -U postgres -d immich -c 'select version, "createdAt" from version_history'
version | createdAt
---------+------------------------------- 1.117.0 | 2024-10-09 14:09:36.970941+00 1.121.0 | 2024-11-27 00:57:12.093278+00
---------+------------------------------- 1.117.0 | 2024-10-09 14:09:36.970941+00 1.121.0 | 2024-11-27 00:57:12.093278+00
aha
I would revert to your latest backup https://immich.app/docs/administration/backup-and-restore/ with the env set at v1.121.0
And then upgrade to 1.133
And after that straight to latest
release*
Well that was a pain in the *** but I'm "up and running" on v1.133.0 now. Going to do a new snap on this since its working.
I'm up and running on v1.142.0 now. Thanks!