By ruffrabbit
RUFF RABBIT
I’ve been having issues when it comes to rebooting my droplet. At first this happened in-between a SSH session while it was idle, but since then it’s been happening consistently every time I reboot my droplet. When I reboot my droplet after installing some programs or changing an important config (usually Nginx or another program that can’t work without restarting the server anyway), and then there’s no internet. Can’t connect inside the droplet through the console or outside using the domain, nor can I ping to it from my server. What I’ve had to do is:
Take of snapshot of malfunctioning droplet Make a new droplet from scratch Change the domain DNS records, Nginx config, etc to fit the new droplet
And then it works again. But sadly I can’t really do this forever because eventually billing is going to bite me in my behind. No idea what’s causing this because Nginx logs don’t give any errors besides the conflicting server name errors, which was solved by removing another domain name I was using for the site. Firewall isn’t blocking anything because when I’ve connected through other devices or asked other people to connect it still won’t go through.
I know currently there is maintenance for Spaces in SFO2 where my droplet region is but I do not use Spaces, so I am not sure if that is affecting anything in my case.
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, i literally had this issue just right now, after using reboot command in terminal. the following lines should fix up the issue.
sudo systemctl restart systemd-networkd
ifconfig eth0 down && ifconfig eth0 up
Hi @ruffrabbit,
This seems like a really serious problem. If you are unable to access your droplet even via the console after a reboot, I’ll recommend submitting a ticket to DigitalOcean’s support next time you experience the issue.
You can reach the support by opening this - DigitalOcean Support
One other thing, you don’t need to reboot your droplet everytime you make an Nginx or any other change on your droplet, you just need to restart the said service. For example, if you make a change to Nginx’s config you just need to restart Nginx itself like so
service nginx restart
Regards, KDSys
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.