Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minecraft-java server crashing due to version mismatch #22328

Closed
2 tasks done
Cp-tn-Kork1 opened this issue May 22, 2024 · 2 comments
Closed
2 tasks done

minecraft-java server crashing due to version mismatch #22328

Cp-tn-Kork1 opened this issue May 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Cp-tn-Kork1
Copy link

chart Name

minecraft-java

Operating System

TrueNAS SCALE 23.10.2 or prior

Deployment Method

TrueNAS SCALE charts

Chart Version

9.0.7

Kubernetes Events

2024-05-21 21:25:16
Successfully pulled image "itzg/minecraft-server:2023.11.1-java21@sha256:312de713187f40206d2433f6c76c4f1f5efe993dcf7c0f842b8a7e0274bd5edd" in 562.206383ms (562.214698ms including waiting)
2024-05-21 21:25:15
Readiness probe errored: rpc error: code = Unknown desc = failed to exec in container: container is in CONTAINER_EXITED state
2024-05-21 21:25:13
Container minecraft-java3 failed liveness probe, will be restarted
2024-05-21 21:24:16
Readiness probe failed: failed to ping localhost:25586 : could not connect to Minecraft server: dial tcp [::1]:25586: connect: connection refused
2024-05-21 21:24:13
Liveness probe failed: failed to ping localhost:25586 : could not connect to Minecraft server: dial tcp [::1]:25586: connect: connection refused
2024-05-21 21:15:43
Startup probe failed: failed to ping localhost:25586 : could not connect to Minecraft server: dial tcp [::1]:25586: connect: connection refused
2024-05-21 21:15:31
Created container minecraft-java3
2024-05-21 21:15:31
Started container minecraft-java3
2024-05-21 21:15:28
Pulling image "itzg/minecraft-server:2023.11.1-java21@sha256:312de713187f40206d2433f6c76c4f1f5efe993dcf7c0f842b8a7e0274bd5edd"

chartlication Logs

