e[31m[Nest] 93 - e[39m12/08/2025, 8:17:39 PM e[31m ERRORe[39m e[33m[Microservices:StorageService]e[39m e[31mFailed to read (/data/encoded-video/.immich): Error: ENOENT: no such file or directory, open '/data/encoded-video/.immich’e[39m
the /encoded-video/ folder exists under /15/docker/
I’m doing host path mounts for postgres and data, both are ‘/mnt/SSDs/immich
So it looks like there’s a bug somewhere that put the data into the postgres folder
from immich documentation System Integrity | Immich
The folders considered for these checks include: upload/, library/, thumbs/, encoded-video/, profile/, backups/
Those folders moved to /data/ . all folders contain a .immich file.
No dice, still can’t read the file.
ls -al in the data dir gives:
-rwxrwx— 1 netdata docker 13 Dec 3 21:47 .immich
Whoops, why is ‘netdata’ the owner with group ‘docker’?
Changing owner (and associated permissions) to apps, and it just started crashing (pgvecto_upgrade) and no reapplication of permissions would fix it.
So I put the old backup image back, same issue, pgvecto_upgrade crashed. But I had errors saying a chmod was failing due to permissions. Playing with them including restoring the original permissions didn’t work.
Reinstalling now 
edit: The reinstalled default file structure is below. I am confused by these permissions, particularly the owner of the postgres 18 folder.
drwxrwx— 9 netdata docker 9 Dec 8 21:43 .
drwxr-xr-x 8 root root 8 Dec 8 21:34 ..
drwxrwx— 3 netdata docker 3 Dec 8 21:42 18
drwxrwx— 2 apps docker 3 Dec 8 21:43 backups
drwxrwx— 2 apps docker 3 Dec 8 21:43 encoded-video
drwxrwx— 2 apps docker 3 Dec 8 21:43 library
drwxrwx— 2 apps docker 3 Dec 8 21:43 profile
drwxrwx— 2 apps docker 3 Dec 8 21:43 thumbs
drwxrwx— 2 apps docker 3 Dec 8 21:43 upload
Edit2: I had a postgres 15 database. Reinstalling again. File structure a little different:
drwx------ 10 netdata docker 10 Dec 8 22:13 .
drwxr-xr-x 8 root root 8 Dec 8 21:34 ..
drwxrwx— 3 netdata docker 3 Dec 8 22:13 15
drwxrwx— 2 apps docker 3 Dec 8 22:13 backups
drwxrwx— 2 root docker 2 Dec 8 22:13 data
drwxrwx— 2 apps docker 3 Dec 8 22:13 encoded-video
drwxrwx— 2 apps docker 3 Dec 8 22:13 library
drwxrwx— 2 apps docker 3 Dec 8 22:13 profile
drwxrwx— 2 apps docker 3 Dec 8 22:13 thumbs
drwxrwx— 2 apps docker 3 Dec 8 22:13 upload