How to upgrade an extension
To upgrade an extension, take the following steps:
- Back up your store database and web directory.
- Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
- Run the command
composer require mirasvit/module-cataloglabel:* --update-with-dependencies
to update the current extension with all dependencies.Note
In some cases, the command above is not applicable, or you are unable to update just the current module, and need to upgrade all Mirasvit modules in a bundle. In this case, the command above will have no effect.
Instead, run thecomposer update mirasvit/*
command. It will update all Mirasvit modules installed in your store.
- Run the command
php -f bin/magento setup:upgrade
to install updates. - Run the command
php -f bin/magento cache:clean
for a clean cache. -
Deploy static view files
rm -rf pub/static/frontend/*; rm -rf pub/static/backend/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy