we are running passbolt on docker-compose solution together with mariadb database. In the logs of the passbolt docker container I saw this red alert:
There are some issues with the database configuration.
Please run ./bin/cake passbolt healthcheck for more information and help.
I entered the passbolt container and I tried to run the command “./bin/cake passbolt healthcheck” but I am gettings this error:
Passbolt commands cannot be executed as root.
The command should be executed with the same user as your web server. By instance:
su -s /bin/bash -c “/usr/share/php/passbolt/bin/cake COMMAND” HTTP_USER
where HTTP_USER match your web server user: www-data, nginx, apache, http
Is this somehow related to docker installation of root permissions? I just need an advice where is the source of the problem - passbolt or docker.