Hi!
I get file integrity errors when upgrading from 4.11 to 4.12/4.12.1.
From 4.10 to 4.11 there were no errors.
I’m downloading https://builds.matomo.org/latest.zip
I’ve tried console core:clear-caches.
console core:update reports “Everything is already up to date.”.
Files were found in your Matomo, but we didn't expect them.
--> Please delete these files to prevent errors. <--
File to delete: core/Updates/4.12.0-b1.php
File to delete: core/Updates/4.12.0-b2.php
File to delete: core/Updates/4.12.0-b3.php
File to delete: core/Updates/4.12.0-b4.php
File to delete: libs/upgradephp/dev.php
File to delete: plugins/CorePluginsAdmin/vue/src/PasswordConfirmation/PasswordConfirmation.less
File to delete: plugins/CorePluginsAdmin/vue/src/PasswordConfirmation/PasswordConfirmation.vue
File to delete: plugins/Morpheus/icons/dist/socials/tiktok.com.png
File to delete: plugins/PrivacyManager/changes.json
File to delete: plugins/TagManager/Updates/4.12.0-b2.php
File to delete: plugins/TagManager/Updates/NewTagParameterMigrator.php
File to delete: plugins/TagManager/Validators/Numeric.php
File to delete: plugins/TagManager/templates/helpContent.twig
File to delete: plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.less
File to delete: vendor/matomo/device-detector/ClientHints.php
File to delete: vendor/matomo/device-detector/Parser/Client/Hints/AppHints.php
File to delete: vendor/matomo/device-detector/Parser/Client/Hints/BrowserHints.php
File to delete: vendor/matomo/device-detector/regexes/client/hints/apps.yml
File to delete: vendor/matomo/device-detector/regexes/client/hints/browsers.yml
File to delete: vendor/phpmailer/phpmailer/language/phpmailer.lang-mn.php
File to delete: vendor/szymach/c-pchart/docker-compose.yml
To delete all these files at once, you can run this command:
rm "/var/www/html/core/Updates/4.12.0-b1.php" "/var/www/html/core/Updates/4.12.0-b2.php" "/var/www/html/core/Updates/4.12.0-b3.php" "/var/www/html/core/Updates/4.12.0-b4.php" "/var/www/html/libs/upgradephp/dev.php" "/var/www/html/plugins/CorePluginsAdmin/vue/src/PasswordConfirmation/PasswordConfirmation.less" "/var/www/html/plugins/CorePluginsAdmin/vue/src/PasswordConfirmation/PasswordConfirmation.vue" "/var/www/html/plugins/Morpheus/icons/dist/socials/tiktok.com.png" "/var/www/html/plugins/PrivacyManager/changes.json" "/var/www/html/plugins/TagManager/Updates/4.12.0-b2.php" "/var/www/html/plugins/TagManager/Updates/NewTagParameterMigrator.php" "/var/www/html/plugins/TagManager/Validators/Numeric.php" "/var/www/html/plugins/TagManager/templates/helpContent.twig" "/var/www/html/plugins/TagManager/vue/src/ContainerDashboard/ContainerDashboard.less" "/var/www/html/vendor/matomo/device-detector/ClientHints.php" "/var/www/html/vendor/matomo/device-detector/Parser/Client/Hints/AppHints.php" "/var/www/html/vendor/matomo/device-detector/Parser/Client/Hints/BrowserHints.php" "/var/www/html/vendor/matomo/device-detector/regexes/client/hints/apps.yml" "/var/www/html/vendor/matomo/device-detector/regexes/client/hints/browsers.yml" "/var/www/html/vendor/phpmailer/phpmailer/language/phpmailer.lang-mn.php" "/var/www/html/vendor/szymach/c-pchart/docker-compose.yml"
Errors below may be due to a partial or failed upload of Matomo files.
--> Try to reupload all the Matomo files in BINARY mode. <--
File size mismatch: /var/www/html/CHANGELOG.md (expected length: 99231, found: 101471)
File size mismatch: /var/www/html/core/API/Request.php (expected length: 27243, found: 27399)
File size mismatch: /var/www/html/core/Access/CapabilitiesProvider.php (expected length: 3941, found: 3940)
Integrity check failed: /var/www/html/core/Archive/ArchiveInvalidator.php
File size mismatch: /var/www/html/core/Archive/ArchiveInvalidator/InvalidationResult.php (expected length: 1488, found: 1482)
File size mismatch: /var/www/html/core/AssetManager/UIAssetMerger.php (expected length: 4183, found: 4252)
Integrity check failed: /var/www/html/core/Auth/Password.php
Integrity check failed: /var/www/html/core/Columns/Dimension.php
File size mismatch: /var/www/html/core/Common.php (expected length: 40746, found: 40745)
File size mismatch: /var/www/html/core/Concurrency/LockBackend/MySqlLockBackend.php (expected length: 5408, found: 5409)
File size mismatch: /var/www/html/core/Cookie.php (expected length: 15368, found: 15480)
File size mismatch: /var/www/html/core/CronArchive.php (expected length: 51735, found: 52061)
File size mismatch: /var/www/html/core/DataAccess/ArchiveSelector.php (expected length: 20791, found: 20792)
File size mismatch: /var/www/html/core/DataAccess/LogAggregator.php (expected length: 60659, found: 60664)
Integrity check failed: /var/www/html/core/DataAccess/Model.php
File size mismatch: /var/www/html/core/DataTable/Filter/Truncate.php (expected length: 4363, found: 4364)
Integrity check failed: /var/www/html/core/DataTable/Map.php
When deleting files that the File integrity system check suggests, then Matomo crashes. E.g. it suggests deleting libs/upgradephp/dev.php which apparently crashes Matomo. Copying the file back in its place Matomo works again.
Also, have a bunch of "File size mismatches” but in the downloaded matomo-latest.zip file those “wrong” sizes are still the same and Matomo still reports a mismatch.
Any idea please let me know
1 post - 1 participant