You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should do a try/catch around the segment construct and simply skip segments that cause an exception.
To prevent an error during update like this:
./console core:update --yes -vvv
*** 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.5.0 to the new version 4.6.1.
ERROR [2021-12-01 11:47:55] 51704 Uncaught exception: /matomo/core/Segment.php(215): Segment 'dimension1' is not a supported segment. [Query: , CLI mode: 1]
DEBUG [2021-12-01 11:47:55] 51704 Loaded plugins: (...)
[Exception]
Segment 'dimension1' is not a supported segment.
Exception trace:
(...)
The text was updated successfully, but these errors were encountered:
tsteur
added
the
Bug
For errors / faults / flaws / inconsistencies etc.
label
Dec 5, 2021
See #18436 (comment)
There is most likely also be a regression we should handle in 4.6.2. The problem is the update script, which tries to iterate over all segments here:
matomo/core/Updates/4.6.0-b4.php
Lines 51 to 77 in 4fe950a
We should do a try/catch around the segment construct and simply skip segments that cause an exception.
To prevent an error during update like this:
The text was updated successfully, but these errors were encountered: