Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during DB Update from 3.14.1 to 4.0.3 #16874

Closed
ordilibre opened this issue Dec 3, 2020 · 2 comments
Closed

Error during DB Update from 3.14.1 to 4.0.3 #16874

ordilibre opened this issue Dec 3, 2020 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@ordilibre
Copy link

Hi,

Because of web UI update is failling, I try to update by CLI

php /home/myaccount/websites/matomo/console core:update

After a good Dry Run, the effective job is stopped with this error :

Executing ALTER TABLE 'stats_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;...
[X] Critical Error during the update process:

/home/aquinetic334/websites/matomo/core/Updates/4.0.0-b1.php:
Error trying to execute the migration 'ALTER TABLE 'stats_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

full trace is MatomoUpdateError.txt

I have re-run the update 3 times with always the same result.

  • Is the "1118 Row size too large" message the important information ?
  • Is it normal for Matomo to try to increase the row size of this table to more than 8192 ?
  • How can I increase this limit in the database, outside of Matomo ?

thank you for any help

@sgiehl sgiehl closed this as completed Dec 3, 2020
@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Dec 3, 2020
@ordilibre
Copy link
Author

Many thanks sgiehl, my problem is now resolved.
Sorry for not having found the answer directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants