Error when update to 16.0.3

Hi,
do you know how to repair this error in order finish update process ?

Thank you

BR

:/var/www/nextcloud$ sudo -u www-data ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating …
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ‘ALTER TABLE oc_group_folders_trash ADD file_id BIGINT DEFAULT NULL’:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Update failed
Maintenance mode is kept active
Reset log level

I really like the search function of this forum :wink:

https://help.nextcloud.com/search?q=Specified%20key%20was%20too%20long%3B%20max%20key%20length%20is%20767%20bytes

1 Like