This article shows how to disable maintenance mode in the event your store shows the error message, “The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.” This also sometimes appears as HTTP error code 503.
ATTENTION: This error code is often the result of a failed or prolonged installation, upgrade, or backup causing your store to become “stuck” in maintenance mode. It is easily fixed with the below solution, or by contacting our Support Team for assistance.
Read Magento 1 vs Magento 2: Should You Stay or Should You Go?
By default, both Magento 1 and 2 will put your store in maintenance mode when installing or upgrading, or during backup creation. In most cases, this works as expected, and your store exits maintenance mode after the operation completes.
However, when larger operations fail, it can sometimes cause your store to become “stuck” in maintenance mode. Stores in maintenance mode show the message, “The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”
To stop maintenance mode and restore your store’s normal function, use one of the below methods to delete the maintenance.flag file in Magento 1, or the var/.maintenance.flag file in Magento 2.
ATTENTION: Angled brackets (<>) indicate placeholder information. Replace those brackets and everything between them with the indicated value.
This method requires you have a working FTP client configured to use with your server. If you already do, skip to Step 3.
cd <path_to_magento_root>/public_html/
rm maintenance.flag
rm var/.maintenance.flag
This method only works in Magento 2. See the Get started with command-line configuration article on the Magento 2 website for more information.
Issue the below command to remove the var/.maintenance.flag file:
bin/magento maintenance:disable
See the Magento documentation for more information about Magento maintenance mode.
For 24-hour assistance any day of the year, contact our support team by email or through your Client Portal.
Our award-winning customer care team is here for you.
Contact Support