What steps do I need to follow to install these Magento 2 commercial extensions?

Summary
This thread discusses the steps for installing a Magento 2 module or extension, emphasizing the importance of preparation before installation. Key points include taking a complete backup of your database and website files, testing on a staging environment first, ensuring all required composer dependencies are installed via Composer, confirming correct directory placement, setting proper file permissions, and using SSH commands to perform the installation process. The thread also highlights the need for enabling maintenance mode during the upgrade process to avoid disrupting site visitors, and finally configuring the extension settings in Magento's admin panel after installation is complete.
Admin
Moderating
Donor Member
Master Member
Elite Member
Active Member
Joined
May 31, 2020
Messages
2,980
Reaction score
1,693
Before starting installation, confirm your Magento 2 store is already fully functional and take a complete backup of your database and website files. Test on staging before live production deployment.

  1. Check required composer dependenciesOpen the extension package readme to verify required composer packages. Some extensions depend on extra libraries. You must install these required dependencies first via Composer before enabling the module. Missing dependencies will trigger module activation errors or break your site.
  2. Confirm correct upload directoryUnzip your downloaded extension package locally. Double-check the inner folder structure. Extension module files must be uploaded into app/code/ inside your Magento root directory.Do not upload the top-level archive folder directly. Verify you can see the etc/module.xml file once inside your module folder after upload, this confirms you placed files in the proper location. Wrong directory placement is one of the most common install failures.
  3. Set proper file and folder permissionsAfter upload, apply correct permissions for your Magento files and folders. Incorrect permissions prevent Magento from reading module files or compiling static assets.Folders: set to 755Files: set to 644 Never permanently use 777 permissions on production stores.
  4. SSH installation commandsConnect to your Magento root directory over SSH, then run these commands one by one:
composer install
Code:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush


For production environments, ensure maintenance mode is enabled before running the upgrade process.Enable maintenance mode:

php bin/magento maintenance:enable
Disable maintenance mode once all commands finish:

php bin/magento maintenance:disable
After all commands complete, log into your Magento admin panel. Navigate to Stores > Configuration, locate the extension settings menu and configure it. Check both backend admin and store frontend to confirm no errors appear.
 
Last edited:
Trending Resources
Back
Top