Magento Tutorials

How to Solve “Magento Service Temporarily Unavailable”

magento-service-temporarily-unavailable

What is Magento Service Temporarily Unavailable?

Magento service temporarily unavailable
Magento Service Temporarily Unavailable

“Service Temporarily Unavailable” is a Magento system message that appears everytime an operation (plugin installation, upgrade) is happening. This is to hide from customers any error occurs during the process. When this message is showing, your website is completely unavailable.

Why is it still there?

Technically, this message should disappear when a certain operation is complete. So why sometimes it is still showing after all tasks are done?

When your Magento website is under some operation, it generates a file that has the only function of showing “Service Temporarily Unavailable” message.

  • Magento 1.x: maintenance.flag file in Magento root folder
  • Magento 2.x: .maintenance.flag file in folder [root magento folder]/ var

Normally this file will be deleted automatically right after the operation is complete. However in some cases, there may be some error during the process that prevents Magento from deleting this file, which is why you still see the message after all the tasks are done.

How do I get rid of it?

Just follow this simple step to remove the Magento Service Temporarily Unavailable message after extension install or after upgrade

  • Magento 1.x: Manually delete maintenance.flag file in Magento root folder
  • Magento 2.x: Manually delete .maintenance.flag file in folder [Magento root folder]/var

 

See more:
Magento 403 Forbidden Error
There has been an error processing your request

How to Solve “Magento Service Temporarily Unavailable”
5 (100%) 1 vote
1 Comments

Dom

A knowledge craver who always strive to be wiser everyday.

    1 Comments

    1. [Solved] Catalog Price Rules not working in Magento 2 - SimiCart
      12/04/2017 at 10:04 pm

      […] more: Magento Service Temporarily Unavailable Please re-run Magento compile […]

    Reply your comment

    Your email address will not be published. Required fields are marked*