Ergebnis 1 bis 6 von 6

Thema: 4.8.8 aktualisieren

  1. #1
    Contao-Nutzer
    Registriert seit
    27.05.2014.
    Beiträge
    121

    Standard 4.8.8 aktualisieren

    Hallo zusammen,

    ich versuche im Moment eine etwas ältere Contao-Installation über den Contao-Manager zu aktualisieren. Allerdings erhalte ich folgenden Fehler nach einem composer-update:

    Code:
      An error occurred while executing the "contao:install-web-dir" command: PHP  
       Fatal error:  Uncaught Error: Undefined class constant 'VERSIONS' in /var/  
      www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/contao/core-bundle  
      /src/DependencyInjection/Compiler/AddPackagesPass.php:32                     
      Stack trace:                                                                 
      #0 /var/www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/symfony/de  
      pendency-injection/Compiler/Compiler.php(94): Contao\CoreBundle\DependencyI  
      njection\Compiler\AddPackagesPass->process()                                 
      #1 /var/www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/symfony/de  
      pendency-injection/ContainerBuilder.php(753): Symfony\Component\DependencyI  
      njection\Compiler\Compiler->compile()                                        
      #2 /var/www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/symfony/ht  
      tp-kernel/Kernel.php(556): Symfony\Component\DependencyInjection\ContainerB  
      uilder->compile()                                                            
      #3 /var/www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/contao/man  
      ager-bundle/src/HttpKernel/ContaoKernel.php(318): Symfony\Component\HttpKer  
      nel\Kernel->initializeContainer()                                            
      #4 /var/www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/symfony/ht  
      tp-kernel in /var/www/vhosts/CUSTOMER-CUSTOMER.de/httpdocs/CUSTOMER-2018/vendor/  
      contao/core-bundle/src/DependencyInjection/Compiler/AddPackagesPass.php on   
      line 32
    composer.json:

    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",
            "contao/calendar-bundle": "4.8.*",
            "contao/comments-bundle": "4.8.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "4.8.*",
            "contao/listing-bundle": "4.8.*",
            "contao/manager-bundle": "4.8.*",
            "contao/news-bundle": "4.8.*",
            "contao/newsletter-bundle": "4.8.*",
            "derhaeuptling/contao-seo-serp-preview": "^3.0",
            "dieschittigs/contao-recaptcha": "^1.1",
            "madeyourday/contao-rocksolid-antispam": "^2.0",
            "madeyourday/contao-rocksolid-columns": "^2.0",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.0",
            "madeyourday/contao-rocksolid-icon-picker": "^2.0",
            "madeyourday/contao-rocksolid-mega-menu": "^2.0",
            "madeyourday/contao-rocksolid-slider": "^2.0",
            "madeyourday/contao-rocksolid-theme-assistant": "^2.0",
            "metamodels/attribute_alias": "^2.1",
            "metamodels/attribute_checkbox": "^2.1",
            "metamodels/attribute_color": "^2.1",
            "metamodels/attribute_combinedvalues": "^2.1",
            "metamodels/attribute_decimal": "^2.1",
            "metamodels/attribute_file": "^2.1",
            "metamodels/attribute_geodistance": "^2.1",
            "metamodels/attribute_langcode": "^2.1",
            "metamodels/attribute_longtext": "^2.1",
            "metamodels/attribute_numeric": "^2.1",
            "metamodels/attribute_rating": "^2.1",
            "metamodels/attribute_select": "^2.1",
            "metamodels/attribute_tabletext": "^2.1",
            "metamodels/attribute_tags": "^2.1",
            "metamodels/attribute_text": "^2.1",
            "metamodels/attribute_timestamp": "^2.1",
            "metamodels/attribute_url": "^2.1",
            "metamodels/core": "^2.1",
            "metamodels/filter_checkbox": "^2.1",
            "metamodels/filter_fromto": "^2.1",
            "metamodels/filter_perimetersearch": "^2.1",
            "metamodels/filter_range": "^2.1",
            "metamodels/filter_register": "^2.1",
            "metamodels/filter_select": "^2.1",
            "metamodels/filter_tags": "^2.1",
            "metamodels/filter_text": "^2.1",
            "oneup/contao-mailchimp": "^4.4",
            "terminal42/notification_center": "^1.5",
            "trilobit-gmbh/contao-ajaxpagination-bundle": "^1.0"
        },
        "conflict": {
            "contao-components/installer": "<1.3",
    		"doctrine/dbal": "2.9.1 || 2.9.2"
    		
        },
        "require-dev": {
            "sensiolabs/security-checker": "^4.1"
        },
        "extra": {
            "branch-alias": {
                "dev-4.6": "4.6.x-dev"
            },
            "contao-component-dir": "assets"
        },
        "autoload": {
            "psr-4": {
                "App\\": "src/"
            }
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }
    Irgendeine Idee, wie ich hier weiterkommen könnte?

  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

    Contao 4.8 hat das Lebensende erreicht und daher können dort Fehler auftreten. Contao 4.8 ist auf jeden Fall nicht mit den neuesten Composer Versionen kompatibel. Du musst auf Contao 4.9.27 oder 4.13.1 aktualisieren.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Contao-Nutzer
    Registriert seit
    27.05.2014.
    Beiträge
    121

    Standard

    Danke, allerdings erhalte ich folgenden Fehler, wenn ich versuche "nur" auf 4.9.27 upzudaten, etwas unaussagekräftig:

    Code:
    Your requirements could not be resolved to an installable set of packages.
      Problem 1
        - contao/calendar-bundle 4.9.0 requires contao/core-bundle 4.9.0 -> found contao/core-bundle[4.9.0] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.1 requires contao/core-bundle 4.9.1 -> found contao/core-bundle[4.9.1] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.2 requires contao/core-bundle 4.9.2 -> found contao/core-bundle[4.9.2] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.3 requires contao/core-bundle 4.9.3 -> found contao/core-bundle[4.9.3] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.4 requires contao/core-bundle 4.9.4 -> found contao/core-bundle[4.9.4] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.5 requires contao/core-bundle 4.9.5 -> found contao/core-bundle[4.9.5] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.6 requires contao/core-bundle 4.9.6 -> found contao/core-bundle[4.9.6] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.7 requires contao/core-bundle 4.9.7 -> found contao/core-bundle[4.9.7] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.8 requires contao/core-bundle 4.9.8 -> found contao/core-bundle[4.9.8] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.9 requires contao/core-bundle 4.9.9 -> found contao/core-bundle[4.9.9] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.10 requires contao/core-bundle 4.9.10 -> found contao/core-bundle[4.9.10] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.11 requires contao/core-bundle 4.9.11 -> found contao/core-bundle[4.9.11] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.12 requires contao/core-bundle 4.9.12 -> found contao/core-bundle[4.9.12] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.13 requires contao/core-bundle 4.9.13 -> found contao/core-bundle[4.9.13] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.14 requires contao/core-bundle 4.9.14 -> found contao/core-bundle[4.9.14] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.15 requires contao/core-bundle 4.9.15 -> found contao/core-bundle[4.9.15] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.16 requires contao/core-bundle 4.9.16 -> found contao/core-bundle[4.9.16] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.17 requires contao/core-bundle 4.9.17 -> found contao/core-bundle[4.9.17] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.18 requires contao/core-bundle 4.9.18 -> found contao/core-bundle[4.9.18] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.19 requires contao/core-bundle 4.9.19 -> found contao/core-bundle[4.9.19] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.20 requires contao/core-bundle 4.9.20 -> found contao/core-bundle[4.9.20] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.21 requires contao/core-bundle 4.9.21 -> found contao/core-bundle[4.9.21] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.22 requires contao/core-bundle 4.9.22 -> found contao/core-bundle[4.9.22] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.23 requires contao/core-bundle 4.9.23 -> found contao/core-bundle[4.9.23] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.24 requires contao/core-bundle 4.9.24 -> found contao/core-bundle[4.9.24] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.25 requires contao/core-bundle 4.9.25 -> found contao/core-bundle[4.9.25] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.26 requires contao/core-bundle 4.9.26 -> found contao/core-bundle[4.9.26] but these were not loaded, likely because it conflicts with another require.
        - contao/calendar-bundle 4.9.27 requires contao/core-bundle 4.9.27 -> found contao/core-bundle[4.9.27] but these were not loaded, likely because it conflicts with another require.
        - Root composer.json requires contao/calendar-bundle 4.9.* -> satisfiable by contao/calendar-bundle[4.9.0, ..., 4.9.27].
    Ich habe hier noch eine handvoll weiterer, älterer Webseiten, die ähnlich reagieren werden (Kunden zahlen leider nicht immer regelmäßig und nur dann, sobald es Probleme gibt...), gibt es dafür eine allgemeine Herangehensweise? Contao 4.4, 4.6/4.7 etc. ...?

  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 eine vollständige Paketaktualisierung machen - also entweder alle Pakete zum Update markieren (bzw. gibt's dafür auch einen eigenen Punkt) oder über die Systemwartung "Composer Update ausführen", nachdem du die composer.json manuell bearbeitet hast.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Nutzer
    Registriert seit
    27.05.2014.
    Beiträge
    121

    Standard

    Hat besser funktioniert, als gedacht- zuerst auf 4.9.x, danach alle Pakete nochmal geupdated, das lief dann einwandfrei. Allerdings ließ sich das Install-Tool nun nicht mehr öffnen, das lag wohl an MetaModels den Logs nach.
    Auf Github habe ich folgenden Hinweis gefunden und die entsprechende Stelle auskommentiert:

    https://github.com/contao/contao/iss...ent-1062882855

    Ich bin mir nicht 100% sicher, was es genau für Auswirkungen nun hat, aber alles funktioniert soweit. Besten Dank!

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

    Standard

    Ja, das ist ein Fehler in Contao 4.9.27. Wird in 4.9.28 behoben sein.
    » sponsor me via GitHub or PayPal or Revolut

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
  •