-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The 4.8.0 tag image seems still running a 4.7.1 version of matomo #281
Comments
This is because the |
So here's my workaround : 1/ Do not mount /var/www/html as a volume 2/ Templatise your With that you'll be able to consider your container as "stateless" and evict and recreate it. Here you'll find an example of template and injection of this file as a volume with this ansible role: https://gitlab.comwork.io/oss/ansible-iac/ansible-matomo On K8S, you can achieve the same thing with a configmap. I'll let this issue open if you want to use it for create "cloud native friendly" and stateless images with only environment variables to configure. But no problem if you prefer to close it and move on to something else, it's not a critical issue at all :) Thanks |
It is good to know that there is a workaround! But I would like to know how the "official" way is to deal with this; e.g. the way how the developers of Matomo get rid of these false upgrade notifications in the web application. Maybe by doing an additional upgrade in the web application after updating the image and container? Would be nice to know how this is originally meant to be done! |
See related #161 There needs to be a check on start up to copy the files over or so! (without replacing important things in the state, like |
So I just wipe the /var/ww/html on upgrade postactions and overwrite config.ini.php Does it sounds enough to you ? |
What I did was:
|
duplicate of #248 |
Hi.
I upgraded the docker images we're running for our on premise instance from 4.7.1 to 4.8.0 :
However, the web application seems still running on the 4.7.1 version:
Of course, this has been tested on a private navigation window.
I also inspect inside the container:
Thanks in advance.
The text was updated successfully, but these errors were encountered: