Currently, Composer is the main method for upgrading Adobe Commerce (Magento 2) modules and extensions. In case your M2E Pro module was initially installed manually in app/code directory you can switch the upgrade method to Composer following the next steps:
Step 1. Remove old version extension files installed in app/code directory. Go to *magento_root*/app/code directory and remove files:
rm -rf Ess/M2ePro/
Step 2. Provide Composer Installer as a dependence on the composer.json file of your project:
composer require m2epro/magento2-extension
Step 3. To complete the upgrade, run the following commands:
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy
After performing the steps above, for all further upgrades follow the default upgrade instructions.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article