We had a client who hired us for Magento upgrade service. We migrated his store to Magento 2 & perform a Magento version upgrade. As a part of the maintenance service, we did Magento 2.3 upgrade for him & upgraded the store to 2.3.5.
If you want to upgrade the Magento version from 2.3.2 to 2.3.5, then follow the below upgrade steps using SSH.
Note: Before running the below commands, please take a full backup of your current Magento website. It will help you to undo the current scenario if you face any issues during the future Magento 2 upgrade steps.
Step 1: Set the Magento website in maintenance mode using the below command.
- php bin/magento maintenance:enable
Step 2: Take a backup of composer.json file placed in Magento root using the below command.
- cp composer.json composer.json.bak
Step 3: Remove the current installation setup folder by using the below command.
- composer remove magento/product-community-edition --no-update
Step 4: Set the version in which you want to upgrade in the below command.
- composer require magento/product-community-edition=2.3.5 --no-update
Step 5: Run the below command.
- composer require --dev allure-framework/allure-phpunit:~1.2.0 friendsofphp/php-cs-fixer:~2.14.0 lusitanian/oauth:~0.8.10 magento/magento-coding-standard:~3.0.0 magento/magento2-functional-testing-framework:2.4.5 pdepend/pdepend:2.5.2 phpmd/phpmd:@stable phpunit/phpunit:~6.5.0 sebastian/phpcpd:~3.0.0 squizlabs/php_codesniffer:~3.4.0 --sort-packages --no-update
Step 6: Also run the below command.
- composer remove --dev sjparkinson/static-review fabpot/php-cs-fixer --no-update
Step 7: Then, update the composer using the below command.
- composer update
Step 8: Run below mention Magento upgrade command.
- php bin/magento setup:upgrade - php bin/magento cache:clean
Step 9: Remove maintenance mode using the below command.
- php bin/magento maintenance:disable
That’s it. The Magento 2 upgrade is done.
Now, you can check your site’s Magento version in the admin panel. In case, if you’re looking for a professional Magento migration service to upgrade the Magento version then contact Mage Monkeys today.