-
Notifications
You must be signed in to change notification settings - Fork 349
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
Version 5.0.1 not updated after docker pull #347
Comments
I think this might be due to you not running through the upgrade process in the admin pages. The matomo source that's built into the container (in /usr/src/matomo) is copied to the mounted volume (/var/www/html) on startup of the container but only if the matomo source is not already present in that volume. So, even if you're running the 5.0.1 image, if there was already a version of matomo in the volume, let's say v4, then it will be v4 that will actually be served/running until the update process is run. |
I ran into the same problem -- pulled a newer image from Docker Hub, but Matomo was stuck in the old version. The hint with the volume is correct. In my case, I got confused because my docker-compose.yml did not explicitly declare the volume docker/Dockerfile-debian.template Line 98 in 8137a71
Thus, upgrading Matomo by pulling an image with a newer tag can never work by itself. The image creates a volume, and Matomo won't upgrade itself because the volume exists. Steps to remedy this situation:
IMPORTANT: Think twice before removing the volume! Is all your precious data, e.g. config files, kept safe in separate volumes? YMMV. |
Hi,
I have been using Matomo for a while now.
I pull the latest image from docker hub and the upgrade did not work or was not done?
look at the website message:
In my docker compose file, i specified the version just to be sure:
The text was updated successfully, but these errors were encountered: