PostgreSQL pod crashes in Openshift platform due to InitContainer "init-chmod-data" issue

Hi all,

I am using bitnami PostgreSQL helm chart to deploy it in Openshift based K8s cluster.
PostgreSQL container fails to start with the init container issue:

init-chmod-data chown: changing ownership of ‘/data/postgresql/data/pg_stat_tmp/global.stat’: No such file or directory
init-chmod-data chown: changing ownership of ‘/data/postgresql/data/pg_stat_tmp’: Invalid argument

Could you please suggest what is the root cause of this issue?

Looking forward to your comments.


Hi @ramnarayan.cse

We provide technical support for our containers and charts in our Github repositories. Our team is actively monitoring them and will be glad to help you there, usually within a business day, and the whole community will benefit from your contribution. Could you please post your question by creating a new issue in the Charts repo?


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.