cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade Magento 2.2.6 to 2.3.0 not proceed properly

Upgrade Magento 2.2.6 to 2.3.0 not proceed properly

Hello,

Magento Version 2.2.6

PHP Version 7.2.16

 

I want to upgrade magento 2.2.6 to 2.3.0.

so for that i follow steps from "https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html" this site and i already tried both method using command line and using script but in both case i cannot able to proceed further.

After run composer update command, it always throw following error mention into screenshot.

upgrademagento22to23.png


I checked all reference sites and tried resolve this error but still not get proper solution to resove this error.

So please suggest me, how can i fix it ?

Thanks in advance

2 REPLIES 2

Re: Upgrade Magento 2.2.6 to 2.3.0 not proceed properly

Hello @yagnik_solanki ,

For resolving this issue. Please try below steps:

  1. Remove all sample data modules from your composer.json
  2. Run composer update.
  3. Run "php bin/magento sampledata:deploy" . This command will add all the latest sample data modules according to your magento version.

Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

Re: Upgrade Magento 2.2.6 to 2.3.0 not proceed properly

Thanks for reply.

 

I fixed above issue my way and magento was upgraded to 2.3.0