If i update any modules or disable extensions my website showing an error message, i do following all the commands then coming back to normal,
rm -rf var/di/* var/generation/* var/cache/* var/log/* var/page_cache/* var/session/* var/view_preprocessed/* pub/static/*
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f // (-f for Development Mode)
php bin/magento cache:flush
Give permission
Time to complete a minimum of 5 minutes, during that time my website showing error message like
- Permission related issue
- Static files related issue
How to overcome this issue in the Production Mode?