You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to log into the pod and run the following command : occ db:add-missing-primary-keys
The thing is, the occ cli tool must be run with www-data user, which has no shell. Kubernetes does not support --user option with exec command. So is there a way to achieve that?
$ ./occ
Console has to be executed with the user that owns the file config/config.php
Current user id: 0
Owner id of config.php: 33
Try adding 'sudo -u #33' to the beginning of the command (without the single quotes)
If running with 'docker exec' try adding the option '-u 33' to the docker command (without the single quotes)
The text was updated successfully, but these errors were encountered:
I have to log into the pod and run the following command :
occ db:add-missing-primary-keys
The thing is, the occ cli tool must be run with www-data user, which has no shell. Kubernetes does not support
--user
option with exec command. So is there a way to achieve that?The text was updated successfully, but these errors were encountered: