Ergebnis 1 bis 8 von 8

Thema: Update von 5.5.16 auf 5.6.1 klappt nicht ohne Felermeldung

  1. #1
    Contao-Nutzer
    Registriert seit
    23.11.2022.
    Beiträge
    14

    Standard Update von 5.5.16 auf 5.6.1 klappt nicht ohne Felermeldung

    Hallo Zusammen,

    ich habe ein Contao Installation 5.5.16 und wollte auf 5.6.1 aktualisieren.
    Die Versionsbedingung steht auf 5.*

    Das Update läuft durch und zeigt keine Fehlermeldung, allerdings wird auch nicht aktualisiert.

    Habt Ihr mir einen Tipp?

    Danke und Grüße

    Josef

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

    Support Contao

    Standard

    Als Versionsbedingung würde ich 5.6.* verwenden.

    Zitat Zitat von jossera Beitrag anzeigen
    Das Update läuft durch und zeigt keine Fehlermeldung, allerdings wird auch nicht aktualisiert.


    Was genau heißt das? Eigentlich wird bei einem Update immer etwas ausgegeben (entweder direkt auf der Konsole oder im Konsolenfenster des Managers)
    Wie führst Du das Update durch (Konsole oder Manager)?

    Poste außerdem Deine composer.json


    Geändert von mlweb (31.08.2025 um 16:50 Uhr)
    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.




  3. #3
    Contao-Nutzer
    Registriert seit
    23.11.2022.
    Beiträge
    14

    Standard

    Update läuft über den Manager.

    composer.json:

    Code:
    {
        "type": "project",
        "require": {
            "contao-themes-net/nature-theme-bundle": "^2.3",
            "contao/calendar-bundle": "5.*",
            "contao/comments-bundle": "5.*",
            "contao/conflicts": "*@dev",
            "contao/faq-bundle": "5.*",
            "contao/listing-bundle": "5.*",
            "contao/manager-bundle": "5.*",
            "contao/news-bundle": "5.*",
            "contao/newsletter-bundle": "5.*",
            "heimseiten/contao-google-fonts-open-sans-bundle": "^1.1",
            "heimseiten/contao-sticky-footer-backend-bundle": "^1.1",
            "heimseiten/contao-text-image-positioning-bundle": "^2.1",
            "madeyourday/contao-rocksolid-custom-elements": "^2.4",
            "madeyourday/contao-rocksolid-frontend-helper": "^2.2",
            "madeyourday/contao-rocksolid-slider": "^2.2",
            "pdir/klaro-consent-manager": "^1.2",
            "sineos/filemanager-bundle": "^2.0"
        },
        "extra": {
            "public-dir": "public",
            "contao-component-dir": "assets"
        },
        "scripts": {
            "post-install-cmd": [
                "@php vendor/bin/contao-setup"
            ],
            "post-update-cmd": [
                "@php vendor/bin/contao-setup"
            ]
        }
    }
    
    
    Konsolen-Ausgabe:
    
    > Resolving dependencies using Composer Cloud v3.8.2
    
    [7.6MiB/0.22s] Loading composer repositories with package information
    [91.9MiB/14.40s] Updating dependencies
    [74.7MiB/15.27s] Nothing to modify in lock file
    [28.4MiB/15.31s] Writing lock file
    [15.9MiB/15.59s] <warning>Found 4 security vulnerability advisories affecting 1 package.</warning>
    [15.9MiB/15.60s] Run "composer audit" for a full list of advisories.
    [16.4MiB/15.60s] Memory usage: 16.45MB (peak: 214.97MB), time: 15.61s.
    [16.4MiB/15.61s] Finished Composer Cloud resolving.
    
    
    # Job ID NZBaRvbANQjZuXy9vud4wh8Soz5bz6w7R9IC2PpZlrHqoHFpvlXtu557TAKrskFk9iBemcJJOsCc4aUHsiHGoU7iBe5dcYvOXRbR9q3swArvWLiCUw7Himzk completed in 13 seconds
    # Memory usage: 16.45MB (peak: 214.97MB), time: 15.61s.
    
    $ /bin/php84 -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/public/contao-manager.phar.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
    Generating optimized autoload files
    contao/manager-plugin: Dumping generated plugins file...
    contao/manager-plugin: ...done dumping generated plugins file
    136 packages you are using are looking for funding.
    Use the `composer fund` command to find out more!
    Deprecation Notice: voku\helper\UTF8::extract_text(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:1622
    Deprecation Notice: voku\helper\UTF8::file_get_contents(): Implicitly marking parameter $offset as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:1842
    Deprecation Notice: voku\helper\UTF8::file_get_contents(): Implicitly marking parameter $max_length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:1842
    Deprecation Notice: voku\helper\UTF8::getSupportInfo(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:2580
    Deprecation Notice: voku\helper\UTF8::html_entity_decode(): Implicitly marking parameter $flags as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:3029
    Deprecation Notice: voku\helper\UTF8::lcfirst(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:4301
    Deprecation Notice: voku\helper\UTF8::lcwords(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:4365
    Deprecation Notice: voku\helper\UTF8::ltrim(): Implicitly marking parameter $chars as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:4444
    Deprecation Notice: voku\helper\UTF8::rtrim(): Implicitly marking parameter $chars as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:5625
    Deprecation Notice: voku\helper\UTF8::str_camelize(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:5762
    Deprecation Notice: voku\helper\UTF8::str_delimit(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:6022
    Deprecation Notice: voku\helper\UTF8::str_replace(): Implicitly marking parameter $count as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:7678
    Deprecation Notice: voku\helper\UTF8::str_slice(): Implicitly marking parameter $end as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:7913
    Deprecation Notice: voku\helper\UTF8::str_titleize(): Implicitly marking parameter $ignore as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:8704
    Deprecation Notice: voku\helper\UTF8::str_titleize(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:8704
    Deprecation Notice: voku\helper\UTF8::str_titleize(): Implicitly marking parameter $word_define_chars as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:8704
    Deprecation Notice: voku\helper\UTF8::str_to_lines(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:9064
    Deprecation Notice: voku\helper\UTF8::str_to_words(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:9111
    Deprecation Notice: voku\helper\UTF8::str_upper_camelize(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:9352
    Deprecation Notice: voku\helper\UTF8::strcspn(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:9515
    Deprecation Notice: voku\helper\UTF8::strip_tags(): Implicitly marking parameter $allowable_tags as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:9652
    Deprecation Notice: voku\helper\UTF8::strspn(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11118
    Deprecation Notice: voku\helper\UTF8::strtocasefold(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11348
    Deprecation Notice: voku\helper\UTF8::strtolower(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11403
    Deprecation Notice: voku\helper\UTF8::strtoupper(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11483
    Deprecation Notice: voku\helper\UTF8::substr(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11698
    Deprecation Notice: voku\helper\UTF8::substr_compare(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11868
    Deprecation Notice: voku\helper\UTF8::substr_count(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:11926
    Deprecation Notice: voku\helper\UTF8::substr_count_in_byte(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:12018
    Deprecation Notice: voku\helper\UTF8::substr_in_byte(): Implicitly marking parameter $length as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:12172
    Deprecation Notice: voku\helper\UTF8::titlecase(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:12566
    Deprecation Notice: voku\helper\UTF8::trim(): Implicitly marking parameter $chars as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:12984
    Deprecation Notice: voku\helper\UTF8::ucfirst(): Implicitly marking parameter $lang as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:13030
    Deprecation Notice: voku\helper\UTF8::wordwrap_per_line(): Implicitly marking parameter $delimiter as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:13496
    Deprecation Notice: voku\helper\UTF8::reduce_string_array(): Implicitly marking parameter $remove_short_values as nullable is deprecated, the explicit nullable type must be used instead in /www/htdocs/w01d8dbe/int.athosfreunde.de/contao/vendor/voku/portable-utf8/src/voku/helper/UTF8.php:13827
    > @php vendor/bin/contao-setup
    Added the bin/console file.
    Added the public/index.php file.
    Added the public/preview.php file.
    
     Trying to install assets as relative symbolic links.
    
     --- -------------------------------------------- ------------------ 
          Bundle                                       Method / Error    
     --- -------------------------------------------- ------------------ 
      ?   ContaoCoreBundle                             relative symlink  
      ?   RockSolidCustomElementsBundle                relative symlink  
      ?   ContaoThemesNetFontAwesomeInserttagBundle    relative symlink  
      ?   MultiColumnWizardBundle                      relative symlink  
      ?   HeimseitenContaoGoogleFontsOpenSansBundle    relative symlink  
      ?   FileManagerBundle                            relative symlink  
      ?   ContaoFaqBundle                              relative symlink  
      ?   HeimseitenContaoStickyFooterBackendBundle    relative symlink  
      ?   ThemeHelperBundle                            relative symlink  
      ?   ContaoNewsBundle                             relative symlink  
      ?   PdirContaoKlaroConsentManager                relative symlink  
      ?   RockSolidFrontendHelperBundle                relative symlink  
      ?   ContaoCalendarBundle                         relative symlink  
      ?   ContaoNewsletterBundle                       relative symlink  
      ?   HeimseitenContaoTextImagePositioningBundle   relative symlink  
      ?   ContaoDDAdvancedClassesBundle                relative symlink  
      ?   CraffftCssStyleSelectorBundle                relative symlink  
      ?   ContaoCommentsBundle                         relative symlink  
      ?   RockSolidSliderBundle                        relative symlink  
      ?   ThemeComponentsBundle                        relative symlink  
      ?   ContaoThemesNetNatureThemeBundle             relative symlink  
     --- -------------------------------------------- ------------------ 
    
     [OK] All assets were successfully installed.                                   
    
    
     --- ------------------------------------------------------------------------------ ------------------------------------------------------- 
          Symlink                                                                        Target / Error                                         
     --- ------------------------------------------------------------------------------ ------------------------------------------------------- 
      !   public/files/Athosfreunde/Athosfreunde internal/documents internal/documents   Skipped because files/Athosfreunde will be symlinked.  
      !   public/files/Athosfreunde/Athosfreunde internal/documents internal/protocols   Skipped because files/Athosfreunde will be symlinked.  
      ?   public/files/naturetheme                                                       files/naturetheme                                      
      ?   public/files/Athosfreunde                                                      files/Athosfreunde                                     
      ?   system/themes/flexible                                                         vendor/contao/core-bundle/contao/themes/flexible       
      ?   public/assets                                                                  assets                                                 
      ?   public/system/themes                                                           system/themes                                          
      ?   system/logs                                                                    var/logs                                               
      ?   public/vendor/scrivo/highlight_php/styles                                      vendor/scrivo/highlight.php/styles                     
     --- ------------------------------------------------------------------------------ ------------------------------------------------------- 
    
    
     // 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
    *** Moderation: Codetag verwendet. Bitte für Code oder Fehlerausgaben die Code-tags verwenden
    Geändert von mlweb (31.08.2025 um 17:30 Uhr)

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

    Support Contao

    Standard

    Welche Version von Contao wird Dir im Backend angezeigt?

    Im Moment erfolgt die Installation vom Lockfile.
    Sollte im Backend nicht Contao 5.6 stehen würde ich die composer.lock löschen oder umbenennen.
    Außerdem würde ich wie oben schon erwähnt die Versionsbedingung auf 5.6.* einschränken, damit nicht irgendwann ungewollt die nächst höhere Minorversion (z.B. 5.7) installiert wird.

    Alle Pakete hattest Du zum Aktualisieren ausgewählt?
    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.




  5. #5
    Contao-Fan Avatar von Birden
    Registriert seit
    15.01.2011.
    Beiträge
    825

    Standard

    @mlweb, ist das hier nich das, was mit "Deaktivieren Resolver Cloud" behoben werden kann? Jedenfalls ein Versuch wäre es wert.

  6. #6
    Contao-Nutzer
    Registriert seit
    23.11.2022.
    Beiträge
    14

    Standard

    Vielen Dank für deine Bemühungen und die schnellen Antworten.

    Im Backend wird die Version 5.5.16 angezeigt.
    Alle Komponenten / Extensions wurden aktualisiert.

    contao.png

    Ich habe mal die composer.lock umbenannt.
    Dann erhalte ich folgende Fehlermeldung.

    Ich habe leider keinen ssh Zugang und kann die Commandozeilen Befehle nicht ausführen.



    Code:
    > Resolving dependencies using Composer Cloud v3.8.2
    
    [3.4MiB/0.18s] Cannot update only a partial set of packages without a lock file present. Run `composer update` to generate a lock file.
    [3.4MiB/0.18s] Memory usage: 3.43MB (peak: 4.93MB), time: 0.18s.
    [3.4MiB/0.18s] Finished Composer Cloud resolving.
    
    
    # Cloud Job ID a0RydiLrCPuMho26cLTaiETcr2pG60i42lErZLQzR2eN1EtV75MzEg5H6atyFz8UIH63EocRbNOjOA0a failed
    Ich habe dann in den System-Tools die Composer-Abhängigkeiten neu erstellt und das Update erneut versucht.
    Gleiches verhalten wie zuvor.

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

    Standard

    Du hast immer noch 5.* eingetragen. Du musst wenn dann 5.6.* Eintragen und dann "Alle Pakete aktualisieren" ausführen.
    » sponsor me via GitHub or Revolut

  8. #8
    Contao-Nutzer
    Registriert seit
    23.11.2022.
    Beiträge
    14

    Standard

    So, jetzt klappt es.

    Ganz lieben Dank für die Hilfe.


    So bin ich vorgegangen:

    1. Version auf 5.6.* geändert
    2. Update ausgeführt -> Fehler
    3. composer.lock umbenannt
    4. Contao Manager -> Systemtools -> Installer ausgeführt
    5. Update erneut gestartet - OK

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •