Hi,
I have problem with upgrading Contao 4.4.57 to 4.13.* and have no clue what could be wrong. I know that 4.4 is pretty old, but upgrade process should work. This is the console log:
Code:
>$ /opt/plesk/php/7.4/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=UTC /var/www/vhosts/********/httpdocs/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.* contao/news-bundle=4.13.* contao/calendar-bundle=4.13.* contao/faq-bundle=4.13.* contao/comments-bundle=4.13.* contao/newsletter-bundle=4.13.* contao/listing-bundle=4.13.* --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
/var/www/vhosts/**********/httpdocs/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.7.1
[5.7MiB/0.18s] Loading composer repositories with package information
[87.7MiB/10.69s] Updating dependencies
[176.1MiB/11.45s] Your requirements could not be resolved to an installable set of packages.
[176.1MiB/11.45s]
Problem 1
- Root composer.json requires contao/manager-bundle 4.13.49 -> satisfiable by contao/manager-bundle[4.13.49].
- contao/manager-bundle 4.13.49 requires symfony/finder ^5.4 -> found symfony/finder[v5.4.0, ..., v5.4.45] but these were not loaded, likely because it conflicts with another require.
Problem 2
- contao/core-bundle 4.13.49 requires symfony/finder ^5.4 -> found symfony/finder[v5.4.0, ..., v5.4.45] but these were not loaded, likely because it conflicts with another require.
- contao/newsletter-bundle 4.13.49 requires contao/core-bundle 4.13.49 -> satisfiable by contao/core-bundle[4.13.49].
- Root composer.json requires contao/newsletter-bundle 4.13.49 -> satisfiable by contao/newsletter-bundle[4.13.49].
[176.1MiB/11.45s] 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.
[57.5MiB/11.52s] Memory usage: 57.52MB (peak: 215.13MB), time: 11.53s.
[57.5MiB/11.53s] Finished Composer Cloud resolving.
# Cloud Job ID Zn7qsXMfStwBXilX4S3VuRsWFGsad3rEjnrCeoVqacl3FmP9oP0V6G30VNZrd7ZNQbn8AtHCk8IRq0e2r failed
This is what is written in composer.json
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",
"contao/calendar-bundle": "^4.4",
"contao/comments-bundle": "^4.4",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "^4.4",
"contao/listing-bundle": "^4.4",
"contao/manager-bundle": "4.4.*",
"contao/news-bundle": "^4.4",
"contao/newsletter-bundle": "^4.4",
"madeyourday/contao-rocksolid-antispam": "^2.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-frontend-helper": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0",
"terminal42/contao-changelanguage": "^3.1"
},
"conflict": {
"contao/core-bundle": "<4.4.8"
},
"config": {
"component-dir": "assets"
},
"extra": {
"branch-alias": {
"dev-4.4": "4.4.x-dev"
}
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Bookmarks