Contao-Camp 2024
Ergebnis 1 bis 3 von 3

Thema: Update via CM nicht möglich - Fehler bei composer install

  1. #1
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.416

    Standard Update via CM nicht möglich - Fehler bei composer install

    Hallo Leute, ein Kunde von mir hat den Hoster "EDIS" aus Österreich.

    jetzt ist es so, dass jedesmal wenn ich im Contao Manager ein Update durchführen möchte, es bei "composer install" fehlschlägt. Ich kann einfach kein update von Contao bzw. den Modulen durchführen.

    Hier die Fehlermeldung:
    composer install
    $ /php-bin/edis-php-cgi-7310-soapssl -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    Compiling component files
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Added the web/app.php file.
    Added the web/index.php file.
    Added the web/preview.php file.
    X-Powered-By: PHP/7.3.10
    Content-type: text/html; charset=UTF-8

    // Clearing the cache for the prod environment with debug
    // false
    [OK] Cache for the "prod" environment (debug=false) was successfully cleared.
    X-Powered-By: PHP/7.3.10
    Content-type: text/html; charset=UTF-8

    // Clearing the cache for the dev environment with debug
    // true
    [OK] Cache for the "dev" environment (debug=true) was successfully cleared.
    X-Powered-By: PHP/7.3.10
    Content-type: text/html; charset=UTF-8

    // Warming up the cache for the prod environment with debug
    // false
    13:03:55 ERROR [console] Error thrown while running command "cache:warmup --env=prod". Message: "MemoryTokenStorage must not be accessed before it was initialized." ["exception" => LogicException { …},"command" => "cache:warmup --env=prod","message" => "MemoryTokenStorage must not be accessed before it was initialized."]
    In MemoryTokenStorage.php line 104:

    MemoryTokenStorage must not be accessed before it was initialized.

    cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
    X-Powered-By: PHP/7.3.10
    Content-type: text/html; charset=UTF-8

    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 7 installs, 122 updates, 3 removals
    - Removing symfony/templating (v5.0.8)
    - Removing symfony/inflector (v5.0.8)
    - Removing sensiolabs/ansi-to-html (v1.1.3)
    - Updating composer/package-versions-deprecated (1.8.0 => 1.11.99.1): Loading from cache
    - Updating symfony/polyfill-ctype (v1.17.0 => v1.20.0): Loading from cache
    - Installing symfony/polyfill-php80 (v1.20.0): Loading from cache
    - Updating symfony/polyfill-php73 (v1.17.0 => v1.20.0): Loading from cache
    - Updating symfony/polyfill-mbstring (v1.17.0 => v1.20.0): Loading from cache
    - Updating symfony/polyfill-php72 (v1.17.0 => v1.20.0): Loading from cache
    - Installing symfony/polyfill-intl-normalizer (v1.20.0): Loading from cache
    - Updating symfony/polyfill-intl-idn (v1.17.0 => v1.20.0): Loading from cache
    - Updating symfony/mime (v5.0.8 => v5.1.8): Loading from cache
    - Updating symfony/http-foundation (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/http-client-contracts (v2.1.1 => v2.3.1): Loading from cache
    - Updating symfony/event-dispatcher-contracts (v1.1.7 => v1.1.9): Loading from cache
    - Updating symfony/event-dispatcher (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/var-dumper (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/debug (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/error-handler (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/http-kernel (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/service-contracts (v2.0.1 => v2.2.0): Loading from cache
    - Updating symfony/dependency-injection (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/filesystem (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/config (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/routing (v4.4.8 => v4.4.16): Loading from cache
    - Updating contao/manager-plugin (2.8.1 => 2.11.0): Loading from cache
    - Updating ausi/slug-generator (v1.1.0 => v1.1.1): Loading from cache
    - Updating dasprid/enum (1.0.0 => 1.0.3): Loading from cache
    - Updating bacon/bacon-qr-code (2.0.0 => 2.0.3): Loading from cache
    - Updating contao-components/ace (1.4.7 => 1.4.12): Loading from cache
    - Updating contao-components/contao (9.1.0 => 9.1.1): Loading from cache
    - Updating contao-components/dropzone (5.5.0 => 5.7.2): Loading from cache
    - Updating contao-components/highlight (9.16.1 => 9.18.1): Loading from cache
    - Updating contao-components/jquery (3.4.1 => 3.5.1): Loading from cache
    - Updating contao-components/tinymce4 (4.9.6 => 4.9.12): Loading from cache
    - Updating symfony/yaml (v4.4.8 => v4.4.16): Loading from cache
    - Installing symfony/deprecation-contracts (v2.2.0): Loading from cache
    - Updating symfony/options-resolver (v5.0.8 => v5.1.8): Loading from cache
    - Updating clue/stream-filter (v1.4.1 => v1.5.0): Loading from cache
    - Updating php-http/message (1.8.0 => 1.10.0): Loading from cache
    - Updating php-http/discovery (1.7.4 => 1.12.0): Loading from cache
    - Updating symfony/http-client (v4.4.8 => v4.4.16): Loading from cache
    - Updating psr/http-client (1.0.0 => 1.0.1): Loading from cache
    - Updating php-http/promise (v1.0.0 => 1.1.0): Loading from cache
    - Updating php-http/httplug (2.1.0 => 2.2.0): Loading from cache
    - Updating php-http/client-common (2.1.0 => 2.3.0): Loading from cache
    - Updating composer/ca-bundle (1.2.7 => 1.2.8): Loading from cache
    - Updating ua-parser/uap-php (v3.9.8 => v3.9.14): Loading from cache
    - Updating twig/twig (v2.12.5 => v2.14.1): Loading from cache
    - Updating doctrine/annotations (1.10.3 => 1.11.1): Loading from cache
    - Updating terminal42/service-annotation-bundle (1.0.0 => 1.1.2): Loading from cache
    - Updating symfony/dom-crawler (v4.4.8 => v4.4.16): Loading from cache
    - Updating nyholm/psr7 (1.3.0 => 1.3.2): Loading from cache
    - Updating terminal42/escargot (0.5.9 => 0.6.1): Loading from cache
    - Updating symfony/translation-contracts (v2.0.1 => v2.3.0): Loading from cache
    - Updating symfony/twig-bridge (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/twig-bundle (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/translation (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/polyfill-iconv (v1.17.0 => v1.20.0): Loading from cache
    - Updating egulias/email-validator (2.1.17 => 2.1.24): Loading from cache
    - Updating symfony/swiftmailer-bundle (v3.4.0 => v3.5.1): Loading from cache
    - Updating symfony/security-core (v4.4.8 => v4.4.16): Loading from cache
    - Installing symfony/polyfill-intl-grapheme (v1.20.0): Loading from cache
    - Installing symfony/string (v5.1.8): Loading from cache
    - Installing symfony/property-info (v5.1.8): Loading from cache
    - Updating symfony/property-access (v5.0.8 => v5.1.8): Loading from cache
    - Updating symfony/security-http (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/security-guard (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/security-csrf (v5.0.8 => v5.1.8): Loading from cache
    - Updating symfony/security-bundle (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/process (v4.4.8 => v4.4.16): Loading from cache
    - Updating monolog/monolog (1.25.4 => 1.25.5): Loading from cache
    - Updating symfony/monolog-bridge (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/lock (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/finder (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/var-exporter (v5.0.8 => v5.1.8): Loading from cache
    - Updating symfony/cache-contracts (v2.0.1 => v2.2.0): Loading from cache
    - Updating symfony/cache (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/framework-bundle (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/expression-language (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/console (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/asset (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony-cmf/routing (2.3.1 => 2.3.3): Loading from cache
    - Updating symfony-cmf/routing-bundle (2.4.0 => 2.4.1): Loading from cache
    - Installing thecodingmachine/safe (v1.3.3): Loading from cache
    - Updating beberlei/assert (v3.2.7 => v3.3.0): Downloading (100%)
    - Updating spomky-labs/otphp (v9.1.4 => v10.0.1): Loading from cache
    - Updating simplepie/simplepie (1.5.5 => 1.5.6): Loading from cache
    - Updating scssphp/scssphp (1.1.0 => 1.3): Downloading (100%)
    - Updating lcobucci/jwt (3.3.2 => 3.3.3): Loading from cache
    - Updating scheb/two-factor-bundle (v4.16.0 => v4.18.4): Loading from cache
    - Updating phpunit/php-token-stream (3.1.1 => 4.0.4): Downloading (100%)
    - Updating phpspec/php-diff (v1.1.0 => v1.1.3): Loading from cache
    - Updating nelmio/cors-bundle (1.5.6 => 2.1.0): Loading from cache
    - Removing knplabs/knp-time-bundle (v1.11.0)
    - Installing knplabs/knp-time-bundle (v1.13.0): Loading from cache
    - Updating knplabs/knp-menu (2.6.0 => v3.1.2): Loading from cache
    - Updating knplabs/knp-menu-bundle (v2.3.0 => v3.0.0): Loading from cache
    - Updating imagine/imagine (1.2.3 => 1.2.4): Loading from cache
    - Updating friendsofsymfony/http-cache-bundle (2.8.0 => 2.9.0): Loading from cache
    - Updating dragonmantank/cron-expression (v2.3.0 => v2.3.1): Loading from cache
    - Updating doctrine/reflection (1.2.1 => 1.2.2): Loading from cache
    - Updating doctrine/event-manager (1.1.0 => 1.1.1): Loading from cache
    - Updating doctrine/collections (1.6.5 => 1.6.7): Loading from cache
    - Updating doctrine/cache (1.10.0 => 1.10.2): Loading from cache
    - Updating doctrine/persistence (1.3.7 => 1.3.8): Loading from cache
    - Updating doctrine/instantiator (1.3.0 => 1.4.0): Loading from cache
    - Updating doctrine/inflector (1.4.2 => 1.4.3): Loading from cache
    - Updating doctrine/dbal (2.10.2 => 2.12.1): Downloading (100%)
    - Updating doctrine/common (2.13.1 => 2.13.3): Loading from cache
    - Updating doctrine/orm (v2.7.2 => 2.7.4): Loading from cache
    - Updating symfony/doctrine-bridge (v4.4.8 => v4.4.16): Loading from cache
    - Updating doctrine/doctrine-bundle (1.12.10 => 1.12.12): Loading from cache
    - Updating contao/imagine-svg (0.2.3 => 1.0.2): Loading from cache
    - Updating webmozart/assert (1.8.0 => 1.9.1): Loading from cache
    - Updating contao/image (1.0.1 => 1.0.3): Downloading (100%)
    - Updating contao/core-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/calendar-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/comments-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/faq-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/listing-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating symfony/web-profiler-bundle (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/stopwatch (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/proxy-manager-bridge (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/monolog-bundle (v3.5.0 => v3.6.0): Loading from cache
    - Updating symfony/dotenv (v4.4.8 => v4.4.16): Loading from cache
    - Updating symfony/debug-bundle (v4.4.8 => v4.4.16): Loading from cache
    - Updating nelmio/security-bundle (v2.9.1 => v2.10.1): Loading from cache
    - Updating contao/installation-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/manager-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/news-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/newsletter-bundle (4.9.3 => 4.9.9): Loading from cache
    - Updating contao/conflicts (dev-master ba331b1 => dev-master 820074e)
    Package phpunit/php-token-stream 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.
    Generating optimized autoload files
    Deprecation Notice: Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    Deprecation Notice: Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///home/ps005rz5/www/home/bestyou/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
    > ComponentInstaller\Installer:ostAutoloadDump
    79 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > 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 89:

    An error occurred while executing the "cache:warmup" command: 13:03:55 ERRO
    R [console] Error thrown while running command "cache:warmup --env=prod
    ". Message: "MemoryTokenStorage must not be accessed before it was initiali
    zed." ["exception" => LogicException { …},"command" => "cache:warmup --env=
    prod","message" => "MemoryTokenStorage must not be accessed before it was i
    nitialized."]

    In MemoryTokenStorage.php line 104:

    MemoryTokenStorage must not be accessed before it was initialized.


    cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--
    verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en
    v ENV] [--] <command>

    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error
    LG, Andi

  2. #2
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.416

    Standard

    Ich hab jetzt weitere Tests gemacht. Ich kann sehrwohl Module installieren und auch Updaten. Das funktioniert.
    Was NICHT funktoniert ist ein update von Contao. Hier kommt immer wieder die oben genannte Meldung. Irgendwo hängt es hier.
    LG, Andi

  3. #3
    Alter Contao-Hase
    Registriert seit
    20.06.2009.
    Ort
    Graz (Austria)
    Beiträge
    1.416

    Standard

    Hallo, habe heute wieder versucht ein Update zu machen. Aktuell hab ich die Version 4.9.3 drauf.

    Zuerst hab ich versucht, ein Update auf die Version 4.9.11 zu machen. FEHLER
    Dann hab ich versucht, ein Update gleich auf die aktuelle Version 4.10.6 zu machen: FEHLER

    Es läuft alles positiv durch inkl. composer update (mittels Resolver Cloud)
    Dann kommt der composer install. Hier wird auch alles downgeloadet und dann kommt der Fehler

    Hier ein auszug aus dem Conao-Manager, wo der Fehler auftritt:
    Code:
    In ScriptHandler.php line 89:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 10:12:15 ERRO  
      R     [console] Error thrown while running command "cache:warmup --env=prod  
      ". Message: "MemoryTokenStorage must not be accessed before it was initiali  
      zed." ["exception" => LogicException { …},"command" => "cache:warmup --env=  
      prod","message" => "MemoryTokenStorage must not be accessed before it was i  
      nitialized."]                                                                
                                                                                   
      In MemoryTokenStorage.php line 104:                                          
                                                                                   
        MemoryTokenStorage must not be accessed before it was initialized.         
                                                                                   
                                                                                   
      cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--  
      verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en  
      v ENV] [--] <command>                                                        
                                                                                   
    install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
    # Process terminated with exit code 1
    # Result: General error
    LG, Andi

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
  •