The Most Popular Extension Builder for Magento 2

With a big catalog of 224+ extensions for your online store

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.

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

Service Temporarily Unavailable

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 Started
hire magento developers

Why 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 Magento 2

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.

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

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.

Image Description
With over a decade of experience crafting innovative tech solutions for ecommerce businesses built on Magento, Jacker is the mastermind behind our secure and well-functioned extensions. With his expertise in building user-friendly interfaces and robust back-end systems, Mageplaza was able to deliver exceptional Magento solutions and services for over 122K+ customers around the world.

Looking for Magento Development Company?

8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.

Get free consultant
development service
x

    Explore Our Products:

    People also searched for

    Subscribe

    Stay in the know

    Get special offers on the latest news from Mageplaza.

    Earn $10 in reward now!

    Earn $10 in reward now!

    comment
    iphone
    go up