docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.16k stars 1.13k forks source link

postgresql14 - pg_stat_tmp/global.stat: Permission denied #1102

Closed DCCInterstellar closed 1 year ago

DCCInterstellar commented 1 year ago

Hello everyone,

I've been using the postgresql14 container for the past 2 months on an Unraid Server and keep receiving Permission denied for pg_stat_tmp/global.stat and sometimes the global.tmp file every time when postgresql14 boots up from "Stopped" to "Start". I've changed the permissions for these two files (chmod +rwx etc/global.stat), downloaded the file, removed it from postgresql14, and re-upload it. I'm still getting this same Permission denied error. The only way I found to fix it is to restart the container when it's already been started. Does anyone know how to fix this issue? I've added a screen shot below:

Thank you!

Capture

DCCInterstellar commented 1 year ago

Marking this as closed because there is already a issue that is open:

https://github.com/docker-library/postgres/issues/1015