How to upgrade Magento 2.4.3 to Magento 2.4.4

How to upgrade Magento 2.4.3 to Magento 2.4.4

Magento 2.4.4 was released by Adobe on 12th April 2022. Minor version releases contain new features, quality and security fixes.

Latest Magento End of Support (EOS) events include:

  • Version 2.3.x - EOS in September 2022.
  • Version 2.4.0 to 2.4.3 (based on PHP 7.4) - EOS in November 2022.

Based on these two EOS events, it is important to upgrade to version 2.4.4 by November 2022.

Magento 2.4.4 will receive quality support and security patches until November 2024. Upgrading to the latest magento version will enhance store security and performance.

If you’re already running Magento version 2.4.3, you can upgrade using the Command line.

Contributing developers can use the git-based method to update Magento.

How to Upgrade Magento using Command line

You can upgrade Magento application from the command line if you installed the software by:

  • Using the composer
  • Downloading a compressed archive.

Note: You must be on a version of Magento that is compatible with Composer 2. Example, 2.4.2 or 2.4.3. Additionally, you must be running a supported version of PHP.

If you're wondering how to upgrade Magento 2.4.3 to 2.4.5, or if you're looking for Magento community examples, this guide will help you through the process. Keep in mind that the 2.4*4 version may be a typo and should be considered as 2.4.4.


Prepare your environment before starting the upgrade process. Before you begin, complete upgrade prerequisites. You might encounter issues like "command 'require-commerce' is not defined" or "error: 'composer require' does not function properly for mage", but following these steps should help you avoid those problems.

Run the following commands

Step 1: Switch to maintenance mode.

php bin/magento maintenance:enable

Step 2: Create a backup.

cp composer.json composer.json.bak

Step 3: Edit specific packages and upgrade sample data.

If you are upgrading from Magento Open Source to Adobe Commerce, remove the Magento Open Source package.

composer remove magento/product-community-edition --no-update

Upgrade sample data.

composer require <sample data module-1>:<version> ... <sample data module-n>:<version> --no-update

Step 4: Upgrade your instance using the following syntax:

composer require-commerce magento/<product> <version> --no-update [--interactive-root-conflicts] [--force-root-updates] [--help]

Command options include:


The package to upgrade. For on-premises installations, this value must be either product-community-edition or product-enterprise-edition.

The version you are upgrading to i.e. 2.4.4.

  • --no-update

Disables the automatic update of the dependencies.


  • --interactive-root-conflicts

View and update any out-of-date values that do not match the version you are upgrading to.

  • --force-root-updates

Overrides all conflicting custom values with the Magento values.

  • --help

Provides usage details about the update plugin.

Note: Either--interactive-root-conflicts or --force-root-updates has to be specified.

Step 5: Update the dependencies.

composer update

For example, Specify the metapackage:

Magento Open Source: composer require-commerce magento/product-community-edition 2.4.4 --no-update

Adobe Commerce: composer require-commerce magento/product-enterprise-edition 2.4.4 --no-update

Step 6: Update metadata

  1. Update the "name", "version", and "description" fields in the composer.json file as needed.

  2. Apply updates. composer update

  3. Clear the var/ and generated/ subdirectories: rm -rf var/cache/*

rm -rf var/page_cache/*

rm -rf generated/code/*

Note: If you use a cache storage other than the filesystem, such as Redis or Memcached, you must manually clear the cache there too.

  1. Update the database schema and data. bin/magento setup:upgrade

  2. Disable Magento maintenance mode. bin/magento maintenance:disable

  3. Restart Varnish. (Optional) Restart Varnish If you use it for page caching: service varnish restart

Verify Upgrade

Check your Magento 2 store. Open your storefront URL in a web browser to verify the latest version. If your upgrade was successful, the storefront will load properly.

If the application fails with an error message due to a Magento module conflict or a failed Magento opdatering (update), follow these steps:

  1. Reset file system ownership and permissions as a user with root privileges.

  2. Clear the following directories:

  • var/cache/
  • var/page_cache/
  • generated/code/
  1. Recheck your Magento storefront.

For more Magento tutorials, visit MGT-Commerce.

Shraddha S.
Shraddha S.
Head of Content

With a master in Computer Science, Shraddha Singh has a lot of thoughts about Technology and the Cloud Services Industry. An Indian native and a professional Technical writer, she gets her management skills from IIT-B.

Get the fastest Magento Hosting! Get Started