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_session
CHANGEdata
data
MEDIUMTEXT;… Done. [1 / 19]
Executing ./console plugin:activate “CoreVue”… Done. [2 / 19]
Executing ALTER TABLEmatomo_user
ADD COLUMNidchange_last_viewed
INTEGER UNSIGNED NULL;… Done. [3 / 19]
Executing CREATE TABLEmatomo_changes
(idchange
INT(11) NOT NULL AUTO_INCREMENT,created_time
DATETIME NOT NULL,plugin_name
VARCHAR(255) NOT NULL,version
VARCHAR(20) NOT NULL,title
VARCHAR(255) NOT NULL,description
TEXT NOT NULL,link_name
VARCHAR(255) NULL,link
VARCHAR(255) NULL, PRIMARY KEY (idchange
)) ENGINE=InnoDB DEFAULT CHARSET=utf8;… Done. [4 / 19]
Executing ALTER TABLEmatomo_changes
CHANGEplugin_name
plugin_name
VARCHAR(60) NOT NULL;… Done. [5 / 19]
Executing ALTER TABLEmatomo_changes
DROP INDEXunique_plugin_version_title
;… Done. [6 / 19]
Executing ALTER TABLEmatomo_changes
ADD UNIQUE KEY unique_plugin_version_title (plugin_name
,version
,title
(100));… Done. [7 / 19]
Executing ALTER TABLEmatomo_user
ADD COLUMNinvite_status
ENUM(‘accept’,‘pending’,‘decline’,‘expired’) DEFAULT ‘accept’;… Done. [8 / 19]
Executing ALTER TABLEmatomo_user
DROP COLUMNinvite_status
;… Done. [9 / 19]
Executing ALTER TABLEmatomo_user
ADD COLUMNinvite_token
VARCHAR(191) DEFAULT null;… Done. [10 / 19]
Executing ALTER TABLEmatomo_user
ADD COLUMNinvited_by
VARCHAR(100) DEFAULT null;… Done. [11 / 19]
Executing ALTER TABLEmatomo_user
ADD COLUMNinvite_expired_at
TIMESTAMP null DEFAULT null;… Done. [12 / 19]
Executing ALTER TABLEmatomo_user
ADD COLUMNinvite_accept_at
TIMESTAMP null DEFAULT null;… Done. [13 / 19]
Executing ALTER TABLEmatomo_site
ADD COLUMNexcluded_referrers
TEXT NOT NULL AFTERexcluded_user_agents
;… Done. [14 / 19]
Executing ALTER TABLEmatomo_user
ADD UNIQUE KEY uniq_email (
Executing ALTER TABLEmatomo_user
ADD COLUMNinvite_link_token
VARCHAR(191) DEFAULT null;… Done. [16 / 19]
Executing ALTER TABLEmatomo_tagmanager_tag
ADD COLUMNdescription
VARCHAR(1000) NOT NULL DEFAULT ‘’ AFTERname
;… Done. [17 / 19]
Executing ALTER TABLEmatomo_tagmanager_trigger
ADD COLUMNdescription
VARCHAR(1000) NOT NULL DEFAULT ‘’ AFTERname
;… Done. [18 / 19]
Executing ALTER TABLEmatomo_tagmanager_variable
ADD COLUMNdescription
VARCHAR(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