Ergebnis 1 bis 13 von 13

Thema: Probleme beim Update im Contao Manager

  1. #1
    Contao-Fan
    Registriert seit
    17.10.2012.
    Ort
    Bern - Schweiz
    Beiträge
    443

    Fehler Probleme beim Update im Contao Manager

    Hallo zusammen

    Heute wollte ich Contao 4.4 auf 4.9 updaten

    Habe folgende Einstellungen auf dem Server:
    PHP-Version: 7.4.16
    PHP ausführen als: FPM-Anwendung von nginx

    Im Moment bin ich soweit und komme da irgendwie auch nicht weiter, dass wenn der Contao Manager gestartet ist alles okay, dennoch komme ich auf die Maske "Systemwiederherstellung".

    Führe ich die "Reparatur" aus, kriege ich die folgende Meldung:

    Code:
    ERROR 403
    HTTP-Anfrage für "DELETE api/task" fehlgeschlagen.
    Der Server hat eine Antwort mit Status-Code 403 gesendet.
    Active task cannot be deleted
    Die Konsole gibt folgendes aus:

    Code:
    composer install
    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/domain.net/httpdocs/website/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    # Process terminated with exit code 143
    # Result: Termination (request to terminate) [SIGTERM]

    Anschliessend öffne ich den CM im "Abgesicherter Modus". Wenn ich nun schon nur auf die nächste Contao-Version updaten möchte, kriege ich die folgende Fehlermeldung:

    Code:
    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 contao/core-bundle contao/installation-bundleErfolgreich nach 24 Sekunden. RAM-Verbrauch: 77.62MB (Spitze: 1503.68MB), Dauer: 19.22s.
    > Resolving dependencies using Composer Cloud v3.0.1
    !!! Current server is sponsored by: Contao Association !!!
    [6.2MiB/0.24s] Loading composer repositories with package information
    [66.2MiB/1.65s] Updating dependencies
    [140.8MiB/19.16s] Nothing to modify in lock file
    [77.3MiB/19.21s] <warning>Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [77.3MiB/19.21s] <warning>Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [77.3MiB/19.21s] <warning>Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.</warning>
    [77.3MiB/19.21s] <warning>Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.</warning>
    [77.3MiB/19.21s] <warning>Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [77.3MiB/19.22s] <warning>Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.</warning>
    [77.3MiB/19.22s] <warning>Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [77.3MiB/19.22s] <warning>Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [77.3MiB/19.22s] <warning>Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.</warning>
    [77.6MiB/19.22s] Memory usage: 77.62MB (peak: 1503.68MB), time: 19.22s.
    [77.6MiB/19.22s] Finished Composer Cloud resolving.
    # Job ID L20kD1dl6K7DveXBaRFtsUpVKvZgLGG4IZP70GtZWgRbEEkyvQOJXMR3zTaGlzVFCaZ9UXCj1EsEnhRRv completed in 24 seconds
    # Memory usage: 77.62MB (peak: 1503.68MB), time: 19.22s.
    
    composer install
    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/domain.net/httpdocs/website/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    # Process terminated with exit code 143
    # Result: Termination (request to terminate) [SIGTERM]
    Kann mir hier wer weiterhelfen, wie ich vorgehen muss um Contao updaten zu können oder zumindest das die Seite wieder läuft
    Geändert von Dee (15.03.2021 um 12:39 Uhr)

  2. #2
    Contao-Fan
    Registriert seit
    17.10.2012.
    Ort
    Bern - Schweiz
    Beiträge
    443

    Standard

    Was mir im gesamten aufgefallen ist, dass die de/installation der Pakete wohl funktioniert, nur wenn es zum "composer install" kommt, schlägt es fehl.

    Möchte ich ein "Composer update durchführen", erhalte ich die folgende Fehlermeldung:

    Code:
    composer update Erfolgreich nach 26 Sekunden. RAM-Verbrauch: 78.39MB (Spitze: 1561.28MB), Dauer: 21.77s.
    
    > Resolving dependencies using Composer Cloud v3.0.1
    !!! Current server is sponsored by: Contao Association !!!
    [6.2MiB/0.22s] Loading composer repositories with package information
    [70.1MiB/2.27s] Updating dependencies
    [145.4MiB/21.72s] Nothing to modify in lock file
    [78.0MiB/21.76s] <warning>Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [78.0MiB/21.76s] <warning>Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [78.0MiB/21.76s] <warning>Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.</warning>
    [78.0MiB/21.76s] <warning>Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.</warning>
    [78.0MiB/21.76s] <warning>Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [78.0MiB/21.77s] <warning>Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.</warning>
    [78.0MiB/21.77s] <warning>Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [78.0MiB/21.77s] <warning>Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.</warning>
    [78.0MiB/21.77s] <warning>Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.</warning>
    [78.4MiB/21.77s] Memory usage: 78.39MB (peak: 1561.28MB), time: 21.77s.
    [78.4MiB/21.77s] Finished Composer Cloud resolving.
    # Job ID ETH9l47z3XaW7YZyA5pb55oRxsnyRcv7BCqQwnc6iaqjwqji3SqUbGgs6pGWvd20UOPVrPpZ39p4kcmOb completed in 26 seconds
    # Memory usage: 78.39MB (peak: 1561.28MB), time: 21.77s.
    composer install
    
    $ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=UTC /var/www/vhosts/domain.net/httpdocs/website/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.
    Nothing to install, update or remove
    Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.
    Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
    Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
    Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
    Package oyejorge/less.php 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 phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.
    Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
    Generating optimized autoload files
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    In ContaoModuleBundle.php line 36:
                                                                     
      The module folder "system/modules/boxes4ward" does not exist.  
                                                                     
    37 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
    In ScriptHandler.php line 113:
                                                                                
      An error occurred while executing the "contao:install-web-dir" command:   
      In ContaoModuleBundle.php line 36:                                        
                                                                                
        The module folder "system/modules/boxes4ward" does not exist.           
                                                                                
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error

  3. #3
    Contao-Fan
    Registriert seit
    17.10.2012.
    Ort
    Bern - Schweiz
    Beiträge
    443

    Standard

    OK, folgendes ist mir eben aufgefallen:

    The module folder "system/modules/boxes4ward" does not exist.

    Habe die Erweiterung nun von Github geholt und manuell platziert. Nun scheint der "Composer install" diesbezüglich kein Problem mehr zu haben.

  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

    Zitat Zitat von Dee Beitrag anzeigen
    OK, folgendes ist mir eben aufgefallen:

    The module folder "system/modules/boxes4ward" does not exist.
    Du musst den angegebenen Pfad löschen und dann nochmal die Abhängigkeiten installieren.



    Zitat Zitat von Dee Beitrag anzeigen
    Habe die Erweiterung nun von Github geholt und manuell platziert.
    Das solltest du vermeiden.
    » sponsor me via GitHub or PayPal or Revolut

  5. #5
    Contao-Fan
    Registriert seit
    17.10.2012.
    Ort
    Bern - Schweiz
    Beiträge
    443

    Standard

    Ok, danke Spooky. habe die Erweiterung nun eh über den CM entfernt.

    Jetzt hat auch das Update auf 4.9 funktioniert.


  6. #6
    Contao-Nutzer
    Registriert seit
    31.01.2015.
    Beiträge
    27

    Standard Auch Probleme nach Paket-Installation

    Hallo,
    ich habe eben versucht zwei Erweiterungen über den CM zu installieren, habe getestet und da hat alles funktioniert. Live hat die Installation abgebrochen. Folgende Fehlermedlung kam:

    $ /opt/php73/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /hp/au/ad/zm/www/web/contao-manager.phar.php composer install --prefer-dist --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.

    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

    - contao-components/installer is locked to version 1.2.6 and an update of this package was not requested.

    - contao-components/installer 1.2.6 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.

    Problem 3

    - lib-xsl is present at version 1.1.29.0 and cannot be modified by Composer

    - Only one of these can be installed: lib-libxslt[1.1.29], lib-xsl[1.1.29.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.

    - lib-libxslt is present at version 1.1.29 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


    Bitte dringend um Hilfe, Seite läd nicht mehr.

    Vilen Dank!

  7. #7
    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 über die Systemwartung im Contao Manager ein Composer Update ausführen lassen.
    » sponsor me via GitHub or PayPal or Revolut

  8. #8
    Contao-Nutzer
    Registriert seit
    31.01.2015.
    Beiträge
    27

    Standard

    Hab ich noch nie gemacht, ist damit
    Composer-Abhängigkeiten
    Composer Class Loader oder
    Composer-Cache
    gemeint?

    VG

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

    Standard

    Ist in diesem News Beitrag beschrieben: https://contao.org/de/news/contao-manager-1-4.html
    » sponsor me via GitHub or PayPal or Revolut

  10. #10
    Contao-Nutzer
    Registriert seit
    31.01.2015.
    Beiträge
    27

    Standard

    Danke sehr ;-)
    Composer Update funktioniert
    Composer Installation leider nicht:
    $ /opt/php73/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /hp/au/ad/zm/www/web/contao-manager.phar.php composer install --prefer-dist --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.
    Nothing to install, update or remove
    Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.
    Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
    Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
    Package oyejorge/less.php 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 phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
    Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.
    Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
    Generating optimized autoload files
    35 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    In ContaoModuleBundle.php line 36:

    The module folder "system/modules/dcawizard" does not exist.

    > Contao\ManagerBundle\Composer\ScriptHandler::initi alizeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initi alizeApplication handling the post-install-cmd event terminated with an exception
    In ScriptHandler.php line 113:

    An error occurred while executing the "contao:install-web-dir" command:
    In ContaoModuleBundle.php line 36:

    The module folder "system/modules/dcawizard" does not exist.

    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error
    Contao Manager 1.4.4

    HilfeProbleme melden

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

    Standard

    Zitat Zitat von Gruematz Beitrag anzeigen
    The module folder "system/modules/dcawizard" does not exist.
    Überprüfe mal ob unter diesem Pfad etwas existiert und wenn ja, lösche es.
    » sponsor me via GitHub or PayPal or Revolut

  12. #12
    Contao-Nutzer
    Registriert seit
    31.01.2015.
    Beiträge
    27

    Standard

    Ordner zeigt keinen Inhalt, lässt sich aber auch nicht löschen (Rechte fehlen :-/ )

  13. #13
    Contao-Nutzer
    Registriert seit
    31.01.2015.
    Beiträge
    27

    Standard

    Korrektur, nach neuem Einloggen geht es. Seite läuft auch wieder, vielen Dank, nun versuche ich es nochmal mit den Erweiterungen ;-)

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
  •