Versions Compared

Key

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

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

Note

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

rm -rf var/generation/* generated/*