2024-05-21 22:18:25.548825-05:00[22:18:25 INFO]: VaughnTheCaptain[/173.25.180.46:45539] logged in with entity id 1620 at ([world]328.95110223157377, 64.0, 483.67516996558817)
2024-05-21 22:18:34.946511-05:00[22:18:34 INFO]: VaughnTheCaptain issued server command: /gamemode spectator
2024-05-21 22:18:34.948783-05:00[22:18:34 INFO]: [VaughnTheCaptain: Set own game mode to Spectator Mode]
2024-05-21 22:20:41.334293-05:00[22:20:41 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 3578 > 3465
2024-05-21 22:20:41.334438-05:00[22:20:41 WARN]: 	at net.minecraft.world.level.chunk.storage.ChunkRegionLoader.loadChunk(ChunkRegionLoader.java:149)
2024-05-21 22:20:41.334672-05:00[22:20:41 WARN]: 	at io.papermc.paper.chunk.system.scheduling.ChunkLoadTask$ChunkDataLoadTask.runOffMain(ChunkLoadTask.java:338)
2024-05-21 22:20:41.334889-05:00[22:20:41 WARN]: 	at io.papermc.paper.chunk.system.scheduling.GenericDataLoadTask$ProcessOffMainTask.run(GenericDataLoadTask.java:307)
2024-05-21 22:20:41.335139-05:00[22:20:41 WARN]: 	at ca.spottedleaf.concurrentutil.executor.standard.PrioritisedThreadedTaskQueue$PrioritisedTask.executeInternal(PrioritisedThreadedTaskQueue.java:351)
2024-05-21 22:20:41.335405-05:00[22:20:41 WARN]: 	at ca.spottedleaf.concurrentutil.executor.standard.PrioritisedThreadedTaskQueue.executeTask(PrioritisedThreadedTaskQueue.java:118)
2024-05-21 22:20:41.335664-05:00[22:20:41 WARN]: 	at ca.spottedleaf.concurrentutil.executor.standard.PrioritisedThreadPool$PrioritisedThread.pollTasks(PrioritisedThreadPool.java:274)
2024-05-21 22:20:41.335984-05:00[22:20:41 WARN]: 	at ca.spottedleaf.concurrentutil.executor.standard.PrioritisedQueueExecutorThread.run(PrioritisedQueueExecutorThread.java:50)
2024-05-21 22:20:41.359354-05:00[22:20:41 INFO]: Stopping server
2024-05-21 22:20:41.359879-05:00[22:20:41 INFO]: [dynmap] Disabling dynmap v3.7-beta-5-943
2024-05-21 22:20:41.371219-05:00[22:20:41 INFO]: [dynmap] Unloaded 11 components.
2024-05-21 22:20:41.371316-05:00[22:20:41 INFO]: [dynmap] Stopping map renderer...
2024-05-21 22:20:41.376945-05:00[22:20:41 INFO]: [dynmap] Saved 179 pending tile renders in world 'world'
2024-05-21 22:20:41.434517-05:00[22:20:41 INFO]: [dynmap] Disabled
2024-05-21 22:20:41.438239-05:00[22:20:41 INFO]: [KeepInventoryPerms] Disabling KeepInventoryPerms v1.0.2
2024-05-21 22:20:41.439547-05:00[22:20:41 INFO]: Saving players
2024-05-21 22:20:41.444400-05:00[22:20:41 INFO]: VaughnTheCaptain lost connection: Server closed
2024-05-21 22:20:41.450619-05:00[22:20:41 INFO]: VaughnTheCaptain left the game
2024-05-21 22:20:41.551261-05:00[22:20:41 INFO]: Saving worlds
2024-05-21 22:20:41.551536-05:00[22:20:41 INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
2024-05-21 22:20:41.551755-05:00[22:20:41 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world'
2024-05-21 22:21:41.556321-05:00[22:21:41 WARN]: [ChunkHolderManager] Failed to halt world generation/loading tasks for world 'world'
2024-05-21 22:21:41.556838-05:00[22:21:41 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world'
2024-05-21 22:21:43.069140-05:002024/05/21 22:21:43 Stopping with rcon-cli
2024-05-21 22:21:43.147534-05:00[22:21:43 INFO]: Thread RCON Client /0:0:0:0:0:0:0:1 started
2024-05-21 22:21:43.191442-05:002024-05-21T22:21:43.191-0500	INFO	mc-server-runner	Waiting for completion...
2024-05-21 22:21:43.196659-05:00[22:21:43 ERROR]: Thread RCON Client /0:0:0:0:0:0:0:1 #3 failed main thread check: Command Dispatched Async: stop
2024-05-21 22:21:43.196693-05:00java.lang.Throwable: null
2024-05-21 22:21:43.196705-05:00at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:14) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.196908-05:00at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:985) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.196941-05:00at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchServerCommand(CraftServer.java:972) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.196959-05:00at net.minecraft.server.dedicated.DedicatedServer.lambda$runCommand$4(DedicatedServer.java:783) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.196970-05:00at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
2024-05-21 22:21:43.196988-05:00at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:?]
2024-05-21 22:21:43.196999-05:00at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:100) ~[?:?]
2024-05-21 22:21:43.197009-05:00at java.util.concurrent.CompletableFuture.asyncSupplyStage(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197019-05:00at java.util.concurrent.CompletableFuture.supplyAsync(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197037-05:00at net.minecraft.util.thread.BlockableEventLoop.submitAsync(BlockableEventLoop.java:58) ~[?:?]
2024-05-21 22:21:43.197048-05:00at net.minecraft.util.thread.BlockableEventLoop.executeBlocking(BlockableEventLoop.java:75) ~[?:?]
2024-05-21 22:21:43.197058-05:00at net.minecraft.server.dedicated.DedicatedServer.runCommand(DedicatedServer.java:760) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.197078-05:00at net.minecraft.server.rcon.thread.RconClient.run(RconClient.java:83) ~[?:?]
2024-05-21 22:21:43.197089-05:00at java.lang.Thread.run(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197328-05:00[22:21:43 WARN]: Unexpected exception while parsing console command "stop"
2024-05-21 22:21:43.197347-05:00java.lang.IllegalStateException: Asynchronous Command Dispatched Async: stop!
2024-05-21 22:21:43.197354-05:00at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.197370-05:00at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchCommand(CraftServer.java:985) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.197376-05:00at org.bukkit.craftbukkit.v1_20_R1.CraftServer.dispatchServerCommand(CraftServer.java:972) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.197382-05:00at net.minecraft.server.dedicated.DedicatedServer.lambda$runCommand$4(DedicatedServer.java:783) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.197396-05:00at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
2024-05-21 22:21:43.197402-05:00at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197408-05:00at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:100) ~[?:?]
2024-05-21 22:21:43.197416-05:00at java.util.concurrent.CompletableFuture.asyncSupplyStage(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197427-05:00at java.util.concurrent.CompletableFuture.supplyAsync(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197433-05:00at net.minecraft.util.thread.BlockableEventLoop.submitAsync(BlockableEventLoop.java:58) ~[?:?]
2024-05-21 22:21:43.197439-05:00at net.minecraft.util.thread.BlockableEventLoop.executeBlocking(BlockableEventLoop.java:75) ~[?:?]
2024-05-21 22:21:43.197449-05:00at net.minecraft.server.dedicated.DedicatedServer.runCommand(DedicatedServer.java:760) ~[paper-1.20.1.jar:git-Paper-196]
2024-05-21 22:21:43.197455-05:00at net.minecraft.server.rcon.thread.RconClient.run(RconClient.java:83) ~[?:?]
2024-05-21 22:21:43.197461-05:00at java.lang.Thread.run(Unknown Source) ~[?:?]
2024-05-21 22:21:43.197501-05:00[22:21:43 INFO]: Thread RCON Client /0:0:0:0:0:0:0:1 shutting down
2024-05-21 22:21:43.381201-05:00[22:21:43 INFO]: [ChunkHolderManager] Saved 1489 block chunks, 1554 entity chunks, 0 poi chunks in world 'world' in 1.82s
2024-05-21 22:21:43.845652-05:00[22:21:43 INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
2024-05-21 22:21:43.845746-05:00[22:21:43 INFO]: Saving chunks for level 'ServerLevel[world_nether]'/minecraft:the_nether
2024-05-21 22:21:43.845889-05:00[22:21:43 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world_nether'
2024-05-21 22:21:43.846002-05:00[22:21:43 INFO]: [ChunkHolderManager] Halted chunk system for world 'world_nether'
2024-05-21 22:21:43.846314-05:00[22:21:43 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world_nether'
2024-05-21 22:21:43.856008-05:00[22:21:43 INFO]: [ChunkHolderManager] Saved 4 block chunks, 34 entity chunks, 0 poi chunks in world 'world_nether' in 0.01s
2024-05-21 22:21:43.893361-05:00[22:21:43 INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
2024-05-21 22:21:43.893454-05:00[22:21:43 INFO]: Saving chunks for level 'ServerLevel[world_the_end]'/minecraft:the_end
2024-05-21 22:21:43.893558-05:00[22:21:43 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'world_the_end'
2024-05-21 22:21:43.893691-05:00[22:21:43 INFO]: [ChunkHolderManager] Halted chunk system for world 'world_the_end'
2024-05-21 22:21:43.893798-05:00[22:21:43 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'world_the_end'
2024-05-21 22:21:43.895433-05:00[22:21:43 INFO]: [ChunkHolderManager] Saved 0 block chunks, 0 entity chunks, 0 poi chunks in world 'world_the_end' in 0.00s
2024-05-21 22:21:43.908763-05:00[22:21:43 INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
2024-05-21 22:21:43.908858-05:00[22:21:43 INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
2024-05-21 22:21:43.909445-05:00[22:21:43 INFO]: Flushing Chunk IO
2024-05-21 22:21:43.910842-05:002024-05-21 22:21:43,910 Log4j2-AsyncAppenderEventDispatcher-1-Async WARN Advanced terminal features are not available in this environment
2024-05-21 22:21:43.911097-05:00[22:21:43 INFO]: Closing Thread Pool
2024-05-21 22:21:43.911180-05:00[22:21:43 INFO]: Closing Server
2024-05-21 22:21:44.994720-05:002024-05-21T22:21:44.994-0500	WARN	mc-server-runner	Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error.	{"exitCode": 1}
2024-05-21 22:21:44.994793-05:002024-05-21T22:21:44.994-0500	INFO	mc-server-runner	Done

Chart Configuration

Red box around things I changed:

image
image
image
image
image
image
image
image
image
image
image
image
image
image
image

Describe the bug

When players walk into a certain part of the map, every player gets kicked from the server, and the server has to reload before users can try logging back in. The part of the map is the same everytime, so it is something that can be avoided.

To Reproduce

  1. Login to minecraft server
  2. walk into affected area
  3. automatically get yourself and others kicked from server

Expected Behavior

I expect it to not crash.

Screenshots

image

Additional Context

We are using a world file from a different server. However, we are using the same version of minecraft that the previous server used. We are using minecraft 1.20.1, along with paper 1.20.1. The line that appears when the server crashes is the following:

"[21:24:10 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 3578 > 3465"

I've read and agree with the following

  • I've checked all open and closed issues and my issue is not there.
  • I've prefixed my issue title with [Chart-Name]
@Cp-tn-Kork1 Cp-tn-Kork1 added the bug Something isn't working label May 22, 2024
@alfi0812
Copy link
Collaborator

This is an issue with your Minecraft version/World Map. Nothing related to the TrueCharts Helm Chart.

Best to ask in the PaperMC Forums on how to fix your issue.

@alfi0812 alfi0812 closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2024
@DGamesta
Copy link

This issue has nothing to do with Truecharts. Your error is a java error. Specifically it's the mismatch in minecraft versions. In the literal 4th line of the server log it's telling you pretty verbosely what the issue is.

java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 3578 > 3465
AKA: for some reason that chunk loaded is from minecraft version 1.20.2 which is newer than your version 1.20.1 thus the crash.

Either fix the chunk, there are apps that can take your save and downgrade it, or just simply use a newer version of minecraft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants