Minecraft (java) has a weird error and will not start anymore

Pls read the whole thing! - So I recently biult a home server from a Dell OptiPlex 7010. (i7-3770, 14GB DDR3-1600, 1x 1TB HDD, GT 1030)

I’m booting it from a USB (not ideal but its all I had) Which has worked fine. Im using trueNAS Scale and using my HDD as a storage pool. After setting up a pool, I wanted to run a Minecraft server on it. I set up the biult-in “Minecraft Server (Java)” app on the docker. It actualy worked fine at first, but after i remade the pool, It is giving me a weird error i’ve never seen.

I do want to port forward it if I can get it working so I made a static IP for it. (Turned off DHCP and added my IP xxx.xxx.xx.134). great, my IP dos not change! Exept, now when i made my Minecraft server, it is giving me a weird error that i have no idea what it refers to. (Failed ‘up’ action for ‘Minecraft’ app. Please check /var/log/app_lifecycle.log for more details)

I’m kinda a noob when it comes to home servers, I’m just new to it and need some help.

I have to start off with the usual warning that with only 1 HDD you are risking losing all of your data. When that HDD fails you will lose all of your data. You probably already know this, but I felt like I had to say it.

That being said,

This means that the Minecraft app failed to start ‘up’. I.e. something went wrong when it was turning on. It is telling you to read the entry in the logs to get more information.

If you run the following line in the shell it should give you more information.
tail /var/log/app_lifecycle.log

Tysm ill definitaly try putting that in tot the shell next time i boot it up. I do understand the possible consiquenses of have a stipe (pretty sure, or just 1 HDD) as well as booting from a USB thumb drive. Not planning to sell storage or hold important documents. Just trying stuff out.

I will get back to you with results

Unfortunately the command did not work. On the other hand, by enabling “Host network” it is not up and running! You per chance know what that does (host network) and if so, is it still safe to port forward my minecraft server?

What happened when you tried to run the command? What was the error?

Here is an someone else explaining what host network does. Basically, it attaches the app network directly to the host network and not through the docker network bridge.

Not sure how it changes the risk of forwarding the port though. Usually it is a good idea to see if you really have to forward a port or if you can do something like tailscale to not have to forward it. A good place to start is thinking about who will actually be using it. If it is just you and a couple people, it could be possible to have them install tailscale to protect yourself better than forwarding a port.

The error was just a permission denied thing with no mention of further steps. Ill check out the link

Im just hosting the server for a few friends. I can look further into it if anything fishy happens

Yeah that just means you have to run it with sudo before it like this:

sudo tail /var/log/app_lifecycle.log

It will prompt you to enter the password and once you do that it will output the most recent lines in the log.

Im no linux pro but im seeing the connection to some linux comands lol!