Service Temporarily Unavailable Magento 2 - the maintenance mode is enabled in Magento 2

magento-2-tutorial
how-to
Service
Unavailable
featured

Service Temporarily Unavailable Magento 2 or Unable to proceed: the maintenance mode is enabled is a common error in Magento 1 and Magento 2 during installation Magento store or Magento extension process. In this post, I will show you how to resolve this issue.

Service Temporarily Unavailable:

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 is shown that the store is not available right now and it maybe causes of maintenance downtime or capacity problems (server in some cases).

Service Temporarily Unavailable Magento 2

Service Temporarily Unavailable in Magento 1:

You should check if there is a file maintenance.flag in Magento root folder.

Solution

Delete the file maintenance.flag in Magento root folder.

Why?

During installation process, Magento creates the file maintenance.flag, if Magento checks that file exist, and it will show to users the error messsage as I shown above. Generally, it will automatically remove maintenance.flag file after the processing done, but there are something went wrong and cannot delete it.

Service Temporarily Unavailable in Magento 2:

It is very similar with Magento 1 case. 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 Magento root folder
  • Remove Magento cache if any: php bin/magento cache:flush

Magento 2 Service Temporarily Unavailable

Problem: Unable to proceed: the maintenance mode is enabled in Magento 2

Unable to proceed: the maintenance mode is enabled.

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

Please leave comments if you have any questions, feedbacks.

Comments for Service Temporarily Unavailable Magento 2 - the maintenance mode is enabled in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

$199
17 reviews

Layered Navigation

$149
7 reviews

Affiliate

$149
7 reviews

FAQ

$149
10 reviews

Zoho CRM

$249
no review

Store Locator

$199
no review

Shop By Brand

$99
no review

Better Blog

FREE
7 reviews