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
18 reviews

Layered Navigation

$99
11 reviews

SEO

FREE
5 reviews

Shop By Brand

$99
no review

People also searched for:

  • Service Temporarily Unavailable Magento 2
  • error service temporarily unavailable magento 2
  • error 503 service temporarily unavailable in magento 2 apache localhost admin fix
  • magento 2 error 503
  • magento 2 service temporarily unavailable
  • magento 2 backend service temporarily unavailable
  • magento 2 connect manager service temporarily unavailable
  • magento 2 facebook connection failed. service temporarily unavailable
  • magento 2 problem service temporarily unavailable
  • magento 2 rest service temporarily unavailable
  • magento 2 service temporarily unavailable backup
  • after backup install update
  • upgrade plugin
  • magento 2 service temporarily unavailable remove
  • magento 2 stuck in service temporarily unavailable
  • magento 2 the service is temporarily unavailable. please try again later
  • service temporarily unavailable magento 2 rest api
  • where is maintenance flag in magento 2