from Adobe (Magento) Marketplace (v.2.4) via command line
You have the ability to install/upgrade your M2E Pro Instance directly from Adobe Commerce Marketplace (former Magento Marketplace). Starting with Magento 2.4.0, the Web Setup Wizard is removed, and you must use the command line to install or upgrade M2E Pro, so the method requires technical skills.
Installation
Recommendations before starting the installation process:
- It may be necessary that you have full write permissions to all Magento files and folders.
- Check whether your server configurations comply with the next values
- Max execution time = 600 seconds or more,
- Memory limit = at least 1 GB.
- Back up your database.
- Enable maintenance mode:
bin/magento maintenance:enable
Follow the next steps to install the M2E Pro Module:
Step 1. Log in to your Adobe Commerce Marketplace Customer Account.
Step 2. Find M2E Pro Extension in the Adobe Commerce Marketplace catalog and proceed with the purchasing procedure.
Step 3. Once your order is placed, click Install. You will be redirected to My Access Key section.
Step 4. Under My Access Keys > Magento 2 tab, click Create A New Access Key. The authentication keys will be generated automatically.
Step 5. Update the composer.json
file in your Magento project with the name. For example:
composer require m2e/ebay-amazon-magento2
Step 6. Enter your Magento authentication keys. Your public key is your username; your private key is your password.
Step 7. Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors:
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing m2epro/magento2-extension: Downloading (100%)
Writing lock file
Generating autoload files
Step 8. Enable the extension and clear static view files:
bin/magento module:enable Ess_M2ePro --clear-static-content
You should see the following output:
The following modules have been enabled:
- m2epro_magento2-extension
To make sure that the enabled modules are properly registered, run 'setup:upgrade'.
Cache cleared successfully.
Generated classes cleared successfully. Please run the 'setup:di:compile' command to generate classes.
Generated static view files cleared successfully.
Step 9. Register the extension:
bin/magento setup:upgrade
Step 10. Recompile your Magento project: In Production mode, you may receive a message to “Please rerun Magento compile command”. Magento does not prompt you to run the compile command in Developer mode.
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
Step 11. Verify that the extension is enabled:
bin/magento module:status Ess_M2ePro
You should see the output:
Module is enabled
Step 12. Clean the cache:
bin/magento cache:clean
That's it! You have successfully installed M2E Pro on your Magento. After you finish, disable maintenance mode:
bin/magento maintenance:disable
Provide the initial configurations for Extension and enjoy your sales on eBay/Amazon/Walmart Channel via M2E Pro.
Upgrade
Recommendations before starting the upgrade process:
- it may be necessary that you have full write permissions to all Magento files and folders;
- check whether your server configurations comply with the next values:
- Max execution time = 600 seconds or more,
- Memory limit = at least 1 GB.
- Back up your database.
- Enable maintenance mode
bin/magento maintenance:enable
Follow the next steps to upgrade M2E Pro Module:
Step 1. Download the updated file from Marketplace.
Step 2. Export the contents to your Magento root.
Step 3. If a Composer package exists for the module, run update per module name:
composer update m2e/ebay-amazon-magento2
Step 4. Run the following commands to upgrade, deploy, and clean the cache.
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:clean
Our Congratulations! You have successfully upgraded your M2E Pro.
After you finish, disable maintenance mode:
bin/magento maintenance:disable