I just used ssh to do-release-upgrade from ubuntu 18.04 to 20.04 and now site is down


I followed this tutorial

and have now been shut out of my previous 18.04 ubuntu server installation.

I just would like to know where to begin to remedy this. I have no idea where to start.

If possible I would be ok with down grading from this.

the site is

I am self hosting it using WordPress.

Thank you.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 26, 2024


Happy to hear that you’ve got it all sorted out! In case that anyone comes across this in the future, here is a step-by-step guide on how to troubleshoot common Nginx problems:

Also, as a side note, I would advise on making usre that you have backups enabled before proceeding with such major upgrades:

- Bobby

Site Moderator
Site Moderator badge
May 25, 2024

Heya @jweinstein86,

The error you are getting is 502 Bad Gateway. There are a couple of possible issues starting from your WebService(Nginx) to your Application.

The first thing you need to do is check your Nginx’s error logs. You should be able to find them in /var/log/nginx/error_log. Try to open your website and check the last 50 lines.

tail -n 50 /var/log/nginx/error_log

Once you have them paste them as a comment here and I can further assist with the error.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel