Help! I have lost everything after the Latest Ubuntu Update [502 Bad Gateway NGINX Error]

Posted August 14, 2016 1.7k views

Hello Friends,

After the latest OS update all of my wordpress sites are having a ‘504 bad gateway nginx’ error, and the Ajenti control panel used is no longer working at all.

I’m hesitant to delete and reinstall the control panel because I don’t lose all the phpmyadmin and databases created through it.

Worst case scenario could I somehow create a new server and transfer the existing files over, even if I don’t have access to the file manager or control panel?

Your help on this is much appreciated. Thank you eh!

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.

Submit an Answer
1 answer

Please post your Ngnix error log. It is in /var/log/nginx/error.log by default.