Shopping cart

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

magento-2-tutorial
how-to
Service
Unavailable
featured
Service Temporarily Unavailable

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 Magento store or Magento extension installation process. In this post, I will show you how to resolve this issue.

Service Temporarily Unavailable in Magento

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 may be the cause 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.

Why?

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

Solution

Delete the file maintenance.flag in Magento root folder.

Service Temporarily Unavailable in Magento 2

It is very similar with 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: 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
97 reviews

SEO Ultimate

$299
32 reviews

Layered Navigation

$99
53 reviews

Gift Card

$199
6 reviews

Reward Points

$149
4 reviews

Affiliate

$149
12 reviews

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