Mitech Preloader
Magento / Magento2

How to Upgrade Magento 2.2.x to Magento 2.3.0? – Magento 2.3.0 Upgrade

Magento 2.2.x to Magento 2.3.0 upgrade

At the end of 2018, we get a new version of Magento 2.3.0. If you are in the Magento development, here is the time now that you have to learn “How to Upgrade to Magento 2.3?” It lets merchants manage inventory for all product types in a single warehouse and across complex shipping networks.

Before going to upgrade you need to know Magento Facts as its basic requirements. Since the time it was first released in July 2015, Magento has seen its popularity rise and this time around it’s no different. Follow below steps to convert your Magento version into 2.30.

Notice: Always take backup of your system including files and database before attempting an upgrade. Check your system, your system has not any error or bug.

1) Update Magento 2.3.0 You want to update your composer.json. Navigate to your Magento 2 installation root path and run below command.

Go to your Root path of the putty/command line and run Bellow command.

composer require magento/product-community-edition=2.3.0 --no-update

2) Add additional package in composer.json with the use of the following command and this is important for an update.

composer require --dev phpunit/phpunit:~6.2.0 friendsofphp/php-cs-fixer:~2.10.1 lusitanian/oauth:~0.8.10 pdepend/pdepend:2.5.2 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:3.2.2 --no-update

3) Remove the unwanted and unused package from  composer.json.

composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update

If command gives you some notice about not to remove or something like the same error the don’t worry about it.

4) Now open composer.json and fiend “autoload” in a file then at the end of the code just add the one line.

"Zend\\Mvc\\Controller\\":"setup/src//Zend/Mvc/Controller/"

Or Replace all code with

"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/"
 },
 ...
}

5) Now all set for up-gradation. Now just run following command in your root folder of the putty/command line

composer update

Update take few minutes for a finish and you can see the updating process. When the update process is completed run following command.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

All are done Your Magento upgrade to 2.3.0. That is it. Now must the Magento 2.3 is ready. Hope this is helpful to you. If you find any issue regarding 2.3 Upgradation, you may contact us here.

blank