XyroPhyte Posted May 9, 2023 Posted May 9, 2023 Hi I've been trying to setup a 1.19.2 Forge Minecraft Server on my Linux Server running Debian 11. After I installed the server using the "--installServer" argument, I'm able to start the server without any mods. However, as soon as I put any sort of mod into the mods folder, "zip END header not found" error occurs and the server crashes. You can see the error log here: https://pastebin.com/Fdz4mrvS I'm using Java 17.0.7 running on a headless Debian 11 Server hosted at my home. Server specifications are: CPU: i3-2350M GPU: Intel HD 3000 Memory: 12GB HDD: 500GB My Forge Version is 1.19.2-43.2.0 Here are some things I've tried in order to resolve the issue: Used different Java Version (20.0.1) Tried different mods. Used different Forge Version (1.19.2 - 43.2.11) Used different Minecraft Version (1.19.3 - 44.1.0) I've looked at different threads that says that the mod is corrupt. I'm certain that the mod is not corrupt, there is little to no chance that 3 popular mods that I used to test the server all will be corrupt. I've tested the server using Spark, JEI, AppleSkin, and Cloth Config API. I've tried different version of those mods to eliminate possibilities that the mods might be corrupt. The server crashes as soon as I put a single mod in the folder. I've tested each mod individually with a Fresh Forge Server Installation and the same error occurs. Quote
warjort Posted May 9, 2023 Posted May 9, 2023 Quote Caused by: java.util.zip.ZipException: zip END header not found Expand That error says one of your jars is corrupt/incomplete. It does not say which one. Try running the following command on each mod jar jar -tf mod.jar That should list the contents of the jar if it is ok or give you the same error if it is broken. "unzip -t" can also be used to test the contents of a zip/jar. Failing that, maybe it is an issue with your native library, like this issue from about a year ago? https://github.com/madler/zlib/issues/613 Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
XyroPhyte Posted May 12, 2023 Author Posted May 12, 2023 (edited) On 5/9/2023 at 10:09 PM, warjort said: That error says one of your jars is corrupt/incomplete. It does not say which one. Try running the following command on each mod jar jar -tf mod.jar That should list the contents of the jar if it is ok or give you the same error if it is broken. "unzip -t" can also be used to test the contents of a zip/jar. Failing that, maybe it is an issue with your native library, like this issue from about a year ago? https://github.com/madler/zlib/issues/613 Expand I've tested the only mod in the mods folder using the command you mentioned, and it doesn't give me the same error, just lists the contents of the jar. Since you said if it was broken, it'd output the same error, I'm assuming my mod jar isn't corrupted/broken. I don't think it's an issue with my native library either cause older Forge Version (1.12.2) and other mod loaders such as Fabric, and Spigot/Paper Minecraft Server works fine. Edited May 12, 2023 by XyroPhyte Quote
warjort Posted May 12, 2023 Posted May 12, 2023 (edited) Quote Caused by: java.lang.ClassNotFoundException: jar Expand That error says you are trying to use a command something like java jar ... which isn't what I told you to type. If you don't have the JDK installed, you won't have the jar command. You can use something like unzip instead like I said above. If it really is not one of the mods, then it must be one of the jars in the libraries subfolder. But if that was true, you should have seen an error when you installed the server. Assuming it is a fresh install and not a reinstall over a folder with already broken downloads. Even then I would expect it to spot an issue with the hashes of any already installed jars? You would also get the error with no mods installed. Edited May 12, 2023 by warjort Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
warjort Posted May 12, 2023 Posted May 12, 2023 One other thing occurs to me. Do you have something else in your mods folder that is not actually a jar? Quote Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.