Auto Restart

Auto Restart

70.3k Downloads

Server won't restart

ToastiMan opened this issue ยท 5 comments

commented

Versions
Minecraft Version: 1.18.2
Minecraft Forge Version: 40.0.42
Mod Version: 2.0.0

Log files
Please append the log, debug-log and if available the crash-log files.

Describe the bug
I tried every step in your Instructions, also tried the external restart files, but somehow the server doesn't want to restart.
In the restart file that's in the auto_restart folder is only a "1".

In the latest.log you can see the line:
[08Apr2022 19:39:00.438] [Server thread/INFO] [de.geheimagentnr1.auto_restart.util.ServerRestarter/]: Saving restart status "EXCEPTION" to file

I had the rename the attached files to post them here.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour
Server restarting

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
latest.log
auto_restart-server.txt
runbat.txt
runsh.txt

commented

In the latest.log it looks like the server never is running without any issues, and a command like "/restart" or "/stop" is never called, Because there are no log information about the world being saved, and the server is getting stopped.
From the auto_restart-server.txt file, it looks like, that you are starting the server with a "start.sh", that you didn't provide in this issue. Do you a file named "start.sh" in your server directory? And if yes, do you have the permissions to execute it?

commented

Sorry, i uploaded the wrong latest.log. The right one is attached here.
I renamed the "run.sh" which is attached above to "start.sh". Permission for start.sh is set to 755
latest.log
startsh.txt
user_jvm_args.txt
.

commented

Please try to add "-d -m" to the screen command in your start.sh file, like in my examples: https://github.com/GeheimagentNr1/AutoRestart/wiki/Simple-Instructions%3A-1.3-Setup-%28MC-1.17.1-or-newer%2C-Linux%2C-Start-Script%29

commented

This issue/pull request has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs.

commented

This issue/pull request has been automatically closed because it has not had activity in a long time.