I created a droplet and installed Magento using 1-click install. Everything went smooth for a few hours and then I got the error:
Error 503 Backend fetch failed
Nothing was changed on the website.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
In such cases it is always best to check your Apache error log to see the actual error:
tail -100 /var/log/apache2/error.log
In there you will see the actual error rather than the generic 503 error.
It sounds like that the Apache service might not be running so Varnish is unable to connect to the backend, you can try restarting Apache with:
sudo systemctl restart apache2
Let me know how it goes.
Best,
Bobby
This sounds like your WebSerivce has failed. In the Magento MarketPlace image here :
https://marketplace.digitalocean.com/apps/magento-2-open-source
I can see it’s using Apache.
That means you’ll need to check your Apache service if it’s running.
- systemctl status apache2
If it’s not working or says failed, it’s best to check the error log to see the reason:
- tail -n100 /var/log/apache2/error.log
Most commonly, Apache2 gets killed by the Droplet when there is a shortage of Memory. In such cases, an upgrade or adding a SWAP file is a nice approach. It really depends on how you go about such issues. My recommendation would be to first try with a SWAP file and then if still needed go for an upgrade(if that’s the cause if the issue ofcourse).
https://www.digitalocean.com/community/tutorial_collections/how-to-add-swap-space
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.