[5.2] Fehler beim Deinstallieren der Filebase

  • Affected App
    WoltLab Suite Core

    Die Deinstallation der Filebase nach Upgrade 3.1 -> 5.2 produziert folgenden Fehler:

    Display Spoiler

    Original Error

    • Error Type:
    • Error Message:
    • Error Code:
    • File:
    • Stack Trace:

    PDOException

    SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails

    23000

    */lib/system/database/statement/PreparedStatement.class.php (93)

    • #0 */lib/system/database/statement/PreparedStatement.class.php (93):
    • PDOStatement->execute([ ])
    • #1 */lib/system/database/editor/MySQLDatabaseEditor.class.php (240):
    • wcf\system\database\statement\PreparedStatement->execute()
    • #2 */lib/system/package/plugin/SQLPackageInstallationPlugin.class.php (109):
    • wcf\system\database\editor\MySQLDatabaseEditor->dropTable('filebase1_file')
    • #3 */lib/system/package/PackageUninstallationDispatcher.class.php (118):
    • wcf\system\package\plugin\SQLPackageInstallationPlugin->uninstall()
    • #4 */lib/system/package/PackageUninstallationDispatcher.class.php (74):
    • wcf\system\package\PackageUninstallationDispatcher->executePIP([ pluginName => , className => ])
    • #5 */lib/acp/action/UninstallPackageAction.class.php (110):
    • wcf\system\package\PackageUninstallationDispatcher->uninstall('00c1970c')
    • #6 */lib/action/AbstractDialogAction.class.php (68):
    • wcf\acp\action\UninstallPackageAction->stepUninstall()
    • #7 */lib/action/AbstractAction.class.php (47):
    • wcf\action\AbstractDialogAction->execute()
    • #8 */lib/system/request/Request.class.php (83):
    • wcf\action\AbstractAction->__run()
    • #9 */lib/system/request/RequestHandler.class.php (107):
    • wcf\system\request\Request->execute()
    • #10 */acp/index.php (9):
    • wcf\system\request\RequestHandler->handle('wcf', true)

    Final Error

    • Error Type:
    • Error Message:
    • Error Code:
    • File:
    • Stack Trace:

    wcf\system\database\exception\DatabaseQueryExecutionException

    Could not execute statement 'DROP TABLE IF EXISTS `filebase1_file`'

    23000

    */lib/system/database/statement/PreparedStatement.class.php (105)

    • #0 */lib/system/database/editor/MySQLDatabaseEditor.class.php (240):
    • wcf\system\database\statement\PreparedStatement->execute()
    • #1 */lib/system/package/plugin/SQLPackageInstallationPlugin.class.php (109):
    • wcf\system\database\editor\MySQLDatabaseEditor->dropTable('filebase1_file')
    • #2 */lib/system/package/PackageUninstallationDispatcher.class.php (118):
    • wcf\system\package\plugin\SQLPackageInstallationPlugin->uninstall()
    • #3 */lib/system/package/PackageUninstallationDispatcher.class.php (74):
    • wcf\system\package\PackageUninstallationDispatcher->executePIP([ pluginName => , className => ])
    • #4 */lib/acp/action/UninstallPackageAction.class.php (110):
    • wcf\system\package\PackageUninstallationDispatcher->uninstall('00c1970c')
    • #5 */lib/action/AbstractDialogAction.class.php (68):
    • wcf\acp\action\UninstallPackageAction->stepUninstall()
    • #6 */lib/action/AbstractAction.class.php (47):
    • wcf\action\AbstractDialogAction->execute()
    • #7 */lib/system/request/Request.class.php (83):
    • wcf\action\AbstractAction->__run()
    • #8 */lib/system/request/RequestHandler.class.php (107):
    • wcf\system\request\Request->execute()
    • #9 */acp/index.php (9):
    • wcf\system\request\RequestHandler->handle('wcf', true)

    Gruß, Udo

    Edited once, last by UdoZ (December 31, 2019 at 7:49 AM).

  • Marcel Werk January 5, 2020 at 10:35 PM

    Added the Label Confirmed
  • Hier wurden scheinbar die beim Update der Filebase neu hinzu gekommenen Foreign Keys nicht korrekt protokolliert, weshalb es anschließend zu einem Fehler bei de Deinstallation kommt. Hinweis: Ich habe das Thema verschoben, da der Fehler im Core steckt.

    Marcel Werk
    WoltLab CEO

  • Matthias Schmidt January 11, 2020 at 3:24 PM

    Set the Label from Confirmed to Fixed

Participate now!

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