Open ZenithAstralis opened 2 years ago
The ServerStarter Launcher looks for server.properties in the root directory, not the 'setup' folder or whatever you called it. If you copy server.properties to the same location as serverstarter.sh it will work.
That's how I got it working on my server in any case. YMMV
I'd been playing on the server with friends for a few days, and in an effort to increase chunk generation rate I enabled the ramdisk feature in
server-setup-config.yaml
by settingramDisk: true
and for a while it worked fine, but I think a power flicker took down the machine it was running on (a hazard when using volatile memory, I know) and when I tried to boot it up again it gave me the below. I disabled the ramdisk feature and it boots fine, but even after gracefully bringing it down again and re-enabling it, it just gave the same error.I'm rather new to bash scripting, but perhaps as it's shuffling the
$SAVE_DIR
var around between the disk location and memory it was set to the ramdisk location when it crashed, and since it never shutdown properly that var got stuck in the wrong state? It seems like it can't find theserver.properties
file, because nothing changed in it or where it was located. (I'm using the defaultworld
level name.)Thank you for making such a cool tool by the way! Every modpack server I've downloaded this month has used it, and it really give a lot of neat and useful features!
Supplemental: can I change the size of the ramdisk as specified in
startserver.sh
? The machine has 70G available, and I don't think I've seen it go over 10 since I started using it.Server log output: