Using screen to reattach to server console?
I'm on Ubuntu 24.04 and using Spigot. I followed a guide that had me create a user named "minecraft" to manage and launch the server as.
The issue came about when I SSH'd into the machine, but accidentally set the static IP on my router different than the static IP in Ubuntu's network settings. When I changed it on Ubuntu's side to match my router, my SSH session dropped, but the server was already up with user's logged in and I didn't want to interrupt gameplay.
I tried running screen -ls
on both the original user and the minecraft user, but screen says there are no sessions to attach to on either user.
I would also like to "softly" shutdown the server instead of rebooting the machine to prevent any issues, but the only way I know of is through the server console that I currently don't have access to.
Any help is greatly appreciated.