Immich fails to restart after server shutdown / reboot.

I am running Immich 2.0.1 on Ubuntu 24.04.3 LTS x86_64. Strangely, after every safe reboot of my server with sudo shutdown or sudo reboot. Immich fails to restart. From what I'm gathered it appears that the postgres database isn't shutting down correctly, and then the immich-server container can't start again because of this. After restoring from a backup the server works until the next shutdown.
Was this page helpful?