-
Notifications
You must be signed in to change notification settings - Fork 348
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
Upgrade problem using docker clear #197
Comments
The same question? |
Same here... |
The first time the container is run it copies the code to /var/www/html which is a persistent volume. That's the version of the application that is running. Whenever the container is restated it checks for a file /var/www/html/matomo.php and if it is present leaves the volume alone. Which means the container with a newer version of matomo will still run the old version of matomo. Upgrading via UI will update the code on the volume, but there "correct" upgrade order (first container than the application or other way around) and even the necessity to update the container altogether are undefined. This happens because matomo's architecture is incompatible with stateless containers philosophy of traditional docker applications. |
I had the same question:
Just as a side note, I'm using Nextcloud, and they have a rather nice solution where, once the new image has been pulled and a new container is created, it checks whether there was an upgrade and triggers an update automatically if needed: |
What is "docker clear"? |
@jdespraz answer 2 for me. This is my upgrade process :
Has worked until now. I'm still waiting for the release of version 3.14.1 of the Docker Matomo image. See #213. |
This is really very confusing. What should be the upgrade path for docker images? Matomo team, can you please create a documentation for this. |
The way I ugrade.
|
yes above workes. Thanks @rusty1281 Here are detailed steps that I followed for my upgrade (My Mysql DB size is >90GB, so i prefer command line upgrade)
If all works fine, remove config that you did in step 3 and step 4 and check the UI. Your matomo should have been upgraded. |
@davidlemaitre Have you successfully updated to Matomo 4 this way? |
duplicate of #248 |
Hello,
I have a running version 3.13.3 using the latest tag image. When I try and upgrade to 3.13.5 image using clear, the container switches to a new image, but the version is still on .3. Checked the version.php file and also there is the notification on the dashboard saying the same.
Should this update be done via UI or am I doing something wrong? Why is the recreated container using the new image but still presenting the old version?
Thank you in advance for any info.
The text was updated successfully, but these errors were encountered: