ImmichI
Immich11mo ago
Noryb

System integrity folder checks not passing after restoring from backup

Hi, I moved my Immich server from a dedicated server onto my Synology NAS using it's Docker / Container manager.

Restoring the database from a backup worked well and all files where moved from the old host to the NAS, too.

However the immich_server container is stuck in a loop because folder checks are not passing. Specifically currently it logs that <UPLOAD_LOCATION>/encoded-video is not passing (so it says the .immich file is missing).

The file itself however is there:
brayd@Hydra:/volume1/Immich$ ls -la encoded-video/
total 12
drwxrwxrwx+ 1 brayd users  1160 Jan  7 23:49 .
drwxrwxrwx+ 1 root           root   1680 Feb 16 15:40 ..
drwxrwxrwx+ 1 brayd users 43008 Sep 11 11:00 35beae71-248e-4ff2-998a-c93be3aafaac
drwxrwxrwx+ 1 brayd users 43008 Sep 17 17:44 9bed5e58-7b01-410b-98a3-0d0cf15f5457
drwxrwxrwx+ 1 brayd users   672 Jan  7 23:51 bb4370a6-38ed-42ca-a7db-7259065b6ee7
drwxrwxrwx+ 1 brayd users 43008 Sep 12 04:13 f46a57eb-bdaf-4efc-9d40-1675f7cecde5
-rwxrwxrwx+ 1 brayd users    13 Feb 15 13:43 .immich


I also tried adding user: 0:0 to immich_server so it starts with root, but this doesn't change anything.
I then did id -u brayd which is 1026 and id -g brayd which is 100 and changed the user attribute in the docker file to: user: 1026:100 but I still get the error.

My current docker file is: (Pastebin because it's too long for Discord) https://bin.disroot.org/?f6503601167eea57#53Pij6TRqeUg21CVDLaEYESK1kfhayQWvJnPnV6MYmA

Any ideas why the integrity check fails?
I also attached a screenshot with the log itself.
CleanShot_2025-02-16_at_16.03.172x.png
Disroot Bin - Encrypted pastebin by PrivateBin
Visit this link to see the note. Giving the URL to anyone allows them to access the note, too.
Was this page helpful?