Matomo database will be upgraded from version 3.9.1 to the new version 3.13.2.
Important notes for large Matomo installations
If you have a large Matomo database, updates might take too long to run in the browser. In this situation, you can execute the updates from your command line:
# These SQL queries will be executed: ALTER TABLE `matomo_report` ADD COLUMN `period_param` VARCHAR(10) NULL;
# These console commands will be run: ./console plugin:activate "Tour"
# These SQL queries will be executed: ALTER TABLE `matomo_goal` CHANGE `pattern_type` `pattern_type` varchar(25) NOT NULL; CREATE TABLE `matomo_locks` (`key` VARCHAR(70) NOT NULL, `value` VARCHAR(255) NULL DEFAULT NULL, `expiry_time` BIGINT UNSIGNED DEFAULT 9999999999, PRIMARY KEY ( `key` )) ENGINE=InnoDB DEFAULT CHARSET=utf8;
# These console commands will be run: ./console plugin:deactivate "ExamplePlugin" ./console plugin:deactivate "ExampleAPI"
# These SQL queries will be executed: UPDATE `matomo_option` SET option_value = 'https://download.db-ip.com/free/dbip-city-lite-2021-02.mmdb.gz' WHERE option_name = 'geoip2.loc_db_url' AND option_value = 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz'; UPDATE `matomo_option` SET option_value = 'https://download.db-ip.com/free/dbip-country-lite-2021-02.mmdb.gz' WHERE option_name = 'geoip2.loc_db_url' AND option_value = 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz';
The database upgrade process may take a while, so please be patient.
File integrity check failed and reported some errors. You should fix this issue and then refresh this page until it shows no error.
File integrity check failed and reported some errors. You should fix this issue and then refresh this page until it shows no error.
Files were found in your Matomo, but we didn't expect them. --> Please delete these files to prevent errors. <--
File to delete: matomo.js.pacnew File to delete: piwik.js.pacnew
To delete all these files at once, you can run this command: rm "/usr/share/webapps/matomo/matomo.js.pacnew" "/usr/share/webapps/matomo/piwik.js.pacnew"