_after_installation

The follwing commands are usually executed for each Magento deployment.

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

Re-deploy static content

rm -rf pub/static/frontend/ pub/static/deployed_version.txt  pub/static/adminhtml/ bin/magento setup:static-content:deploy -f

Clear / Clean Magento cache

bin/magento cache:clean

Last but not least, disable the Magento maintenance mode

bin/magento maintenance:disable

 

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

rm -rf var/generation/* generated/*