How to upgrade extension
To upgrade the extension, follow these steps:
- Backup your store's database and web directory.
- Login to your server's SSH console and navigate to the root directory of the Magento 2 store.
-
Run command
composer require mirasvit/module-blog-mx:* --update-with-dependencies
to update current extension with all dependencies.Note
There are some cases when the command above is not applicable; it is not possible when updating the current module; neither will it be applicable when upgrading all the Mirasvit modules in a bundle. In this case, the command above will be of no effect.Run instead
composer update mirasvit/*
command. It will update all Mirasvit modules installed in your store. - Run command
php -f bin/magento module:enable Mirasvit_Core Mirasvit_BlogMx Mirasvit_Comment
to enable the extension. - Run command
php -f bin/magento setup:upgrade
to install updates. - Run command
php -f bin/magento cache:clean
to clean the cache. -
Deploy static view files
rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy
Note
If you have the Hyva installed, run:
composer require mirasvit/module-blog-mx:* mirasvit/module-blog-mx-hyva:* --update-with-dependencies