Closed xathon closed 2 years ago
Please post the contents of the console.out
file. It may have more information than the log file.
Yeah, I just found that out looking at #293 . console.out:
[01:44:12] [main/INFO]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 39.0.55, --fml.mcVersion, 1.18.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20211210.034407, --nogui, mscs-world=MineCraft]
[01:44:12] [main/INFO]: ModLauncher 9.1.0+9.1.0+main.6690ee51 starting: java version 17.0.1 by Private Build
[01:44:12] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/opt/mscs/server/newForge/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2319!/ Service=ModLauncher Env=SERVER
[01:44:12] [main/INFO]: Found mod file FallingTree-1.18.1-3.1.0.jar of type MOD with locator {mods folder locator at /opt/mscs/worlds/MineCraft/mods}
[01:44:12] [main/INFO]: Found mod file FastFurnace-1.18.1-6.0.1.jar of type MOD with locator {mods folder locator at /opt/mscs/worlds/MineCraft/mods}
[01:44:12] [main/INFO]: Found mod file FastWorkbench-1.18.1-6.0.0.jar of type MOD with locator {mods folder locator at /opt/mscs/worlds/MineCraft/mods}
[01:44:12] [main/INFO]: Found mod file MoreMobGriefingOptions-1.18.1-2.0.1.jar of type MOD with locator {mods folder locator at /opt/mscs/worlds/MineCraft/mods}
[01:44:12] [main/INFO]: Found mod file Placebo-1.18.1-6.0.3.jar of type MOD with locator {mods folder locator at /opt/mscs/worlds/MineCraft/mods}
Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument, contained no existing paths: [libraries/net/minecraft/server/1.18.1-20211210.034407/server-1.18.1-20211210.034407-extra.jar]
at cpw.mods.securejarhandler@1.0.1/cpw.mods.jarhandling.impl.Jar.<init>(Jar.java:74)
at cpw.mods.securejarhandler@1.0.1/cpw.mods.jarhandling.SecureJar.from(SecureJar.java:58)
at cpw.mods.securejarhandler@1.0.1/cpw.mods.jarhandling.SecureJar.from(SecureJar.java:50)
at cpw.mods.securejarhandler@1.0.1/cpw.mods.jarhandling.SecureJar.from(SecureJar.java:42)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.55/net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.getMinecraftPaths(CommonServerLaunchHandler.java:56)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.55/net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator.scanMods(MinecraftLocator.java:27)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.55/net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer.discoverMods(ModDiscoverer.java:64)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.55/net.minecraftforge.fml.loading.FMLLoader.beginModScan(FMLLoader.java:180)
at MC-BOOTSTRAP/fmlloader@1.18.1-39.0.55/net.minecraftforge.fml.loading.FMLServiceProvider.beginScanning(FMLServiceProvider.java:100)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServiceDecorator.runScan(TransformationServiceDecorator.java:112)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServicesHandler.lambda$runScanningTransformationServices$8(TransformationServicesHandler.java:100)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1779)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622)
at java.base/java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServicesHandler.runScanningTransformationServices(TransformationServicesHandler.java:102)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:55)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.Launcher.run(Launcher.java:87)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.0/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at cpw.mods.bootstraplauncher@1.0.0/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)
Caused by: java.io.IOException: Invalid paths argument, contained no existing paths: [libraries/net/minecraft/server/1.18.1-20211210.034407/server-1.18.1-20211210.034407-extra.jar]
... 27 more
I double checked my unix_args.txt, it includes the path that the exception mentions and has the absolute path in it. I also checked if the .jar exists in that folder, which it does.
Hi @xathon. Everything looks correct to me. Maybe the file is corrupt? Try reinstalling the Forge package.
Seems like it was indeed a faulty forge installation. It's working great now, thanks!
I followed the manual to edit the run.sh file and added the full path to all the libraries there and in the unix_args file. Unfortunately, once I pass the launch script with
mscs-server-command=/opt/mscs/server/newForge/run.sh
, the server doesn't start up anymore. The logfile says nothing more than:My configuration files are like this: mscs.properties:
run.sh:
unix_args.txt:
Am I doing something wrong?