Hi everyone.
I have a working server running Truenas Core with a running commit of ‘4c1b43a’ which has a user of mcserver etc and runs ok. Have made an archive on this server and transferred it to a new server.
Am running Truenas Scale on this server, sorted out some storage etc and created a Docker Image using what instructions I could find using the hexparrot/mineos latest docker pull commit ‘b6e0d1e’
Installs fine, can look at log to find mc password or simply log into shell and hit passwd mc and create a new password.
Log into WebGUI using mc and said new password and things look great.
With storage I set up managed to get archive into said import folder on new server.
Attempt to create a server from archive does not work…
Thought well we could just extract it into a created folder and try and run that…
Few permission issues and lots of googling later I think I have all the folder permissions correct.
Log in and my server is there ready to start it seems
Long story short when I now hit start nothing happens…
Look at mineos.log
{“level”:“info”,“message”:"[Survival] 192.168.1.151 issued command : “start”",“timestamp”:“2022-04-26T11:38:15.927Z”}
{“level”:“info”,“message”:"[Survival] received request “start”",“timestamp”:“2022-04-26T11:38:15.927Z”}
This is all the log tells me now, had issues with it telling me java was compiled by earlier version and upgraded to jdk-17 and that made that go away but I am not getting any log errors I can use to figure out what to do next…
Been a few late nights so far to try and move my kids server over onto a faster server as the old one keeps lagging when there is 3 people playing on it (on a rather old Athlon PC with not enough RAM)
For the record when I am in /var/games/minecraft/servers/Survival and hit
java -jar minecraft_server.1.18.2.jar it starts just fine and I can log in and play etc so must be something specific to the WebGUI not allowing it to start.
Any thoughts or magic command line stuff I can try to get to the bottom of why this will not run from the WebGUI?
Second but smaller question…
When you restart the server the docker comes back online and all the files are where they are meant to be due to the storage working etc but I can’t figure out how to change the startup of the Docker so that it sticks with the new password I give ‘mc’ user. I have to log back into the shell and hit passwd ‘mc’ and save a new password again before I can log into the WebGUI (or i can take the created password from the logs and use that)
Thanks
Matt