Liebe Community,
ich möchte eine 4.9.4er-Testinstallation auf die Version 4.10.0-RC1 updaten.
Habe dazu die composer.json wie folgt geändert (minimum-stability,...):
Code:
{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"php": "^5.6 || ^7.0",
"alnv/catalog-manager": "^1.28",
"alnv/catalog-manager-wishlist": "^2.0",
"codefog/contao-cookiebar": "^2.1",
"codefog/contao-haste": "^4.23",
"contao/calendar-bundle": "^4.10",
"contao/comments-bundle": "^4.10",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.10",
"contao/listing-bundle": "^4.10",
"contao/manager-bundle": "^4.10",
"contao/news-bundle": "^4.10",
"contao/newsletter-bundle": "^4.10",
"delahaye/dlh_googlemaps": "^2.4",
"dklemmt/contao_dk_masonry": "^1.2",
"jrgregory/m17-sticky-backend-footer": "^2.0",
"madeyourday/contao-rocksolid-antispam": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"mindbird/contao-room-reservation": "^1.1",
"oveleon/contao-advanced-form-bundle": "^0.2.0",
"plusx/rangeslider-bundle": "^1.0",
"terminal42/contao-easy_themes": "^2.2",
"terminal42/notification_center": "^1.5"
},
"minimum-stability": "RC",
"prefer-stable": true,
"conflict": {
"contao-components/installer": "<1.3",
"contao/core-bundle": "<4.4.8",
"doctrine/dbal": "2.9.1|2.9.2"
},
"extra": {
"branch-alias": {
"dev-4.4": "4.4.x-dev"
},
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Das Update über den Contao-Manager bricht mit einem Fehler ab.
Hier der komplette Konsolenoutput inkl. Aufruf:
Code:
Installiere Composer-Abhängigkeiten …
/opt/php-7.4/bin/php -q /xxxyyyzzz/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
> Resolving dependencies using Composer Cloud v2.4.2
# Job ID xxxyyyzzz completed in 102 seconds
# Memory usage: 554.44MB (peak: 2949.57MB), time: 100.76s.
$ /opt/php-7.4/bin/php -q /xxxyyyzzz/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
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
Added the web/index.php file.
Added the web/app.php file.
Added the web/preview.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
11:51:31 ERROR [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "Legacy routing is required to support the "getPageIdFromUrl" and "getRootPageFromUrl" hooks. Check the Symfony inspector for more information." ["exception" => Contao\CoreBundle\Exception\LegacyRoutingException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "Legacy routing is required to support the "getPageIdFromUrl" and "getRootPageFromUrl" hooks. Check the Symfony inspector for more information."]
In ContaoFramework.php line 463:
Legacy routing is required to support the "getPageIdFromUrl" and "getRootPa
geFromUrl" hooks. Check the Symfony inspector for more information.
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 3 installs, 58 updates, 7 removals
- Removing symfony/swiftmailer-bundle (v3.4.0)
- Removing symfony/polyfill-iconv (v1.18.0)
- Removing symfony/inflector (v5.1.2)
- Removing swiftmailer/swiftmailer (v6.2.3)
- Removing lexik/maintenance-bundle (v2.1.5)
- Removing jdorn/sql-formatter (v1.2.17)
- Removing doctrine/doctrine-cache-bundle (1.4.0)
- Updating composer/package-versions-deprecated (1.8.2 => 1.10.99): As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' may remediate them.
Loading from cache
- Updating symfony/yaml (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/mime (v5.1.2 => v5.1.3): Downloading (100%)
- Updating symfony/http-foundation (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/event-dispatcher (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/var-dumper (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/debug (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/error-handler (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/http-kernel (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/dependency-injection (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/filesystem (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/config (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/options-resolver (v5.1.2 => v5.1.3): Downloading (100%)
- Updating symfony/http-client (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/dom-crawler (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/twig-bridge (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/twig-bundle (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/translation (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/security-core (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/string (v5.1.2 => v5.1.3): Downloading (100%)
- Updating symfony/property-info (v5.1.2 => v5.1.3): Downloading (100%)
- Updating symfony/property-access (v5.1.2 => v5.1.3): Downloading (100%)
- Updating symfony/security-http (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/security-guard (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/security-csrf (v5.1.2 => v5.1.3): Loading from cache
- Updating symfony/security-bundle (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/routing (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/process (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/monolog-bridge (v4.4.10 => v4.4.11): Downloading (100%)
- Installing symfony/mailer (v4.4.11): Downloading (100%)
- Updating symfony/lock (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/finder (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/var-exporter (v5.1.2 => v5.1.3): Loading from cache
- Updating symfony/cache (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/framework-bundle (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/expression-language (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/console (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/asset (v4.4.10 => v4.4.11): Downloading (100%)
- Updating nelmio/cors-bundle (1.5.6 => 2.1.0): Loading from cache
- Updating symfony/templating (v5.1.2 => v5.1.3): Downloading (100%)
- Updating knplabs/knp-menu (2.6.0 => v3.1.1): Loading from cache
- Updating knplabs/knp-menu-bundle (v2.3.0 => v3.0.0): Loading from cache
- Updating symfony/doctrine-bridge (v4.4.10 => v4.4.11): Downloading (100%)
- Installing doctrine/sql-formatter (1.1.0): Loading from cache
- Updating doctrine/doctrine-bundle (1.12.10 => 2.1.0): Loading from cache
- Updating contao/core-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/calendar-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/comments-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/faq-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/listing-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating symfony/web-profiler-bundle (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/stopwatch (v4.4.10 => v4.4.11): Loading from cache
- Downgrading ocramius/proxy-manager (2.8.1 => 2.8.0): Loading from cache
- Updating symfony/proxy-manager-bridge (v4.4.10 => v4.4.11): Loading from cache
- Updating symfony/dotenv (v4.4.10 => v4.4.11): Downloading (100%)
- Updating symfony/debug-bundle (v4.4.10 => v4.4.11): Loading from cache
- Installing contao/maintenance-bundle-deprecated (v2.1.5): Loading from cache
- Updating contao/installation-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/manager-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/news-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
- Updating contao/newsletter-bundle (4.9.4 => 4.10.0-RC1): Loading from cache
Generating optimized autoload files
Deprecation Notice: Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///xxxyyyzzz/web/contao-manager.phar.php/vendor/composer/composer/src/Composer/Autoload/ClassMapGenerator.php:201
74 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> 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 90:
Array to string conversion
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 ###
Was mach ich da falsch?
Lesezeichen