Upgrade from older versions

If you are beginning an upgrade from a Commerce version older than 2.1, some restrictions in the Adobe Commerce code base can affect your ability to update to a specific ECE-Tools release or to upgrade to the next supported Commerce version. Use the following table to determine the best path:

Current VersionUpgrade Path
2.1.3 and earlierUpgrade Adobe Commerce to version 2.1.4 or later before you continue. Then perform a one-time upgrade to install ECE-Tools.
2.1.4 – 2.1.14Update ECE-Tools package.
See release notes for 2002.0.9 and later 2002.0.x releases.
2.1.15 – 2.1.16Update ECE-Tools package.
See release notes for2002.0.9 and later.
2.2.x and laterUpdate ECE-Tools package.
See release notes for2002.0.8 and later.
NOTE
If you use a version of Adobe Commerce on cloud infrastructure that does not contain the ece-tools package, then you must perform a one-time upgrade to your cloud project to remove deprecated packages. If you currently use the ece-tools package and you need to update it, see Update the ECE-Tools package.

Configuration management

Older versions of Adobe Commerce, such as 2.1.4 or later to 2.2.x or later, used a config.local.php file for Configuration Management. Adobe Commerce version 2.2.0 and later use the config.php file, which works exactly like the config.local.php file, but it has different configuration settings that include a list of your enabled modules and additional configuration options.

When upgrading from an older version, you must migrate the config.local.php file to use the newer config.php file. Use the following steps to back up your configuration file and create one.

To create a temporary config.php file:

  1. Create a copy of config.local.php file and name it config.php.

  2. Add this file to the app/etc folder of your project.

  3. Add and commit the file to your branch.

  4. Push the file to your integration branch.

  5. Continue with the upgrade process.

WARNING
After upgrading, you can remove the config.php file and generate a new, complete file. You can only delete this file to replace it this one time. After generating a new, complete config.php file, you cannot delete the file to generate a new one. See Configuration Management and Pipeline Deployment.