How to Upgrade Magento 2.3.x to Magento 2.4.4? Step by Step Tutorial

How to Upgrade Magento 2.3.x to Magento 2.4.4? Step by Step Tutorial

  Live Preview   Download

Magento 2.4.4 was launched on April 12th, 2022 including new features, as well as quality and security improvements.

Magento 2.4.4 will be supported and patched until November 2024 while version 2.3.x will end of support in September 2022 and version 2.4.0 to 2.4.3 (based on PHP 7.4) ends of support in November 2022. Upgrading to the most recent Magento version improves the security and speed of your shop.

System Requirements

Before upgrading, you must prepare your website to meet the system requirements.

PHP Version

PHP version should be 7.4
php -v

Elasticsearch Version

Your server needs to be configured to work with Elasticsearch 7.9.x. As per the release notes of Magento 2.4.3, is recommended to use Elasticsearch 7.9.x. You can apply the below-given command to verify your version of Elasticsearch:
curl -XGET 'http://localhost:9200'

Composer Version

Composer version 2 required. Check your composer version using below command:
composer -v

If composer version is 1 then you should upgrade using below command:
composer self-update --2

–> View more Magento 2 System requirements

Upgrade Magento 2.3.x to Magento 2.4.4

Switch to maintenance mode if you are performing on live site:
php bin/magento maintenance:enable

Create backup composer.json using the below command:
cp composer.json composer.json.bak

Run the below command to update the composer.json file

For Magento Open Source, run command:
composer require magento/product-community-edition=2.4.4 --no-update

For Magento Commerce, run the command:
composer require magento/product-enterprise-edition=2.4.4 --no-update

Run the following command:
composer update

It will take awhile to finish.

After you’ve completed the preceding steps, execute the instructions listed below.

Clear cache and regenerate code.
php bin/magento cache:clean

rm -rf var/cache/*

rm -rf var/page_cache/*

rm -rf generated/code/*

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

Run this command in production mode:
php bin/magento deploy:mode:set production

Lastly, disable maintenance mode:
php bin/magento maintenance:disable

Verify Upgrade

After finish these above steps, you can check your upgrade process by opening you web storefront on the browser to see whether it load properly or not.

If there is an error message, your upgrade process was fail. Follow these step to solve it.

  • Reset file system ownership and permissions as an user with root privileges.
  • Clear the following directories:
    • var/cache/
    • var/page_cache/
    • generated/code/
  • Recheck your Magento storefront.

That’s all, Magento 2.4.4 is now upgraded.


Best Magento 2.4.4 Themes

[products limit=”3″ columns=”3″ best_selling=”true”]
Tags: , , , , , , ,

Leave a Comment

Your email address will not be published. Required fields are marked *