How to Upgrade Magento Version from 2.3.X to 2.3.4?
Magento 2.3.4 was released just a few months back in JANUARY 2020. It was the first release of the year and offers many security upgrades and core methods changes. You can download Magento version 2.3.4 from the official Magento Website.
Many developers are already started upgrading their client’s stores. However, some of the beginner developers are looking for step by step guide on how to upgrade Magento version from 2.3.x to 2.3.4. In this article we, will show you step by step how to upgrade Magento version from 2.3.x to 2.3.4.
If you have not upgraded your Magento version to 2.3.x and are you still on 2.2.x then first upgrade your store to Magento version 2.3.0.
Preparing Your Site for Upgrade
As Magento 2.3.4 technology stacks are the same as Magento 2.3.X, there is no need to do any changes with your server configuration. But before you start upgrading process you must take a code and database backup. Many developers are already managing their code in git so for them only database backup is important as they can revert the code from git if the upgrade goes wrong.
Upgrade Magento version from 2.3.x to 2.3.4
After taking backup please follow below steps to upgrade Magento version from 2.3.x to 2.3.4
Step 1: If you are directly performing the upgrade on your live site then first put your site into maintenance mode by running below command.
php bin/magento maintenance:enable
Step 2: If you are performing the upgrade on your local system then you can skip step 1 and start with step 2.
Take a backup of the composer.json
cp composer.json composer.json.bak
Step 3: Update composer.json file with latest version. In our case, it is Magento Version 2.3.4. Navigate to your Magento 2 installation root path and run below command
composer require magento/product-community-edition=2.3.4 --no-update
Step 4: Run below command
composer update
This command will take some time to finish. This command will actually download all the required packages and upgrade your Magento version from 2.3.x to 2.3.4. After this command finish, run below commands
php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f
Step 6: Disable maintenance mode
php bin/magento maintenance:disable
That’s all. You have successfully upgrade your Magento version from 2.3.x to 2.3.4. Now you can log in to your admin panel and see in the bottom right corner your upgraded Magento version 2.3.4.
Getting error while upgrade? Please leave us a comment below.
Leave a Comment
(1 Comment)
getting this error after upgrade from 2.3.3 enterprise to 2.3.4 enterprise while se: up
Notice: Undefined index: column in /var/www/vhosts/beta.femi9.com/webroot/vendor/magento/framework/Setup/Declaration/Schema/Declaration/SchemaBuilder.php on line 196
Useful Magento 2 Articles
Author Info
Chirag
Connect With Me