Contao-Summit 2026
Ergebnis 1 bis 5 von 5

Thema: Update 4.13 zu 5.3 GELÖST

  1. #1
    Contao-Nutzer
    Registriert seit
    14.10.2010.
    Beiträge
    172

    Standard Update 4.13 zu 5.3 GELÖST

    PHP Version 8.2.29
    Hoster Inleed (in Schweden)
    Hallo, beim Update zu 5.3 komme ich über die folgende Ausgabe nicht hinaus. Was ist der Fehler bzw. was muss ich noch ändern. Vielen Dank im Voraus.

    Code:
    $ /opt/alt/php82/usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Stockholm /home/s71939/domains/domain.se/public_html/cnt53/public/contao-manager.phar.php composer require contao/manager-bundle=5.3.* do-while/contao-backupdb-bundle=^2.1 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    /home/s71939/domains/domain.se/public_html/cnt53/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v3.8.2
    
    [6.8MiB/0.20s] Loading composer repositories with package information
    [99.4MiB/16.09s] Updating dependencies
    [31.9MiB/17.83s] Lock file operations: 13 installs, 79 updates, 9 removals
    [31.9MiB/17.83s]   - Removing beberlei/assert (v3.3.3)
    [31.9MiB/17.83s]   - Removing contao/installation-bundle (4.13.58)
    [31.9MiB/17.83s]   - Removing paragonie/random_compat (v9.99.100)
    [31.9MiB/17.83s]   - Removing sensiolabs/ansi-to-html (v1.3.0)
    [31.9MiB/17.83s]   - Removing stella-maris/clock (0.1.7)
    [31.9MiB/17.84s]   - Removing symfony/polyfill-php81 (v1.33.0)
    [31.9MiB/17.84s]   - Removing symfony/security-guard (v5.4.45)
    [31.9MiB/17.84s]   - Removing symfony/templating (v6.4.24)
    [31.9MiB/17.84s]   - Removing thecodingmachine/safe (v2.5.0)
    [31.9MiB/17.84s]   - Upgrading contao-components/chosen (1.2.5 => 2.0.2)
    [31.9MiB/17.84s]   - Upgrading contao-components/datepicker (2.3.2 => 3.0.1)
    [31.9MiB/17.84s]   - Locking contao-components/handorgel (1.0.0.1)
    [31.9MiB/17.84s]   - Upgrading contao-components/simplemodal (2.1.2 => 3.0.4)
    [31.9MiB/17.84s]   - Locking contao-components/swiper (12.0.3)
    [31.9MiB/17.84s]   - Upgrading contao-components/tinymce4 (5.10.9 => 6.8.6)
    [31.9MiB/17.84s]   - Locking contao-components/tristen-tablesort (5.6.0)
    [31.9MiB/17.84s]   - Upgrading contao/core-bundle (4.13.58 => 5.3.43)
    [31.9MiB/17.85s]   - Upgrading contao/manager-bundle (4.13.58 => 5.3.43)
    [31.9MiB/17.85s]   - Upgrading do-while/contao-backupdb-bundle (1.6.0 => 2.1.1)
    [31.9MiB/17.85s]   - Upgrading doctrine/collections (1.8.0 => 2.4.0)
    [31.9MiB/17.85s]   - Upgrading doctrine/doctrine-bundle (2.13.3 => 2.18.2)
    [31.9MiB/17.85s]   - Upgrading doctrine/event-manager (1.2.0 => 2.0.1)
    [31.9MiB/17.85s]   - Upgrading doctrine/persistence (2.5.7 => 3.4.3)
    [31.9MiB/17.85s]   - Locking guzzlehttp/promises (2.3.0)
    [31.9MiB/17.85s]   - Upgrading knplabs/knp-menu-bundle (v3.6.0 => v3.7.0)
    [31.9MiB/17.85s]   - Upgrading knplabs/knp-time-bundle (v1.20.0 => 2.5.0)
    [31.9MiB/17.85s]   - Upgrading lcobucci/clock (2.3.0 => 3.3.1)
    [31.9MiB/17.85s]   - Upgrading lcobucci/jwt (4.0.4 => 5.6.0)
    [31.9MiB/17.85s]   - Locking masterminds/html5 (2.10.0)
    [31.9MiB/17.85s]   - Upgrading nelmio/security-bundle (v2.12.0 => v3.7.0)
    [31.9MiB/17.85s]   - Upgrading nette/utils (v4.0.10 => v4.1.1)
    [31.9MiB/17.85s]   - Upgrading paragonie/constant_time_encoding (v2.8.2 => v3.1.3)
    [31.9MiB/17.86s]   - Locking php-feed-io/feed-io (v6.2.0)
    [31.9MiB/17.86s]   - Upgrading psr/cache (2.0.0 => 3.0.0)
    [31.9MiB/17.86s]   - Upgrading psr/container (1.1.2 => 2.0.2)
    [31.9MiB/17.86s]   - Upgrading psr/http-message (1.1 => 2.0)
    [31.9MiB/17.86s]   - Upgrading psr/log (2.0.0 => 3.0.2)
    [31.9MiB/17.86s]   - Upgrading scheb/2fa-backup-code (v5.13.2 => v7.13.1)
    [31.9MiB/17.86s]   - Upgrading scheb/2fa-bundle (v5.13.2 => v7.13.1)
    [31.9MiB/17.86s]   - Upgrading scheb/2fa-trusted-device (v5.13.2 => v7.13.1)
    [31.9MiB/17.86s]   - Upgrading spomky-labs/otphp (v10.0.3 => 11.3.0)
    [31.9MiB/17.86s]   - Upgrading symfony-cmf/routing (2.3.4 => 3.0.5)
    [31.9MiB/17.86s]   - Upgrading symfony-cmf/routing-bundle (2.5.1 => 3.1.2)
    [31.9MiB/17.86s]   - Upgrading symfony/asset (v5.4.45 => v6.4.24)
    [31.9MiB/17.86s]   - Upgrading symfony/cache (v5.4.46 => v6.4.31)
    [31.9MiB/17.86s]   - Upgrading symfony/cache-contracts (v2.5.4 => v3.6.0)
    [31.9MiB/17.86s]   - Upgrading symfony/config (v5.4.46 => v6.4.28)
    [31.9MiB/17.86s]   - Upgrading symfony/console (v5.4.47 => v6.4.31)
    [31.9MiB/17.86s]   - Upgrading symfony/debug-bundle (v5.4.45 => v6.4.27)
    [31.9MiB/17.86s]   - Upgrading symfony/dependency-injection (v5.4.48 => v6.4.31)
    [31.9MiB/17.86s]   - Upgrading symfony/doctrine-bridge (v5.4.48 => v6.4.26)
    [31.9MiB/17.86s]   - Locking symfony/doctrine-messenger (v6.4.31)
    [31.9MiB/17.87s]   - Upgrading symfony/dom-crawler (v5.4.48 => v6.4.25)
    [31.9MiB/17.87s]   - Upgrading symfony/dotenv (v5.4.48 => v6.4.30)
    [31.9MiB/17.87s]   - Upgrading symfony/error-handler (v5.4.46 => v6.4.26)
    [31.9MiB/17.87s]   - Upgrading symfony/event-dispatcher (v5.4.45 => v6.4.25)
    [31.9MiB/17.87s]   - Upgrading symfony/expression-language (v5.4.45 => v6.4.30)
    [31.9MiB/17.87s]   - Upgrading symfony/filesystem (v5.4.45 => v6.4.30)
    [31.9MiB/17.87s]   - Upgrading symfony/finder (v5.4.45 => v6.4.31)
    [31.9MiB/17.87s]   - Upgrading symfony/framework-bundle (v5.4.45 => v6.4.31)
    [31.9MiB/17.87s]   - Locking symfony/html-sanitizer (v6.4.28)
    [31.9MiB/17.87s]   - Upgrading symfony/http-client (v5.4.49 => v6.4.31)
    [31.9MiB/17.87s]   - Upgrading symfony/http-client-contracts (v2.5.5 => v3.6.0)
    [31.9MiB/17.87s]   - Upgrading symfony/http-foundation (v5.4.50 => v6.4.31)
    [31.9MiB/17.87s]   - Upgrading symfony/http-kernel (v5.4.50 => v6.4.31)
    [31.9MiB/17.87s]   - Upgrading symfony/intl (v5.4.47 => v6.4.30)
    [31.9MiB/17.87s]   - Upgrading symfony/lock (v5.4.45 => v7.4.1)
    [31.9MiB/17.87s]   - Upgrading symfony/mailer (v5.4.45 => v6.4.31)
    [31.9MiB/17.87s]   - Locking symfony/messenger (v6.4.31)
    [31.9MiB/17.87s]   - Upgrading symfony/mime (v5.4.45 => v6.4.30)
    [31.9MiB/17.87s]   - Upgrading symfony/monolog-bridge (v5.4.45 => v6.4.28)
    [31.9MiB/17.87s]   - Upgrading symfony/monolog-bundle (v3.10.0 => v3.11.1)
    [31.9MiB/17.87s]   - Upgrading symfony/options-resolver (v5.4.45 => v6.4.30)
    [31.9MiB/17.88s]   - Upgrading symfony/password-hasher (v5.4.45 => v6.4.24)
    [31.9MiB/17.88s]   - Locking symfony/polyfill-php84 (v1.33.0)
    [31.9MiB/17.88s]   - Upgrading symfony/process (v5.4.47 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/property-access (v5.4.45 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/property-info (v6.4.30 => v7.4.3)
    [31.9MiB/17.88s]   - Upgrading symfony/rate-limiter (v5.4.47 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/routing (v5.4.48 => v6.4.30)
    [31.9MiB/17.88s]   - Upgrading symfony/security-bundle (v5.4.45 => v6.4.30)
    [31.9MiB/17.88s]   - Upgrading symfony/security-core (v5.4.48 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/security-csrf (v5.4.45 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/security-http (v5.4.47 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/service-contracts (v2.5.4 => v3.6.1)
    [31.9MiB/17.88s]   - Upgrading symfony/stopwatch (v5.4.45 => v6.4.24)
    [31.9MiB/17.88s]   - Upgrading symfony/string (v5.4.47 => v6.4.30)
    [31.9MiB/17.88s]   - Upgrading symfony/translation (v5.4.45 => v6.4.31)
    [31.9MiB/17.88s]   - Upgrading symfony/translation-contracts (v2.5.4 => v3.6.1)
    [31.9MiB/17.88s]   - Upgrading symfony/twig-bridge (v5.4.48 => v6.4.31)
    [31.9MiB/17.89s]   - Upgrading symfony/twig-bundle (v5.4.45 => v6.4.31)
    [31.9MiB/17.89s]   - Locking symfony/type-info (v7.4.1)
    [31.9MiB/17.89s]   - Upgrading symfony/uid (v5.4.45 => v6.4.24)
    [31.9MiB/17.89s]   - Upgrading symfony/var-dumper (v5.4.48 => v6.4.26)
    [31.9MiB/17.89s]   - Upgrading symfony/var-exporter (v6.4.26 => v7.4.0)
    [31.9MiB/17.89s]   - Upgrading symfony/web-profiler-bundle (v5.4.48 => v6.4.27)
    [31.9MiB/17.89s]   - Upgrading symfony/yaml (v5.4.45 => v6.4.30)
    [31.9MiB/17.89s]   - Upgrading terminal42/escargot (1.6.3 => 1.7.0)
    [31.9MiB/17.89s]   - Locking toflar/cronjob-supervisor (2.0.3)
    [31.9MiB/17.89s]   - Upgrading toflar/psr6-symfony-http-cache-store (3.0.1 => 4.3.0)
    [31.9MiB/17.89s]   - Locking twig/string-extra (v3.22.1)
    [31.2MiB/17.90s] Writing lock file
    [15.9MiB/17.93s] 1 package suggestions were added by new dependencies, use `composer suggest` to see details.
    [16.6MiB/17.94s] <warning>Package doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [16.6MiB/17.94s] <warning>Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [16.6MiB/17.94s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
    [16.8MiB/18.15s] No security vulnerability advisories found.
    [17.3MiB/18.16s] Memory usage: 17.28MB (peak: 231.71MB), time: 18.16s.
    [17.3MiB/18.16s] Finished Composer Cloud resolving.
    
    
    # Job ID sz67JiwB4eauQFrDLgjOaGciuqg2c4wYkoF63j2CyLTctepsbwuLBXIFC5XJgbtoxrFSy77cQMqma5Bj2XCby17oPhY completed in 18 seconds
    # Memory usage: 17.28MB (peak: 231.71MB), time: 18.16s.
    
    $ /opt/alt/php82/usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Stockholm /home/s71939/domains/domain.se/public_html/cnt53/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Nothing to install, update or remove
    Package doctrine/annotations is abandoned, you should avoid using it. No replacement was suggested.
    Package doctrine/cache is abandoned, you should avoid using it. No replacement was suggested.
    Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
    Generating optimized autoload files
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    111 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    
    In ArrayNode.php line 327:
                                                                                   
      Unrecognized option "prepend_locale" under "contao". Available options are   
      "backend", "backup", "console_path", "crawl", "cron", "csp", "csrf_cookie_p  
      refix", "csrf_token_name", "editable_files", "error_level", "image", "inser  
      t_tags", "intl", "localconfig", "locales", "mailer", "messenger", "pretty_e  
      rror_screens", "preview_script", "sanitizer", "search", "security", "upload  
      _path".                                                                      
                                                                                   
    
    2025-12-31T11:56:24+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Bundle\BundlePluginInterface::getBundles()" might add "array" as a native return type declaration in the future. Do the same in implementation "Softleister\BackupDbBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
    2025-12-31T11:56:24+01:00 [info] User Deprecated: Method "Contao\ManagerPlugin\Routing\RoutingPluginInterface::getRouteCollection()" might add "?RouteCollection" as a native return type declaration in the future. Do the same in implementation "Softleister\BackupDbBundle\ContaoManager\Plugin" now to avoid errors or add an explicit @return annotation to suppress this message.
    Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 1
    
    # Process terminated with exit code 1
    # Result: General error
    Das wäre noch die composer.json
    Code:
    {
        "type": "project",
        "require": {
            "codefog/contao-cookiebar": "^2.1",
            "contao/conflicts": "*@dev",
            "contao/manager-bundle": "5.3.*",
            "do-while/contao-backupdb-bundle": "^2.1",
            "terminal42/contao-changelanguage": "^3.2"
        },
        "extra": {
            "contao-component-dir": "assets",
            "public-dir": "public"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }
    Geändert von Alok (31.12.2025 um 11:24 Uhr)

  2. #2
    Contao-Nutzer
    Registriert seit
    14.10.2010.
    Beiträge
    172

    Standard Gelöst

    das Problem war dass die config.yaml noch
    Code:
    contao:
        prepend_locale: true
    enthielt. Da sonst nichts anderes drin stand, habe ich die config.yaml deaktiviert/gelöscht.

    ...falls andere das gleiche Problem haben.

  3. #3
    Contao-Nutzer
    Registriert seit
    20.01.2020.
    Beiträge
    4

    Standard Update Contao 4.13.58 auf 5.7

    Hallo Contao-Community

    Ich möchte obiges Thema nochmals aktivieren: ich versuche, eine Contao 4.13.58-Installation auf eine (letztendlich) 5.7.x-Version upzudaten. Leider scheiterten bis jetzt alle Versuche, egal ob direkt auf 5.7 oder zuerst auf 5.3. Mein Vorgehen, wo möglich über den Contao Manager (CM):

    1. Ordner web auf public geändert
    2. Geprüft, welche Erweiterungen 5.x-kompatibel sind
    3. Nicht kompatible Erweiterungen entfernt/gelöscht
    4. Versionseinträge in der composer.json angepasst
    5. config.yaml im Ordner config gelöscht
    6. Prod.-Cache neu aufgebaut
    7. CM gestartet, Schaltfläche "Pakete aktualisieren" (oben), "Alle Pakete aktualisieren" (unten) und "Änderungen anwenden"
    8. Fehlermeldung im CM: In ArrayNode.php line 327: Unrecognized option "prepend_locale" under "contao".
    9. Gemäss obiger Info soll der Eintrag "prepend_locale" dafür verantwortlich sein. -> Dieser Eintrag ist aber meines Erachtens nirgends vorhanden, da die config/config.yaml nicht (mehr) vorhanden ist

    Wo muss ich ansetzen? Was ist noch falsch?

    Danke für eure Hilfestellung.

    Gruss
    Chris

  4. #4
    Contao-Urgestein
    Registriert seit
    24.02.2021.
    Beiträge
    2.119
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Du solltest dafür einen neuen Thread öffnen

  5. #5
    Contao-Nutzer
    Registriert seit
    20.01.2020.
    Beiträge
    4

    Standard

    Danke. Siehe hier

Aktive Benutzer

Aktive Benutzer

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

Berechtigungen

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