This article provides a fix for when your site doesn’t load due to maintenance mode being left enabled or not been disabled automatically. You may receive an error message: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems.
Maintenance mode is a part of the deployment process. However, if it has been enabled automatically and has not been disabled, or the merchant enabled maintenance mode manually and forgot to disable, it can cause a failed deployment.
Having maintenance mode enabled prevents the site to load.
To check the current maintenance mode status, run the following command from the CLI:
bin/magento maintenance:status
To disable maintenance mode, run the following command in CLI:
bin/magento maintenance:disable
To learn when to use maintenance mode, refer to Enable or disable maintenance mode in our developer documentation.