How to fix Service Temporarily Unavailable (Error 503) in Magento
Male avatar

magetop viết ngày 13/12/2019

If you are a Magento user, you may have seen error 503 – Service Temporarily Unavailable. And you don’t know how to fix this issue. In this post, I will show you how to fix it.
alt text

First, you have to learn about this error.

Error 503 code – Service Temporarily Unavailable is the server cannot handle the request (because it is overloaded or down for maintenance). Generally, this is a temporary state. It is one of the common errors while setting the Magento store.

So, why does it occur?

During the installation of Magento, it creates a file maintenance.flag. If the file still exists, the system will display an error 503 – Service Temporarily Unavailable. It will automatically delete that file after processing. But sometimes, it wasn’t deleted.

Disable the maintenance mode:

  • Go to Magento root folder and delete var/.maintenance.flag.
  • Fresh Magento 2 cache: php bin/magento cache:flush or via the Admin Panel.
  • If you see a message saying: “Exception printing is disabled by default for security reasons.” on the error log.
  • And if have an error “Please Upgrade your database”, run php bin/magento setup:upgrade from the root directory.

*/ Note: Magento 1 maintenance mode file is different from Magento 2 maintenance mode file. Magento 1: delete maintenance.flag file from Magento root folder and Magento 2: delete .maintenance.flag file from the folder [Magento root folder]/var.

Source : https://www.magetop.com/blog/how-to-fix-service-temporarily-unavailable-in-magento/

Visit magetop blog to get useful information about ecommerce and magento

Bình luận


White
{{ comment.user.name }}
Bỏ hay Hay
{{comment.like_count}}
Male avatar
{{ comment_error }}
Hủy
   

Hiển thị thử

Chỉnh sửa

Male avatar

magetop

9 bài viết.
1 người follow
Kipalog
{{userFollowed ? 'Following' : 'Follow'}}
{{like_count}}

kipalog

{{ comment_count }}

bình luận

{{liked ? "Đã kipalog" : "Kipalog"}}


Male avatar
{{userFollowed ? 'Following' : 'Follow'}}
9 bài viết.
1 người follow

 Đầu mục bài viết

Vẫn còn nữa! x

Kipalog vẫn còn rất nhiều bài viết hay và chủ đề thú vị chờ bạn khám phá!