Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Upgrade Magento extension(s)

Re-compile Magento:

Rebuild Magento Indexes:

bin/magento
Excerpt

*nix command

bin/magento setup:upgrade

*nix command

bin/magento setup:di:compile

*nix command

Excerpt

The follwing commands are usually executed for each Magento deployment.

Code Block
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento indexer:reindex

Re-deploy static content

*nix command
Code Block
rm -rf pub/static/frontend/ pub/static/deployed_version.txt  pub/static/adminhtml/

bin/magento setup:static-content:deploy -f

Clear / Clean Magento cache

*nix command
Code Block
bin/magento cache:clean
Disable

Last but not least, disable the Magento maintenance mode

*nix command
Code Block
bin/magento maintenance:disable

Note

If you run into any issues, try executing the following command and try again

rm -rf var/generation/* generated/*