© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•2mo ago•
8 replies
HeadlessWeezle

Trouble Restoring to 2.3.1 after failed 2.4.1 upgrade

🚧SetupSolved❓Question
I upgraded to 2.4.1 and immich stopped working. I reinstalled immich with no luck. While trying to reinstall immich back to 2.3.1, i figured out my issue was that my drive I had my "library" folder in was unmounted/remounted under slightly different name. Once I fixed this mounting issue, I was able to get immich 2.3.1 running. However It has no users now. I am using a database dump file and am having trouble getting it to restore. Below is my process, and where I hang up. I run each line separate.

docker compose down -v

sudo rm -rf /home/jordan/docker/immich-app/postgres

docker compose create

docker start immich_postgres

This next line runs, gives me "complete"
gunzip --stdout /media/jordan/500GB-STORAGE/docker/immich-app/library/backups/immich-db-backup-20251229T020000-v2.3.1-pg14.19.sql.gz

This next line hangs. I am not sure if I have the dbname or username wrong., I have tried several combos of immich and postgres
docker exec -i immich_postgres psql --dbname=immich --username=postgres

I have attached my compose and .env files.
Maybe I am not waiting long enough on that last line? The dump file is 90MB, not sure how long this should take. I have let it sit for 10+ minutes already with no luck.
docker-compose.yml2.73KB
env1KB
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Errors after updating Immich 2.3.1 > 2.4.1
ImmichIImmich / help-desk-support
3w ago
Broken LXC after upgrade from 2.2.3 to 2.3.x
ImmichIImmich / help-desk-support
3mo ago
cant start after update to 2.4.1
ImmichIImmich / help-desk-support
2mo ago
SKILL-ISSUE Upgrade from 1.4 to 2.2 Issues -- Postgres auth failing
ImmichIImmich / help-desk-support
4mo ago