Ergebnis 1 bis 9 von 9

Thema: Update 4.12.7 -> 4.13.4 funktioniert nicht

  1. #1
    Contao-Nutzer
    Registriert seit
    14.04.2011.
    Ort
    Bayreuth
    Beiträge
    87
    User beschenken
    Wunschliste

    Standard Update 4.12.7 -> 4.13.4 funktioniert nicht

    Hallo,

    ich habe hier eine Contao 4.12 laufen und möchte diese Installation auf 4.13 hochziehen. Leider funktioniert das nicht.

    Ausgangssituation:
    • Contao 4.12.7
    • Contao Manager 1.5.5
    • alle zusätzlich installierten Pakete aktualisiert
    • läuft auf einem Hetzner Server


    4.13.4 wird als verfügbare Version im Contao Manager angezeigt. Wenn ich diese zum Installieren anklicke, startet der Prozess und die Installation läuft imo ohne Fehler durch (Protokoll hänge ich an). Auffällig ist dann im Anschluss schon, dass keine Änderungen in der Datenbank anstehen und bei der Prüfung im Backend ist die Version weiterhin auf 4.12.7. Zurück im Contao Manager steht weiterhin das Update auf die 4.13.4 bereit.

    Jemand eine Idee, was hier noch schiefläuft?

    Code:
    Pakete werden aktualisiert
    composer update contao/manager-bundle fritzmg/contao-file-access madeyourday/contao-rocksolid-antispam 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 oneup/contao-ical-export terminal42/contao-changelanguage terminal42/notification_center contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/comments-bundle contao/newsletter-bundle contao/listing-bundle contao/conflicts contao/core-bundle contao/installation-bundle --no-install
    
    Erfolgreich nach 12 Sekunden. RAM-Verbrauch: 17.22MB (Spitze: 183.32MB), Dauer: 8.85s.
    > Resolving dependencies using Composer Cloud v3.4.4
    !!! Current server is sponsored by: Contao Association !!!
    [6.8MiB/0.17s] Loading composer repositories with package information
    [72.0MiB/7.41s] Updating dependencies
    [59.0MiB/8.79s] Nothing to modify in lock file
    [16.7MiB/8.84s] <warning>Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.</warning>
    [16.7MiB/8.84s] <warning>Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.</warning>
    [16.7MiB/8.84s] <warning>Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.</warning>
    [17.2MiB/8.85s] Memory usage: 17.22MB (peak: 183.32MB), time: 8.85s.
    [17.2MiB/8.85s] Finished Composer Cloud resolving.
    # Job ID 8tDibjRWy4Rrh87K4M8j2jiQIAsCkFVnTQmNpxDaB6pnTbBdEfyger2P37uS5egmbg8rflV4uElrm4ovzuOWin15vJU completed in 12 seconds
    # Memory usage: 17.22MB (peak: 183.32MB), time: 8.85s.
    Code:
    [16.7MiB/8.84s] <warning>Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.</warning>
    [16.7MiB/8.84s] <warning>Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.</warning>
    [17.2MiB/8.85s] Memory usage: 17.22MB (peak: 183.32MB), time: 8.85s.
    [17.2MiB/8.85s] Finished Composer Cloud resolving.
    # Job ID 8tDibjRWy4Rrh87K4M8j2jiQIAsCkFVnTQmNpxDaB6pnTbBdEfyger2P37uS5egmbg8rflV4uElrm4ovzuOWin15vJU completed in 12 seconds
    # Memory usage: 17.22MB (peak: 183.32MB), time: 8.85s.
    composer install
    $ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /srv/http/Webseite/web/contao-manager.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
    Installing dependencies from lock file
    Verifying lock file contents can be installed on current platform.
    Nothing to install, update or remove
    Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
    Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
    Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
    Generating optimized autoload files
    composer/package-versions-deprecated: Generating version class...
    composer/package-versions-deprecated: ...done generating version class
    contao/manager-plugin: Generating plugin class...
    contao/manager-plugin: ...done generating plugin class
    94 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    > @php vendor/bin/contao-setup --no-ansi
    Added the public/preview.php file.
    Added the public/index.php file.
    Added the public/app.php file.
     // Clearing the cache for the prod environment with debug                      
     // false                                                                       
     [OK] Cache for the "prod" environment (debug=false) was successfully cleared.  
     // Clearing the cache for the dev environment with debug                       
     // true                                                                        
     [OK] Cache for the "dev" environment (debug=true) was successfully cleared.    
     // Warming up the cache for the prod environment with debug                    
     // false                                                                       
    PHP Warning:  Undefined array key "tl_class" in /srv/http/Webseite/var/cache/prod/contao/dca/tl_member.php on line 273
    PHP Warning:  Undefined array key "tl_nc_message" in /srv/http/Webseite/vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php on line 461
     [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  
      ?   RockSolidCustomElementsBundle    relative symlink  
      ?   MultiColumnWizardBundle          relative symlink  
      ?   ContaoFaqBundle                  relative symlink  
      ?   RockSolidColumnsBundle           relative symlink  
      ?   ContaoCommentsBundle             relative symlink  
      ?   ContaoNewsBundle                 relative symlink  
      ?   RockSolidFrontendHelperBundle    relative symlink  
      ?   RockSolidMegaMenuBundle          relative symlink  
      ?   RockSolidThemeAssistantBundle    relative symlink  
      ?   ContaoCalendarBundle             relative symlink  
      ?   ContaoNewsletterBundle           relative symlink  
      ?   RockSolidIconPickerBundle        relative symlink  
      ?   Terminal42ChangeLanguageBundle   relative symlink  
      ?   RockSolidSliderBundle            relative symlink  
     --- -------------------------------- ------------------ 
     [OK] All assets were successfully installed.                                   
     --- ------------------------------------------------------------ ---------------------------------------------------------------- 
          Symlink                                                      Target / Error                                                  
     --- ------------------------------------------------------------ ---------------------------------------------------------------- 
      ?   web/files/tao                                                files/tao                                                       
      ?   web/files/static                                             files/static                                                    
                                                
      ?   web/files/beacon                                             files/beacon                                                    
                                                          
      ?   web/files/styles                                             files/styles                                                    
              
      ?   web/system/modules/dcawizard/assets                          system/modules/dcawizard/assets                                 
      ?   web/system/modules/haste/assets                              system/modules/haste/assets                                     
      ?   web/system/modules/notification_center/assets                system/modules/notification_center/assets                       
      ?   system/themes/flexible                                       vendor/contao/core-bundle/src/Resources/contao/themes/flexible  
      ?   web/assets                                                   assets                                                          
      ?   web/system/themes                                            system/themes                                                   
      ?   system/logs                                                  var/logs                                                        
      ?   web/vendor/scrivo/highlight_php/styles                       vendor/scrivo/highlight.php/styles                              
     --- ------------------------------------------------------------ ---------------------------------------------------------------- 
    Done! Please open the Contao install tool or run contao:migrate on the command line to make sure the database is up-to-date.
    # Process terminated with exit code 0
    # Result: OK
    Vielen Dank!

  2. #2
    Contao-Nutzer
    Registriert seit
    14.04.2011.
    Ort
    Bayreuth
    Beiträge
    87
    User beschenken
    Wunschliste

    Standard

    Folgendes ist installiert:

    Code:
    Contao Open Source CMS 4.12
    	Contao News
    	Contao Kalender
    	Contao FAQ
    	Contao Kommentare
    	Contao Newsletter
    	Contao Auflistungen
    	
    File Access
    RockSolid Antispam
    RockSolid Columns
    RockSolid Icon Picker
    RockSolid Mega Menu
    RockSolid Slider
    RockSolid Theme Assistant
    oneup/contao-ical-export
    Sprachenwechsler
    Notificaton Center

  3. #3
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    Hast du denn händisch bei der Contao Version auf 4.13.* geändert und danach alle Pakete aktualisiert?
    Angehängte Grafiken Angehängte Grafiken

  4. #4
    Contao-Nutzer
    Registriert seit
    14.04.2011.
    Ort
    Bayreuth
    Beiträge
    87
    User beschenken
    Wunschliste

    Standard

    Nein. Da stand noch ^4.12 drinnen. Nach der Änderung auf 4.13.* erhalte ich auch eine andere Meldung.

    Code:
    composer require contao/manager-bundle=4.13.* contao/news-bundle=4.13.* contao/calendar-bundle=4.13.* contao/faq-bundle=4.13.* contao/listing-bundle=4.13.*
    $ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /srv/http/Webseite/web/contao-manager.php composer require contao/manager-bundle=4.13.* contao/news-bundle=4.13.* contao/calendar-bundle=4.13.* contao/faq-bundle=4.13.* contao/listing-bundle=4.13.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
    /srv/http/Webseite/composer.json has been updated
    # Process terminated with exit code 0
    # Result: OK
    composer update contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/listing-bundle contao/conflicts --no-install
    > Resolving dependencies using Composer Cloud v3.4.4
    !!! Current server is sponsored by: Contao Association !!!
    [6.7MiB/0.16s] Loading composer repositories with package information
    [64.3MiB/6.13s] Updating dependencies
    [94.4MiB/6.42s] Your requirements could not be resolved to an installable set of packages.
    [94.4MiB/6.42s] 
      Problem 1
        - contao/manager-bundle[4.13.0, ..., 4.13.4] require symfony/console ^5.4 -> found symfony/console[v5.4.0, ..., v5.4.8] but these were not loaded, likely because it conflicts with another require.
        - Root composer.json requires contao/manager-bundle 4.13.* -> satisfiable by contao/manager-bundle[4.13.0, ..., 4.13.4].
    [94.4MiB/6.42s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [36.7MiB/6.46s] Memory usage: 36.67MB (peak: 169.64MB), time: 6.47s.
    [36.7MiB/6.46s] Finished Composer Cloud resolving.
    # Cloud Job ID erqpGV6SlY5AmbnIfdQlDRrsKPvxE6ytoR5vGt2agcMBcK7k5pDti03cH2sHmQ4gTY181wJ4qVspZPTWihP6zJG675LQKeFGMouUaBYmvcrSrhD failed
    composer install
    Da jetzt mal schauen. Aber wenn ich das symfony Paket reinbringe, dann habe ich wieder andere Probleme... Ach ja, die Welt könnte so einfach sein...

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

    Standard

    Laut der Konsolenausgabe hattest du nicht alle Pakete zum Update markiert.
    » sponsor me via GitHub or PayPal or Revolut

  6. #6
    Contao-Urgestein Avatar von Kahmoon
    Registriert seit
    22.06.2009.
    Ort
    München
    Beiträge
    5.280

    Standard

    Zitat Zitat von Kahmoon Beitrag anzeigen
    ...und danach alle Pakete aktualisiert?
    ;-)

  7. #7
    Contao-Nutzer
    Registriert seit
    14.04.2011.
    Ort
    Bayreuth
    Beiträge
    87
    User beschenken
    Wunschliste

    Standard

    OK, das mit dem allen habe ich irgendwie missverstanden. Jetzt nachgeholt:

    Code:
    # Process terminated with exit code 0
    # Result: OK
    composer update fritzmg/contao-file-access madeyourday/contao-rocksolid-antispam 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 oneup/contao-ical-export terminal42/contao-changelanguage terminal42/notification_center contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/listing-bundle contao/conflicts --no-install
    > Resolving dependencies using Composer Cloud v3.4.4
    !!! Current server is sponsored by: Contao Association !!!
    [6.7MiB/0.17s] Loading composer repositories with package information
    [70.3MiB/6.98s] Updating dependencies
    [143.4MiB/7.56s] Your requirements could not be resolved to an installable set of packages.
    [143.4MiB/7.56s] 
      Problem 1
        - contao/manager-bundle[4.13.0, ..., 4.13.4] require symfony/console ^5.4 -> found symfony/console[v5.4.0, ..., v5.4.8] but these were not loaded, likely because it conflicts with another require.
        - Root composer.json requires contao/manager-bundle 4.13.* -> satisfiable by contao/manager-bundle[4.13.0, ..., 4.13.4].
    [143.4MiB/7.56s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [41.5MiB/7.61s] Memory usage: 41.47MB (peak: 178.73MB), time: 7.62s.
    [41.5MiB/7.62s] Finished Composer Cloud resolving.
    # Cloud Job ID FlM6h9Tetzbp1iZwnqQwKRpjNtZz00pOLktenWLREDUhUbnpZSTx0ascey67FrEDo0Po2gJZPv7CmhlMflu1e6O4by failed
    composer install
    Dann wieder das symfony/console Paket eingebracht und Contao auf 4.13.* mit allen Paketen aktualisiert und ich lande hier:

    Code:
    composer update terminal42/notification_center terminal42/contao-changelanguage symfony/console oneup/contao-ical-export madeyourday/contao-rocksolid-slider madeyourday/contao-rocksolid-mega-menu madeyourday/contao-rocksolid-icon-picker madeyourday/contao-rocksolid-frontend-helper madeyourday/contao-rocksolid-custom-elements madeyourday/contao-rocksolid-columns madeyourday/contao-rocksolid-antispam fritzmg/contao-file-access contao/manager-bundle contao/news-bundle contao/calendar-bundle contao/faq-bundle contao/listing-bundle contao/conflicts --no-install
    > Resolving dependencies using Composer Cloud v3.4.4
    !!! Current server is sponsored by: Contao Association !!!
    [6.7MiB/0.18s] Loading composer repositories with package information
    [69.6MiB/6.68s] Updating dependencies
    [139.6MiB/7.33s] Your requirements could not be resolved to an installable set of packages.
    [139.6MiB/7.33s] 
      Problem 1
        - Root composer.json requires symfony/console ^5.4, found symfony/console[v5.4.0, ..., v5.4.8] but these were not loaded, likely because it conflicts with another require.
      Problem 2
        - sensiolabs/security-checker is locked to version v4.1.8 and an update of this package was not requested.
        - sensiolabs/security-checker v4.1.8 requires symfony/console ~2.7|~3.0|~4.0 -> found symfony/console[v2.7.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.41] but it conflicts with your root composer.json require (^5.4).
      Problem 3
        - contao/core-bundle[4.9.0, ..., 4.10.4] require php ^7.2 -> your php version (8.1.6.0) does not satisfy that requirement.
        - contao/core-bundle[4.9.10, ..., 4.10.7] require symfony/console 4.4.* -> found symfony/console[v4.4.0, ..., v4.4.41] but it conflicts with your root composer.json require (^5.4).
        - contao/core-bundle[4.11.0, ..., 4.11.9] require symfony/console 4.4.* || 5.2.* -> found symfony/console[v4.4.0, ..., v4.4.41, v5.2.0, ..., v5.2.14] but it conflicts with your root composer.json require (^5.4).
        - contao/core-bundle[4.12.0, ..., 4.12.7] require symfony/console ^4.4 || ^5.2 -> found symfony/console[v4.4.0, ..., v4.4.41, v5.2.0, ..., v5.4.8] but these were not loaded, likely because it conflicts with another require.
        - contao/core-bundle[4.13.0, ..., 4.13.4] require symfony/console ^5.4 -> found symfony/console[v5.4.0, ..., v5.4.8] but these were not loaded, likely because it conflicts with another require.
        - oneup/contao-ical-export[2.1.0, ..., 2.1.2] require contao/core-bundle ^4.9 -> satisfiable by contao/core-bundle[4.9.0, ..., 4.13.4].
        - Root composer.json requires oneup/contao-ical-export ^2.1 -> satisfiable by oneup/contao-ical-export[2.1.0, 2.1.1, 2.1.2].
    [139.6MiB/7.33s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
    [39.2MiB/7.39s] Memory usage: 39.22MB (peak: 176.38MB), time: 7.39s.
    [39.2MiB/7.39s] Finished Composer Cloud resolving.
    # Cloud Job ID ZCB2ug1HXlITA4YtFNtNn0bvtS3OMunNyiZlddzA0KsNom47O4yTdd6PjJ2kDZP4 failed
    Ich seh schon, das wird was größeres werden, wenn mir hier auch noch die PHP-Version angemeckert wird :-/

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

    Standard

    Du hast sensiolabs/security-checker in deiner composer.json. Entferne das. Führe dann "Composer Update ausführen" über die Systemwartung durch.
    » sponsor me via GitHub or PayPal or Revolut

  9. #9
    Contao-Nutzer
    Registriert seit
    14.04.2011.
    Ort
    Bayreuth
    Beiträge
    87
    User beschenken
    Wunschliste

    Standard

    Super. War doch ganz einfach :-D

    Jetzt noch ein paar Kleinigkeiten bei der Datenbankmigration, aber das ist eher mein Fachgebiet. Das bekomme ich hin. Vielen lieben Dank!!!

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
  •