Closed mattkgwhite closed 3 years ago
I believe this may be a problem with the linuxserver.io image. Perhaps the issue needs to made over there? https://github.com/linuxserver/docker-wikijs/issues
Perhaps you just need to change the PUID
and GPID
values. https://docs.linuxserver.io/general/understanding-puid-and-pgid
Surely the PUID
or GPID
should match whatever the securityContext
is on the mount @nicholaswilde? Can you successfully run this chart on your end?
I will take a look at it tonight.
I'm getting the same error when trying to run the installation both on my cluster as well as just running the image using docker-compose.yaml
with an empty volume. I'll try to mount a volume tomorrow and see how it goes. :wink:
It looks like this might related to this pr.
It looks like this might related to this pr.
Turns out it's not, already verified, not applicable to k8s deployments. @krangence and I have tested this thoroughly.
It's due to the securityContext.fsGroup
not set in accordance with the application user (abc, uid#911) in the container.
WikiJS is running as the wrong user, and currently runs as user abc as shown the below printscreen:
https://i.imgur.com/0AKAbFh.png
This then results in the below error:
https://i.imgur.com/oDVpfOF.png