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."
Affected versions and products
- Magento Commerce Cloud 2.2.x, 2.3.x
- Magento Commerce 2.2.x, 2.3.x
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 loading.
To check the current maintenance mode status run the following command from the CLI:
To disable maintenance mode run the following command in CLI:
To learn when to use maintenance mode, refer to DevDocs Enable or disable maintenance mode.