Skip to main content

How to upgrade 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 current extension with all dependencies:

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

If the command doesn't work or you need to update all Mirasvit modules at once, use:

composer update mirasvit/*

If you have Hyvä theme, additionally run this command:

composer require mirasvit/module-social-login-hyva:*
  1. Re-enable the extension by running the following command:
php -f bin/magento module:enable Mirasvit_Core Mirasvit_SocialLogin

If you have Hyvä theme, additionally run this command:

php -f bin/magento module:enable Hyva_MirasvitSocialLogin
  1. Run the command below to install updates:
php -f bin/magento setup:upgrade
  1. Run the command below to clean the cache:
php -f bin/magento cache:clean
  1. Deploy static view files:
rm -rf pub/static/*; rm -rf var/view_preprocessed/*;
php -f bin/magento setup:static-content:deploy