Versions Compared

Key

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


Upgrade Magento extension(s)

Excerpt
Panel
languagepowershell
themeMidnight
title*nix command
bin/magento setup:upgrade

Re-compile Magento:

Panel
languagepowershell
themeMidnight
title*nix command
bin/magento setup:di:compile

Rebuild Magento Indexes:

Panel
languagepowershell
themeMidnight
title*nix command
bin/magento 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

rm -rf
Panel
languagebash
themeMidnight
title*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

Panel
languagebash
themeMidnight
title*nix command
Code Block
bin/magento cache:clean

Disable Last but not least, disable the Magento maintenance mode

Panel
languagebash
themeMidnight
title*nix command
Code Block
bin/magento maintenance:disable

Note

If you

face

run into any issues, try

running

executing the following command

Panel
languagebash
themeMidnight
title*nix command

and try again

rm -rf var/generation/* generated/*

When go though the all steps again