Ergebnis 1 bis 5 von 5

Thema: Update 4.9.37 -> 4.13.14 funktioniert nicht

  1. #1
    Contao-Nutzer Avatar von Claudi
    Registriert seit
    14.07.2009.
    Beiträge
    55

    Standard Update 4.9.37 -> 4.13.14 funktioniert nicht

    Hallo zusammen,

    beim Update einer Contao 4.9.37 auf die Contao 4.13.14 mithilfe des Contao Managers bekomme ich leider folgende Fehlermeldung:

    Code:
    composer require contao/manager-bundle=4.13.* contao/news-bundle=4.13.* contao/calendar-bundle=4.13.* contao/faq-bundle=4.13.* contao/comments-bundle=4.13.* contao/newsletter-bundle=4.13.* contao/listing-bundle=4.13.*
    $ /usr/bin/php7.4 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Vienna /www/***********/html/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.* contao/news-bundle=4.13.* contao/calendar-bundle=4.13.* contao/faq-bundle=4.13.* contao/comments-bundle=4.13.* contao/newsletter-bundle=4.13.* contao/listing-bundle=4.13.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    /www/***********/html/composer.json has been updated
    # Process terminated with exit code 0
    # Result: OK
    
    composer update contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts --no-install --no-scripts
    > Resolving dependencies using Composer Cloud v3.5.1
    [6.7MiB/0.21s] Loading composer repositories with package information
    [67.8MiB/7.42s] Updating dependencies
    [117.9MiB/8.04s] Your requirements could not be resolved to an installable set of packages.
    [117.9MiB/8.04s] 
      Problem 1
        - contao/manager-bundle[4.13.0, ..., 4.13.14] require symfony/console ^5.4 -> found symfony/console[v5.4.0, ..., v5.4.16] but these were not loaded, likely because it conflicts with another require.
        - Root composer.json requires contao/manager-bundle 4.13.* -> satisfiable by contao/manager-bundle[4.13.0, ..., 4.13.14].
    [117.9MiB/8.04s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [38.4MiB/8.08s] Memory usage: 38.41MB (peak: 179.97MB), time: 8.09s.
    [38.4MiB/8.08s] Finished Composer Cloud resolving.
    # Cloud Job ID VQmA18E3oz20X2jg8QO9jVvTXzFOvfnT2uN5Xn5BPUA27ze5RqlEkQIkwN6BAIT6RcAepKBz6KKKC9xtx8tYvWx1bdJYMAZZFbcPdeBfheZJ9qMdn2PAcoSAmlvfMN failed
    
    composer install

    Meine composer.json sieht folgendermaßen aus:

    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "codefog/contao-cookiebar": "^2.1",
            "codefog/contao-mobile_menu": "^2.7",
            "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.*",
            "do-while/contao-backupdb-bundle": "^1.3",
            "erdmannfreunde/euf_overlay": "^1.3",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "netzmacht/contao-font-awesome-inserttag": "^2.0"
        },
        "conflict": {
            "contao-components/installer": "<1.3"
        },
        "require-dev": {
            "sensiolabs/security-checker": "^4.1"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            },
            "contao-component-dir": "assets",
            "public-dir": "web"
        },
        "autoload": {
            "psr-4": {
                "App\\": "src/"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }

    Bitte um eine Hilfestellung, wie ich dieses Problem lösen kann.
    Vielen DANK!

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

    Standard

    Du musst:

    1. Die composer.json manuell ändern um auf Contao 4.13 zu aktualisieren.
    2. Danach in der Systemwartung "Composer Update ausführen" klicken.


    Alternativ geht evt. auch folgendes:

    1. Alle Paket zur Aktualisierung markieren.
    2. Contao Verison auf 4.13.* ändern.
    3. Dann erst Änderungen anwenden.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer Avatar von Claudi
    Registriert seit
    14.07.2009.
    Beiträge
    55

    Standard

    Hab zuerst den "alternativen" Lösungsansatz probiert - hat nicht funktioniert.

    Habe dann die composer.json geändert auf:
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^7.1",
            "codefog/contao-cookiebar": "^2.1",
            "codefog/contao-mobile_menu": "^2.7",
            "contao/calendar-bundle": "4.13.*",
            "contao/comments-bundle": "4.13.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.13.*",
            "contao/listing-bundle": "4.13.*",
            "contao/manager-bundle": "4.13.*",
            "contao/news-bundle": "4.13.*",
            "contao/newsletter-bundle": "4.13.*",
            "do-while/contao-backupdb-bundle": "^1.3",
            "erdmannfreunde/euf_overlay": "^1.3",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "netzmacht/contao-font-awesome-inserttag": "^2.0"
        },
        "conflict": {
            "contao-components/installer": "<1.3"
        },
        "require-dev": {
            "sensiolabs/security-checker": "^4.1"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            },
            "contao-component-dir": "assets",
            "public-dir": "web"
        },
        "autoload": {
            "psr-4": {
                "App\\": "src/"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }

    nach "Composer Update ausführen" kommt folgende Fehlermeldung:

    Code:
    composer update --no-install --no-scripts
    > Resolving dependencies using Composer Cloud v3.5.1
    [6.7MiB/0.17s] Loading composer repositories with package information
    [70.1MiB/9.03s] Updating dependencies
    [132.6MiB/9.52s] Your requirements could not be resolved to an installable set of packages.
    [132.6MiB/9.53s] 
      Problem 1
        - Root composer.json requires sensiolabs/security-checker ^4.1 -> satisfiable by sensiolabs/security-checker[v4.1.0, ..., v4.1.8].
        - contao/news-bundle[4.13.0, ..., 4.13.14] require symfony/yaml ^5.4 -> satisfiable by symfony/yaml[v5.4.0, ..., v5.4.16].
        - Conclusion: don't install symfony/yaml v5.4.16 (conflict analysis result)
        - Root composer.json requires contao/news-bundle 4.13.* -> satisfiable by contao/news-bundle[4.13.0, ..., 4.13.14].
    Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
    [132.6MiB/9.53s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [39.1MiB/9.59s] Memory usage: 39.06MB (peak: 182.23MB), time: 9.59s.
    [39.1MiB/9.59s] Finished Composer Cloud resolving.
    # Cloud Job ID Kj4Kkw6N81OWNGxKg5vSj3fXk6ehxImt0GJObocnd9z4yph3Qm7XE7vmAvm07BwgJnqcAWhIuD4TrUPvCBnp3WWQPzBVTxZX4RaMkJjeKgZUFvHKCSlvYRTti5Z2 failed
    composer install

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

    Standard

    Du musst
    Code:
        "require-dev": {
            "sensiolabs/security-checker": "^4.1"
        },
    entfernen. Generell könntest du die composer.json auf folgendes ändern:
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0-or-later",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "codefog/contao-cookiebar": "^2.1",
            "codefog/contao-mobile_menu": "^2.7",
            "contao/calendar-bundle": "4.13.*",
            "contao/comments-bundle": "4.13.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.13.*",
            "contao/listing-bundle": "4.13.*",
            "contao/manager-bundle": "4.13.*",
            "contao/news-bundle": "4.13.*",
            "contao/newsletter-bundle": "4.13.*",
            "do-while/contao-backupdb-bundle": "^1.3",
            "erdmannfreunde/euf_overlay": "^1.3",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "netzmacht/contao-font-awesome-inserttag": "^2.0"
        },
        "conflict": {
            "contao-components/installer": "<1.3"
        },
        "extra": {
            "contao-component-dir": "assets",
            "public-dir": "web"
        },
        "autoload": {
            "psr-4": {
                "App\\": "src/"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer Avatar von Claudi
    Registriert seit
    14.07.2009.
    Beiträge
    55

    Standard

    Perfekt! Hat geklappt!

    Danke Spooky! LG

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
  •