Upgrade Magento extension(s)
*nix command |
---|
bin/magento setup:upgrade |
Re-compile Magento:
*nix command |
---|
bin/magento setup:di:compile |
Rebuild Magento Indexes:
*nix command |
---|
bin/magento indexer:reindex |
Re-deploy static content
*nix command |
---|
rm -rf pub/static/frontend/ pub/static/deployed_version.txt pub/static/adminhtml/ bin/magento setup:static-content:deploy -f |
Clear Magento cache
*nix command |
---|
bin/magento cache:clean |
Disable maintenance mode
*nix command |
---|
bin/magento maintenance:disable |
If you run into any issues, try executing the following command and try again
rm -rf var/generation/* generated/*