WiseHosting Server Error: Invalid or Corrupt server.jar

Original Post

Whenever I start the server it says “invalid or corrupt server files”

Reply

Hey! Could you post logs, save them and then send me the link?

If you don't get any console logs, verify yourself #❓・how-to-verify, and then send a screenshot (verifying is needed to get instant image perms).

Reply

.logs

Reply

.paste

Reply

[WiseHosting Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
[WiseHosting Daemon]: Checking server disk space usage, this could take a few seconds...
[WiseHosting Daemon]: Updating process configuration files...
[WiseHosting Daemon]: Ensuring file permissions are set correctly, this could take a few seconds...
container~ Server marked as starting...
[WiseHosting Daemon]: Pulling Docker container image, this could take a few minutes to complete...
[WiseHosting Daemon]: Finished pulling Docker container image
container~ java -version
openjdk version "21.0.10" 2026-01-20 LTS
OpenJDK Runtime Environment Temurin-21.0.10+7 (build 21.0.10+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (build 21.0.10+7-LTS, mixed mode, sharing)
container~ java -Xms128M -XX:MaxRAMPercentage=85.0 -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -Dterminal.jline=false -Dterminal.ansi=true -jar server.jar
Error: Invalid or corrupt jarfile server.jar
container~ Server marked as offline...
[WiseHosting Daemon]: ---------- Detected server process in a crashed state! ----------
[WiseHosting Daemon]: Exit code: 1
[WiseHosting Daemon]: Out of memory: false

Reply

huh

Reply

wth that was the first time Ive sent that

Reply

You only need to send the link for the paste page, not the .txt or .html file.

Reply

https://paste.wisehosting.com/lomihetuwo.sql

Reply

sry

Reply

Question. What is the file name for your server jar? Could it be paper-xx.xx.xx.jar? The file must always be named server.jar.

Reply

its server.jar

Reply

Could you post me a screenshot of your root (\) directory?

Reply

WiseHosting Server Error: Invalid or Corrupt server.jar

Reply

There was an issue with some parts of the service earlier today. The .jar might be corrupted. I suggest you redownload the jar.

Here is an article, that might help. https://wisehosting.com/help/how-to-upload-custom-server-jar

I suggest you to skip step 1&2 and start with the third step.

Reply

Do not download the jar in the article if you are not using Arclight. I assume you are using fabric.

Reply

Thanks bro

Reply

Let me know if you get the issue resolved. I do have a total internet blackout in about 3 hours, but by that time, someone from the WiseHosting team will be with you.

Reply

Yeah its up Ty for helping

Reply

Alright. I suggest you let the customer service know that by messaging them again.

Reply

If you need anymore help, you know where to ask. #❓・community-help and #⚡・support

Reply

Well the Akinator was right

WiseHosting Server Error: Invalid or Corrupt server.jar

Reply

They are usually fast 😅. Like 10 minutes fast. But I don't know either what's up with it. It is like 6:30AM in Estonia currently.

Reply

Sunday morning.

Reply

Actually I have a question

Reply

Whenever I try to join from a client-side it tells me to use NeoForge 21.1.192 to join but that goes against almost all of my mods?

Reply

Did you make sure to download the same server-side jar version as your modloader?

Reply

No

Reply

Im going to boot up my Minecraft, so I could help you determine the version by giving you the steps to do so.

Reply

Actually how do I dowload a different one from the github the only options are Forge Fabric and NeoForge

Reply

and I used NeoForge'

Reply

You can download NeoForge from https://neoforged.net/.

Reply

No I use NeoForge as my launcher on both sides

Reply

I just dont know which version to use

Reply

I use PrismLauncher

Reply

I haven't been able to launch the game on my phone. But you could try to hover/click the "version" info in the main menu.

Reply

1.21.1-21.1.228

Reply

Then it is 21.1.228. I suggest you replace the server jar with your client's version to prevent mod incompatibility.

Reply

How exactly do I do that?

Reply

You can find the client's version in PrismLauncher by:

  1. Right-click the instance
  2. Click "More"
  3. Go to the version tab

It should show you different versions for different parts of the game.

Once you get the version, go to neoforged.net and download the correct version "installer" (this is your path to finally getting a server.jar).

Reply

So do I just add it to the file directory?

Reply

Give me a moment, while I test something on my own WH server.

Reply

Which file are we talking about? If the jar you downloaded from neoforged, then no. You first need to run it on your own PC.

I have an alternative idea.

If the modpack you are trying to play is your own creation, compress the mods and save them.

If you have a world, download that too.

If not, continue.

Could you go to the "instances" tab, and create an instance of your current server setup. This will make a revertable point in your progress.

Then you can set up a new server and use the built in version changer without losing any data on the first instance.

Then transfer your mods & world over to the newly made server setup.

Reply

I just arrived at the airport. I'm going to be away for a bit.

Reply

Got it?

Reply

So I ended up switching everything to forge and it seems to work

Reply

That's nice. Did you have to do any compromises by dropping the "Neo" in forge?

The latest from WiseHosting

Fix Forge 1.20.1 Startup Crash

WiseHosting: resolve Forge 1.20.1 startup crash from missing libXrender.so.1 by adding JVM flag -Djava.awt.headless=true.

Fix Invalid Player Data in Modpacks

WiseHosting support: Resolve 'Invalid player data' modpack errors by opening a billing support ticket so our team can access files and troub

Forge 1.20.1 Server Hang with Mods

WiseHosting reports a Forge 1.20.1 server hang tied to villager recruits and mods like Enhanced AI and Hordes. See logs and troubleshooting.