Open webpalych opened 1 year ago
Can you try changing permission for your data directory before running postgres.
Wich permission directory should have?
Docker created directory postgres-data
drwxr-xr-x 3 root root 4096 postgres-data
postgres-data/main
drwxr-x--- 19 systemd-network systemd-network 4096 main
I suggest you check out the option to run the image as none root https://github.com/kartoza/docker-postgis#rootless-mode
What is the bug or the crash?
I updated my application and needed to rebuild images, so I restarted my docker-compose and postgis container no longer starts. In container logs I see an error "ERROR: must be superuser to alter superuser roles or change superuser attribute". If i don't use volume or use new empty volume, container starts.
Fragment of my docker-compose.yml
Steps to reproduce the issue
_
Versions
kartoza/postgis:14-3.3
Additional context
No response