[Eisfair_dev] nextcloud , Fehler beim letzten Update

Ulrich Hupe Ulrich.Hupe at t-online.de
So Okt 19 16:34:28 CEST 2025


Hallo,
beim letzten nextloud update kam es zu folgenden Fehler:

#####################################
All tables already up to date!
nextcloud maintenance mode: disabled
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <mail> ...
Exception: Database error when running migration 5006Date20250927130132 
for app 
             mail
An exception occurred while executing a query: SQLSTATE[42000]: Syntax 
error or access violation: 1071 Schlüssel ist zu lang. Die maximale 
Schlüssellänge beträgt 3072
Update failed
Maintenance mode is kept active Resetting log level
All tables already up to date!
Nextcloud maintenance mode: enabled
----------------------------------------------------------------
The maintenance mode is still active at this stage!
You should follow these instructions to solve the problem:

1. switch to the webserver user: # su - wwwrun -s /usr/bin/sh
2. change directory            : > cd /var/www/htdocs/nextcloud
3. check the current directory : > pwd
                                : /var/www/htdocs/nextcloud
4. fix the previously described:
    problems by using occ, e.g. : > ./occ app:disable gallery
                                : gallery disabled
5. run update check            : > ./occ upgrade
                                : Update successful
6. disable the maintenance mode: > ./occ  maintenance:mode --off
                                : Maintenance mode disabled

./occ app:disable mail
dann lief es wieder ohne mail
Sendmail in der Grundeinstellung geht.

Das update der Mail auf Version 5.5.10 geht fehl.
mit der Meldung:

mail
An exception occurred while executing a query: SQLSTATE[42000]: Syntax 
error or access violation: 1071 Schlüssel ist zu lang. Die maximale 
Schlüssellänge beträgt 3072
Update failed

Ich kann es auch nicht in der app Einstellung aktivieren.
Liegt das daran, Daß ich noch die outdated maria db nutze?

Gruß, Ulrich




Mehr Informationen über die Mailingliste Eisfair_dev