opf/helm-charts

Fail to start webapp with persistence=True

PerilousApricot opened this issue · 1 comments

Hi all,

Using both the local storage PV and a cephfs PV, opf fails to start with the following error in the log:

-----> Setting PGVERSION=13 PGBIN=/usr/lib/postgresql/13/bin PGCONF_FILE=/etc/postgresql/13/main/postgresql.confchown: changing ownership of '/var/openproject/assets': Operation not permitted
chown: changing ownership of '/var/openproject/assets/files': Operation not permitted
chown: changing ownership of '/var/openproject/assets/git': Operation not permitted
chown: changing ownership of '/var/openproject/assets/svn': Operation not permitted

I can see the files in the PV from the host machines, and they appear to be owned by root. What UID is the chart trying to change the files to? That way I can change it before the pod launches and hopefully get over the error.

I found the issue -- had a vestigial PSP that was droping privs. Sorry for the noise!