© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•7d ago•
14 replies
JJBeasty

Backup triggered, immich-server continuously restarts

🗄️Server☑️Ready
Device: DS224

.env:
IMMICH_UPLOAD_LOCATION="/volume1/data/photos"

Linked the immich-server logs. No errors obvious from immich-postgres/immich-machine-learning/immich-redis

Reproduce:
Running backup via cli using prior backup gzp.

gunzip --stdout "/volume1/data/photos/backups/immich-db-backup-20260129T020000-v2.5.0-pg14.18.sql.gz" \
| sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g" \
| docker exec -i immich_postgres psql --dbname=postgres --username=postgres

After manually restarting, I am taken to the Immich start page to Get Started or Restore from backup. In a prior case, I clicked Get Started and went through set up again. After loading in, I noticed no images were present + system admin shows 0 images / resources. Checked inside the pods and it is mounted correctly (check upload_mount_check.txt attached)


nothing I tried would bring the images back. i went through the process again and instead clicked on Restore from backup on the start screen instead of getting started and got the verification of the files and the selecting a backup. After selecting a backup I've been getting into the maintenance loop where it seems like the pod is starting, with container manager showing a Error 22, The requested url response code 404.

So two problems here that would lead to my resolution, identifying how i messed up my upload folder mounting (didn't touch it between version upgrades) or perhaps it's something in the postgres side. Or identify what went wrong with the backup.

I have been consistently using immich-db-backup-20260129T020000-v2.5.0-pg14.18.sql.gz for my restore since it's the latest/only backup on 2.5.0 (check backup_folder.txt). Any help on this will be most appreciated. I am starting to get lost on immich server management.
immich_postgres.html10.92KB
immich_server_2.html239.04KB
docker-compose.yml.txt2.18KB
upload_mount_check.txt.txt1.71KB
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

immich_server continuously restarting
ImmichIImmich / help-desk-support
2mo ago
question about backup my immich server
ImmichIImmich / help-desk-support
5mo ago
Immich backup migrations.
ImmichIImmich / help-desk-support
7mo ago
Unraid - Immich - Backup
ImmichIImmich / help-desk-support
9mo ago