Fehler "Default values for BLOB or TEXT columns are unsupported." beim Upgradeversuch

  • Affected Version
    WoltLab Suite 5.5
    Affected App
    WoltLab Suite Core

    Nachdem ich nun alle Inkompatibilitäten bereinigt habe, wollte ich in meinem Test-Forum das Upgrade von Version 5.4.21 auf das WSC 5.5 durchführen.


    Das Core-Paket wurde aktualisiert. Dann war das Konversationen-Paket an der Reihe und das Upgrade brach mit folgendem Fehler ab.



    Requested URL
    POST /acp/index.php?install-package/&t=172d906a101049b87d8dfad200bc1ecf1cf2cae0c473563a1bdb7126245be5c0-ZO15fdk5mDoitNW9tlC6+g==
    Referrer
    https://test.compiware-forum.de/acp/index.php?package-update/
    Error Message
    Default values for BLOB or TEXT columns are unsupported.
    Type
    BadMethodCallException
    File (Line)
    /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/database/table/column/TUnsupportedDefaultValue.class.php (20)
    Stacktrace
    1. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/database/table/column/AbstractDatabaseTableColumn.class.php (196): wcf\system\database\table\column\TextDatabaseTableColumn->defaultValue(…)
    2. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/database/table/DatabaseTable.class.php (196): wcf\system\database\table\column\AbstractDatabaseTableColumn::createFromData(…)
    3. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/database/table/DatabaseTableChangeProcessor.class.php (1219): wcf\system\database\table\DatabaseTable::createFromExistingTable(…)
    4. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/database/table/DatabaseTableChangeProcessor.class.php (1152): wcf\system\database\table\DatabaseTableChangeProcessor->validate(…)
    5. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php (78): wcf\system\database\table\DatabaseTableChangeProcessor->process(…)
    6. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/package/plugin/DatabasePackageInstallationPlugin.class.php (48): wcf\system\package\plugin\DatabasePackageInstallationPlugin->updateDatabase(…)
    7. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/package/plugin/AbstractPackageInstallationPlugin.class.php (76): wcf\system\package\plugin\DatabasePackageInstallationPlugin->install(…)
    8. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/package/PackageInstallationDispatcher.class.php (807): wcf\system\package\plugin\AbstractPackageInstallationPlugin->update(…)
    9. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/package/PackageInstallationDispatcher.class.php (155): wcf\system\package\PackageInstallationDispatcher->executePIP(…)
    10. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/acp/action/InstallPackageAction.class.php (82): wcf\system\package\PackageInstallationDispatcher->install(…)
    11. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/action/AbstractDialogAction.class.php (73): wcf\acp\action\InstallPackageAction->stepInstall(…)
    12. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/action/AbstractAction.class.php (57): wcf\action\AbstractDialogAction->execute(…)
    13. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/Request.class.php (90): wcf\action\AbstractAction->__run(…)
    14. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    15. /storagepool/c01005/htdocs/test.compiware-forum.de/acp/index.php (11): wcf\system\request\RequestHandler->handle(…)


    Im ACP ist zu erkennen, dass der Core tatsächlich bereits aktualisiert wurde. Alle anderen Pakete wurden nicht angefasst.



    Das Test-System lässt sich nun auch nicht mehr aufrufen. Es erscheint dieser Fehler.


    Requested URL
    GET /
    Referrer
    https://test.compiware-forum.de/
    Error Message
    Could not compile SCSS: $amount: Expected 50% to be within 0% and 1%: forum/style/boardListImages.scss on line 202, at column 6 Call Stack: #0 mixin screen-md-up forum/style/boardListImages.scss on line 476 #1 import forum/style/boardListImages.scss (unknown file) on line 271
    Type
    wcf\system\exception\SystemException
    File (Line)
    /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleCompiler.class.php (643)
    Template Context
    ?> <!-- Stylesheets --> ====> <?=$this->v['__wcf']->getStyleHandler()->getStylesheet();?> <?php if ($this->v['templateName'] == 'adventCalendar') { ?><?php if (!isset($this->pluginObjects['wcf\system\template\plugin\ConcatModifierTemplatePlugin'])) { $this->pluginObjects['wcf\system\template\plugin\ConcatModifierTemplatePlugin'] = new wcf\system\template\plugin\ConcatModifierTemplatePlugin; } ?><style> #adventCalendar {
    Stacktrace
    1. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleCompiler.class.php (294): wcf\system\style\StyleCompiler->compileStylesheet(…)
    2. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleHandler.class.php (154): wcf\system\style\StyleCompiler->compile(…)
    3. /storagepool/c01005/htdocs/test.compiware-forum.de/templates/compiled/123_wcf_1_cms.php (133): wcf\system\style\StyleHandler->getStylesheet(…)
    4. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/template/TemplateEngine.class.php (350): include(…)
    5. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    6. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    7. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    8. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    9. /storagepool/c01005/htdocs/test.compiware-forum.de/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    $amount: Expected 50% to be within 0% and 1%: forum/style/boardListImages.scss on line 202, at column 6 Call Stack: #0 mixin screen-md-up forum/style/boardListImages.scss on line 476 #1 import forum/style/boardListImages.scss (unknown file) on line 271
    Type
    ScssPhp\ScssPhp\Exception\CompilerException
    File (Line)
    /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (573)
    Template Context
    ?> <!-- Stylesheets --> ====> <?=$this->v['__wcf']->getStyleHandler()->getStylesheet();?> <?php if ($this->v['templateName'] == 'adventCalendar') { ?><?php if (!isset($this->pluginObjects['wcf\system\template\plugin\ConcatModifierTemplatePlugin'])) { $this->pluginObjects['wcf\system\template\plugin\ConcatModifierTemplatePlugin'] = new wcf\system\template\plugin\ConcatModifierTemplatePlugin; } ?><style> #adventCalendar {
    Stacktrace
    1. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleCompiler.class.php (639): ScssPhp\ScssPhp\Compiler->compileString(…)
    2. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleCompiler.class.php (294): wcf\system\style\StyleCompiler->compileStylesheet(…)
    3. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleHandler.class.php (154): wcf\system\style\StyleCompiler->compile(…)
    4. /storagepool/c01005/htdocs/test.compiware-forum.de/templates/compiled/123_wcf_1_cms.php (133): wcf\system\style\StyleHandler->getStylesheet(…)
    5. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/template/TemplateEngine.class.php (350): include(…)
    6. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    7. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    8. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    9. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    10. /storagepool/c01005/htdocs/test.compiware-forum.de/index.php (11): wcf\system\request\RequestHandler->handle(…)
    Error Message
    $amount: Expected 50% to be within 0% and 1%
    Type
    ScssPhp\ScssPhp\Exception\SassScriptException
    File (Line)
    /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Exception/SassScriptException.php (30)
    Template Context
    ?> <!-- Stylesheets --> ====> <?=$this->v['__wcf']->getStyleHandler()->getStylesheet();?> <?php if ($this->v['templateName'] == 'adventCalendar') { ?><?php if (!isset($this->pluginObjects['wcf\system\template\plugin\ConcatModifierTemplatePlugin'])) { $this->pluginObjects['wcf\system\template\plugin\ConcatModifierTemplatePlugin'] = new wcf\system\template\plugin\ConcatModifierTemplatePlugin; } ?><style> #adventCalendar {
    Stacktrace
    1. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Node/Number.php (269): ScssPhp\ScssPhp\Exception\SassScriptException::forArgument(…)
    2. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (8604): ScssPhp\ScssPhp\Node\Number->valueInRange(…)
    3. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (6299): ScssPhp\ScssPhp\Compiler->libTransparentize(…)
    4. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (3715): ScssPhp\ScssPhp\Compiler->callNativeFunction(…)
    5. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (3641): ScssPhp\ScssPhp\Compiler->fncall(…)
    6. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (3066): ScssPhp\ScssPhp\Compiler->reduce(…)
    7. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    8. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (1930): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    9. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2931): ScssPhp\ScssPhp\Compiler->compileBlock(…)
    10. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    11. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (1930): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    12. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2931): ScssPhp\ScssPhp\Compiler->compileBlock(…)
    13. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    14. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (1930): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    15. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2931): ScssPhp\ScssPhp\Compiler->compileBlock(…)
    16. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    17. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (3368): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    18. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    19. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (1930): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    20. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2931): ScssPhp\ScssPhp\Compiler->compileBlock(…)
    21. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    22. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (1342): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    23. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2927): ScssPhp\ScssPhp\Compiler->compileMedia(…)
    24. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    25. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (3336): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    26. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2338): ScssPhp\ScssPhp\Compiler->compileChild(…)
    27. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (3153): ScssPhp\ScssPhp\Compiler->compileChildren(…)
    28. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    29. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (5747): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    30. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2703): ScssPhp\ScssPhp\Compiler->importFile(…)
    31. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2915): ScssPhp\ScssPhp\Compiler->compileImport(…)
    32. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (2378): ScssPhp\ScssPhp\Compiler->compileChild(…)
    33. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (744): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn(…)
    34. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/api/scssphp/scssphp/src/Compiler.php (522): ScssPhp\ScssPhp\Compiler->compileRoot(…)
    35. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleCompiler.class.php (639): ScssPhp\ScssPhp\Compiler->compileString(…)
    36. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleCompiler.class.php (294): wcf\system\style\StyleCompiler->compileStylesheet(…)
    37. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/style/StyleHandler.class.php (154): wcf\system\style\StyleCompiler->compile(…)
    38. /storagepool/c01005/htdocs/test.compiware-forum.de/templates/compiled/123_wcf_1_cms.php (133): wcf\system\style\StyleHandler->getStylesheet(…)
    39. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/template/TemplateEngine.class.php (350): include(…)
    40. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/page/AbstractPage.class.php (390): wcf\system\template\TemplateEngine->display(…)
    41. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/page/AbstractPage.class.php (135): wcf\page\AbstractPage->show(…)
    42. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/Request.class.php (90): wcf\page\AbstractPage->__run(…)
    43. /storagepool/c01005/htdocs/test.compiware-forum.de/lib/system/request/RequestHandler.class.php (107): wcf\system\request\Request->execute(…)
    44. /storagepool/c01005/htdocs/test.compiware-forum.de/index.php (11): wcf\system\request\RequestHandler->handle(…)


    Was könnte der Grund für den Abbruch des Upgradeprozesses sein? :/

    • Official Post

    Hallo,


    kannst du uns bitte ein Ticket erstellen, damit wir Zugangsdaten abrufen können, um das Upgrade selbst einmal zu probieren? Bitte keine Änderungen an der Instanz vornehmen.


    Das Test-System lässt sich nun auch nicht mehr aufrufen. Es erscheint dieser Fehler.

    Das ist durch ein Plugin verursacht, welches fehlerhaftes SCSS enthält. Dem Namen nach irgendwas mit Forenbildern.

  • Mein Hoster untersucht das gerade noch. Ein fehlerhaftes Plugin konnten wir schon ausfindig machen. Sollten wir keine Lösung finden, erstelle ich ein Ticket.


    Ich gebe hier auf jeden Fall Rückmeldung!

    • Official Post

    Hallo,


    bei der ersten Fehlermeldung bin ich mir anhand des Stacktrace ziemlich sicher, dass hier tatsächlich noch ein Fehler direkt in WoltLab Suite Core vorliegt. Deswegen möchte ich mir gerne selbst ein Bild davon machen und hatte darum auch gebeten, dass keine Veränderungen mehr an der Instanz vorgenommen werden.

  • Ich habe bisher nur 1 Plugin deinstalliert, welches der Auslöser sein könnte. Leider kam die Antwort, nachdem ich bereits zusammen mit dem Hoster Untersuchungen durchgeführt hatte.


    Falls du trotzdem noch Zugang benötigst, erstelle ich gern ein Ticket.

  • Der zweite Fehler kommt vom Plugin:


    WoltLab Suite Forum: Board-Images


    welche Version hast du denn installiert? Du kannst vor dem Update auf die neuste Version 1.0.3 aktualisieren, da ist der Fehler auf jeden Fall behoben.

    Wir😳leben😳auf😳einer😳Kugel😳und😳du😳wunderst😳dich😳ernsthaft😳über😳etwas😳



    🐶 x 27 ♥️ x 248

  • Installiert ist die Version 1.0.1, die mit deinen Stilen mitkam. Und ich denke, dass der Fehler auf jeden Fall nicht mehr auftritt, wenn das Upgrade komplett abgeschlossen und auch deine Stile aktualisiert wurden. Aktuell sind diese natürlich noch in der Version für das WSC 5.4 installiert.



    Wo bekomme ich das Update auf v1.0.3 her, um da im Vorfeld auf Nummer sicher zu gehen?

  • Aktuell nur in den Stilpaketen der Stile 5.6. Du kannst eins entpacken und dann aus dem Ordner optional installieren.

    Wir😳leben😳auf😳einer😳Kugel😳und😳du😳wunderst😳dich😳ernsthaft😳über😳etwas😳



    🐶 x 27 ♥️ x 248

  • Ja, eigentlich schon und das hat bei meinen Tests eigentlich auch funktioniert. Würde aber trotzdem das Paket schon vorab installieren da es einige Templatefehler behebt.

    Wir😳leben😳auf😳einer😳Kugel😳und😳du😳wunderst😳dich😳ernsthaft😳über😳etwas😳



    🐶 x 27 ♥️ x 248

    • Official Post

    Hallo,


    „wird nicht behoben“, weil derartige Tabellen ohnehin nicht existieren dürften und bei dem letztlich undefinierten Datenbankzustand eine Fehlermeldung besser ist, als potentiell fehlerhafte Modifikationen an der Datenbankstruktur.

Participate now!

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