Service Temporarily Unavailable Magento?

2019-01-20 23:00发布

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 able to open even admin page and I am not even able to see any sort of errors on then page. If I give any URL of my Magento site I am getting the above output. How do I resolve this?

11条回答
Bombasti
2楼-- · 2019-01-20 23:45

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.

查看更多
乱世女痞
3楼-- · 2019-01-20 23:48

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.

查看更多
爱情/是我丢掉的垃圾
4楼-- · 2019-01-20 23:54

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
查看更多
叼着烟拽天下
5楼-- · 2019-01-20 23:54

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
查看更多
冷血范
6楼-- · 2019-01-20 23:58

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.

查看更多
登录 后发表回答