docker icon indicating copy to clipboard operation
docker copied to clipboard

Auto restart matomo service without having to click through the 8 easy steps

Open bryaneadams opened this issue 4 years ago • 3 comments

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?

bryaneadams avatar Feb 05 '21 21:02 bryaneadams

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

davic80 avatar Mar 03 '21 16:03 davic80

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.

jinnatar avatar Jul 16 '21 10:07 jinnatar

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.

echantigny avatar Oct 05 '21 20:10 echantigny

There is currently no way to do this from cli: https://github.com/matomo-org/matomo/issues/10257

J0WI avatar Nov 26 '22 15:11 J0WI