Contao-Camp 2024
Ergebnis 1 bis 4 von 4

Thema: Update von 4.4 auf 4.9 / Row size too large

  1. #1
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard Update von 4.4 auf 4.9 / Row size too large

    Hallo zusammen,

    ich habe ein Problem nach dem Update von 4.4.55 auf 4.9.21.

    Es sind zwar alle Erweiterungen im Manager auf dem aktuellen Stand (siehe Contao-Manager.png)

    Das Installtool meldet aber "es ist ein Fehler aufgetreten".

    var/logs gibt folgendes aus:

    Code:
    [2021-10-18 11:56:20] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'ALTER TABLE tl_module ENGINE = InnoDB ROW_FORMAT = DYNAMIC':  SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline." at /var/www/clients/client3/web363/web/v1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'ALTER TABLE tl_module ENGINE = InnoDB ROW_FORMAT = DYNAMIC':\n\nSQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. at /var/www/clients/client3/web363/web/v1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. at /var/www/clients/client3/web363/web/v1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline. at /var/www/clients/client3/web363/web/v1/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:137)"} []
    Hat jemand eine Idee, wie ich dass beheben kann?

    Wie finde ich raus im Backend oder in phpmyadmin, um welche columns es geht?


    Viele Grüße,
    conter
    Geändert von conter (18.10.2021 um 12:19 Uhr)

  2. #2
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Hallo zusammen,

    habe es jetzt so lösen können:

    https://community.contao.org/de/show...l=1#post526062


    Beim Install bei diesen Eintrag:
    Code:
    ALTER TABLE tl_content ENGINE = InnoDB ROW_FORMAT = DYNAMIC
    das Häkchen rausnehmen und dann nach und nach die DB aktualisieren, ganz zuletzt dann auch bei ENGINE.


    Viele Grüße,
    conter

  3. #3
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.061
    Partner-ID
    10107

    Standard

    Poste bitte mal deine composer.json, evt. könnte man hier im Core etwas anpassen.
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Contao-Fan
    Registriert seit
    28.02.2011.
    Beiträge
    680

    Standard

    Hier die composer.json

    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0+",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^5.6|^7.0",
            "codefog/contao-mobile_menu": "^2.6",
            "contao/calendar-bundle": "4.9.*",
            "contao/comments-bundle": "4.9.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.9.*",
            "contao/listing-bundle": "4.9.*",
            "contao/manager-bundle": "4.9.*",
            "contao/news-bundle": "4.9.*",
            "contao/newsletter-bundle": "4.9.*",
            "derhaeuptling/contao-mega-menu": "^1.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.3",
            "madeyourday/contao-rocksolid-slider": "^2.1",
            "terminal42/contao-conditionalformfields": "^2.3",
            "terminal42/contao-mp_forms": "^3.0",
            "terminal42/notification_center": "^1.6"
        },
        "conflict": {
            "contao/core-bundle": "<4.4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •