I ssh’ed into my droplet and everything was… green? the directories are usually blue and I have a ruby on rails API on there. When I try to run it, it says that rails isn’t installed…But I ran it yesterday… and the day before… When I ssh into my other droplet it doesn’t have this issue so… I don’t know what to do. This happened before so I just destroyed that droplet and got a new one but now it’s happening again and I dont’ want to keep getting new droplets so…I really don’t understand whats going on :(
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello,
This sounds like a command is being executed which causes the issue for you. There are a few things that I would recommend checking:
The output will look like this:
That way you will be able to tell if someone from anther IP address is accessing your Droplet.
That way you will be able to see which command caused the problem
Enable backups for your Droplet, that way you will be able to restore to a working backup rather than starting from scratch every time there is a problem
Configure your firewall so that you could restrict some of the access to your Droplet. You can take a look at this tutorial here on how to do that:
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-18-04
Let me know how it goes! Regards, Bobby