Ergebnis 1 bis 13 von 13

Thema: Fehler beim Update per Contao Manager

  1. #1
    Contao-Nutzer
    Registriert seit
    18.10.2012.
    Beiträge
    23

    Standard Fehler beim Update per Contao Manager

    Hallo,

    beim Update mit dem Contao-Manager kommt bei mir seit einiger Zeit (ich hatte da kurz vor Weihnachten erstmals Probleme) folgender Fehler (derzeit: Contao Manager 1.2.3, PHP 7.4.2, Contao 4.8.7):

    Code:
    $ /opt/plesk/php/7.4/bin/php -q /var/www/vhosts/meinedomain.de/httpdocs/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    
    ocramius/package-versions: Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    PHP Fatal error:  Uncaught Error: Class 'Zend\Code\Generator\ClassGenerator' not found in /var/www/vhosts/meinedomain.de/httpdocs/vendor/ocramius/proxy-manager/src/ProxyManager/Generator/ClassGenerator.php:15
    Stack trace:
    #0 /var/www/vhosts/meinedomain.de/httpdocs/vendor/composer/ClassLoader.php(444): include()
    #1 /var/www/vhosts/meinedomain.de/httpdocs/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
    #2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
    #3 /var/www/vhosts/meinedomain.de/httpdocs/vendor/symfony/proxy-manager-bridge/LazyProxy/PhpDumper/ProxyDumper.php(125): spl_autoload_call()
    #4 /var/www/vhosts/meinedomain.de/httpdocs/vendor/symfony/proxy-manager-bridge/LazyProxy/PhpDumper/ProxyDumper.php(87): Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper->generateProxyClass()
    #5 /var/www/vhosts/meinedomain.de/httpdocs/vendor/symfony/dependency-injection/Dumper/PhpDumper.php(451): Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\ProxyDumper->getProxyCode()
    #6 /var/www/vhosts in /var/www/vhosts/meinedomain.de/httpdocs/vendor/ocramius/proxy-manager/src/ProxyManager/Generator/ClassGenerator.php on line 15
    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 0 installs, 61 updates, 1 removal
      - Removing webimpress/safe-writer (2.0.0)
      - Downgrading symfony/routing (v4.3.11 => v4.3.9): As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' may remediate them.
    Downloading (100%)
      - Downgrading symfony/mime (v4.4.4 => v4.4.1): Downloading (100%)
      - Downgrading symfony/http-foundation (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/event-dispatcher (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/debug (v4.4.4 => v4.4.1): Downloading (100%)
      - Downgrading symfony/http-kernel (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/filesystem (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/dependency-injection (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/config (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading contao/manager-plugin (2.8.0 => 2.7.1): Downloading (100%)
      - Downgrading beberlei/assert (v3.2.7 => v3.2.6): Downloading (100%)
      - Downgrading contao-components/contao (9.1.0 => 9.0.0): Downloading (100%)
      - Downgrading symfony/yaml (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading twig/twig (v2.12.3 => v2.12.2): Downloading (100%)
      - Downgrading symfony/var-dumper (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/twig-bridge (v4.4.4 => v4.4.1): Downloading (100%)
      - Downgrading symfony/twig-bundle (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/translation (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading egulias/email-validator (2.1.15 => 2.1.11): Downloading (100%)
      - Downgrading symfony/inflector (v5.0.4 => v5.0.1): Downloading (100%)
      - Downgrading symfony/property-access (v4.4.4 => v4.4.1): Downloading (100%)
      - Downgrading symfony/security (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/security-bundle (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/process (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/lock (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/finder (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/var-exporter (v4.4.4 => v4.4.1): Downloading (100%)
      - Downgrading symfony/cache (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/framework-bundle (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/expression-language (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/console (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/asset (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading simplepie/simplepie (1.5.4 => 1.5.3): Downloading (100%)
      - Downgrading scssphp/scssphp (1.0.7 => 1.0.6): Downloading (100%)
      - Downgrading scheb/two-factor-bundle (v4.13.0 => v4.11.0): Downloading (100%)
      - Downgrading matthiasmullie/path-converter (1.1.3 => 1.1.2): Downloading (100%)
      - Downgrading matthiasmullie/minify (1.3.63 => 1.3.61): Downloading (100%)
      - Downgrading symfony/templating (v5.0.4 => v5.0.1): Downloading (100%)
      - Downgrading knplabs/knp-time-bundle (v1.11.0 => v1.10.0): Downloading (100%)
      - Downgrading symfony/options-resolver (v5.0.4 => v5.0.1): Downloading (100%)
      - Downgrading php-http/discovery (1.7.4 => 1.7.0): Downloading (100%)
      - Downgrading guzzlehttp/guzzle (6.5.2 => 6.5.0): Downloading (100%)
      - Downgrading friendsofsymfony/http-cache (2.9.0 => 2.8.0): Downloading (100%)
      - Downgrading doctrine/reflection (v1.1.0 => v1.0.0): Downloading (100%)
      - Downgrading doctrine/persistence (1.3.6 => 1.3.3): Downloading (100%)
      - Downgrading doctrine/dbal (v2.10.1 => v2.10.0): Downloading (100%)
      - Downgrading doctrine/common (2.12.0 => v2.11.0): Downloading (100%)
      - Downgrading symfony/doctrine-bridge (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading doctrine/doctrine-bundle (1.12.7 => 1.12.2): Downloading (100%)
      - Downgrading contao/tcpdf-bundle (1.2.0 => 1.1.3): Downloading (100%)
      - Downgrading madeyourday/contao-rocksolid-frontend-helper (v2.0.8 => v2.0.7): Downloading (100%)
      - Downgrading symfony/debug-bundle (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/dotenv (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading monolog/monolog (1.25.3 => 1.25.2): Downloading (100%)
      - Downgrading symfony/monolog-bridge (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading ocramius/proxy-manager (2.7.0 => 2.2.3): Downloading (100%)
      - Downgrading symfony/proxy-manager-bridge (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading symfony/web-profiler-bundle (v4.3.11 => v4.3.9): Downloading (100%)
      - Downgrading toflar/psr6-symfony-http-cache-store (2.2.1 => 2.1.1): Downloading (100%)
      - Downgrading composer/ca-bundle (1.2.6 => 1.2.5): Downloading (100%)
      - Downgrading ua-parser/uap-php (v3.9.5 => v3.9.2): Downloading (100%)
    Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files
    > 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 88:
                                                                                   
      An error occurred while executing the "contao:install-web-dir" command: PHP  
       Fatal error:  Uncaught Error: Class 'Zend\Code\Generator\ClassGenerator' n  
      ot found in /var/www/vhosts/meinedomain.de/httpdocs/vendor/ocramius/proxy-  
      manager/src/ProxyManager/Generator/ClassGenerator.php:15                     
      Stack trace:                                                                 
      #0 /var/www/vhosts/meinedomain.de/httpdocs/vendor/composer/ClassLoader.php  
      (444): include()                                                             
      #1 /var/www/vhosts/meinedomain.de/httpdocs/vendor/composer/ClassLoader.php  
      (322): Composer\Autoload\includeFile()                                       
      #2 [internal function]: Composer\Autoload\ClassLoader->loadClass()           
      #3 /var/www/vhosts/meinedomain.de/httpdocs/vendor/symfony/proxy-manager-br  
      idge/LazyProxy/PhpDumper/ProxyDumper.php(125): spl_autoload_call()           
      #4 /var/www/vhosts/meinedomain.de/httpdocs/vendor/symfony/proxy-manager-br  
      idge/LazyProxy/PhpDumper/ProxyDumper.php(87): Symfony\Bridge\ProxyManager\L  
      azyProxy\PhpDumper\ProxyDumper->generateProxyClass()                         
      #5 /var/www/vhosts/meinedomain.de/httpdocs/vendor/symfony/dependency-injec  
      tion/Dumper/PhpDumper.php(451): Symfony\Bridge\ProxyManager\LazyProxy\PhpDu  
      mper\ProxyDumper->getProxyCode()                                             
      #6 /var/www/vhosts in /var/www/vhosts/meinedomain.de/httpdocs/vendor/ocram  
      ius/proxy-manager/src/ProxyManager/Generator/ClassGenerator.php on line 15   
                                                                                   
    
    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
    
    
    ---
    
    ### Der Hintergrundprozess wurde unerwartet beendet ###
    Weiß jemand, was zu tun ist, um das Problem zu beheben?
    Oliver

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

    Standard

    Führe eine komplette Paketaktualisierung durch.

  3. #3
    Contao-Nutzer
    Registriert seit
    18.10.2012.
    Beiträge
    23

    Standard

    Ich klicke unter "Pakete" auf "Pakete aktualisieren". Nun steht bei allen Paketen "Dieses Paket wird aktualisiert, wenn Sie die Änderungen bestätigen.", und ich klicke auf "Sie haben 9 unbestätigte Änderungen. - Änderungen anwenden".

    Meinst Du das, oder meinst Du etwas anderes?

    Code:
    $ /opt/plesk/php/7.4/bin/php -q /var/www/vhosts/meinedomain.de/httpdocs/web/contao-manager.phar.php composer update contao/manager-bundle contao/tcpdf-bundle madeyourday/contao-rocksolid-columns madeyourday/contao-rocksolid-custom-elements madeyourday/contao-rocksolid-frontend-helper madeyourday/contao-rocksolid-icon-picker madeyourday/contao-rocksolid-mega-menu madeyourday/contao-rocksolid-slider madeyourday/contao-rocksolid-theme-assistant contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/core-bundle contao/installation-bundle --with-dependencies --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    
    ocramius/package-versions: Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Added the web/app.php file.
    Added the web/preview.php file.
    Added the web/index.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
    14:06:08 ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108"]
    
    In DateTimeFormatter.php line 17:
                                                                                   
      Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct()  
       must implement interface Symfony\Contracts\Translation\TranslatorInterface  
      , instance of Contao\CoreBundle\Translation\Translator given, called in /va  
      r/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTw  
      igService.php on line 108                                                    
                                                                                   
    
    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>
    
    Loading composer repositories with package information
    Updating dependencies
    Package operations: 2 installs, 63 updates, 0 removals
      - Updating symfony/mime (v4.4.1 => v4.4.4): As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' may remediate them.
    Downloading (100%)
      - Updating symfony/http-foundation (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/event-dispatcher (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/debug (v4.4.1 => v4.4.4): Downloading (100%)
      - Updating symfony/http-kernel (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/dependency-injection (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/filesystem (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/config (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/routing (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating contao/manager-plugin (2.7.1 => 2.8.0): Downloading (100%)
      - Updating symfony/yaml (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating twig/twig (v2.12.2 => v2.12.3): Downloading (100%)
      - Updating symfony/var-dumper (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/twig-bridge (v4.4.1 => v4.4.4): Downloading (100%)
      - Updating symfony/twig-bundle (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/translation (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating egulias/email-validator (2.1.11 => 2.1.15): Downloading (100%)
      - Updating symfony/inflector (v5.0.1 => v5.0.4): Downloading (100%)
      - Updating symfony/property-access (v4.4.1 => v4.4.4): Downloading (100%)
      - Updating symfony/security (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/security-bundle (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/process (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/lock (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/finder (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/var-exporter (v4.4.1 => v4.4.4): Downloading (100%)
      - Updating symfony/cache (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/framework-bundle (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/expression-language (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/console (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/asset (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating beberlei/assert (v3.2.6 => v3.2.7): Downloading (100%)
      - Updating simplepie/simplepie (1.5.3 => 1.5.4): Downloading (100%)
      - Updating scssphp/scssphp (1.0.6 => 1.0.7): Downloading (100%)
      - Updating scheb/two-factor-bundle (v4.11.0 => v4.13.0): Downloading (100%)
      - Updating matthiasmullie/path-converter (1.1.2 => 1.1.3): Downloading (100%)
      - Updating matthiasmullie/minify (1.3.61 => 1.3.63): Downloading (100%)
      - Updating symfony/templating (v5.0.1 => v5.0.4): Downloading (100%)
      - Updating knplabs/knp-time-bundle (v1.10.0 => v1.11.0): Downloading (100%)
      - Updating doctrine/reflection (v1.0.0 => v1.1.0): Downloading (100%)
      - Updating doctrine/persistence (1.3.3 => 1.3.6): Downloading (100%)
      - Updating doctrine/common (v2.11.0 => 2.12.0): Downloading (100%)
      - Updating symfony/options-resolver (v5.0.1 => v5.0.4): Downloading (100%)
      - Updating php-http/discovery (1.7.0 => 1.7.4): Downloading (100%)
      - Updating guzzlehttp/guzzle (6.5.0 => 6.5.2): Downloading (100%)
      - Updating friendsofsymfony/http-cache (2.8.0 => 2.9.0): Downloading (100%)
      - Updating doctrine/dbal (v2.10.0 => v2.10.1): Downloading (100%)
      - Updating symfony/doctrine-bridge (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating doctrine/doctrine-bundle (1.12.2 => 1.12.7): Downloading (100%)
      - Updating contao-components/contao (9.0.0 => 9.1.0): Downloading (100%)
      - Updating contao/tcpdf-bundle (1.1.3 => 1.2.0): Downloading (100%)
      - Updating madeyourday/contao-rocksolid-frontend-helper (v2.0.7 => v2.0.8): Downloading (100%)
      - Updating toflar/psr6-symfony-http-cache-store (2.1.1 => 2.2.1): Downloading (100%)
      - Installing laminas/laminas-zendframework-bridge (1.0.1): Downloading (100%)
      - Updating laminas/laminas-eventmanager (3.2.1 => 3.2.1): Downloading (100%)
      - Updating laminas/laminas-code (3.4.1 => 3.4.1): Downloading (100%)
      - Updating symfony/debug-bundle (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/dotenv (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating monolog/monolog (1.25.2 => 1.25.3): Downloading (100%)
      - Updating symfony/monolog-bridge (v4.3.9 => v4.3.11): Downloading (100%)
      - Installing webimpress/safe-writer (2.0.0): Downloading (100%)
      - Updating ocramius/proxy-manager (2.2.3 => 2.7.0): Downloading (100%)
      - Updating symfony/proxy-manager-bridge (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating symfony/web-profiler-bundle (v4.3.9 => v4.3.11): Downloading (100%)
      - Updating composer/ca-bundle (1.2.5 => 1.2.6): Downloading (100%)
      - Updating ua-parser/uap-php (v3.9.2 => v3.9.5): Downloading (100%)
    Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating optimized autoload files
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
    
    In ScriptHandler.php line 88:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 14:06:08 ERRO  
      R     [console] Error thrown while running command "cache:warmup --env=prod  
      ". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::  
      __construct() must implement interface Symfony\Contracts\Translation\Transl  
      atorInterface, instance of Contao\CoreBundle\Translation\Translator given,   
      called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/Container  
      ONpke8n/getTwigService.php on line 108" ["exception" => TypeError { …},"com  
      mand" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\B  
      undle\TimeBundle\DateTimeFormatter::__construct() must implement interface   
      Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreB  
      undle\Translation\Translator given, called in /var/www/vhosts/meinedomain.  
      de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108"  
      ]                                                                            
                                                                                   
      In DateTimeFormatter.php line 17:                                            
                                                                                   
                                                                                   
        Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct  
      ()                                                                           
         must implement interface Symfony\Contracts\Translation\TranslatorInterfa  
      ce                                                                           
        , instance of Contao\CoreBundle\Translation\Translator given, called in /  
      va                                                                           
        r/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/get  
      Tw                                                                           
        igService.php on line 108                                                  
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      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>                                                        
                                                                                   
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
    
    
    # Process terminated with exit code 1
    # Result: General error
    
    
    ---
    
    ### Der Hintergrundprozess wurde unerwartet beendet ###

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

    Standard

    Genau, ja. Allerdings hast du jetzt einen anderen Fehler. Theoretisch sollte der Contao Manager bei dir in der composer.json ein require für contao/conflicts: @dev eingefügt haben. Ist das nicht der Fall?

  5. #5
    Contao-Nutzer
    Registriert seit
    18.10.2012.
    Beiträge
    23

    Standard

    Nach dem Aktualisierungs-Abbruch geht die Contao-Seite zunächst nicht. Nach dem zweiten Öffnen des Conato-Managers wird mir eine Reparatur angeboten, die so aussieht, als würde allerlei wieder Downgegraded. Dann geht die Seite wieder. Eventuell hatte ich beim ersten Mal das falsche Protokoll gepostet. Das ganze geht jedenfalls im Kreis.

    In der /var/www/vhosts/meinedomain.de/httpdocs/composer.json gibt es diesen Abschnitt:

    Code:
        "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",
            "contao/tcpdf-bundle": "^1.1",
            "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"
        },

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

    Standard

    Führe nochmal eine komplette Paketaktualisierung durch.

  7. #7
    Contao-Nutzer
    Registriert seit
    18.10.2012.
    Beiträge
    23

    Standard

    Wie gesagt, ich hatte damit erstmalig kurz vor Weihnachten ein Problem. Über die Reparatur habe ich die Seite immer wieder am Laufen bekommen und dachte, eventuell löst sich das Problem irgendwann durch ein Update des Managers oder Symfonie oder eine anderen Komponente. Insofern ist das bei weitem nicht der erste neue Versuch:

    Code:
    $ /opt/plesk/php/7.4/bin/php -q /var/www/vhosts/meinedomain.de/httpdocs/web/contao-manager.phar.php composer update contao/manager-bundle contao/tcpdf-bundle madeyourday/contao-rocksolid-columns madeyourday/contao-rocksolid-custom-elements madeyourday/contao-rocksolid-frontend-helper madeyourday/contao-rocksolid-icon-picker madeyourday/contao-rocksolid-mega-menu madeyourday/contao-rocksolid-slider madeyourday/contao-rocksolid-theme-assistant contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/core-bundle contao/installation-bundle --with-dependencies --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    
    ocramius/package-versions: Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Added the web/app.php file.
    Added the web/preview.php file.
    Added the web/index.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
    15:43:09 ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108"]
    
    In DateTimeFormatter.php line 17:
                                                                                   
      Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct()  
       must implement interface Symfony\Contracts\Translation\TranslatorInterface  
      , instance of Contao\CoreBundle\Translation\Translator given, called in /va  
      r/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTw  
      igService.php on line 108                                                    
                                                                                   
    
    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>
    
    Loading composer repositories with package information
    Updating dependencies
    Package operations: 2 installs, 63 updates, 0 removals
      - Updating symfony/mime (v4.4.1 => v4.4.4): As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' may remediate them.
    Loading from cache
      - Updating symfony/http-foundation (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/event-dispatcher (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/debug (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/http-kernel (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/dependency-injection (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/filesystem (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/config (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/routing (v4.3.9 => v4.3.11): Loading from cache
      - Updating contao/manager-plugin (2.7.1 => 2.8.0): Loading from cache
      - Updating symfony/yaml (v4.3.9 => v4.3.11): Loading from cache
      - Updating twig/twig (v2.12.2 => v2.12.3): Loading from cache
      - Updating symfony/var-dumper (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/twig-bridge (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/twig-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/translation (v4.3.9 => v4.3.11): Loading from cache
      - Updating egulias/email-validator (2.1.11 => 2.1.15): Loading from cache
      - Updating symfony/inflector (v5.0.1 => v5.0.4): Loading from cache
      - Updating symfony/property-access (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/security (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/security-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/process (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/lock (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/finder (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/var-exporter (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/cache (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/framework-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/expression-language (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/console (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/asset (v4.3.9 => v4.3.11): Loading from cache
      - Updating beberlei/assert (v3.2.6 => v3.2.7): Loading from cache
      - Updating simplepie/simplepie (1.5.3 => 1.5.4): Loading from cache
      - Updating scssphp/scssphp (1.0.6 => 1.0.7): Loading from cache
      - Updating scheb/two-factor-bundle (v4.11.0 => v4.13.0): Loading from cache
      - Updating matthiasmullie/path-converter (1.1.2 => 1.1.3): Loading from cache
      - Updating matthiasmullie/minify (1.3.61 => 1.3.63): Loading from cache
      - Updating symfony/templating (v5.0.1 => v5.0.4): Loading from cache
      - Updating knplabs/knp-time-bundle (v1.10.0 => v1.11.0): Loading from cache
      - Updating doctrine/reflection (v1.0.0 => v1.1.0): Loading from cache
      - Updating doctrine/persistence (1.3.3 => 1.3.6): Loading from cache
      - Updating doctrine/common (v2.11.0 => 2.12.0): Loading from cache
      - Updating symfony/options-resolver (v5.0.1 => v5.0.4): Loading from cache
      - Updating php-http/discovery (1.7.0 => 1.7.4): Loading from cache
      - Updating guzzlehttp/guzzle (6.5.0 => 6.5.2): Loading from cache
      - Updating friendsofsymfony/http-cache (2.8.0 => 2.9.0): Loading from cache
      - Updating doctrine/dbal (v2.10.0 => v2.10.1): Loading from cache
      - Updating symfony/doctrine-bridge (v4.3.9 => v4.3.11): Loading from cache
      - Updating doctrine/doctrine-bundle (1.12.2 => 1.12.7): Loading from cache
      - Updating contao-components/contao (9.0.0 => 9.1.0): Loading from cache
      - Updating contao/tcpdf-bundle (1.1.3 => 1.2.0): Loading from cache
      - Updating madeyourday/contao-rocksolid-frontend-helper (v2.0.7 => v2.0.8): Loading from cache
      - Updating toflar/psr6-symfony-http-cache-store (2.1.1 => 2.2.1): Loading from cache
      - Installing laminas/laminas-zendframework-bridge (1.0.1): Loading from cache
      - Updating laminas/laminas-eventmanager (3.2.1 => 3.2.1): Loading from cache
      - Updating laminas/laminas-code (3.4.1 => 3.4.1): Loading from cache
      - Updating symfony/debug-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/dotenv (v4.3.9 => v4.3.11): Loading from cache
      - Updating monolog/monolog (1.25.2 => 1.25.3): Loading from cache
      - Updating symfony/monolog-bridge (v4.3.9 => v4.3.11): Loading from cache
      - Installing webimpress/safe-writer (2.0.0): Loading from cache
      - Updating ocramius/proxy-manager (2.2.3 => 2.7.0): Loading from cache
      - Updating symfony/proxy-manager-bridge (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/web-profiler-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating composer/ca-bundle (1.2.5 => 1.2.6): Loading from cache
      - Updating ua-parser/uap-php (v3.9.2 => v3.9.5): Loading from cache
    Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating optimized autoload files
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
    
    In ScriptHandler.php line 88:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 15:43:09 ERRO  
      R     [console] Error thrown while running command "cache:warmup --env=prod  
      ". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::  
      __construct() must implement interface Symfony\Contracts\Translation\Transl  
      atorInterface, instance of Contao\CoreBundle\Translation\Translator given,   
      called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/Container  
      ONpke8n/getTwigService.php on line 108" ["exception" => TypeError { …},"com  
      mand" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\B  
      undle\TimeBundle\DateTimeFormatter::__construct() must implement interface   
      Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreB  
      undle\Translation\Translator given, called in /var/www/vhosts/meinedomain.  
      de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108"  
      ]                                                                            
                                                                                   
      In DateTimeFormatter.php line 17:                                            
                                                                                   
                                                                                   
        Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct  
      ()                                                                           
         must implement interface Symfony\Contracts\Translation\TranslatorInterfa  
      ce                                                                           
        , instance of Contao\CoreBundle\Translation\Translator given, called in /  
      va                                                                           
        r/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/get  
      Tw                                                                           
        igService.php on line 108                                                  
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      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>                                                        
                                                                                   
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
    
    
    # Process terminated with exit code 1
    # Result: General error
    
    
    ---
    
    ### Der Hintergrundprozess wurde unerwartet beendet ###
    Könnte es etwas mit den Rocksolid-Komponenten zu tun haben? Siehe der Ausschnitt aus der composer.json...

    Jetzt ist die Seite wieder kaputt (Contao: Es ist ein Fehler aufgetreten), ich öffne den Contao-manager und versuche Composer-Abhängigkeiten -> Installer ausführen, dann kommt zwar weiter der Contao-Fehler, aber wenn ich jetzt den Contao-Manager erneut öffne, kommt das Angebot zur "Automatischen Reparatur". Die bringt die Seite wieder ans laufen.

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

    Standard

    Zitat Zitat von ollibraun Beitrag anzeigen
    Könnte es etwas mit den Rocksolid-Komponenten zu tun haben?
    Nein, siehe https://github.com/contao/contao/pull/1140

    Der Fehler sollte eigentlich durch "contao/conflicts": "*@dev" nicht auftreten.

    Lösche mal die composer.lock Datei und führe nochmal eine komplette Paketaktualisierung durch.

  9. #9
    Contao-Nutzer
    Registriert seit
    18.10.2012.
    Beiträge
    23

    Standard

    Das hilft leider nicht. Die composer.lock ist weg (und wurde auch noch nicht neu angelegt):

    Code:
    $ /opt/plesk/php/7.4/bin/php -q /var/www/vhosts/meinedomain.de/httpdocs/web/contao-manager.phar.php composer update contao/manager-bundle contao/tcpdf-bundle madeyourday/contao-rocksolid-columns madeyourday/contao-rocksolid-custom-elements madeyourday/contao-rocksolid-frontend-helper madeyourday/contao-rocksolid-icon-picker madeyourday/contao-rocksolid-mega-menu madeyourday/contao-rocksolid-slider madeyourday/contao-rocksolid-theme-assistant contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/core-bundle contao/installation-bundle --with-dependencies --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    
    ocramius/package-versions: Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Added the web/app.php file.
    Added the web/preview.php file.
    Added the web/index.php file.
    
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
    
    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    
    16:29:38 ERROR     [console] Error thrown while running command "cache:warmup --env=prod". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108" ["exception" => TypeError { …},"command" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct() must implement interface Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translation\Translator given, called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108"]
    
    In DateTimeFormatter.php line 17:
                                                                                   
      Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct()  
       must implement interface Symfony\Contracts\Translation\TranslatorInterface  
      , instance of Contao\CoreBundle\Translation\Translator given, called in /va  
      r/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/getTw  
      igService.php on line 108                                                    
                                                                                   
    
    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>
    
    Loading composer repositories with package information
    Updating dependencies
    Package operations: 2 installs, 63 updates, 0 removals
      - Updating symfony/mime (v4.4.1 => v4.4.4): As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
    This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
    Installing 'unzip' may remediate them.
    Loading from cache
      - Updating symfony/http-foundation (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/event-dispatcher (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/debug (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/http-kernel (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/dependency-injection (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/filesystem (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/config (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/routing (v4.3.9 => v4.3.11): Loading from cache
      - Updating contao/manager-plugin (2.7.1 => 2.8.0): Loading from cache
      - Updating symfony/yaml (v4.3.9 => v4.3.11): Loading from cache
      - Updating twig/twig (v2.12.2 => v2.12.3): Loading from cache
      - Updating symfony/var-dumper (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/twig-bridge (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/twig-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/translation (v4.3.9 => v4.3.11): Loading from cache
      - Updating egulias/email-validator (2.1.11 => 2.1.15): Loading from cache
      - Updating symfony/inflector (v5.0.1 => v5.0.4): Loading from cache
      - Updating symfony/property-access (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/security (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/security-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/process (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/lock (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/finder (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/var-exporter (v4.4.1 => v4.4.4): Loading from cache
      - Updating symfony/cache (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/framework-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/expression-language (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/console (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/asset (v4.3.9 => v4.3.11): Loading from cache
      - Updating beberlei/assert (v3.2.6 => v3.2.7): Loading from cache
      - Updating simplepie/simplepie (1.5.3 => 1.5.4): Loading from cache
      - Updating scssphp/scssphp (1.0.6 => 1.0.7): Loading from cache
      - Updating scheb/two-factor-bundle (v4.11.0 => v4.13.0): Loading from cache
      - Updating matthiasmullie/path-converter (1.1.2 => 1.1.3): Loading from cache
      - Updating matthiasmullie/minify (1.3.61 => 1.3.63): Loading from cache
      - Updating symfony/templating (v5.0.1 => v5.0.4): Loading from cache
      - Updating knplabs/knp-time-bundle (v1.10.0 => v1.11.0): Loading from cache
      - Updating doctrine/reflection (v1.0.0 => v1.1.0): Loading from cache
      - Updating doctrine/persistence (1.3.3 => 1.3.6): Loading from cache
      - Updating doctrine/common (v2.11.0 => 2.12.0): Loading from cache
      - Updating symfony/options-resolver (v5.0.1 => v5.0.4): Loading from cache
      - Updating php-http/discovery (1.7.0 => 1.7.4): Loading from cache
      - Updating guzzlehttp/guzzle (6.5.0 => 6.5.2): Loading from cache
      - Updating friendsofsymfony/http-cache (2.8.0 => 2.9.0): Loading from cache
      - Updating doctrine/dbal (v2.10.0 => v2.10.1): Loading from cache
      - Updating symfony/doctrine-bridge (v4.3.9 => v4.3.11): Loading from cache
      - Updating doctrine/doctrine-bundle (1.12.2 => 1.12.7): Loading from cache
      - Updating contao-components/contao (9.0.0 => 9.1.0): Loading from cache
      - Updating contao/tcpdf-bundle (1.1.3 => 1.2.0): Loading from cache
      - Updating madeyourday/contao-rocksolid-frontend-helper (v2.0.7 => v2.0.8): Loading from cache
      - Updating toflar/psr6-symfony-http-cache-store (2.1.1 => 2.2.1): Loading from cache
      - Installing laminas/laminas-zendframework-bridge (1.0.1): Loading from cache
      - Updating laminas/laminas-eventmanager (3.2.1 => 3.2.1): Loading from cache
      - Updating laminas/laminas-code (3.4.1 => 3.4.1): Loading from cache
      - Updating symfony/debug-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/dotenv (v4.3.9 => v4.3.11): Loading from cache
      - Updating monolog/monolog (1.25.2 => 1.25.3): Loading from cache
      - Updating symfony/monolog-bridge (v4.3.9 => v4.3.11): Loading from cache
      - Installing webimpress/safe-writer (2.0.0): Loading from cache
      - Updating ocramius/proxy-manager (2.2.3 => 2.7.0): Loading from cache
      - Updating symfony/proxy-manager-bridge (v4.3.9 => v4.3.11): Loading from cache
      - Updating symfony/web-profiler-bundle (v4.3.9 => v4.3.11): Loading from cache
      - Updating composer/ca-bundle (1.2.5 => 1.2.6): Loading from cache
      - Updating ua-parser/uap-php (v3.9.2 => v3.9.5): Loading from cache
    Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
    Writing lock file
    Generating optimized autoload files
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-update-cmd event terminated with an exception
    
    In ScriptHandler.php line 88:
                                                                                   
      An error occurred while executing the "cache:warmup" command: 16:29:38 ERRO  
      R     [console] Error thrown while running command "cache:warmup --env=prod  
      ". Message: "Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::  
      __construct() must implement interface Symfony\Contracts\Translation\Transl  
      atorInterface, instance of Contao\CoreBundle\Translation\Translator given,   
      called in /var/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/Container  
      ONpke8n/getTwigService.php on line 108" ["exception" => TypeError { …},"com  
      mand" => "cache:warmup --env=prod","message" => "Argument 1 passed to Knp\B  
      undle\TimeBundle\DateTimeFormatter::__construct() must implement interface   
      Symfony\Contracts\Translation\TranslatorInterface, instance of Contao\CoreB  
      undle\Translation\Translator given, called in /var/www/vhosts/meinedomain.  
      de/httpdocs/var/cache/prod/ContainerONpke8n/getTwigService.php on line 108"  
      ]                                                                            
                                                                                   
      In DateTimeFormatter.php line 17:                                            
                                                                                   
                                                                                   
        Argument 1 passed to Knp\Bundle\TimeBundle\DateTimeFormatter::__construct  
      ()                                                                           
         must implement interface Symfony\Contracts\Translation\TranslatorInterfa  
      ce                                                                           
        , instance of Contao\CoreBundle\Translation\Translator given, called in /  
      va                                                                           
        r/www/vhosts/meinedomain.de/httpdocs/var/cache/prod/ContainerONpke8n/get  
      Tw                                                                           
        igService.php on line 108                                                  
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      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>                                                        
                                                                                   
    
    update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
    
    
    # Process terminated with exit code 1
    # Result: General error
    
    
    ---
    
    ### Der Hintergrundprozess wurde unerwartet beendet ###

  10. #10
    Administrator Avatar von xchs
    Registriert seit
    19.06.2009.
    Beiträge
    14.557
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Was Du eventuell noch versuchen könntest:

    • vendor/ Ordner umbenennen (oder komplett löschen)
    • composer.lock löschen (sofern diese wieder erstellt wurde)
    • var/cache/ löschen
    • Vollständige Paketaktualisierung via Contao Manager oder Konsole durchführen
    Contao Community Administrator

    [Unterstützungsmöglichkeiten]

  11. #11
    Contao-Nutzer
    Registriert seit
    18.10.2012.
    Beiträge
    23

    Standard

    Hurra, das hat funktioniert! Mit allen drei Seiten, die Probleme machten. Dankeschön Euch beiden!

  12. #12
    Contao-Nutzer
    Registriert seit
    12.03.2010.
    Beiträge
    238

    Standard

    Bei mir hat das alles nicht funktioniert.
    Ich habe vendor umbeannt, composer.lock + den prod Cache gelöscht. Auch ist "contao/conflicts": "*@dev" in der composer.json enthalten. Ich habe auch alle Pakete aktualisiert.
    Es hilft alles nicht.
    Sie sieht so aus
    Code:
    {
        "name": "contao/managed-edition",
        "type": "project",
        "description": "Contao Open Source CMS",
        "license": "LGPL-3.0+",
        "authors": [
            {
                "name": "Leo Feyer",
                "homepage": "https://github.com/leofeyer"
            }
        ],
        "require": {
            "php": "^5.6|^7.0",
            "contao/calendar-bundle": "4.8.6",
            "contao/conflicts": "*@dev",
            "contao/listing-bundle": "4.8.6",
            "contao/manager-bundle": "4.8.6",
            "contao/news-bundle": "4.8.6",
            "contao/newsletter-bundle": "4.8.6",
            "delahaye/dlh_geocode": "^1.1",
            "madeyourday/contao-rocksolid-custom-elements": "^2.2",
            "martin-kozianka/contao-fullcalendar": "^1.1",
            "terminal42/contao-ce-access": "^2.0"
        },
        "conflict": {
            "contao/core-bundle": "<4.4.1"
        },
        "config": {
            "component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ],
            "post-update-cmd": [
                "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            ]
        }
    }

  13. #13
    Contao-Nutzer
    Registriert seit
    12.03.2010.
    Beiträge
    238

    Standard

    Ok jetzt geht es ... 4.8.6 musste auf ^4.8 geändert werden, dann noch mal alles aktualisieren ... tata

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
  •