Verwendung: Probleme mit Update
Produkt: Oneo Contao
Contao-Version: 5.0
Browser und Browserversionen: alle
Hallo, ich wollte gerade turnusmäßig die Updates durchführen. Das Update bleibt immer hängen an folgender Stelle:
$ /usr/bin/php8.3-cli -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 /homepages/42/d98464854/htdocs/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.
Package operations: 0 installs, 32 updates, 1 removal
- Downloading contao-components/ace (1.39.0)
- Downloading contao-components/altcha (1.2.0)
- Downloading contao-components/simplemodal (3.0.3)
- Downloading contao-components/swiper (11.2.5)
- Downloading contao-components/tinymce4 (7.7.1)
- Downloading symfony/error-handler (v7.2.4)
- Downloading symfony/http-kernel (v6.4.19)
- Downloading symfony/var-exporter (v7.2.4)
- Downloading symfony/dependency-injection (v7.2.4)
- Downloading symfony/http-client (v7.2.4)
- Downloading twig/twig (v3.20.0)
- Downloading twig/string-extra (v3.20.0)
- Downloading symfony/process (v7.2.4)
- Downloading symfony/lock (v7.2.4)
- Downloading symfony/dom-crawler (v7.2.4)
- Downloading symfony/twig-bridge (v6.4.19)
- Downloading symfony/translation (v7.2.4)
- Downloading symfony/type-info (v7.2.4)
- Downloading symfony/security-http (v7.2.4)
- Downloading symfony/mime (v7.2.4)
- Downloading symfony/messenger (v7.2.4)
- Downloading symfony/cache (v7.2.4)
- Downloading symfony/doctrine-bridge (v7.2.4)
- Downloading knplabs/knp-menu (v3.7.0)
- Downloading doctrine/orm (2.20.2)
- Downloading contao/image (1.2.3)
- Downloading symfony/stopwatch (v7.2.4)
- Downloading madeyourday/contao-rocksolid-custom-elements (v2.4.12)
- Downloading madeyourday/contao-rocksolid-slider (v2.2.7)
- Downloading madeyourday/contao-rocksolid-columns (v2.1.2)
- Downloading madeyourday/contao-rocksolid-mega-menu (v2.2.8)
- Removing symfony/polyfill-php81 (v1.31.0)
- Upgrading contao-components/ace (1.37.5 => 1.39.0): Extracting archive
- Upgrading contao-components/altcha (1.1.1 => 1.2.0): Extracting archive
- Upgrading contao-components/simplemodal (3.0.2 => 3.0.3): Extracting archive
- Upgrading contao-components/swiper (11.2.2 => 11.2.5): Extracting archive
- Upgrading contao-components/tinymce4 (7.6.1 => 7.7.1): Extracting archive
- Upgrading symfony/error-handler (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/http-kernel (v6.4.18 => v6.4.19): Extracting archive
- Upgrading symfony/var-exporter (v7.2.0 => v7.2.4): Extracting archive
- Upgrading symfony/dependency-injection (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/http-client (v7.2.3 => v7.2.4): Extracting archive
- Upgrading twig/twig (v3.19.0 => v3.20.0): Extracting archive
- Upgrading twig/string-extra (v3.19.0 => v3.20.0): Extracting archive
- Upgrading symfony/process (v7.2.0 => v7.2.4): Extracting archive
- Upgrading symfony/lock (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/dom-crawler (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/twig-bridge (v6.4.17 => v6.4.19): Extracting archive
- Upgrading symfony/translation (v7.2.2 => v7.2.4): Extracting archive
- Upgrading symfony/type-info (v7.2.2 => v7.2.4): Extracting archive
- Upgrading symfony/security-http (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/mime (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/messenger (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/cache (v7.2.3 => v7.2.4): Extracting archive
- Upgrading symfony/doctrine-bridge (v7.2.3 => v7.2.4): Extracting archive
- Upgrading knplabs/knp-menu (v3.6.0 => v3.7.0): Extracting archive
- Upgrading doctrine/orm (2.20.1 => 2.20.2): Extracting archive
- Upgrading contao/image (1.2.2 => 1.2.3): Extracting archive
- Upgrading contao/conflicts (dev-main cd5835f => dev-main 7591089)
- Upgrading symfony/stopwatch (v7.2.2 => v7.2.4): Extracting archive
- Upgrading madeyourday/contao-rocksolid-custom-elements (v2.4.11 => v2.4.12): Extracting archive
- Upgrading madeyourday/contao-rocksolid-slider (v2.2.6 => v2.2.7): Extracting archive
- Upgrading madeyourday/contao-rocksolid-columns (v2.1.1 => v2.1.2): Extracting archive
- Upgrading madeyourday/contao-rocksolid-mega-menu (v2.2.6 => v2.2.8): Extracting archive
Generating optimized autoload files
Ich habe auch schon versucht über den Abgesicherten Modus zu entfernen. Habe nur ein Modul ausgewählt. Trotzdem scheinen alle Module geladen werden.
Vielen Dank!
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by RockSolid Theme... on 05 Mar, 2025 02:12 PM
Vielen Dank für Ihre Frage.
Der Schritt
Generating optimized autoload files
kann je nach Server auch etwas länger dauern. Wird der Prozess auch dann nicht abgeschlossen wenn Sie 10 Minuten warten?2 Posted by Michael Wiegärt... on 05 Mar, 2025 02:48 PM
Hallo, vielen Dank für die Antwort.
Gerade getestet - 30 min ohne Erfolg.
Mit freundlichen Grüßen
Michael Wiegaertner
Support Staff 3 Posted by RockSolid Theme... on 06 Mar, 2025 09:23 AM
Haben Sie die Anleitung der Dokumentation für das Contao Update befolgt? Im speziellen den Punkt „Composer Scripte anpassen“ zu finden auf folgender Seite: https://docs.contao.org/manual/de/migration/#contao-4-13-auf-5-x
4 Posted by Michael Wiegärt... on 06 Mar, 2025 11:55 AM
Hallo,
btw, das System lief ja schon auf Contao 5. Das Problem kam mit anstoßen des Updates für die Rocksolid Komßponenten.
Die composer.json~ schaut so aus:
Ich habe die rocksolid Komponenten aus der Datei herausgenommen. Wenn ich dann eine Reparatur durchführe, kommen die Einträge aber trotzdem. Scheinbar sind da noch mehr Dateien vorhanden. Da sind Script generierte Dateien, die ich mit .old unbrauchbar gemacht habe. Siehe .old Dateien:
Jetzt komme ich auch in den Manager, aber die Rocksolid Komponenten sind weiterhin in der Liste, obwohl sie in der config.json~ gelöscht waren:
Aber alle Komponenten sind aktuell. Auch das Update auf 5.5.3 hat funtioniert.
Das initial Update habe ich mit allen Komponenten gleichzeitig durchgeführt. Vielleicht war das zu viel für den ionos-Server. Offensichtlich war ja nur die Rückmeldung des Scripts erfolglos, da nach dem Löschen bzw. Umbenennen der composer Temp-dateien alle Rocksolid Komponenten auf dem aktuellen Stand waren.
Anyway, it worked. Thanks again.
Mit freundlichen Grüßen
Michael Wiegaertner