Report this

What is the reason for this report?

500 Internal Server Error in my site.

Posted on December 22, 2019

I am stared using DigitalOcean a month ago. My site was running fine and an hour ago I decided to back up my DB using PHPMyAdmin but unfortunately, I entered the wrong password a few times. And It started showing HTTP ERROR 500. So, now the site is down. So, later on, I use the Power cycle from DO.

Now, I can access the console but the site is still down. Can anybody assist me? Earlier I had set up LEMP Server. Thanks



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.

This comment has been deleted

Hi @nepalourname,

There are a few possibilities, I’ll try and lay them down.

Services are down

It’s good to be able to enter into your droplet. Ssh to it

ssh root@YourDropletIp

Once you are in check if your services are down like this

service nginx status

This will show you if Nginx is loading or not. If it says failed, just type in

service nginx restart

This will try to restart the service for you. The same can be applied for MySQL as well.

Now, if it fails to load, there will be a reason behind it. Typing in

service nginx status

should show you the reason however if it doesn’t, the journal should help you out

journalctl -xe

Try the above and let me know how it goes. If it goes well, then great,if it doesn’t let me know what’s going on and I’ll further assist you.

Regards, KDSys

Anyone here to help.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.