Service Temporarily Unavailable Magento?

MagentoMagento 1.4Magento 1.5

Magento Problem Overview


My application was working fine yesterday. I started my PC today. When I tried to start Magento I got this error message.

> Service Temporarily Unavailable > > The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I am not even able to open the admin page or see any sort of errors on the page. If I visit any URL of my Magento site I am getting the above output. How do I resolve this?

Magento Solutions


Solution 1 - Magento

Check if there is a file called maintenance.flag and if so delete it.

> Magento 1.x : maintenance.flag file is in : magento root directory

> Magento 2.x : maintenance.flag file is in : var folder

When Magento is performing certain tasks it temporarily creates this file. Magento checks for its existence and if it's there will send users to the page you described.

It's supposed to automatically delete this file when done processing whatever task it was doing, but I've experienced occasions where something went wrong and it failed to delete it.

Solution 2 - Magento

Simply delete the maintenance.flag file in root folder and then delete the files of cache folder and session folder inside var/ folder.

Solution 3 - Magento

Now in new version magento2 on Generate error Service Temporarily Unavailable.

Remove maintenance.flag

From this path which is changed magento2/var/maintenance.flag.

Also

$ rm maintenance.flag

Solution 4 - Magento

To fix Service Temporarily Unavailable Magento 2, you should:

  • Delete a file called var/.maintenance.flag in Magento root folder
  • Remove Magento cache if any: php bin/magento cache:flush

Solution 5 - Magento

I had the same issue but have not found the maintenance.flag file in my Magento root. I simply deleted cache and sessions files and all worked again.

Solution 6 - Magento

You need to follow these steps:

  1. Go to magento root directory via cPanel/FTP
  2. In case of Magento1, you will find maintenance.flag and delete it
  3. In case of Magento2, delete var/maintenance.flag

Solution 7 - Magento

go to your website via FTP/Cpanel, find maintenance.flag and remove

Solution 8 - Magento

In Magento 2 You have to remove file located in /var/.maintenance.flag - just realized that after some searching, so i shall share.

Solution 9 - Magento

You can do this thing:

Go to http://localhost/magento/downloader url. Here I am running the magento store on my localhost. Now you can login to magento connect manager and uninstall the extension which you installed previously.

Hope this works !!!!!

Thanks.

Solution 10 - Magento

If you run into this problem (like I did) and NO maintenance.flag file exists anywhere, it's the Redis cache that's causing the problem; clear it.

I had to clear the Redis cache by contacting my hosting company and let them do it because I don't have access to that cache.

I figured this out using this answer: https://magento.stackexchange.com/a/55814/77803

Solution 11 - Magento

Check the root folder of your Magento installation directory .You will find maintenance.flag file, delete it and refresh the site .it will work fine.

Solution 12 - Magento

I happen all the time when you install a new plugin. You just have to delete maintenance.flag file in your root directory

Solution 13 - Magento

If removing the flag shows service temporary unavailable. Go to "http://localhost.com/downloader" and unisntall slider banner,BusinessDecision_Interaktingslider,lightbox2 and anotherone that I dont remember.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionScoRpionView Question on Stackoverflow
Solution 1 - MagentoelMarquisView Answer on Stackoverflow
Solution 2 - Magentouser3146094View Answer on Stackoverflow
Solution 3 - MagentoRavi PatelView Answer on Stackoverflow
Solution 4 - MagentoSay TruthView Answer on Stackoverflow
Solution 5 - MagentoWaPoNeView Answer on Stackoverflow
Solution 6 - MagentoManish JoyView Answer on Stackoverflow
Solution 7 - MagentoPutra L ZendratoView Answer on Stackoverflow
Solution 8 - MagentotomekKView Answer on Stackoverflow
Solution 9 - MagentoJayendra GaikwadView Answer on Stackoverflow
Solution 10 - MagentoKenView Answer on Stackoverflow
Solution 11 - MagentoRana AhamedView Answer on Stackoverflow
Solution 12 - MagentoMohammed MuzammilView Answer on Stackoverflow
Solution 13 - Magentouser3813311View Answer on Stackoverflow