Error while upgrading database (4.4.1 -> 4.12.3)

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 CHANGE data data MEDIUMTEXT;… Done. [1 / 19]
Executing ./console plugin:activate “CoreVue”… Done. [2 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN idchange_last_viewed INTEGER UNSIGNED NULL;… Done. [3 / 19]
Executing CREATE TABLE matomo_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 TABLE matomo_changes CHANGE plugin_name plugin_name VARCHAR(60) NOT NULL;… Done. [5 / 19]
Executing ALTER TABLE matomo_changes DROP INDEX unique_plugin_version_title;… Done. [6 / 19]
Executing ALTER TABLE matomo_changes ADD UNIQUE KEY unique_plugin_version_title (plugin_name, version, title (100));… Done. [7 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN invite_status ENUM(‘accept’,‘pending’,‘decline’,‘expired’) DEFAULT ‘accept’;… Done. [8 / 19]
Executing ALTER TABLE matomo_user DROP COLUMN invite_status;… Done. [9 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN invite_token VARCHAR(191) DEFAULT null;… Done. [10 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN invited_by VARCHAR(100) DEFAULT null;… Done. [11 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN invite_expired_at TIMESTAMP null DEFAULT null;… Done. [12 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN invite_accept_at TIMESTAMP null DEFAULT null;… Done. [13 / 19]
Executing ALTER TABLE matomo_site ADD COLUMN excluded_referrers TEXT NOT NULL AFTER excluded_user_agents;… Done. [14 / 19]
Executing ALTER TABLE matomo_user ADD UNIQUE KEY uniq_email (email);… Done. [15 / 19]
Executing ALTER TABLE matomo_user ADD COLUMN invite_link_token VARCHAR(191) DEFAULT null;… Done. [16 / 19]
Executing ALTER TABLE matomo_tagmanager_tag ADD COLUMN description VARCHAR(1000) NOT NULL DEFAULT ‘’ AFTER name;… Done. [17 / 19]
Executing ALTER TABLE matomo_tagmanager_trigger ADD COLUMN description VARCHAR(1000) NOT NULL DEFAULT ‘’ AFTER name;… Done. [18 / 19]
Executing ALTER TABLE matomo_tagmanager_variable ADD COLUMN description VARCHAR(1000) NOT NULL DEFAULT ‘’ AFTER name;… 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.

I think there is a ticket on GitHub for that: