matomo
matomo copied to clipboard
[Bug] LatestStable channel tries to update 4.14.0 to 5.0.2 instead of 4.16.1
What happened?
When using an older 4.x version, e.g. 4.14.0
, the update check API in the latest stable
release channel responds that 4.16.1
is available. This is also shown by the CoreUpdater
:
You can update to version 4.16.1 automatically or download the package and install it manually:
However, the download link points to https://builds.matomo.org/matomo.zip
source, at the moment being the latest 5.x release of 5.0.2
, not the intended https://builds.matomo.org/matomo-4.16.1.zip
.
This wrong version is then also used by the automatic update and may result in unexpected major upgrades:
✓ Downloading update from https://builds.matomo.org/matomo.zip ✓ Unpacking the update ✓ Verifying the unpacked files ✓ Installing the latest version ✓ Checking for new plugin updates ✓ Updating plugin AnonymousPiwikUsageMeasurement to version 5.0.0
What should happen?
The update process should respect the version shown, if it is not the real latest version, but a required intermediate version.
How can this be reproduced?
Start the update process of any older Matomo 4 version (4.14.0
and earlier).
Matomo version
4.14.0
PHP version
No response
Server operating system
No response
What browsers are you seeing the problem on?
No response
Computer operating system
No response
Relevant log output
No response
Validations
- [X] Read our Contributing Guidelines.
- [X] Follow our Security Policy.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- [X] The provided steps to reproduce is a minimal reproducible of the Bug.