cancel
Showing results for 
Search instead for 
Did you mean: 

Activating an extension

Activating an extension

Hi,

Have a noob question:

I'm trying to activate an Extension on a Magento 2.4x installation.

Though it is not showing up inside "admin" GUI as supposed to.

 

What is the correct procedure to activate an Extension module?

 

I have done the following:

* required the extention via composer

* run the composer update

* run the magento setup:upgrade

* run the magento setup:di:compile

* run the magento cache:clear

 

When i run magento module:status i can conform the extension is activated.

 

I'm using a bitnami /linux debian OVF if it matters.

5 REPLIES 5

Re: Activating an extension

Hello @mbn3danimaac5f,

Greetings to you!

To activate the extension you need to run the following command.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex

I hope this will help you to solve your issue.

If not, do not hesitate to contact us.

 

If solved, click KUDOS and accept it as asolution.

Thank you!

Re: Activating an extension

Hi,

 

I spend a lot of hours trying different things, i actually just made it work - however i don't know if it is the correct way to do it.

 

The missing links seems to be:

composer install

So the full update was:

composer require <extension>
composer update
composer install
magento setup:upgrade
magento setup:di:compile
magento setup:static-content:deploy

So the last line should be replaced by indexer:reindex ?

Re: Activating an extension

Hi @mbn3danimaac5f,

 

Yes, that's all you need to do.

 

If solved, click KUDOS and accept it as a solution.

Thank you!

Re: Activating an extension

But the solution is :

 

composer update

Without that it doesn't activate the extentions?

 

So for other people looking for the same in the forum, i don't think that is the solution. It must be a combination then:

composer require <extension>
composer update
composer install
magento setup:upgrade
magento setup:di:compile
magento indexer:reindex

?

 

 

Re: Activating an extension

I can give a suggest below:

 

To activate the extension you need to run the following command.
1. composer require package_name - For the latest version
    composer require package_name:version - For the older versions
2. php bin/magento s:up
You can read more in our guide: https://wiki.bsscommerce.com/docs/faqs/install-magento-extension/install-magento-2-composer/


Problem solved? Click Accept as Solution!
Bonus: We offer 148+ free and paid Magento 2 extensions that support all the business purposes in administration, skyrocketing the revenue, management, etc... Check it now!