WiseHosting Server Error: Invalid or Corrupt server.jar

Summary

This WiseHosting announcement reports a server crash caused by an invalid or corrupt server.jar during startup. Daemon logs show Docker image pulls, Java 21 startup, and an Error invalid or corrupt jarfile server.jar leading to exit code 1. The thread includes troubleshooting steps and a follow up that the server was restored, important for admins to review.

Original Post

Whenever I start the server it says โ€œinvalid or corrupt server filesโ€

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

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

Reply

sry

Reply

its server.jar

Reply

WiseHosting Server Error: Invalid or Corrupt server.jar

Reply

Thanks bro

Reply

Yeah its up Ty for helping

Reply

Well the Akinator was right

WiseHosting Server Error: Invalid or Corrupt server.jar

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

No

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

No I use NeoForge as my launcher on both sides

Reply

I just dont know which version to use

Reply

I use PrismLauncher

Reply

1.21.1-21.1.228

Reply

How exactly do I do that?

Reply

So do I just add it to the file directory?

The latest from WiseHosting