Error deploying GitLab on Red Hat OpenShift Enterprise
Issue
- From Deploy GitLab on OpenShift, you can view in: "A word on persistent volumes" the suggestion to change the ownership to
26:26. After creating from postgresql-persistent template, pod logs shows the following error:FATAL: data directory "/var/lib/pgsql/data/userdata" has wrong ownership. Then enters in loop
WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
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
- Issues with Persistent Volume Claims and Postgres deploying GitLab
- Stalling or crash loop with GitLab and Postgres installation
Environment
- Red Hat OpenShift Enterprise 3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.