Contao-Camp 2024
Ergebnis 1 bis 6 von 6

Thema: Fehler nach Contao Update

  1. #1
    Contao-Nutzer
    Registriert seit
    09.08.2012.
    Beiträge
    28

    Standard Fehler nach Contao Update

    Ich habe versucht meine Contao installation von Version 4.9.3 auf die neueste 4.9.13 zu updaten, seit dem funktioniert die Seite leider nicht mehr.

    Beim update kam und kommt nun immer:
    Code:
    [6.5MiB/0.19s] Loading composer repositories with package information
    [57.9MiB/1.37s] Updating dependencies
    [1377.8MiB/8.39s] Your requirements could not be resolved to an installable set of packages.
    [1377.8MiB/8.40s] 
      Problem 1
        - contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
        - codefog/contao-cookiebar 2.3.0 requires contao-community-alliance/composer-plugin ~2.4 || ~3.0 -> satisfiable by contao-community-alliance/composer-plugin[3.0.9].
        - codefog/contao-cookiebar is locked to version 2.3.0 and an update of this package was not requested.
    You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
    [1377.8MiB/8.40s] <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>
    [76.5MiB/9.69s] Memory usage: 76.48MB (peak: 1378.66MB), time: 9.7s.
    [76.5MiB/9.69s] Finished Composer Cloud resolving.
    Die Seite geht nun leider gar nicht mehr. Ich bekomme immer den Fehler:
    Code:
    Attempted to load class "Helper" from namespace "Symfony\Component\Templating\Helper".
    Did you forget a "use" statement for e.g. "Symfony\Component\Console\Helper\Helper" or "Knp\Menu\Twig\Helper"?
    Wenn ich composer Abhängigkeiten versuche upzudaten:
    Code:
    $ /usr/bin/php7.4-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /homepages/4/d828967674/htdocs/contao/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    The "contao-community-alliance/composer-plugin" plugin was skipped because it requires a Plugin API version ("^1.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option.
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Your lock file does not contain a compatible set of packages. Please run composer update.
      Problem 1
        - contao-community-alliance/composer-plugin is locked to version 3.0.9 and an update of this package was not requested.
        - contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
      Problem 2
        - lib-xsl is present at version 1.1.28.0 and cannot be modified by Composer
        - Only one of these can be installed: lib-libxslt[1.1.32], lib-xsl[1.1.28.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
        - lib-libxslt is present at version 1.1.32 and cannot be modified by Composer
    You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
    # Process terminated with exit code 2
    # Result: Misuse of shell builtins

  2. #2
    Wandelndes Contao-Lexikon Avatar von tab
    Registriert seit
    22.10.2013.
    Beiträge
    10.060
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Hast du alle Pakete zur Aktualisierung ausgewählt? Die Fehlermeldung liest sich für mich so als ob nicht.

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

    Standard

    Du musst über die Systemwartung "Composer Update ausführen". Sie dazu auch die News auf contao.org.
    » sponsor me via GitHub or PayPal or Revolut

  4. #4
    Contao-Nutzer
    Registriert seit
    09.08.2012.
    Beiträge
    28

    Standard

    Danke, 'Composer Update ausführen' hat geholfen. Das war mir neu und hatte ich direkt übersehen

  5. #5
    Contao-Fan
    Registriert seit
    05.05.2011.
    Beiträge
    860

    Standard

    Kann man das Update des Composers auch unter PHP7.3 durchführen?

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

    Standard

    Das Composer Update wird vom Contao Manager mit der PHP Version durchgeführt, die du gerade für die Website nutzt.
    » 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
  •