docker
docker copied to clipboard
Auto restart matomo service without having to click through the 8 easy steps
I have deployed Matomo with a mariaDB in a kubernetes environment. I have set the environment variables for the database and user, but when the pod restarts I still have to click through the 8 easy steps (but I do not have to enter the information) to restart the service. Is there a flag I can set which auto restarts the service, maintains the data already present in the mariaDB, and I don't have to go through clicking the "next" buttons?
for me works commenting the command taht cap to 64MB the max allowed packet: #command: --max-allowed-packet=64MB
using a raspberry pi mariadb image: image: ghcr.io/linuxserver/mariadb container_name: mariadb
Any update on this? The DB config story is really bad today since instead of the env variables actually populating a config, they just pre-fill the wizard. Ergo if an instance restarts for any reason (which in orchestration is a normal thing) then the next user visiting gets the wizard even though all the DB details are known and the database contents have persisted.
Just ran into the exact same issue here. Database env variables should be used to check if the install was already made without restarting the install process.
There is currently no way to do this from cli: https://github.com/matomo-org/matomo/issues/10257