Hi there
unning immich on unraid, i had redis inside the immich container and im using spaceinvaderones postgres container.
i can set it up, get it all working etc and its fine. however if i dare to restart the dockers for any reason the postgres container no longer starts. i get these errors
2025-08-13 00:18:06.381 BST [1] LOG: redirecting log output to logging collector process 2025-08-13 00:18:06.381 BST [1] HINT: Future log output will appear in directory "log". 2025-08-13 08:25:02.526 BST [1] FATAL: could not open directory "pg_notify": No such file or directory 2025-08-13 08:25:02.533 BST [1] LOG: database system is shut down PostgreSQL Database directory appears to contain a database; Skipping initialization PostgreSQL Database directory appears to contain a database; Skipping initialization
the only way i can get it working again is to delete all files in the postgres container folder in appdata but obviously that wipes everything so im back to setting immich up from scratch
docker logs
root@Hercules:~# docker logs PostgreSQL_Immich PostgreSQL Database directory appears to contain a database; Skipping initialization 2025-08-13 00:18:06.381 BST [1] LOG: redirecting log output to logging collector process 2025-08-13 00:18:06.381 BST [1] HINT: Future log output will appear in directory "log". PostgreSQL Database directory appears to contain a database; Skipping initialization 2025-08-13 08:25:02.526 BST [1] FATAL: could not open directory "pg_notify": No such file or directory 2025-08-13 08:25:02.533 BST [1] LOG: database system is shut down root@Hercules:~#
looking online some people have similar issues but not exactly the same, most mention a few restarts and its fine. I also noticed the unraid folder for the postgres container goes to 'unknown' for the owner and changes all permissions to no access. After i manually revert these it still doesnt boot
.