Hi,
I tried to upgrade my Matomo installation from version 4.4.1 to 4.12.3.
After extracting files, Matomo asked me to upgrade database, which I did using console core:update command line.
I got this log as a result, including problematic error messages :
Starting the database upgrade process now. This may take a while, so please be patient.
*** Update *** Database Upgrade Required Your Matomo database is out-of-date, and must be upgraded before you can continue. Matomo database will be upgraded from version 4.4.1 to the new version 4.12.3. The following plugins will be updated: TagManager. The database upgrade process may take a while, so please be patient.Executing ALTER TABLE
matomo_sessionCHANGEdatadataMEDIUMTEXT;… Done. [1 / 19]
Executing ./console plugin:activate “CoreVue”… Done. [2 / 19]
Executing ALTER TABLEmatomo_userADD COLUMNidchange_last_viewedINTEGER UNSIGNED NULL;… Done. [3 / 19]
Executing CREATE TABLEmatomo_changes(idchangeINT(11) NOT NULL AUTO_INCREMENT,created_timeDATETIME NOT NULL,plugin_nameVARCHAR(255) NOT NULL,versionVARCHAR(20) NOT NULL,titleVARCHAR(255) NOT NULL,descriptionTEXT NOT NULL,link_nameVARCHAR(255) NULL,linkVARCHAR(255) NULL, PRIMARY KEY (idchange)) ENGINE=InnoDB DEFAULT CHARSET=utf8;… Done. [4 / 19]
Executing ALTER TABLEmatomo_changesCHANGEplugin_nameplugin_nameVARCHAR(60) NOT NULL;… Done. [5 / 19]
Executing ALTER TABLEmatomo_changesDROP INDEXunique_plugin_version_title;… Done. [6 / 19]
Executing ALTER TABLEmatomo_changesADD UNIQUE KEY unique_plugin_version_title (plugin_name,version,title(100));… Done. [7 / 19]
Executing ALTER TABLEmatomo_userADD COLUMNinvite_statusENUM(‘accept’,‘pending’,‘decline’,‘expired’) DEFAULT ‘accept’;… Done. [8 / 19]
Executing ALTER TABLEmatomo_userDROP COLUMNinvite_status;… Done. [9 / 19]
Executing ALTER TABLEmatomo_userADD COLUMNinvite_tokenVARCHAR(191) DEFAULT null;… Done. [10 / 19]
Executing ALTER TABLEmatomo_userADD COLUMNinvited_byVARCHAR(100) DEFAULT null;… Done. [11 / 19]
Executing ALTER TABLEmatomo_userADD COLUMNinvite_expired_atTIMESTAMP null DEFAULT null;… Done. [12 / 19]
Executing ALTER TABLEmatomo_userADD COLUMNinvite_accept_atTIMESTAMP null DEFAULT null;… Done. [13 / 19]
Executing ALTER TABLEmatomo_siteADD COLUMNexcluded_referrersTEXT NOT NULL AFTERexcluded_user_agents;… Done. [14 / 19]
Executing ALTER TABLEmatomo_userADD UNIQUE KEY uniq_email (
Executing ALTER TABLEmatomo_userADD COLUMNinvite_link_tokenVARCHAR(191) DEFAULT null;… Done. [16 / 19]
Executing ALTER TABLEmatomo_tagmanager_tagADD COLUMNdescriptionVARCHAR(1000) NOT NULL DEFAULT ‘’ AFTERname;… Done. [17 / 19]
Executing ALTER TABLEmatomo_tagmanager_triggerADD COLUMNdescriptionVARCHAR(1000) NOT NULL DEFAULT ‘’ AFTERname;… Done. [18 / 19]
Executing ALTER TABLEmatomo_tagmanager_variableADD COLUMNdescriptionVARCHAR(1000) NOT NULL DEFAULT ‘’ AFTERname;… Done. [19 / 19]
> ERROR [2022-11-02 16:40:54] 3210762 There was an error while regenerating container releases: /home/pathtomatomo/piwik/core/Date.php(1144): Date format must be: YYYY-MM-DD, or ‘today’ or ‘yesterday’ or any keyword supported by the strtotime function (see php . net/strtotime for more information): [Query: , CLI mode: 1]
> ERROR [2022-11-02 16:40:54] 3210762 There was an error while regenerating container releases: /home/pathtomatomo/piwik/core/Date.php(1144): Date format must be: YYYY-MM-DD, or ‘today’ or ‘yesterday’ or any keyword supported by the strtotime function (see php . net/strtotime for more information): [Query: , CLI mode: 1]
> ERROR [2022-11-02 16:40:54] 3210762 There was an error while regenerating container releases: /home/pathtomatomo/piwik/core/Date.php(1144): Date format must be: YYYY-MM-DD, or ‘today’ or ‘yesterday’ or any keyword supported by the strtotime function (see php . net/strtotime for more information): [Query: , CLI mode: 1]Matomo has been successfully updated!
Error: error or warning logs detected, exit 1
Can you help me understanding where these errors come from ?
Apparently Matomo successfully updated, maybe this is only caused by TagManager plugin ?
Thanks a lot for your help.
1 post - 1 participant