Contao-Camp 2024
Ergebnis 1 bis 7 von 7

Thema: composer update contao-components/installer contao/conflicts fails

  1. #1
    Contao-Nutzer
    Registriert seit
    03.01.2010.
    Beiträge
    152

    Standard composer update contao-components/installer contao/conflicts fails

    Ich hab das folgende Problem mit einer Contao 4.7.4 Version die bei Strato gehostet ist.
    Wenn ich Contao Manager aufrufe bekomme ich folgenden Hinweis

    Bildschirmfoto vom 2021-02-22 18-53-33.png

    Nachdem ich "Änderungen anwenden" bestätige bekomme ich folgende Fehlermeldung:
    PHP-Code:
    composer update contao-components/installer contao/conflicts

    Resolving dependencies using Composer Cloud v3.0.0
    !!! Current server is sponsored byContao Association !!!
    [
    6.3MiB/0.24sLoading composer repositories with package information
    [7.0MiB/0.42sUpdating dependencies
    [8.4MiB/0.46sYour requirements could not be resolved to an installable set of packages.
    [
    8.4MiB/0.46s
      
    Problem 1
        
    ocramius/package-versions 1.4.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0but it does not match the constraint.
        - 
    contao/calendar-bundle 4.7.4 requires contao/core-bundle 4.7.4 -> satisfiable by contao/core-bundle[4.7.4].
        - 
    contao/core-bundle 4.7.4 requires ocramius/package-versions ^1.2 -> satisfiable by ocramius/package-versions[1.4.0].
        - 
    contao/calendar-bundle is locked to version 4.7.4 and an update of this package was not requested.
    <
    warning>ocramius/package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.</warning>
    If 
    you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.
    You are using Composer 2which some of your plugins seem to be incompatible withMake sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
    [8.4MiB/0.46s] <warning>Running update with --no-dev does not mean require-dev is ignoredit just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [
    7.1MiB/0.46sMemory usage7.1MB (peak9.18MB), time0.47s.
    [
    7.1MiB/0.46sFinished Composer Cloud resolving.
    # Cloud Job ID cLD4mqmDMEGW0pzdUbWphLNJRDMBwUxG7nbllJHWrorpSzHhyQGnhQCqmkliDOYygGnANuZ3WuFYFXWvuhUrEUqTuWB7FKb95ADOY5GBo4 failed 
    Die PHP Version ist 7.4.15
    Was kann ich hier unternehmen? HAt jemand einen Tipp für mich?

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

    Standard

    Siehe https://contao.org/de/news/contao-manager-1-4.html

    Der Wechsel auf Composer 2.0, sowohl im Contao Manager als auch in der Composer Resolver Cloud, sollte für die allermeisten Projekte problemlos vonstatten gehen. Sollten bei einer bestehenden Installation die Abhängigkeiten nicht mehr aufgelöst werden, lässt sich dies meist durch ein vollständiges Composer Update im Bereich Systemwartung lösen.
    » sponsor me via GitHub or PayPal or Revolut

  3. #3
    Community-Moderatorin & Contao-Urgestein Avatar von mlweb
    Registriert seit
    10.07.2011.
    Beiträge
    6.715
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Du musst alle Paket zum Aktualisieren auswählen und ggf. auch ein vollständiges Composer Update im Bereich Systemwartung durchführen wie in den News beschrieben https://contao.org/de/news/contao-manager-1-4.html

    Nachtrag: Ich bin beim Tippen eindeutig zu langsam. @Spooky ist fast immer schneller .
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

    Für Dinge die man mit html5 und css3 lösen kann, braucht man kein javascript.




  4. #4
    Contao-Nutzer
    Registriert seit
    03.01.2010.
    Beiträge
    152

    Standard

    Danke Spooky für den Hinweis.
    Hab ein Compser Update ausgeführt.
    Doch es wird mit folgender Fehlermeldung beendet

    PHP-Code:
    $ /opt/RZphp74/bin/php-cli --dmax_execution_time=-dmemory_limit=--dallow_url_fopen=-ddisable_functions= -ddate.timezone=MET /mnt/web101/c1/57/5568957/htdocs/web/contao-manager.phar.php composer install --prefer-dist --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
    .
    Your lock file does not contain a compatible set of packagesPlease 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.0but it does not match the constraint.
      
    Problem 2
        
    contao-components/installer is locked to version 1.3.1 and an update of this package was not requested.
        - 
    contao-components/installer 1.3.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0but it does not match the constraint.
      
    Problem 3
        
    contao/manager-plugin is locked to version 2.7.0 and an update of this package was not requested.
        - 
    contao/manager-plugin 2.7.0 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0but it does not match the constraint.
      
    Problem 4
        
    ocramius/package-versions is locked to version 1.4.0 and an update of this package was not requested.
        - 
    ocramius/package-versions 1.4.0 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0but it does not match the constraint.
      
    Problem 5
        
    lib-imagick is present at version 6.8.9.9 and cannot be modified by Composer
        
    Only one of these can be installedlib-imagick-imagemagick[6.9.11.39], lib-imagick[6.8.9.9]. lib-imagick-imagemagick replaces lib-imagick and thus cannot coexist with it.
        - 
    lib-imagick-imagemagick is present at version 6.9.11.39 and cannot be modified by Composer
    ocramius
    /package-versions only provides support for Composer 2 in 1.8+, which requires PHP 7.4.
    If 
    you can not upgrade PHP you can require composer/package-versions-deprecated to resolve this with PHP 7.0+.
    You are using Composer 2which some of your plugins seem to be incompatible withMake 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 

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

    Standard

    War das wirklich ein Composer Update und kein Install?
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Nutzer
    Registriert seit
    03.01.2010.
    Beiträge
    152

    Standard

    Ja, hab extra drauf geachtet das es "Composer Update ausführen" ist

  7. #7
    Contao-Urgestein Avatar von Andreas
    Registriert seit
    19.06.2009.
    Ort
    Mönchengladbach
    Beiträge
    7.703
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Ich hatte auch dieses Problem bei Strato (weiß nicht ob's an Strato liegt). Habe es dann irgendwie lösen können. Hier der Thread dazu

    https://community.contao.org/de/show...4gt-fehl-warum
    Bitte!
    Vor Anfragen im Forum HTML validieren.
    Codesnippets hier im Froum sauber einrücken. Nur Tabs o. nur Leerzeichen verwenden.

    Vielen Dank an alle Wunschlistenerfüller
    Andreas Burg, Web Solutions

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
  •