You are updating a Magento Commerce Cloud project from version 2.2.5 to 2.3.0 with the command
Composer require magento/product-enterprise-edition:2,3,0
However, composer is unable to complete the task because the installed version of magento/magento-cloud-metapackage is not compatible.
How do you upgrade magento to the desired version?
- Create a new project based on magento/ project-enterprise-edition: 2, 3, 0, the add eco- tools, custommodules and themes again with composer and migrate the data
- Run composer require magento/magento-cloud-metapakage:'' =2, 3.0 < 2, 3,1'' update-with dependencies
- Revert the composer.join to the last commit before the update and run the command again with the with-dependencies argument
- Remove magento.produce-enterprise-edition from the root composer, Json requirements and run composer update
Reveal Solution Next Question