Server not starting through Web-UI - TrueNAS

I followed a guide on how to install MineOS for truenas and I ran into issues starting any server I tried to make, so I used the pre-made MineOS plugin that’s available from their community, but getting the same issue.
The logs don’t give me any good information to go off of, but here they are anyway

{"level":"info","message":"Starting up server, using commit: c04a177 fix misslabled class initialization (#430)\n","timestamp":"2021-12-11T18:41:16.226Z"}
{"level":"info","message":"[WEBUI] mcserver connected from 192.168.0.24","timestamp":"2021-12-11T19:16:23.228Z"}
{"level":"info","message":"/usr/local/games/minecraft/profiles.d","timestamp":"2021-12-11T19:16:23.315Z"}
{"0":"de_DE","1":"en_US","2":"fr_FR","3":"it_IT","4":"ja_JP","5":"no_NB","6":"ru_RU","7":"sv_SE","level":"info","message":"","timestamp":"2021-12-11T19:16:23.330Z"}
{"level":"info","message":"Downloaded information for collection: BungeeCord (10 entries)","timestamp":"2021-12-11T19:16:23.885Z"}
{"level":"info","message":"Downloaded information for collection: Cuberite C++ Server (4 entries)","timestamp":"2021-12-11T19:16:24.113Z"}
{"level":"info","message":"Downloaded information for collection: Feed the Beast Server Packs - old (566 entries)","timestamp":"2021-12-11T19:16:24.442Z"}
{"level":"info","message":"Downloaded information for collection: Imagicalmine (1 entries)","timestamp":"2021-12-11T19:16:24.443Z"}
{"level":"info","message":"Downloaded information for collection: Forge Mod (54 entries)","timestamp":"2021-12-11T19:16:24.453Z"}
{"level":"info","message":"Downloaded information for collection: Feed the Beast Third-Party Server Packs - old (278 entries)","timestamp":"2021-12-11T19:16:24.496Z"}
{"level":"info","message":"Downloaded information for collection: Nukkit (2 entries)","timestamp":"2021-12-11T19:16:24.496Z"}
{"level":"info","message":"Downloaded information for collection: Mojang Official Minecraft Jars (551 entries)","timestamp":"2021-12-11T19:16:24.656Z"}
{"level":"info","message":"Downloaded information for collection: Spigot (1 entries)","timestamp":"2021-12-11T19:16:24.842Z"}
{"level":"error","message":"Unable to retrieve profile: paperspigot. The definition for this profile may be improperly formed or is pointing to an invalid URI.","timestamp":"2021-12-11T19:16:25.163Z"}
{"level":"info","message":"Downloaded information for collection: Mianite (23 entries)","timestamp":"2021-12-11T19:16:25.810Z"}
{"command":"create","server_name":"minecraft","properties":{"generate-structures":true,"server-port":"24701","difficulty":"2","gamemode":"0"},"level":"info","message":"[WEBUI] Received emit command from 192.168.0.24:mcserver","timestamp":"2021-12-11T19:16:41.614Z"}
{"level":"info","message":"[minecraft] Discovered server","timestamp":"2021-12-11T19:16:41.618Z"}
{"level":"error","message":"[minecraft] Create tail on logs/latest.log failed","timestamp":"2021-12-11T19:16:41.621Z"}
{"level":"info","message":"[minecraft] Watching for file generation: logs/latest.log","timestamp":"2021-12-11T19:16:41.621Z"}
{"level":"error","message":"[minecraft] Create tail on server.log failed","timestamp":"2021-12-11T19:16:41.621Z"}
{"level":"info","message":"[minecraft] Watching for file generation: server.log","timestamp":"2021-12-11T19:16:41.621Z"}
{"level":"error","message":"[minecraft] Create tail on proxy.log.0 failed","timestamp":"2021-12-11T19:16:41.621Z"}
{"level":"info","message":"[minecraft] Watching for file generation: proxy.log.0","timestamp":"2021-12-11T19:16:41.622Z"}
{"level":"error","message":"[minecraft] Create tail on logs/fml-server-latest.log failed","timestamp":"2021-12-11T19:16:41.622Z"}
{"level":"info","message":"[minecraft] Watching for file generation: logs/fml-server-latest.log","timestamp":"2021-12-11T19:16:41.622Z"}
{"level":"info","message":"[minecraft] Using skipDirEntryPatterns: world,world_the_end,world_nether,dynmap,plugins,web,region,playerdata,stats,data","timestamp":"2021-12-11T19:16:41.622Z"}
{"level":"info","message":"[minecraft] mcserver (192.168.0.24) joined server namespace","timestamp":"2021-12-11T19:16:41.645Z"}
{"level":"info","message":"[minecraft] Server created in filesystem.","timestamp":"2021-12-11T19:16:41.668Z"}
{"level":"error","message":"Unable to retrieve profile: travertine. The definition for this profile may be improperly formed or is pointing to an invalid URI.","timestamp":"2021-12-11T19:16:44.476Z"}
{"level":"error","message":"Unable to retrieve profile: waterfall. The definition for this profile may be improperly formed or is pointing to an invalid URI.","timestamp":"2021-12-11T19:16:44.496Z"}
{"level":"info","message":"Downloaded information for collection: SpongeVanilla (764 entries)","timestamp":"2021-12-11T19:16:44.969Z"}
{"profile":{"id":"1.18.1","time":"2021-12-10T08:26:34+00:00","releaseTime":"2021-12-10T08:23:00+00:00","type":"release","group":"mojang","webui_desc":"Official Mojang Jar","weight":0,"downloaded":false,"filename":"minecraft_server.1.18.1.jar","version":"1.18.1","release_version":"1.18.1","url":"https://launcher.mojang.com/v1/objects/125e5adf40c659fd3bce3e66e67a16bb49ecc1b9/server.jar","$$hashKey":"object:279"},"command":"download","level":"info","message":"[WEBUI] Received emit command from 192.168.0.24:mcserver","timestamp":"2021-12-11T19:16:49.430Z"}
{"level":"info","message":"[WEBUI] Successfully downloaded https://launcher.mojang.com/v1/objects/125e5adf40c659fd3bce3e66e67a16bb49ecc1b9/server.jar to /var/games/minecraft/profiles/1.18.1/minecraft_server.1.18.1.jar","timestamp":"2021-12-11T19:16:51.851Z"}
{"level":"info","message":"Downloaded information for collection: Cuberite C++ Server (4 entries)","timestamp":"2021-12-11T19:16:52.056Z"}
{"level":"info","message":"Downloaded information for collection: BungeeCord (10 entries)","timestamp":"2021-12-11T19:16:52.206Z"}
{"level":"info","message":"Downloaded information for collection: Feed the Beast Server Packs - old (566 entries)","timestamp":"2021-12-11T19:16:52.415Z"}
{"level":"info","message":"Downloaded information for collection: Imagicalmine (1 entries)","timestamp":"2021-12-11T19:16:52.416Z"}
{"level":"info","message":"Downloaded information for collection: Feed the Beast Third-Party Server Packs - old (278 entries)","timestamp":"2021-12-11T19:16:52.568Z"}
{"level":"info","message":"Downloaded information for collection: Mojang Official Minecraft Jars (551 entries)","timestamp":"2021-12-11T19:16:52.750Z"}
{"level":"info","message":"Downloaded information for collection: Nukkit (2 entries)","timestamp":"2021-12-11T19:16:52.923Z"}
{"level":"info","message":"Downloaded information for collection: Forge Mod (54 entries)","timestamp":"2021-12-11T19:16:52.926Z"}
{"level":"info","message":"Downloaded information for collection: Spigot (1 entries)","timestamp":"2021-12-11T19:16:52.926Z"}
{"level":"info","message":"Downloaded information for collection: Mianite (23 entries)","timestamp":"2021-12-11T19:16:52.954Z"}
{"level":"error","message":"Unable to retrieve profile: paperspigot. The definition for this profile may be improperly formed or is pointing to an invalid URI.","timestamp":"2021-12-11T19:17:08.329Z"}
{"level":"error","message":"Unable to retrieve profile: travertine. The definition for this profile may be improperly formed or is pointing to an invalid URI.","timestamp":"2021-12-11T19:17:08.384Z"}
{"level":"error","message":"Unable to retrieve profile: waterfall. The definition for this profile may be improperly formed or is pointing to an invalid URI.","timestamp":"2021-12-11T19:17:08.436Z"}
{"level":"info","message":"Downloaded information for collection: SpongeVanilla (764 entries)","timestamp":"2021-12-11T19:17:08.706Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"modify_sc\"","timestamp":"2021-12-11T19:17:25.382Z"}
{"level":"info","message":"[minecraft] received request \"modify_sc\"","timestamp":"2021-12-11T19:17:25.383Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"modify_sc\"","timestamp":"2021-12-11T19:17:27.136Z"}
{"level":"info","message":"[minecraft] received request \"modify_sc\"","timestamp":"2021-12-11T19:17:27.137Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"accept_eula\"","timestamp":"2021-12-11T19:17:30.766Z"}
{"level":"info","message":"[minecraft] received request \"accept_eula\"","timestamp":"2021-12-11T19:17:30.767Z"}
{"level":"info","message":"[minecraft] eula.txt detected: ACCEPTED (eula=true)","timestamp":"2021-12-11T19:17:31.230Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"start\"","timestamp":"2021-12-11T19:17:31.823Z"}
{"level":"info","message":"[minecraft] received request \"start\"","timestamp":"2021-12-11T19:17:31.823Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"start\"","timestamp":"2021-12-11T19:19:00.956Z"}
{"level":"info","message":"[minecraft] received request \"start\"","timestamp":"2021-12-11T19:19:00.956Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"start\"","timestamp":"2021-12-11T19:19:02.697Z"}
{"level":"info","message":"[minecraft] received request \"start\"","timestamp":"2021-12-11T19:19:02.697Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"start\"","timestamp":"2021-12-11T19:19:03.311Z"}
{"level":"info","message":"[minecraft] received request \"start\"","timestamp":"2021-12-11T19:19:03.311Z"}
{"level":"info","message":"[minecraft] 192.168.0.24 issued command : \"start\"","timestamp":"2021-12-11T19:19:03.462Z"}
{"level":"info","message":"[minecraft] received request \"start\"","timestamp":"2021-12-11T19:19:03.463Z"}
{"command":"start","uuid":"33b49370-5ab7-11ec-a45d-ef1307a3fd0c","time_initiated":1639250343463,"success":false,"err":"!up","time_resolved":1639250343566,"level":"error","message":"[minecraft] command \"start\" errored out:","timestamp":"2021-12-11T19:19:03.567Z"}

