Update auf 5.3.1 wegen Datenbankfehler nicht möglich

  • Affected Version
    WoltLab Suite 5.2

    Hallo,


    ich wollte gerade mal endlich das Update vom WSC 5.2.9 auf WSC 5.3.1 machen, allerdings erhalte ich dann folgenden Fehler:

    Requested URL
    POST /acp/index.php?install-package/&t=44bb95979bbefed948bc90a0ddf6d79eecb58671
    Referrer
    https://domain.de/acp/index.php?package-update/
    Error Message
    Could not execute statement 'ALTER TABLE `wcf1_user` ADD COLUMN `emailConfirmed` char(40),CHANGE COLUMN `password` `password` varchar(255) NOT NULL DEFAULT 'invalid:''
    Type
    wcf\system\database\exception\DatabaseQueryExecutionException
    File (Line)
    /opt/bw-live/lib/system/database/statement/PreparedStatement.class.php (105)
    Stacktrace
    1. /opt/bw-live/lib/system/database/editor/MySQLDatabaseEditor.class.php (282): wcf\system\database\statement\PreparedStatement->execute(…)
    2. /opt/bw-live/lib/system/database/table/DatabaseTableChangeProcessor.class.php (356): wcf\system\database\editor\MySQLDatabaseEditor->alterColumns(…)
    3. /opt/bw-live/lib/system/database/table/DatabaseTableChangeProcessor.class.php (253): wcf\system\database\table\DatabaseTableChangeProcessor->applyColumnChanges(…)
    4. /opt/bw-live/lib/system/database/table/DatabaseTableChangeProcessor.class.php (1022): wcf\system\database\table\DatabaseTableChangeProcessor->applyChanges(…)
    5. /opt/bw-live/acp/update_com.woltlab.wcf_5.3.php (80): wcf\system\database\table\DatabaseTableChangeProcessor->process(…)
    6. /opt/bw-live/lib/system/package/plugin/ScriptPackageInstallationPlugin.class.php (72): include(…)
    7. /opt/bw-live/lib/system/package/plugin/ScriptPackageInstallationPlugin.class.php (50): wcf\system\package\plugin\ScriptPackageInstallationPlugin->run(…)
    8. /opt/bw-live/lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php (70): wcf\system\package\plugin\ScriptPackageInstallationPlugin->install(…)
    9. /opt/bw-live/lib/system/package/PackageInstallationDispatcher.class.php (743): wcf\system\package\plugin\AbstractPackageInstallationPlugin->update(…)
    10. /opt/bw-live/lib/system/package/PackageInstallationDispatcher.class.php (144): wcf\system\package\PackageInstallationDispatcher->executePIP(…)
    11. /opt/bw-live/lib/acp/action/InstallPackageAction.class.php (73): wcf\system\package\PackageInstallationDispatcher->install(…)
    12. /opt/bw-live/lib/action/AbstractDialogAction.class.php (68): wcf\acp\action\InstallPackageAction->stepInstall(…)
    13. /opt/bw-live/lib/action/AbstractAction.class.php (47): wcf\action\AbstractDialogAction->execute(…)
    14. /opt/bw-live/lib/system/request/Request.class.php (83): wcf\action\AbstractAction->__run(…)
    15. /opt/bw-live/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    16. /opt/bw-live/acp/index.php (9): wcf\system\request\RequestHandler->handle(…)
    Error Message
    SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
    Type
    PDOException
    File (Line)
    /opt/bw-live/lib/system/database/statement/PreparedStatement.class.php (93)
    Stacktrace
    1. /opt/bw-live/lib/system/database/statement/PreparedStatement.class.php (93): PDOStatement->execute(…)
    2. /opt/bw-live/lib/system/database/editor/MySQLDatabaseEditor.class.php (282): wcf\system\database\statement\PreparedStatement->execute(…)
    3. /opt/bw-live/lib/system/database/table/DatabaseTableChangeProcessor.class.php (356): wcf\system\database\editor\MySQLDatabaseEditor->alterColumns(…)
    4. /opt/bw-live/lib/system/database/table/DatabaseTableChangeProcessor.class.php (253): wcf\system\database\table\DatabaseTableChangeProcessor->applyColumnChanges(…)
    5. /opt/bw-live/lib/system/database/table/DatabaseTableChangeProcessor.class.php (1022): wcf\system\database\table\DatabaseTableChangeProcessor->applyChanges(…)
    6. /opt/bw-live/acp/update_com.woltlab.wcf_5.3.php (80): wcf\system\database\table\DatabaseTableChangeProcessor->process(…)
    7. /opt/bw-live/lib/system/package/plugin/ScriptPackageInstallationPlugin.class.php (72): include(…)
    8. /opt/bw-live/lib/system/package/plugin/ScriptPackageInstallationPlugin.class.php (50): wcf\system\package\plugin\ScriptPackageInstallationPlugin->run(…)
    9. /opt/bw-live/lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php (70): wcf\system\package\plugin\ScriptPackageInstallationPlugin->install(…)
    10. /opt/bw-live/lib/system/package/PackageInstallationDispatcher.class.php (743): wcf\system\package\plugin\AbstractPackageInstallationPlugin->update(…)
    11. /opt/bw-live/lib/system/package/PackageInstallationDispatcher.class.php (144): wcf\system\package\PackageInstallationDispatcher->executePIP(…)
    12. /opt/bw-live/lib/acp/action/InstallPackageAction.class.php (73): wcf\system\package\PackageInstallationDispatcher->install(…)
    13. /opt/bw-live/lib/action/AbstractDialogAction.class.php (68): wcf\acp\action\InstallPackageAction->stepInstall(…)
    14. /opt/bw-live/lib/action/AbstractAction.class.php (47): wcf\action\AbstractDialogAction->execute(…)
    15. /opt/bw-live/lib/system/request/Request.class.php (83): wcf\action\AbstractAction->__run(…)
    16. /opt/bw-live/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    17. /opt/bw-live/acp/index.php (9): wcf\system\request\RequestHandler->handle(…)

    Habe dann erstmal versucht, das Update auf 5.2.10 und dann von da aus auf 5.3.1 zu machen. Das erste Update funktioniert auch, aber das 2. auf 5.3 nicht.


    Weiß jemand, woran das liegen kann?


    Gruß

    ilou


    EDIT: Ich weiß nicht, ob das hier richtig aufgehoben ist. Falls es in Fehler gehört, bitte verschieben :)

    • Best Answer
    • Official Post

    Hallo,


    hast du das ROW_FORMAT der Tabellen geändert? Wenn das auf COMPACT steht, sind Änderungen an den Spalten unmöglich.

    Alexander Ebert
    Senior Developer WoltLab® GmbH

  • Danke für den Tipp, da wäre ich vermutlich nie drauf gekommen. Leider musste ich meine Datenbank neu aufsetzen, ist mir so rum dann aber lieber, bevor ich mir am Ende alles zerschieße.


    Danke :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!