Seite 1 von 1

Manual upgrade from 5.0.19 to 6.0.0 Beta 2 : #1071 - The key is too long. Maximum length: 767

Verfasst: 3. Dez 2026, 13:29
von pmaes
An error occured within the update script. Please visit our support forum https://www.admidio.org/forum and provide the following information.

VERSION: 6.0.0
STEP: 350


S Q L - E R R O R

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

CODE: 42000

B A C K T R A C E

FILE: src/Infrastructure/Database.php
LINE: 1052
CALL: Admidio\Infrastructure\Database->showError()

FILE: src/Components/Entity/ComponentUpdate.php
LINE: 179
CALL: Admidio\Infrastructure\Database->queryPrepared()

FILE: src/Components/Entity/ComponentUpdate.php
LINE: 260
CALL: Admidio\Components\Entity\ComponentUpdate->executeUpdateSql()

FILE: src/Components/Entity/ComponentUpdate.php
LINE: 337
CALL: Admidio\Components\Entity\ComponentUpdate->executeStep()

FILE: src/InstallationUpdate/Service/Update.php
LINE: 102
CALL: Admidio\Components\Entity\ComponentUpdate->update()

FILE: install/update.php
LINE: 431
CALL: Admidio\InstallationUpdate\Service\Update->doAdmidioUpdate()
in /var/www/sites/aspu/amica/src/Components/Entity/ComponentUpdate.php, in line 343

Stacktrace:
#0 /var/www/sites/aspu/amica/src/InstallationUpdate/Service/Update.php(102): Admidio\Components\Entity\ComponentUpdate->update() #1 /var/www/sites/aspu/amica/install/update.php(431): Admidio\InstallationUpdate\Service\Update->doAdmidioUpdate() #2 {main}



CREATE UNIQUE INDEX amica_idx_ssp_session_client ON amica_saml_session_participants (ssp_external_session_id, ssp_client_id, ssp_session_index);

MySQL a répondu : Documentation
#1071 - La clé est trop longue. Longueur maximale: 767