I have previously tried using different server Jar files, and it’s capable of running the spigot build tools just fine, it just can’t run any server jar files.
I ran a SHA-265 checksum on the 1.18.1 jar in the var/games/minecraft/servers/minecraft folder and it has a value of SHA256: EBCD120AD81480B968A548DF6FFB83B88075E95195C8FF63D461C9DF4DF5DBDF
which is the exact same as one I downloaded from Mojang directly so I don’t believe it’s corruption that’s an issue.
The eula.txt is showing as eula=true, so that’s fine.
The jail I’m running this on is running the OpenJDK version 16 so that’s the only thing I could think could be the issue?

Any guidance on this would be highly appreciated, thanks.

Tried updating node js, but that seems to have broken authentication. I’m going to re-install it all again

Updating to openjdk17 also breaks authentication for some reason :thinking: I’m going to re-install it all again

Updating to openjdk17 this time around didn’t break authentication, but it still didn’t work :weary:

can you run the 1.18.1 directly with java from the console and see what happens?
also ensure java version is the latest for 1.18.1
java --version
java -jar /path/to/1.18.1.jar

1 Like

It WAS java being out of date that was causing it!
For some reason, it didn’t install, or maybe I just downloaded it without installing? But anyway, I installed openjdk17, then on the host machine, I ran

mount -t fdescfs fdesc /mnt//iocage/jails/MineOS/root/dev/fd
mount -t procfs proc /mnt//iocage/jails/MineOS/root/proc

And we’re up and running! : D
Thank you for your reply and assistance, it is much appreciated c:

I’m glad that it lead to you getting up and running :+1:

1 Like