msmhq / msm

An init script for managing Minecraft servers
http://msmhq.com
GNU General Public License v3.0
1.22k stars 225 forks source link

Can't load server.properties and eula #443

Closed Wys2 closed 7 months ago

Wys2 commented 1 year ago

Hi, I recently had an issue - when I start my server, it visually has no errors. But when I check status, it's off. Nothing is logged, no crash logs.

I tried "manually" starting my server, and this is printed :

Starting server Loading libraries, please wait... [21:30:20] [ServerMain/INFO]: Building unoptimized datafixer [21:30:21] [ServerMain/ERROR]: Failed to load properties from file: server.properties [21:30:21] [ServerMain/WARN]: Failed to load eula.txt [21:30:21] [ServerMain/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

Any ideas ? (I don't think it is an msm issue, but let's try anyway)

The server is using spigot 1.19.2

Wys2 commented 1 year ago

Update : I found out that some "bundle", "logs" and eula.txt / server.properties has been created in /opt...

endofcake commented 7 months ago

EULA is checked in the init script (https://github.com/msmhq/msm/blob/09e28b711882e587458467fb48edf196d47457f8/init/msm#L1442) and needs to be accepted by the user before the server can run. This is printed in the logs.