Skip to main content

How to upgrade the extension

Follow these steps to update the extension via Composer:

  1. Back up your store's database and web directory.

  2. Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.

  3. Run the command below to update the extension with all dependencies:

    composer require mirasvit/module-copilot:* --update-with-dependencies
    tip

    If the command above does not work or you need to update all Mirasvit modules at once, run:

    composer update mirasvit/*
  4. Install the updates:

    php -f bin/magento setup:upgrade
  5. Clean the cache:

    php -f bin/magento cache:clean
  6. Deploy static view files:

    rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
    php -f bin/magento setup:static-content:deploy