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.