I’ve successfully made a server over the last few weeks and everything had been running well, until suddenly I saw in my Discord server-log (I have the DiscordSRV plugin that streams the whole server log to a separate text channel on my Discord server) that the server suddenly couldn’t save chunks anymore, so I went to turn the server off, but found that the web interface wasn’t available anymore. I ried to run the stop command from the Discord, but that too, failed. I then had to log into the server and type /stop from there. The server stopped and I went into WinSCP to see if there was anything wrong with the files, it everything seemed in order, but when I tried to fiddle around a bit more I noticed that I couldn’t do anything. It gave an error code 4. I turned the whole computer off with PuTTY and had to do something else, thinking I’d fix it later.
Later I connected a screen and keyboard to the computer and turned it on. It booted a thing called “initramfs”. I googled the problem and found this (https://askubuntu.com/a/817660) answer, so I followed it, exchanging ‘reboot’ with ‘exit’, because ‘reboot’ didn’t do anything.
I finally booted into the standard blue screen again, so I exited out of that and landed on the login page. I logged in as root and tried to find out what the problem was. I finally found out that the filesystem was suddenly read-only!
That was not something I had done, so naturally I went and tried to Google a solution and found this (https://askubuntu.com/a/47547) so I tried it, but I couldn’t find the drive to remount. I tried to remount ‘/’ and that did something, but actually not. I can usually Google my way out of these kinds of problems, like I have done in the last few weeks trying to set everything up nicely and all, buy now I’m really stumped…
I did manage to get a backup on my main computer, so if everything goes very wrong I should be able to just reformat the drive, reinstall the OS and put everything back, but that would be quite the hassle so I really hope this can be fixed another way where I don’t lose my data.
Thanks for reading this whole thing, I know it’s a bit long. If there’s anything else I need to mention, just ask and I’ll try to deliver as much data as I can.
I really hope someone can help…