Upgrade 18.0.3 => 18.0.4 error DriverException

Upgrading from 18.0.3 to 18.0.4 I get the following error:

Log-Level auf “debug” gesetzt

Reparaturschritt: Repair MySQL collation

Reparaturinformation: All tables already have the correct collation -> nothing to do

Reparaturschritt: Repair SQLite autoincrement

Reparaturschritt: Copy data from accounts table when migrating from ownCloud

Reparaturschritt: Drop account terms table when migrating from ownCloud

Das Datenbankschema wird aktualisiert

Datenbank aktualisiert

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘ALTER TABLE oc_mail_mailboxes DROP sync_token’: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

What can I do?

I would recommend to use the search function of the forum and search for “Specified key was too long; max key length is 767 bytes”. You will find many matches explaining what need to be done to fix the bigint problem.

Thanks a lot. That’s exactly what I didn’t search for. :pleading_face:

Just to be complete. This did the trick:

1 Like