Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Update to 4.0.0: Corrupt index while trying to convert to utf8mb4

$
0
0

Hello,

After upgrade to matomo4 along with other several issues when I try to convert to utf8mb4 using “console core:convert-to-utf8mb4” I got the following error:

SQLSTATE[HY000]: General error: 1034 Index for table ‘matomo_log_hsr_event’ is corrupt; try to repair it.

I have tried to repair the table doing the following:

  • repair table stament : fails because is an innodb table.
  • mysql dump and rebuild the table: the error keeps happening after that.
  • optimize table: It fails due the corrupted index.
  • Change storage engine to myisaam, repair and convert back to innodb: The repair says OK but when go back to innodb and run the convert command the index still corrupted.
  • mysql dump change to utf8mb4 manually in the ddl and execute: the indexes still corrupted.

As you can see I have tried everything I could find in the net, ¿Does anyone know how to fix this?

Thank you in advance.
Best regards

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles