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

Cannot upgrade from 4.16.0 to 5.0.0 ('The storage engine for the table doesn’t support descending indexes')

$
0
0

The error message implies that using DESC with indexes is not possible. Can anyone help? Thanks.

/var/www/html/matomo/core/Updates/5.0.0-b1.php: Error trying to execute the migration ‘ALTER TABLE piwik_log_visit ADD INDEX index_idsite_idvisitor_time (idsite, idvisitor, visit_last_action_time DESC);’. The error was: SQLSTATE[42000]: Syntax error or access violation: 1178 The storage engine for the table doesn’t support descending indexes

Note that I then ran all of the sql statements manually with the DESC removed from the ADD INDEX statement. This seemed to work OK but even after changing the matomo_option values to 5.0.0, it’s still saying that the database needs to be upgraded, i.e. I ran this statement:

UPDATE piwik_option set option_value = ‘5.0.0’ where option_value like ‘4.16%’;

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5981

Trending Articles