Fehlermeldung bei Update von 3.14.1 auf 4.0.4: "Aktualisierungsfehler - Kritischer Fehler"

Bei der Aktualisierung der Matomo-Datenbank von Version 3.14.1 auf die neue Version 4.0.4 hatte ich leider Probleme:

Aktualisierungsfehler

Kritischer Fehler während der Aktualisierung:
D:\Homepages[…]\piwik\core\Updates\4.0.0-b1.php: Error trying to execute the migration ‘ALTER TABLE piwik_log_visit ADD COLUMN visitor_seconds_since_first INT(11) UNSIGNED NULL, ADD COLUMN visitor_seconds_since_order INT(11) UNSIGNED NULL, ADD COLUMN visitor_seconds_since_last INT(11) UNSIGNED NULL, ADD COLUMN profilable TINYINT(1) NULL;’.

The error was: SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs

Auf meinem PC ist der lokale Webserver Apachefriends installiert:
Xampp: xampp-windows-x64-7.4.11-0-VC15-installer (v. 14.10.2020)
Apache: 2.4.46, MySQL: MariaDB 10.4.14, PHP: 7.4.11

Leider weiß ich jetzt nicht mehr weiter. Erfahrung in Datenbanken habe ich nur wenige. :cry:
Bisher hatte ich noch keine Probleme mit den Updates der Matomo-Versionen.

Weiß jemand eine Lösung?
Danke im Voraus! :bouquet:

Hallo,

Das sollte die Lösung sein:

https://matomo.org/faq/troubleshooting/how-do-i-fix-the-error-1118-row-size-too-large-the-maximum-row-size-for-the-used-table-type-not-counting-blobs-is-8126/

1 Like

Hallo Lukas Winkler,

vielen Dank für die schnelle Antwort.

Konnte das Problem (mit Option 1) beheben und auf Version 4.0.4 aktualisieren.
Matomo habe ich danach auf Version 4.0.5 upgedatet.

Vielen Dank. :bouquet:

JimKnopf

1 Like