ImmichI
Immich8mo ago
The Bird

v1.33.0 Upgrade - Postgres unable to copy configuration file: Operation not permitted

I am attempting to upgrade the Postgres database dedicated to Immich. I am deploying in a Kubernetes environment. When reverting back to the previous Postgres image, everything is working fine. I only changed the image.

Here's the full log from the moment the container is started:

Using SSD storage
cp: cannot create regular file '/etc/postgresql/postgresql.conf': Permission denied
chmod: changing permissions of '/var/run/postgresql': Operation not permitted

PostgreSQL Database directory appears to contain a database; Skipping initialization

postgres: could not access the server configuration file "/etc/postgresql/postgresql.conf": No such file or directory


The storage backend is Longhorn, though I do not believe this should be the issue, since the configuration is inside the Docker image.
Was this page helpful?