Service Temporarily Unavailable Magento 2 - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Vinh Jacker | 06-01-2016
Service Temporarily Unavailable Magento 2 or Unable to proceed: the maintenance mode is enabled with message The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. is a common error in Magento 1 and Magento 2 during the Magento store or Magento extension installation process. In this post, I will show you why this error happens and how to resolve this issue.
Related topics
- How to Configure the Default Page
- How to Configure EU Tax
- How to Change Favicon
- How to Add New CMS Blocks
- How to Configure DHL Carrier
Service Temporarily Unavailable
- Why does this error occur?
- Service Temporarily Unavailable in Magento 1
- Service Temporarily Unavailable in Magento 2
- Problem: Unable to proceed: the maintenance mode is enabled in Magento 2
Hire Magento Developers
What you need to do is only describing desired features of the Magento website, we will help you to build the store that ticks all the boxes!
Get StartedWhy does this error occur?
Service Temporarily Unavailable the server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
The message shows that the store is not available right now and it may be the cause of:
- server capacity problems
- enabled maintenance mode
- server misconfiguration
During the installation process, Magento creates the file maintenance.flag
, if Magento checks that file exists, it will show users the error message as I showed above. Generally, it will automatically remove maintenance.flag
file after the processing has been done, but there is something wrong and you cannot delete it.
Service Temporarily Unavailable in Magento 1
You should check if there is a file maintenance.flag
in the Magento root folder.
Solution
Delete the file maintenance.flag
in Magento root folder.
Service Temporarily Unavailable in Magento 2
It is very similar to that in the Magento 1.
The file now is .maintenance.flag
not maintenance.flag
. There is a dot at the begining of the file.
Solution
- Delete a file called
var/.maintenance.flag
in the Magento root folder - Remove Magento cache if there is any, using this command:
php bin/magento cache:flush
- If there is an error, you will see the message “Exception printing is disabled by default for security reasons,” What you need to do is check the error log.
- If the error log indicates “Please upgrade your database,” execute
php bin/magento setup:upgrade
from the root directory.
Problem: Unable to proceed: the maintenance mode is enabled in Magento 2
Unable to proceed: the maintenance mode is enabled.
#0 /var/www/html/magento/team1/ce207/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Bootstrap->assertMaintenance()
#1 /var/www/html/magento/team1/ce207/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#2 {main}
Solution
- Delete a file called
var/.maintenance.flag
in Magento root folder
Final words
You may encounter this Service Temporarily Unavailable error when installing your store or extensions, but fixing it only takes a few easy steps as above. But if you did not find the answer you need, don’t hesitate to leave comments and we will be more than happy to support you.