My server kept shutting down as well.
I took all the files from FTP and reinstalled the server, after that I uploaded all the files, now the server runs completely smooth.
Hi,
I had the same issue,
I went on filezilla to the server and backed up everything physically. then reinstalled server and uploaded all files through filezilla again. that fixed my issue with server that kept shutting down.