Upgrade von 4.13.54 nach 5.3
Hallo allerseits, meine Contao-Installation läuft super mit Version 4.13.54 und sehr wenigen Erweiterungen. Jetzt soll sie nach 5.3. Dazu zwei Fragen:
Sicherheitshalber würde ich die bisherige Installation beim Upgrade unangetastet lassen. Mir scheint es das Beste, zunächst einen Umzug der alten auf eine neue Installation vorzunehmen, jedoch mit Version 4.13.54 - also quasi eine Kopie mit neuer Datenbank und neuem Speicherort. Und dann im zweiten Schritt diese neue Installation auf 5.3 upzugraden.
Oder würdet ihr empfehlen, direkt 5.3 zu installieren und die alte Installation dorthin umzuziehen (mir scheint das nicht opportun)?.
Danke für Eure Hilfe, schönen Sonntag noch!
Liste der Anhänge anzeigen (Anzahl: 1)
So, der Klon (Parallelinstallation fürs Update) ist seit einiger Zeit fertig und soweit vorbereitet. Aber das Update auf Version 5.3 schlägt fehl.
Anhang 27992
Die Konsole liest sich so:
Code:
composer require contao/manager-bundle=5.3.* --no-update
$ /opt/plesk/php/8.3/bin/php -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 /var/www/vhosts/xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxx/contao/version_5-3/public/contao-manager.phar.php composer require contao/manager-bundle=5.3.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
/var/www/vhosts/xxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx/contao/version_5-3/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
composer update --no-install
> Resolving dependencies using Composer Cloud v3.8.2
[6.8MiB/0.25s] Loading composer repositories with package information
[88.0MiB/13.44s] Updating dependencies
[173.1MiB/14.38s] Your requirements could not be resolved to an installable set of packages.
[173.1MiB/14.38s]
Problem 1
- Root composer.json requires contao/manager-bundle 5.3.* -> satisfiable by contao/manager-bundle[5.3.0, ..., 5.3.34].
- Root composer.json requires do-while/contao-backupdb-bundle ^1.6 -> satisfiable by do-while/contao-backupdb-bundle[1.6.0].
- do-while/contao-backupdb-bundle 1.6.0 requires symfony/routing ^4.2 || ^5.0 -> satisfiable by symfony/routing[v4.2.0, ..., v4.4.44, v5.0.0, ..., v5.4.48].
- symfony/routing[v4.2.0, ..., v4.4.10] require php ^7.1.3 -> your php version (8.3.10.0) does not satisfy that requirement.
- symfony/routing[v5.0.0, ..., v5.0.8] require php ^7.2.5 -> your php version (8.3.10.0) does not satisfy that requirement.
- Conclusion: install symfony/routing v6.4.0 (conflict analysis result)
- You can only install one version of a package, so only one of these can be installed: symfony/routing[v2.3.0, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.44, v5.0.0, ..., v5.4.48, v6.0.0, ..., v6.4.24, v7.0.0, ..., v7.3.2].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
[173.1MiB/14.38s] <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>
[59.1MiB/14.49s] Memory usage: 59.15MB (peak: 202.47MB), time: 14.5s.
[59.1MiB/14.49s] Finished Composer Cloud resolving.
# Cloud Job ID 4dk6Dgj5RrzqoHqMzMuljkVDV3rptJR8InDU5M2naD2hGuUF7uJ0WqIr1SG2GM98WPPThwpAs9zfmsCAtfMboHKZ74Fz failed
vendor/bin/contao-console contao:maintenance-mode enable
composer install
vendor/bin/contao-console contao:maintenance-mode disable
Ich stehe vor einem Rätsel.
Liste der Anhänge anzeigen (Anzahl: 3)
Jetzt stellt sich ein weiteres, nicht sehr bedeutendes, aber doch zu lösendes Problem:
ich habe auf eine meiner Seiten einige YouTube-Videos eingebettet. Die funktionieren, lediglich die "Bild"-Untertitel werden nicht mehr angezeigt.
alt (Version 4.13.54):
Anhang 27993
neu (Version 5.3.34):
Anhang 27995
Anhang 27994