Griefed / ServerPackCreator

Create a server pack from a Minecraft Forge, NeoForge, Fabric, LegacyFabric or Quilt modpack!
https://serverpackcreator.de
GNU Lesser General Public License v2.1
200 stars 10 forks source link

[Help request] After creating a Server and running the start.sh the server randomly crashes after running "runJavaCommand() { "$JAVA" ${1} }" #474

Closed emilb666 closed 1 year ago

emilb666 commented 1 year ago

So Server works most of the time but when it runs line 53

runJavaCommand() {
  "$JAVA" ${1}
}

it says killed 512 ish entities and then it crashes and force restarts. This is just from using the start.sh i have no clue what it is since logs say nothing except this

Anything else you would like to add?

Using latest 4.3.1 release

sorry quite new with using github so please excuse error in usage

Code of Conduct

Griefed commented 1 year ago

Heya emilb666,

could you please provide the start.sh as well as the variables.txt file created by ServerPackCreator. Also, please provide the latest.log from the logs-directory of the server, if it exists.

Cheers, Griefed

Griefed commented 1 year ago

sorry quite new with using github so please excuse error in usage

No worries! We all gotta start somewhere. :)

You can simply drag and drop the files into the comment field and then submit said comment via the Comment-button. text.txt Like this:

emilb666 commented 1 year ago

variables.txt start.txt Hey thanks for the help, wouldnt let me upload with start.sh so changed it to txt

emilb666 commented 1 year ago

oh ye also its running in a docker container if that has something to do with it

Griefed commented 1 year ago

The killed 512 ish entities-bit irks me. Nothing in the variables.txt or start.sh files seems to be out of the ordinary.

You mentioned the server restarts automatically? That hints at the scripts or variables not being at fault here. It is possible that it's a mod-issue of the server pack, as in, a mod in your server pack is causing trouble. Could you gimme the logs of the container shortly before it crashes up to the automatic restart of it?

emilb666 commented 1 year ago

2023-10-10-1.log these are the server logs 15min before crash. the container isnt stopping so the server is just restarting so which like you said might just be a mod issue. ill have a look around the mods and see if there is some comptability issues

just such a weird error that i hadnt seen before so thought to ask here considering its in the start.sh

Griefed commented 1 year ago

It does look like your server is having a little trouble there. I'm used to seeing the occasional moved too quickly, especially on heavily modded servers, but your server is saying that quite often. It's also regularly behind on ticks, with values between 2s and 8s.

As the server itself is running, at least until it crashes, this is not a ServerPackCreator related issue.

Though I'll be happy to take a look at the log at the time around a crash when you can provide one. As for this issue, I'll go ahead and close it. Feel free to post the crash-log when you got one.

Until then. Happy issue-hunting, good luck and Cheers, Griefed