fabric-loader
fabric-loader copied to clipboard
Cannot launch server on any modloader after 0.12.6+
Starting linux dedicated server from pterodactyl egg
Tried manual update via grabbing fabric-server-launcher from fabric-installer, tried auto update through server, both failed. reinstalling server.jar failed, disabling mod folder failed, only leaving FAPI failed. Nothing is working.
Works on 0.12.5 though. I did make sure the libraries folder was added.
[Pterodactyl Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[Pterodactyl Daemon]: Finished pulling Docker container image
container@pterodactyl~ java -version
openjdk version "16.0.2" 2021-07-20
OpenJDK Runtime Environment (build 16.0.2+7-67)
OpenJDK 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)
container@pterodactyl~ java -XX:+UseContainerSupport -Xms6000M -Xmx6000M -classpath log4j.jar -jar fabric-server-launch.jar -jar fabric-server-launch.jar
[13:02:48] [INFO] [FabricLoader/GameProvider]: Loading for game Minecraft 1.17.1
[13:02:48] [ERROR] [FabricLoader/]: Uncaught exception in thread "main"
java.lang.RuntimeException: An exception occurred when launching the server!
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:68)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:66)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at net.fabricmc.loader.impl.game.minecraft.Log4jLogHandler.getLogger(Log4jLogHandler.java:45)
at net.fabricmc.loader.impl.game.minecraft.Log4jLogHandler.log(Log4jLogHandler.java:37)
at net.fabricmc.loader.impl.util.log.BuiltinLogHandler.replay(BuiltinLogHandler.java:76)
at net.fabricmc.loader.impl.util.log.Log.init(Log.java:34)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.setupLog4jLogHandler(MinecraftGameProvider.java:515)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.initialize(MinecraftGameProvider.java:498)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:136)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71)
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:636)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:158)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
... 14 more
container@pterodactyl~ Server marked as offline...```
Found a fix... For some reason, the hidden folder .fabric
was the cause.
Deleting it allowed the latest modloader, 0.12.8 to rebundle the jar files, as shown in console. this fixed it.
That's unlikely to have been rated to the issue. The actual root cause of this kind of issue is typically an incomplete upload of the libraries folder.
I uploaded the library folder that i received from fabric installer 0.10.2. I installed trying both the windows .exe version, and running the .jar, downloaded from official fabric mc site. neither worked
I also tried running the fabric-installer from the pterodactyl egg and ran it through command line installing it, no luck.
I lastly set up a local server on my machine, ran the server fine. I uploaded the libraries folder from that into the dedicated servers, and it failed, I still was receiving the error. I highly doubt the library was incomplete. I tried everything for 6 hours and it did not work until I deleted .fabric. I believe the reason is because I upgraded from a old mod loader (0.12.5) and it couldn't unpackaged the jar files from libraries. The reason I think this is because when I deleted .fabric, I saw on console "running for the first time, unpacking packaged jar files".
The .fabric
folder only contains the remapped vanilla server jar, which shouldn't cause the issue mentioned in the opening post. It is possible that you ran into multiple issues at the same time, but really nothing we can do without knowing more. We have another approach for "installing" the server in the works that should be easier to use on hosts that can't run the usual installer.
The
.fabric
folder only contains the remapped vanilla server jar, which shouldn't cause the issue mentioned in the opening post. It is possible that you ran into multiple issues at the same time, but really nothing we can do without knowing more. We have another approach for "installing" the server in the works that should be easier to use on hosts that can't run the usual installer.
Yes. Thanks :) It was the solution for me :) rm -r .fabric
I am having the same issue, similar code pop ups. I took out the .fabric and that didn't fix it. I also updated my java to 17. I don't know too much about code I just found this when googling so any chance I could get help?
Yeah. It would be great if I could know your operating system.
On Wed, Feb 23, 2022 at 1:19 PM Gavindo614 @.***> wrote:
I am having the same issue, similar code pop ups. I took out the .fabric and that didn't fix it. I also updated my java to 17. I don't know too much about code I just found this when googling so any chance I could get help?
— Reply to this email directly, view it on GitHub https://github.com/FabricMC/fabric-loader/issues/568#issuecomment-1048520288, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASVMIUY3SX6LBRPGEBL6XKLU4SGRNANCNFSM5JMYQDDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.