Server closes when I try to start it

I want to start my server but it keeps closing as soon as I launch it, I dont want to just uninstall it because I want to keep my servers setup. It was working yesterday just didnt want to work today for some reason.

I have tried restarting my pc, moving the launcher out of the folder launching (failed) and then putting it back in and trying to launch it (same problem).

The client is working fine the server just doesnt want to stay open, I see the icon in the bottom right corner for a second and then it dissapears, same in task manager

Did you update the server?

allright I checked the log and it said that I had an old version, updated it and now its working. I had no idea there was a new update, and also thought that it would update automatically if there ever was an update.