Ergebnis 1 bis 8 von 8

Thema: Update von 4.9 scheitert

  1. #1
    Contao-Nutzer
    Registriert seit
    10.03.2011.
    Beiträge
    176

    Standard Update von 4.9 scheitert

    Ich versuche, von 4.9.39 auf 5.1 zu aktualisieren - bisher leider erfolglos.
    Gemeldet wird dies:
    Code:
    [7.1MiB/0.20s] Loading composer repositories with package information
    [70.3MiB/8.52s] Updating dependencies
    [106.5MiB/8.99s] Your requirements could not be resolved to an installable set of packages.
    [106.5MiB/9.00s] 
      Problem 1
        - Root composer.json requires contao/calendar-bundle 5.1.* -> satisfiable by contao/calendar-bundle[5.1.0].
        - contao/calendar-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
    Die weiteren Probleme beziehen sich auf die anderen Core-Module Contaos.
    In der composer.json heißt es:

    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": {
            "codefog/contao-haste": "^4.24",
            "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/tcpdf-bundle": "^1.2",
            "dklemmt/contao_dk_mmenu": "^3.2",
            "do-while/contao-backupdb-bundle": "^1.4",
            "fritzmg/contao-sharebuttons": "^2.1",
            "heimrichhannot/dlh_geocode": "^1.1",
            "inspiredminds/contao-glightbox": "^1.0",
            "jrgregory/m17-sticky-backend-footer": "^2.0",
            "ma3xl3/contao-easy-favicon": "^2.0",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.3",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
            "madeyourday/contao-rocksolid-icon-picker": "^2.0",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "madeyourday/contao-rocksolid-theme-assistant": "^2.0",
            "terminal42/contao-easy_themes": "^2.2",
            "terminal42/notification_center": "^1.5"
        },
        "conflict": {
            "contao/core-bundle": "<4.4.1",
            "contao-community-alliance/composer-plugin": "3.0.7"
        },
        "config": {
            "component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        },
    Ich überlege schon, alle Erweiterungen aus der Datei zu entfernen, und einen neuen Aktualisierungsversuch zu starten. Aber vielleicht gibt es noch eine bessere Lösung.

  2. #2
    Contao-Urgestein Avatar von cliffparnitzky
    Registriert seit
    08.10.2010.
    Ort
    Lüneburg
    Beiträge
    2.451
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von Leolux Beitrag anzeigen
    Ich überlege schon, alle Erweiterungen aus der Datei zu entfernen, und einen neuen Aktualisierungsversuch zu starten. Aber vielleicht gibt es noch eine bessere Lösung.
    Das ist aus meiner Sicht die großartigste Idee, die bzgl. Updateprobleme hier in den letzten Monaten gepostet wurde. Das ist mein voller Ernst !!!

    Mach das über den Weg und schau dann, ob deine Erweiterungen überhaupt Contao 5 kompatibel sind.

  3. #3
    Contao-Nutzer
    Registriert seit
    10.03.2011.
    Beiträge
    176

    Standard

    Ich habe die composer.json so "gestutzt":

    Code:
        "require": {
            "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.*",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
            "madeyourday/contao-rocksolid-slider": "^2.0"
        },
    Beim Aufruf des Contao-Managers bestätigte ich, dass die Änderungen vorgenommen werden sollen, und erhielt die folgende Fehlermeldung:

    Code:
     Problem 1
        - lcobucci/jwt 3.4.6 requires php ^5.6 || ^7.0 -> your php version (8.2.3.0) does not satisfy that requirement.
        - contao/calendar-bundle 4.9.39 requires contao/core-bundle 4.9.39 -> satisfiable by contao/core-bundle[4.9.39].
        - contao/core-bundle 4.9.39 requires lcobucci/jwt ^3.4 || ^4.0 -> satisfiable by lcobucci/jwt[3.4.6].
        - contao/calendar-bundle is locked to version 4.9.39 and an update of this package was not requested.
    Nach "Bestätigen & Schließen" werden im Comtao-Manager rot hinterlegte Infos angezeigt: "manuell entfernt", aber es werden unten 14 unbestätigte Änderungen angezeigt, die wegen des o.g. Fehlers nicht vorgenommen werden.

    Und nun?

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

    Standard

    Du musst alle Pakete aktualisieren (nicht "Anwenden").
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    10.03.2011.
    Beiträge
    176

    Standard

    Alle Pakete wurden zu aktualisieren versucht. Der Exit-Code lautet "1" und die lange Ausgabe liest sich so:

    Code:
    > Resolving dependencies using Composer Cloud v3.5.1
    
    [7.1MiB/0.17s] Loading composer repositories with package information
    [73.3MiB/8.14s] Updating dependencies
    [28.8MiB/9.52s] Lock file operations: 3 installs, 17 updates, 29 removals
    [28.8MiB/9.53s]   - Removing bugbuster/browscap-lite (1.1.2)
    [28.8MiB/9.53s]   - Removing bugbuster/contao-botdetection-bundle (1.7.1)
    [28.8MiB/9.53s]   - Removing bugbuster/contao-dlstats-bundle (1.3.7)
    [28.8MiB/9.53s]   - Removing chrisjean/php-ico (1.0.4)
    [28.8MiB/9.53s]   - Removing clickpress/contao-clickpress-grid (1.4.1)
    [28.8MiB/9.53s]   - Removing codefog/contao-cookiebar (2.3.1)
    [28.8MiB/9.53s]   - Removing codefog/contao-haste (4.25.23)
    [28.8MiB/9.53s]   - Removing codefog/contao-mobile_menu (2.7.1)
    [28.8MiB/9.53s]   - Removing composer/semver (3.3.2)
    [28.8MiB/9.53s]   - Removing contao-community-alliance/composer-plugin (3.2.2)
    [28.8MiB/9.53s]   - Removing contao/tcpdf-bundle (1.2.2)
    [28.8MiB/9.53s]   - Removing dklemmt/contao_dk_mmenu (3.2.5)
    [28.8MiB/9.54s]   - Removing do-while/contao-backupdb-bundle (1.5.3)
    [28.8MiB/9.54s]   - Removing fritzmg/contao-sharebuttons (2.2.2)
    [28.8MiB/9.54s]   - Removing heimrichhannot/dlh_geocode (1.1.4)
    [28.8MiB/9.54s]   - Removing inspiredminds/contao-glightbox (1.0.1)
    [28.8MiB/9.54s]   - Removing jaybizzle/crawler-detect (v1.2.113)
    [28.8MiB/9.54s]   - Removing jean85/pretty-package-versions (1.6.0)
    [28.8MiB/9.54s]   - Removing jrgregory/m17-sticky-backend-footer (2.0.9)
    [28.8MiB/9.54s]   - Removing laminas/laminas-eventmanager (3.4.0)
    [28.8MiB/9.54s]   - Removing laminas/laminas-zendframework-bridge (1.4.1)
    [28.8MiB/9.54s]   - Removing ma3xl3/contao-easy-favicon (2.0.6)
    [28.8MiB/9.54s]   - Removing madeyourday/contao-rocksolid-custom-elements (v2.3.12)
    [28.8MiB/9.54s]   - Removing madeyourday/contao-rocksolid-icon-picker (v2.0.3)
    [28.8MiB/9.54s]   - Removing madeyourday/contao-rocksolid-theme-assistant (v2.0.5)
    [28.8MiB/9.54s]   - Removing tecnickcom/tcpdf (6.6.2)
    [28.8MiB/9.54s]   - Removing terminal42/contao-easy_themes (2.2.11)
    [28.8MiB/9.55s]   - Removing terminal42/dcawizard (2.5.0)
    [28.8MiB/9.55s]   - Removing terminal42/notification_center (1.6.14)
    [28.9MiB/9.55s]   - Upgrading dasprid/enum (1.0.3 => 1.0.4)
    [28.9MiB/9.55s]   - Upgrading doctrine/collections (1.8.0 => 2.1.2)
    [28.9MiB/9.55s]   - Upgrading friendsofsymfony/http-cache-bundle (2.14.0 => 2.15.0)
    [28.9MiB/9.55s]   - Upgrading laminas/laminas-code (3.4.1 => 4.8.0)
    [28.9MiB/9.55s]   - Locking lcobucci/clock (2.3.0)
    [28.9MiB/9.55s]   - Upgrading lcobucci/jwt (3.4.6 => 4.1.5)
    [28.9MiB/9.56s]   - Upgrading psr/cache (1.0.1 => 2.0.0)
    [28.9MiB/9.56s]   - Locking psr/clock (1.0.0)
    [28.9MiB/9.56s]   - Upgrading psr/container (1.1.1 => 1.1.2)
    [28.9MiB/9.56s]   - Locking stella-maris/clock (0.1.7)
    [28.9MiB/9.56s]   - Upgrading symfony-cmf/routing-bundle (2.5.0 => 2.5.1)
    [28.9MiB/9.56s]   - Upgrading symfony/deprecation-contracts (v2.5.2 => v3.2.1)
    [28.9MiB/9.56s]   - Upgrading symfony/filesystem (v5.4.19 => v5.4.21)
    [28.9MiB/9.56s]   - Upgrading symfony/mime (v5.4.19 => v5.4.21)
    [28.9MiB/9.56s]   - Upgrading symfony/options-resolver (v5.4.19 => v5.4.21)
    [28.9MiB/9.56s]   - Upgrading symfony/property-access (v5.4.19 => v5.4.21)
    [28.9MiB/9.56s]   - Upgrading symfony/property-info (v5.4.19 => v5.4.21)
    [28.9MiB/9.56s]   - Upgrading symfony/string (v5.4.19 => v6.2.7)
    [28.9MiB/9.56s]   - Upgrading symfony/var-exporter (v5.4.19 => v5.4.21)
    [28.9MiB/9.56s]   - Upgrading thecodingmachine/safe (v1.3.3 => v2.4.0)
    [28.1MiB/9.57s] Writing lock file
    [13.9MiB/9.59s] Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    [13.9MiB/9.59s] Package lexik/maintenance-bundle is abandoned, you should avoid using it. No replacement was suggested.
    [13.9MiB/9.59s] Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    [13.9MiB/9.60s] Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    [13.9MiB/9.60s] Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    [13.9MiB/9.60s] Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    [13.9MiB/9.60s] Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    [13.9MiB/9.60s] Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    [14.1MiB/9.87s] No security vulnerability advisories found
    [14.5MiB/9.87s] Memory usage: 14.55MB (peak: 190.12MB), time: 9.88s.
    [14.5MiB/9.87s] Finished Composer Cloud resolving.
    
    
    # Job ID xLI6SuYzTi5AyepxE5Xog12phix39idPrQFbER6XDjmg21g9DZQaybjLQ6z4a5SQuK176CC0PdhCwJcQyYdawa1RX4Ow8umIELkJZJbdKCfqFqmYtFUjODNeMkPcGcMV completed in 14 seconds
    # Memory usage: 14.55MB (peak: 190.12MB), time: 9.88s.
    
    $ /usr/bin/php8.2 -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/Berlin /srv/www/drkrumme/public/velotours/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    
    Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Package operations: 0 installs, 0 updates, 19 removals
      - Removing terminal42/notification_center (1.6.14)
      - Removing terminal42/dcawizard (2.5.0)
      - Removing terminal42/contao-easy_themes (2.2.11)
      - Removing tecnickcom/tcpdf (6.6.2)
      - Removing madeyourday/contao-rocksolid-theme-assistant (v2.0.5)
      - Removing madeyourday/contao-rocksolid-icon-picker (v2.0.3)
      - Removing madeyourday/contao-rocksolid-custom-elements (v2.3.12)
      - Removing ma3xl3/contao-easy-favicon (2.0.6)
      - Removing jrgregory/m17-sticky-backend-footer (2.0.9)
      - Removing inspiredminds/contao-glightbox (1.0.2)
      - Removing heimrichhannot/dlh_geocode (1.1.4)
      - Removing fritzmg/contao-sharebuttons (2.2.3)
      - Removing do-while/contao-backupdb-bundle (1.5.3)
      - Removing dklemmt/contao_dk_mmenu (3.2.5)
      - Removing contao/tcpdf-bundle (1.2.2)
      - Removing contao-community-alliance/composer-plugin (3.2.2)
      - Removing codefog/contao-mobile_menu (2.7.2)
      - Removing codefog/contao-haste (4.25.24)
      - Removing chrisjean/php-ico (1.0.4)
    Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
    Package lexik/maintenance-bundle is abandoned, you should avoid using it. No replacement was suggested.
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
    Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
    Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
    Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    Generating optimized autoload files
    Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    Could not open input file: vendor/bin/contao-setup
    99 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup
    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
    Der Contao-Manager zeigt zunächst Fehler-Code 403 an und meldet nach Aktualisierung des Tabs:

    Code:
    In BundleConfig.php line 153:
                                                                                   
      The Symfony bundle "Ma3xl3\EasyFaviconBundle\Ma3xl3EasyFaviconBundle" does   
      not exist.
    Anschließend startete ich die "Automatische Reparatur" und der Contao-Manager zeigt nur noch die in der composer.json reduzierte Liste an. Das ist ja schon mal prima.

    Als Nächstes würde der neue Aktualisierungsversuch auf Contao 5.1.* folgen.

    Korrekt?

  6. #6
    Contao-Nutzer
    Registriert seit
    10.03.2011.
    Beiträge
    176

    Standard

    Das Update hat nicht funktioniert.

    Code:
    Problem 1
        - Root composer.json requires contao/calendar-bundle 5.1.* -> satisfiable by contao/calendar-bundle[5.1.0].
        - contao/calendar-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
      Problem 2
        - Root composer.json requires contao/comments-bundle 5.1.* -> satisfiable by contao/comments-bundle[5.1.0].
        - contao/comments-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
      Problem 3
        - Root composer.json requires contao/faq-bundle 5.1.* -> satisfiable by contao/faq-bundle[5.1.0].
        - contao/faq-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
      Problem 4
        - Root composer.json requires contao/listing-bundle 5.1.* -> satisfiable by contao/listing-bundle[5.1.0].
        - contao/listing-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
      Problem 5
        - Root composer.json requires contao/manager-bundle 5.1.* -> satisfiable by contao/manager-bundle[5.1.0].
        - contao/manager-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
      Problem 6
        - Root composer.json requires contao/news-bundle 5.1.* -> satisfiable by contao/news-bundle[5.1.0].
        - contao/news-bundle 5.1.0 requires contao/core-bundle 5.1.0 -> found contao/core-bundle[5.1.0] but these were not loaded, likely because it conflicts with another require.
    In der composer.json sind nur noch diese Einträge vorhanden:

    Code:
    require": {
            "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.*",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
            "madeyourday/contao-rocksolid-slider": "^2.0"
        },

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

    Standard

    Hast du wieder "Anwenden" geklickt oder "Alle Pakete aktualisieren"?
    » sponsor me via GitHub or PayPal or Revolut

  8. #8
    Contao-Nutzer
    Registriert seit
    10.03.2011.
    Beiträge
    176

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Hast du wieder "Anwenden" geklickt oder "Alle Pakete aktualisieren"?
    Ertappt!

    Nach dem "Alle Pakete aktualisieren" bin uch nun tatsächlich auf 5.1.

    Aktuelles Problem: die Datenbank muss aktualisiert werden, und da bekomme ich keine Verbindung, und das Installtool ist gesperrt. Das werde ich wohl mit Hostingwerk abklären müssen.

    Vielen Dank zunächst für Eure Hilfe!

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
  •