- When postrgres image is used with persistent storage it always fails with below errors :
waiting for server to start....FATAL: data directory "/var/lib/pgsql/data/userdata" has wrong ownership HINT: The server must be started by the user that owns the data directory. pg_ctl: could not start server Examine the log output. stopped waiting
chmod: changing permissions of '/var/lib/pgsql/data/userdata': Operation not permitted
- Openshift Container Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.