- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magento 2: Problem updating Magento v2.2.1 to v2.3.2
i want to update my Magento to v2.3.2, when i run composer update, i get this error:
Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for magento/product-community-edition 2.3.2 -> satisfiable by magento/product-community-edition[2.3.2]. - Installation request for phpro/grumphp ^0.12.1 -> satisfiable by phpro/grumphp[v0.12.1]. - magento/product-community-edition 2.3.2 requires symfony/console ~4.1.0 -> satisfiable by symfony/console[v4.1.0, v4.1.0-BETA1, v4.1.0-BETA2, v4.1.0-BETA3, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9]. - Can only install one of: symfony/console[v4.1.0, v2.8.38]. - Can only install one of: symfony/console[v4.1.0-BETA1, v2.8.38]. - Can only install one of: symfony/console[v4.1.0-BETA2, v2.8.38]. - Can only install one of: symfony/console[v4.1.0-BETA3, v2.8.38]. - Can only install one of: symfony/console[v4.1.1, v2.8.38]. - Can only install one of: symfony/console[v4.1.10, v2.8.38]. - Can only install one of: symfony/console[v4.1.11, v2.8.38]. - Can only install one of: symfony/console[v4.1.12, v2.8.38]. - Can only install one of: symfony/console[v4.1.2, v2.8.38]. - Can only install one of: symfony/console[v4.1.3, v2.8.38]. - Can only install one of: symfony/console[v4.1.4, v2.8.38]. - Can only install one of: symfony/console[v4.1.5, v2.8.38]. - Can only install one of: symfony/console[v4.1.6, v2.8.38]. - Can only install one of: symfony/console[v4.1.7, v2.8.38]. - Can only install one of: symfony/console[v4.1.8, v2.8.38]. - Can only install one of: symfony/console[v4.1.9, v2.8.38]. - Conclusion: install symfony/console v2.8.38
Here is my composer.json:
{ "name": "magento/project-community-edition", "description": "eCommerce Platform for Growth (Community Edition)", "type": "project", "version": "2.3.2", "license": [ "OSL-3.0", "AFL-3.0" ], "require": { "composer/composer": "@alpha", "ebizmarts/mailchimp-lib": "^3.0", "magento/product-community-edition": "2.3.2", "phpro/grumphp": "^0.12.1" }, "require-dev": { "friendsofphp/php-cs-fixer": "~2.10.1", "lusitanian/oauth": "~0.8.10", "pdepend/pdepend": "2.5.2", "phpmd/phpmd": "@stable", "phpunit/phpunit": "~6.2.0", "sebastian/phpcpd": "~3.0.0", "squizlabs/php_codesniffer": "3.2.2" }, "config": { "use-include-path": true, "preferred-install": "dist", "sort-packages": true }, "autoload": { "psr-4": { "Magento\\Framework\\": "lib/internal/Magento/Framework/", "Magento\\Setup\\": "setup/src/Magento/Setup/", "Magento\\": "app/code/Magento/", "Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/" }, "psr-0": { "": "app/code/" }, "files": [ "app/etc/NonComposerComponentRegistration.php" ] }, "autoload-dev": { "psr-4": { "Magento\\Sniffs\\": "dev/tests/static/framework/Magento/Sniffs/", "Magento\\Tools\\": "dev/tools/Magento/Tools/", "Magento\\Tools\\Sanity\\": "dev/build/publication/sanity/Magento/Tools/Sanity/", "Magento\\TestFramework\\Inspection\\": "dev/tests/static/framework/Magento/TestFramework/Inspection/", "Magento\\TestFramework\\Utility\\": "dev/tests/static/framework/Magento/TestFramework/Utility/" } }, "minimum-stability": "alpha", "prefer-stable": true, "repositories": [ { "type": "composer", "url": "https://repo.magento.com/" } ], "extra": { "magento-force": "override" } }
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2: Problem updating Magento v2.2.1 to v2.3.2
Hello @Partab Saif
I thinkyou are skipping some step. Please refer the link https://community.magento.com/t5/Magento-2-x-Version-Upgrades/question-about-migrating-from-2-28-to-... to upgrade your magento.
Note: Please take backup of code and database before upgrade.
I hope this will works for you, if still you face any issue please let me know.
If it helps you, please give us kudos and accept it as solution.
Regards
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2: Problem updating Magento v2.2.1 to v2.3.2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2: Problem updating Magento v2.2.1 to v2.3.2
Hello
Try this method.
Download, or copy, the script file from the magento/magento2 repo
https://raw.githubusercontent.com/magento/magento2/2.3/dev/tools/UpgradeScripts/pre_composer_update_...
The upgrade script:
- Updates Magento with the 2.3 requirements.
- Backs up the composer.json file.
- Specifies the new version of the Magento metapackage.
- Updates the "require-dev" section in the composer.json file.
- Adds "Zend\\Mvc\\Controller\\": "setup/src/Zend/Mvc/Controller/" to the "autoload":"psr-4" section in the composer.json file.
- Backs up and updates the magento/updater, if it has been installed.
- Updates the "name", "version", and "description" fields in the composer.json file.
Run the script
php -f pre_composer_update_2.3.php -- --root='<path/to/magento/install/dir>' --repo=https://repo.magento.com/ <options>
Apply updates
composer update
Clear the var and generated subdirectories:
rm -rf <Magento install dir>/var/cache/* rm -rf <Magento install dir>/var/page_cache/* rm -rf <Magento install dir>/generated/code/*
Update the database schema and data
php bin/magento setup:upgrade
Disable maintenance mode
php bin/magento maintenance:disable
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer