After a moment of inactivity, I have just reactivated one of my digitalocean droplets on which I have deployed an odoo 14, but it returns a 502 Bad Gateway nginx/1.18.0 (Ubuntu) error. Can you help me identify the source of the problem and solve it at the same time please?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello @schalcke
You can verify that Nginx is running fine. 502 Bad Gateway nginx is a generic Nginx error.
To check the status:
If there is an error message you can also check the journal logs to extract additional information:
To restart the service:
Also, I’ll include this question from our community, make sure to check Bobby’s reply as it includes really useful information (video of troubleshooting as well)
https://www.digitalocean.com/community/questions/502-bad-gateway-nginx-2
Regards