Contao-Camp 2024
Ergebnis 1 bis 9 von 9

Thema: Problem beim Ausführen des Updates

  1. #1
    Contao-Fan
    Registriert seit
    15.12.2011.
    Beiträge
    812

    Standard Problem beim Ausführen des Updates

    Hi zusammen,

    ich habe das Problem, dass beim Ausführen des Updates von Contao 4.8.5 auf "aktuell" folgende Fehlermeldung kommt:

    PHP-Code:
    Resolving dependencies using Composer Cloud v2.2.0

    # Job ID BPgUdWiMbzVGUvaxbMVbm9iaTs27T9V5c8WtpF6ZFecGx350ffXaNUednh5Kl1jTDyHaBzhh5N6wekFgQqz7rYPdkjP7sVhvk1WOZElnui6vGQt completed in 183 seconds
    # Memory usage: 432.35MB (peak: 2001.19MB), time: 181.82s.

    $ /usr/bin/php71 --d memory_limit=-/www/htdocs/w013e143/psv/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader

    Using config
    .component-dir has been deprecatedPlease use extra.contao-component-dir instead.
    ocramius/package-versions:  Generating version class...
    ocramius/package-versions: ...done generating version class
    contao/manager-pluginGenerating plugin class...
    contao/manager-plugin: ...done generating plugin class
    Added the web/preview.php file.
    Added the web/app.php file.
    Added the web/index.php file.

     
    // Clearing the cache for the prod environment with debug                      
     // false                                                                       

     
    [OKCache for the "prod" environment (debug=falsewas successfully cleared.  


     
    // Warming up the cache for the prod environment with debug                    
     // false                                                                       

    09:40:40 ERROR     [consoleError 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 /www/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php on line 111" ["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 /www/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php on line 111"]

    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 givencalled in /ww  
      w
    /htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php on  
       line 111                                                                    
                                                                                   

    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
    Installing dependencies from lock file
    Package operations
    0 installs65 updates0 removals
      
    Updating symfony/mime (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    Updating symfony/http-foundation (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/event-dispatcher (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/debug (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    Updating symfony/http-kernel (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/dependency-injection (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/filesystem (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/config (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/routing (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating contao/manager-plugin (2.7.1 => 2.8.0): Downloading (100%)
      - 
    Updating beberlei/assert (v3.2.6 => v3.2.7): Loading from cache
      
    Updating contao-components/contao (9.0.0 => 9.1.0): Loading from cache
      
    Updating symfony/yaml (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/options-resolver (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    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 twig/twig (v2.12.2 => v2.12.3): Loading from cache
      
    Updating symfony/var-dumper (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/twig-bridge (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    Updating symfony/twig-bundle (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/translation (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating egulias/email-validator (2.1.11 => 2.1.15): Downloading (100%)
      - 
    Updating symfony/inflector (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    Updating symfony/property-access (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    Updating symfony/security (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/security-bundle (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/process (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/lock (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/finder (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/var-exporter (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    Updating symfony/cache (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/framework-bundle (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/expression-language (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/console (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/asset (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating simplepie/simplepie (1.5.3 => 1.5.4): Loading from cache
      
    Updating scheb/two-factor-bundle (v4.11.0 => v4.12.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 (v4.4.1 => v4.4.3): Downloading (100%)
      - 
    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): Downloading (100%)
      - 
    Updating doctrine/common (v2.11.0 => 2.12.0): Downloading (100%)
      - 
    Updating symfony/doctrine-bridge (v4.3.9 => v4.3.10): Downloading (100%)
      - 
    Updating doctrine/doctrine-bundle (1.12.2 => 1.12.7): Downloading (100%)
      - 
    Updating contao/core-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/calendar-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/comments-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/faq-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/listing-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating toflar/psr6-symfony-http-cache-store (2.1.1 => 2.2.1): Downloading (100%)
      - 
    Updating symfony/web-profiler-bundle (v4.3.8 => v4.3.10): Downloading (100%)
      - 
    Updating zendframework/zend-code (3.4.0 => 3.4.1): Downloading (100%)
      - 
    Updating symfony/proxy-manager-bridge (v4.3.8 => v4.3.10): Downloading (100%)
      - 
    Updating monolog/monolog (1.25.2 => 1.25.3): Downloading (100%)
      - 
    Updating symfony/monolog-bridge (v4.3.8 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/dotenv (v4.3.8 => v4.3.10): Downloading (100%)
      - 
    Updating symfony/debug-bundle (v4.3.8 => v4.3.10): Downloading (100%)
      - 
    Updating composer/ca-bundle (1.2.4 => 1.2.6): Downloading (100%)
      - 
    Updating ua-parser/uap-php (v3.9.2 => v3.9.4): Downloading (100%)
      - 
    Updating contao/installation-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/manager-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/news-bundle (4.8.5 => 4.8.7): Downloading (100%)
      - 
    Updating contao/newsletter-bundle (4.8.5 => 4.8.7): Downloading (100%)
    Package zendframework/zend-code is abandonedyou should avoid using it. Use laminas/laminas-code instead.
    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 "cache:warmup" command09:40:40 ERRO  
      R     
    [consoleError 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 /www/htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigS  
      ervice.php on line 111" 
    ["exception" => TypeError },"command" => "cache:  
      warmup --env=prod"
    ,"message" => "Argument 1 passed to Knp\Bundle\TimeBundle  
      \DateTimeFormatter::__construct() must implement interface Symfony\Contract  
      s\Translation\TranslatorInterface, instance of Contao\CoreBundle\Translatio  
      n\Translator given, called in /www/htdocs/w013e143/psv/var/cache/prod/Conta  
      inerG17EnhL/getTwigService.php on line 111"
    ]                                 
                                                                                   
      
    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 givencalled in /  
      
    ww                                                                           
        w
    /htdocs/w013e143/psv/var/cache/prod/ContainerG17EnhL/getTwigService.php   
      on                                                                           
         line 111                                                                  
                                                                                   
                                                                                   
                                                                                   
                                                                                   
      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


    ---

    ### Der Hintergrundprozess wurde unerwartet beendet ### 
    Hat jemand von Euch einen Tipp, was ich da machen kann?
    Vielen Dank,
    Preetz

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

    Standard

    Vermutlich hast du kein "contao/conflicts": "@dev" in deiner composer.json.

  3. #3
    Contao-Fan
    Registriert seit
    15.12.2011.
    Beiträge
    812

    Standard

    ok, vielen Dank für deine Analyse. Aber was muss ich jetzt tun?

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

    Standard

    Stimmt das nun, oder nicht? .

    Wenn es stimmt: füge es entweder selbst hinzu und führe dann ein composer update aus, oder verwende den Contao Manager für die Aktualisierung (der fügt dir das automatisch hinzu).

  5. #5
    Contao-Fan
    Registriert seit
    15.12.2011.
    Beiträge
    812

    Standard

    Ich glaube das stimmt sowas von ;-)

    PHP-Code:
    {
        
    "name""contao/managed-edition",
        
    "type""project",
        
    "description""Contao Open Source CMS",
        
    "license""LGPL-3.0-or-later",
        
    "authors": [
            {
                
    "name""Leo Feyer",
                
    "homepage""https://github.com/leofeyer"
            
    }
        ],
        
    "require": {
            
    "php""^7.1",
            
    "christianbarkowsky/tabcontrol""^3.0",
            
    "codefog/contao-elements-filter""^1.1",
            
    "contao-themes-net/mate-theme-bundle""^2.2.10",
            
    "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.*",
            
    "kmielke/calendar-extended-bundle""^1.0",
            
    "martin-kozianka/contao-timetags""^1.0",
            
    "pdir/social-feed-bundle""^2.2",
            
    "prestep/contao-event-registration-bundle""^0.0.2"
        
    },
        
    "config": {
            
    "component-dir""assets"
        
    },
        
    "extra": {
            
    "branch-alias": {
                
    "dev-4.6""4.6.x-dev"
            
    }
        },
        
    "scripts": {
            
    "post-install-cmd": [
                
    "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            
    ],
            
    "post-update-cmd": [
                
    "Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
            
    ]
        }


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

    Standard

    Hm, doch, du hast es drin. Hast du wirklich eine komplette Paketaktualisierung durchgeführt?

  7. #7
    Contao-Fan
    Registriert seit
    15.12.2011.
    Beiträge
    812

    Standard

    Zitat Zitat von Spooky Beitrag anzeigen
    Hm, doch, du hast es drin. Hast du wirklich eine komplette Paketaktualisierung durchgeführt?
    Vermutlich nicht. Wird aber jetzt erledigt. Melde mich dann noch mal.

  8. #8
    Contao-Fan
    Registriert seit
    15.12.2011.
    Beiträge
    812

    Standard

    Berichte mit Erfolg!
    Der Fehler war ca. 20cm vom Bildschirm entfernt.

    Vielen Dank.

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

    Support Contao

    Standard

    Zitat Zitat von Preetz Beitrag anzeigen
    Berichte mit Erfolg!
    Der Fehler war ca. 20cm vom Bildschirm entfernt.

    Vielen Dank.
    Hmm, das wäre bei mir dann die Tastatur.

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
  •