- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings,
I restored a 2.3.3 backup. Did php bin/ magento cache:clean and flush. Still got message:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Additionally, a 503 Service Unavailable error was encountered while trying to use an ErrorDocument to handle the request.
How do I fix this? Thanks for your attention.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error log shows
bin/magento must be run as a CLI application
I changed php from 7.2 to 7.3. Now site shows.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 503 Service Unavailable error
Hi @Sheba
Kindly follow below steps for resolve your issue:
- Go to the Magento root folder to delete the file var/.maintenance.flag
- Refresh Magento 2 cache from php bin/magento cache:flush or via the Admin Panel
- Check the error log if you see a message saying “Exception printing is disabled by default for security reasons.”
- In case of an error like “Please Upgrade your database”, run php bin/magento setup:upgrade from the root directory.
It may help you!
Problem Solved? Please click on 'Kudos' & Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 503 Service Unavailable error
Hi Bhanu,
I see no .maintenance.flag in /public_html/var. I did grep -ri and it is referenced in CHANGELOG.md.
I have cleared cache many times. 503 error still shows.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento 2.3.3 503 Service Unavailable error
I also ran these commands, 503 error still shows
# php bin/magento setup:di:compile
# php bin/magento setup:static-content:deploy -f
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content