Cookies setting

Cookies help us enhance your experience on our site by storing information about your preferences and interactions. You can customize your cookie settings by choosing which cookies to allow. Please note that disabling certain cookies might impact the functionality and features of our services, such as personalized content and suggestions. Cookie Policy

Cookie Policy
Essential cookies

These cookies are strictly necessary for the site to work and may not be disabled.

Information
Always enabled
Advertising cookies

Advertising cookies deliver ads relevant to your interests, limit ad frequency, and measure ad effectiveness.

Information
Analytics cookies

Analytics cookies collect information and report website usage statistics without personally identifying individual visitors to Google.

Information
mageplaza.com

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.

Vinh Jacker | 06-01-2016

Service Temporarily Unavailable

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.

x
    Jacker

    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.



    Related Post

    Website Support
    & Maintenance Services

    Make sure your store is not only in good shape but also thriving with a professional team yet at an affordable price.

    Get Started
    mageplaza services