Skip to main content
All CollectionsNitroPack for MagentoGetting Started
How to Update NitroPack for Magento Extension
How to Update NitroPack for Magento Extension
Updated over 4 months ago

Upgrading the NitroPack extension for Magento ensures you have all of the latest improvements. Follow these steps carefully to avoid any issues.

Important: In Step 2, it is important to use the correct command based on how the module was installed.

Step 1: Enable Maintenance Mode

To prevent a broken page, enable Maintenance Mode by running:

php bin/magento maintenance:enable

Note: The location of your php executable may vary depending on your server.

Step 2: Update the module

Navigate to your server terminal and run the correct command based on how your NitroPack module was installed:

  • If installed through Packagist:
    โ€‹

    composer require nitropack/magento2-extension 

  • If installed through Adobe Marketplace:
    โ€‹

    composer require nitropack/nitropack-extension

Important: Using the wrong command can duplicate the NitroPack module and cause issues. If you are unsure, check your installation method with:

composer show | grep 'nitropack'

  • If the output shows nitropack/nitropack-extension, it was installed through Adobe Marketplace.

  • If the output shows nitropack/magento2-extension, it was installed through Packagist.

Step 3: Complete the Update

Run the following commands to complete the NitroPack Magento extension update:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

Step 4: Verify NitroPack Extension Status

Check if the extension is active by running:

php bin/magento module:status NitroPack_NitroPack

If the NitroPack extension has been enabled successfully, you will see the following output:

Module is enabled.

If the extension is disabled, enable it with:

php bin/magento module:enable NitroPack_NitroPack

Step 5: Clean the store cache

Clear the existing Magento cache to apply the changes:

php bin/magento cache:clean

Step 6: Disable Maintenance mode

Disable Maintenance Mode with:

php bin/magento maintenance:disable

Step 7: Verify Functionality

Verify that the NitroPack extension is working by logging into the admin panel and accessing NitroPack > Settings.

By following these steps, you will successfully upgrade the NitroPack extension for Magento.

๐Ÿ“ŒIf you need assistance or have questions, contact our Support team using the chat bubble on the bottom right of this page.

Did this answer your question?