Ergebnis 1 bis 9 von 9

Thema: Update von 4.4.48 auf 4.9.2 bei Domain Factory führt zu Fehlermeldung

  1. #1
    Contao-Nutzer
    Registriert seit
    12.07.2010.
    Beiträge
    60

    Standard Update von 4.4.48 auf 4.9.2 bei Domain Factory führt zu Fehlermeldung

    Hallo zusammen,

    leider habe ich bis jetzt nichts zu meiner Fehlermeldung durch suchen gefunden. Ich hab schon einige Updates von 4.4.48 auf 4.9.2 bei Hetzner ohne Probleme durchführen können.

    Leider gelingt mir das bei Domain Factory nicht. Bei versuch ein Update von 4.4.48 auf 4.9.2 durchzuführen bekomme ich leider immer folgende Fehlermeldung:

    Code:
    > 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 89:
                                                                                
      An error occurred while executing the "contao:install-web-dir" command:   
      In ParameterBag.php line 100:                                             
                                                                                
        You have requested a non-existent parameter "prepend_locale".           
                                                                                
    
    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 ###
    Kennst einer von euch dieses Problem und kann mit vielleicht weiter helfen?

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

    Standard

    Du hast in deiner parameters.yml anscheinend prepend_locale stehen. Diese Konfiguration gibst du in die config/config.yml:
    Code:
    contao:
        prepend_locale: true

  3. #3
    Contao-Nutzer
    Registriert seit
    12.07.2010.
    Beiträge
    60

    Standard

    Danke für den Tip.

    In der parameters.yml stand vorher

    prepend_locale: "%prepend_locale%"

    das habe ich durch

    prepend_locale: true

    ersetzt.

    Jetzt läuft die Installation durch. Leider bleibt nach der Update die Version aber auf 4.4.48.

    Ausgabe:

    HTML-Code:
    Datenbank aktualisieren
    $ /usr/local/bin/php7.3.6-cli -q /kunden/314677_53840/contao-cms/web/contao-manager.phar.php composer require contao/manager-bundle=4.9.* contao/news-bundle=4.9.* contao/calendar-bundle=4.9.* contao/faq-bundle=4.9.* contao/comments-bundle=4.9.* contao/newsletter-bundle=4.9.* contao/listing-bundle=4.9.* --no-suggest --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    
    /kunden/314677_53840/contao-cms/composer.json has been updated
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    $ /usr/local/bin/php7.3.6-cli -q /kunden/314677_53840/contao-cms/web/contao-manager.phar.php composer remove contao/core-bundle contao/installation-bundle --no-update --no-scripts --no-ansi --no-interaction
    
    contao/core-bundle is not required in your composer.json and has not been removed
    contao/installation-bundle is not required in your composer.json and has not been removed
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    > Resolving dependencies using Composer Cloud v2.2.7
    
    # Job ID BAQL1InpdWZNsDdeQIIRsTHCjDpUzBoUUyvTo7U75Sk0LJ9HkIV8OhlGTlSEmPj7 completed in 41 seconds
    # Memory usage: 449.62MB (peak: 2096.18MB), time: 34.86s.
    
    $ /usr/local/bin/php7.3.6-cli -q /kunden/314677_53840/contao-cms/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
    
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    
     // 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                                                                       
    
     [OK] Cache for the "prod" environment (debug=false) was successfully warmed.   
    
    
     Trying to install assets as relative symbolic links.
    
     --- ------------------------------- ------------------ 
          Bundle                          Method / Error    
     --- ------------------------------- ------------------ 
      ?   ContaoCoreBundle                relative symlink  
      ?   ContaoCalendarBundle            relative symlink  
      ?   ContaoCommentsBundle            relative symlink  
      ?   ContaoFaqBundle                 relative symlink  
      ?   ContaoNewsBundle                relative symlink  
      ?   ContaoNewsletterBundle          relative symlink  
      ?   RockSolidColumnsBundle          relative symlink  
      ?   RockSolidCustomElementsBundle   relative symlink  
      ?   RockSolidFrontendHelperBundle   relative symlink  
      ?   RockSolidIconPickerBundle       relative symlink  
      ?   RockSolidMegaMenuBundle         relative symlink  
      ?   RockSolidSliderBundle           relative symlink  
      ?   RockSolidThemeAssistantBundle   relative symlink  
     --- ------------------------------- ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    Added the system/initialize.php file.
    Symlinked the system/config/tcpdf.php file.
    
     --- -------------------------------------- ---------------------------------------------------------------- 
          Symlink                                Target / Error                                                  
     --- -------------------------------------- ---------------------------------------------------------------- 
      !   web/files/bilder/zulieferer            Skipped because files/bilder will be symlinked.                 
      !   web/files/bilder/kooperationspartner   Skipped because files/bilder will be symlinked.                 
      ?   web/files/layout                       files/layout                                                    
      ?   web/files/demo                         files/demo                                                      
      ?   web/files/mitarbeiter                  files/mitarbeiter                                               
      ?   web/files/tao                          files/tao                                                       
      ?   web/files/bilder                       files/bilder                                                    
      ?   system/themes/flexible                 vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
      ?   web/assets                             assets                                                          
      ?   web/system/themes                      system/themes                                                   
      ?   system/logs                            var/logs                                                        
     --- -------------------------------------- ---------------------------------------------------------------- 
    
    Loading composer repositories with package information
    Installing dependencies from lock file
    Package operations: 23 installs, 23 updates, 75 removals
      - Removing zendframework/zend-eventmanager (3.2.1)
      - Removing zendframework/zend-code (3.4.1)
      - Removing wikimedia/less.php (1.8.2)
      - Removing webignition/robots-txt-file (3.0)
      - Removing webignition/disallowed-character-terminated-string (2.0)
      - Removing symfony/var-exporter (v5.0.8)
      - Removing symfony/translation-contracts (v2.0.1)
      - Removing symfony/polyfill-iconv (v1.16.0)
      - Removing symfony/event-dispatcher-contracts (v1.1.7)
      - Removing symfony/cache-contracts (v2.0.1)
      - Removing spomky-labs/otphp (v9.1.4)
      - Removing scheb/two-factor-bundle (v4.16.0)
      - Removing ramsey/uuid (3.9.3)
      - Removing psr/http-factory (1.0.1)
      - Removing psr/http-client (1.0.0)
      - Removing paragonie/constant_time_encoding (v2.3.0)
      - Removing ocramius/proxy-manager (2.2.3)
      - Removing ocramius/package-versions (1.5.1)
      - Removing nyholm/psr7 (1.2.1)
      - Removing league/uri-schemes (1.2.1)
      - Removing league/uri-parser (1.4.1)
      - Removing league/uri-interfaces (1.1.1)
      - Removing league/uri-hostname-parser (1.1.1)
      - Removing league/uri-components (1.8.2)
      - Removing lcobucci/jwt (3.3.1)
      - Removing egulias/email-validator (2.1.17)
      - Removing dragonmantank/cron-expression (v2.3.0)
      - Removing doctrine/orm (v2.7.2)
      - Removing doctrine/instantiator (1.3.0)
      - Removing dasprid/enum (1.0.0)
      - Removing beberlei/assert (v3.2.7)
      - Removing bacon/bacon-qr-code (2.0.0)
      - Removing ausi/slug-generator (v1.1.0)
      - Removing terminal42/service-annotation-bundle (1.0.0)
      - Removing symfony/error-handler (v4.4.8)
      - Removing terminal42/escargot (0.5.9)
      - Removing symfony-cmf/routing (2.3.1)
      - Removing symfony/config (v4.4.8)
      - Removing symfony/dependency-injection (v4.4.8)
      - Removing symfony/http-foundation (v4.4.8)
      - Removing symfony/http-kernel (v4.4.8)
      - Removing symfony/yaml (v4.4.8)
      - Removing symfony/event-dispatcher (v4.4.8)
      - Removing symfony/options-resolver (v5.0.8)
      - Removing symfony/filesystem (v4.4.8)
      - Removing symfony/debug (v4.4.8)
      - Removing symfony/var-dumper (v4.4.8)
      - Removing symfony/asset (v4.4.8)
      - Removing symfony/cache (v4.4.8)
      - Removing symfony/console (v4.4.8)
      - Removing symfony/dom-crawler (v4.4.8)
      - Removing symfony/expression-language (v4.4.8)
      - Removing symfony/finder (v4.4.8)
      - Removing symfony/framework-bundle (v4.4.8)
      - Removing symfony/lock (v4.4.8)
      - Removing symfony/monolog-bridge (v4.4.8)
      - Removing symfony/process (v4.4.8)
      - Removing symfony/routing (v4.4.8)
      - Removing symfony/security-bundle (v4.4.8)
      - Removing symfony/translation (v4.4.8)
      - Removing symfony/twig-bundle (v4.4.8)
      - Removing symfony/doctrine-bridge (v4.4.8)
      - Removing symfony/templating (v5.0.8)
      - Removing symfony/property-access (v5.0.8)
      - Removing symfony/security-core (v4.4.8)
      - Removing symfony/security-csrf (v5.0.8)
      - Removing symfony/security-guard (v4.4.8)
      - Removing symfony/security-http (v4.4.8)
      - Removing symfony/twig-bridge (v4.4.8)
      - Removing symfony/inflector (v5.0.8)
      - Removing symfony/debug-bundle (v4.4.8)
      - Removing symfony/dotenv (v4.4.8)
      - Removing symfony/proxy-manager-bridge (v4.4.8)
      - Removing symfony/stopwatch (v4.4.8)
      - Removing symfony-cmf/routing-bundle (2.4.0)
      - Downgrading contao-components/contao (9.1.0 => 7.1.5): Loading from cache
      - Downgrading contao-components/dropzone (5.5.0 => 4.3.0): Loading from cache
      - Downgrading contao-components/highlight (9.16.1 => 8.9.1): Loading from cache
      - Downgrading contao-components/jquery (3.4.1 => 1.12.4): Loading from cache
      - Downgrading contao-components/tinymce4 (4.9.6 => 4.6.7.3): Loading from cache
      - Downgrading twig/twig (v2.12.5 => v1.42.5): Loading from cache
      - Installing symfony/polyfill-php70 (v1.16.0): Loading from cache
      - Installing symfony/polyfill-util (v1.16.0): Loading from cache
      - Installing symfony/polyfill-php56 (v1.16.0): Loading from cache
      - Removing symfony/web-profiler-bundle (v4.4.8)
      - Installing symfony/symfony (v3.4.40): Loading from cache
      - Installing symfony/polyfill-intl-icu (v1.16.0): Loading from cache
      - Installing symfony/polyfill-apcu (v1.16.0): Loading from cache
      - Installing psr/link (1.0.0): Loading from cache
      - Installing fig/link-util (1.1.1): Loading from cache
      - Updating symfony/http-client (v4.4.8 => v5.0.8): Loading from cache
      - Downgrading php-http/httplug (2.1.0 => v1.1.0): Loading from cache
      - Installing ralouphie/getallheaders (3.0.3): Loading from cache
      - Installing guzzlehttp/psr7 (1.6.1): Loading from cache
      - Installing guzzlehttp/promises (v1.3.1): Loading from cache
      - Installing guzzlehttp/guzzle (6.5.3): Loading from cache
      - Installing php-http/guzzle6-adapter (v1.1.1): Loading from cache
      - Downgrading php-http/client-common (2.1.0 => 1.10.0): Loading from cache
      - Installing terminal42/header-replay-bundle (1.5.3): Loading from cache
      - Installing tecnickcom/tcpdf (6.3.5): Loading from cache
      - Downgrading swiftmailer/swiftmailer (v6.2.3 => v5.4.12): Loading from cache
      - Downgrading symfony/swiftmailer-bundle (v3.4.0 => v2.6.7): Loading from cache
      - Installing oyejorge/less.php (v1.7.0.14): Loading from cache
      - Installing jeremykendall/php-domain-parser (3.0.0): Loading from cache
      - Installing league/uri (4.2.2): Loading from cache
      - Downgrading knplabs/knp-time-bundle (v1.11.0 => v1.10.0): Loading from cache
      - Downgrading contao/image (1.0.1 => 0.3.9): Loading from cache
      - Installing contao-components/respimage (1.4.2): Loading from cache
      - Installing contao-components/mediaelement (4.2.14): Loading from cache
      - Installing contao-components/html5shiv (3.7.3): Loading from cache
      - Installing contao-components/compass (0.12.2.1): Loading from cache
      - Downgrading contao/core-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/calendar-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/comments-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/faq-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/listing-bundle (4.9.2 => 4.4.48): Loading from cache
      - Installing sensiolabs/security-checker (v6.0.3): Loading from cache
      - Installing sensio/distribution-bundle (v5.0.25): Loading from cache
      - Downgrading contao/installation-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/manager-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/news-bundle (4.9.2 => 4.4.48): Loading from cache
      - Downgrading contao/newsletter-bundle (4.9.2 => 4.4.48): Loading from cache
    Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
    Generating optimized autoload files
    > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
    
    # Process terminated with exit code 0
    # Result: OK
    
    
    ---
    
    ### Prozess erfolgreich abgeschlossen ###

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

    Standard

    Zitat Zitat von typouser07 Beitrag anzeigen
    Danke für den Tip.

    In der parameters.yml stand vorher

    prepend_locale: "%prepend_locale%"

    das habe ich durch

    prepend_locale: true

    ersetzt.
    Du solltest es aber lieber komplett aus der parameters.yml entfernen und stattdessen so wie beschrieben in die config/config.yml schreiben.



    Zitat Zitat von typouser07 Beitrag anzeigen
    Jetzt läuft die Installation durch. Leider bleibt nach der Update die Version aber auf 4.4.48.
    Poste deine composer.json

  5. #5
    Contao-Nutzer
    Registriert seit
    12.07.2010.
    Beiträge
    60

    Standard

    OK. In dem Verzeichnis app/config/ gab es nur die parameters.yml. Habe dort nun eine weitere Datei erstellt names: config.yml


    config.yml

    Code:
    contao:
        prepend_locale: true
    Danach habe ich dann beim Updateversuch die folgende Fehlermeldung bekommen:

    Code:
    > 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 89:
                                                                                   
      An error occurred while executing the "contao:install-web-dir" command:      
      In ArrayNode.php line 327:                                                   
                                                                                   
                                                                                   
        Unrecognized option "disable_ip_check" under "contao.security". Available  
       o                                                                           
        ption is "two_factor".                                                     
                                                                                   
    
    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 ###

    Also aus der parameters.yml den folgenden Entrag entfernt:

    Code:
    security:
        disable_ip_check: true
    Und dann ist die Installation durchgelaufen.

    Was mache ich jetzt mit dem Eintag:

    Code:
    security:
        disable_ip_check: true

    Muss diesen noch in die config.yml rein? Oder kann ich das jetzt so lassen?

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

    Standard

    Warum hattest du disable_ip_check in der parameters.yml?

  7. #7
    Contao-Nutzer
    Registriert seit
    12.07.2010.
    Beiträge
    60

    Standard

    Das kann ich dir leider nicht sagen. Habe nichts manuell in die Datei eingetragen. Das hat Contao wohl selber gemacht.

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

    Support Contao

    Standard

    Ich bin mir ziemlich sicher, dass das Contao nicht selbst macht.
    Ich habe Dir mit meinen Hinweisen geholfen und Du möchtest Dich bedanken?
    Unterstütze bitte das Contao-Projekt (Button Links)
    Weitere Spendenmöglichkeiten
    ------------------------------------------------------------------------------------------------------
    Contao-Dokumentation: Contao-Handbuch und Contao-Entwickler-Doku
    Contao-Online-Video-Kurse: Contao Academy
    Funktionalität erweitern: Contao-Erweiterungen

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




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

    Standard

    Ja, Contao trägt so etwas dort nicht ein.

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
  •