AllTheMods / Server-Scripts

Server Startup Scripts
Other
68 stars 37 forks source link

Bootloop for 1.12 server (JATV) #70

Open ajuanjojjj opened 4 years ago

ajuanjojjj commented 4 years ago

ServerStart.bat reboots constantly, right after installing. First "installation" gives the following output.

*** Loading Journey Across The Void Server ***
Running Forge 2854 for Minecraft 1.12.2

::::::::::::::::::::::::::::::::::::::::::::::::::::
   Minecraft-Forge Server install/launcher script
   (Created by the "All The Mods" modpack team)
::::::::::::::::::::::::::::::::::::::::::::::::::::

This script will launch a Minecraft Forge Modded server

FOR HELP (or more details);
   Github:   https://github.com/AllTheMods/Server-Scripts
   Discord:  https://discord.gg/FdFDVWb

INFO: Checking java installation...
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Checking if current folder is valid...
Checking for basic internet connectivity...
Checking for forge/minecraft binaries...
FORGE 14.23.5.2854 binary not found, re-installing...
Clearing old files before installing forge/minecraft...

Downloading FORGE (step 1 of 2). This can take several minutes, please be patient...
Attempting to download "https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2854/forge-1.12.2-14.23.5.2854-installer.jar... this can take a moment, please wait."
Download complete.

Installing Forge now, please wait...

========================================================
 Journey Across The Void Server Files are now ready!
========================================================
Download/Install of Forge and Minecraft binaries was sucessfull.

Afterwards it reboots untill closed with the following output:

*** Loading Journey Across The Void Server ***
Running Forge 2854 for Minecraft 1.12.2

::::::::::::::::::::::::::::::::::::::::::::::::::::
   Minecraft-Forge Server install/launcher script
   (Created by the "All The Mods" modpack team)
::::::::::::::::::::::::::::::::::::::::::::::::::::

This script will launch a Minecraft Forge Modded server

FOR HELP (or more details);
   Github:   https://github.com/AllTheMods/Server-Scripts
   Discord:  https://discord.gg/FdFDVWb

INFO: Checking java installation...
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Checking if current folder is valid...
Checking for basic internet connectivity...
Checking for forge/minecraft binaries...
FORGE 14.23.5.2854 binary not found, re-installing...
Clearing old files before installing forge/minecraft...

Existing forge installer already found...
Default is to use this installer and not re-download

Installing Forge now, please wait...

========================================================
 Journey Across The Void Server Files are now ready!
========================================================
Download/Install of Forge and Minecraft binaries was sucessfull.

forge-1.12.2-14.23.5.2854-installer.jar.log

JVM info: Oracle Corporation - 1.8.0_231 - 25.231-b11
java.net.preferIPv4Stack=true
Found java version 1.8.0_231
Target Directory: .
Extractiung main jar:
  Extracted successfully
Considering minecraft server jar
Downloading libraries
Considering library net.minecraftforge:forge:1.12.2-14.23.5.2854
File exists: Checksum validated.

(*Bunch of other checksums*)

The server installed successfully, you should now be able to run the file forge
You can delete this installer file now if you wish

Settings.cfg

;SETTINGS FOR SERVERSTART SCRIPTS
;See "serverstart.log" in the LOGS subfolder 
;For more details/help see: https://github.com/AllTheMods/Server-Scripts

MAX_RAM=6G; 
JAVA_ARGS=-d64 -server -XX:+AggressiveOpts -XX:+UseConcMarkSweepGC -XX:+UnlockExperimentalVMOptions -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+UseAdaptiveGCBoundary; 
CRASH_COUNT=5; 
CRASH_TIMER=600; 
RUN_FROM_BAD_FOLDER=0; 
IGNORE_OFFLINE=0; 
IGNORE_JAVA_CHECK=0; 
USE_SPONGE=0;
HIGH_CPU_PRIORITY=0;

MODPACK_NAME=Journey Across The Void;
MCVER=1.12.2;
FORGEVER=14.23.5.2854; 
FORGEURL=https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-14.23.5.2854/forge-1.12.2-14.23.5.2854-installer.jar;

Eula has been changed to true Reinstalling didn't solve it Changing FORGEURL to DISABLE didnt work either

ajuanjojjj commented 4 years ago

And just as I hit publish, i read the "See "serverstart.log" in the LOGS subfolder" in the .cfg file, the error seems to be

No se pudo encontrar E:\Servers\JourneyAcrossTheVoid\tmp-forgeinstaller.jar
No se pudo encontrar E:\Servers\JourneyAcrossTheVoid\forge-1.12.2.html

Or

Could not find file E:\Servers\JourneyAcrossTheVoid\tmp-forgeinstaller.jar
Could not find file E:\Servers\JourneyAcrossTheVoid\forge-1.12.2.html

Sadly renaming forge-1.12.2-14.23.5.2854-installer.jar to tmp-forgeinstaller.jar dodnt do the trick, so help is still welcome xd

Attached the whole serverstart.log, just in case its also useful serverstart.log

ajuanjojjj commented 4 years ago

Sure, although this looks more like a ServerStart script problem than the pack itself; should i close the issue here to tackle it there or leave it be?

Flash2012L commented 4 years ago

Actually I had to deal with the same issue and I support your consider that this is more a bug of the script itself and nevertheless many big modpacks uses this script, but if you start the script there it doesnt do some strange installing-loop. So I downloaded some serverversion of a modpack and uses those forge version (14.23.5.2847) for my own modpack. I also extracted the brought along forge installer and drag it alongside the script in one folder. And as I started it, it works. So I think if you also change the forgeversion in the settings.cfg to 14.23.5.2847 and also download the installer for it and drag it in the script's folder, it schould also works for you.