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
- Adobe Commerce on cloud infrastructure 2.2.x, 2.3.x
- Adobe Commerce on-premises 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 to load.
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 Enable or disable maintenance mode in our developer documentation.