DH2.3B Server Hang on Shutdown
Shutdown Console: https://mclo.gs/VI8eUYC
When using 2.3 Beta Stable or latest nightly, I cannot gracefully shutdown my server with it installed. Seems to close database connections before stalling.
I do have a heavily modded server, but it runs stable. I do have Chunky installed because I use ChunkyBorder (all 3 dims are pre-gen'ed already).
Solution:Jump to solution
Found it, I'll post where to help the next guy out.
/World/level.dat
This is file is impossible to read without something like NBTExplorer. It's old software, but it works....
7 Replies
Organized Modlist: https://1drv.ms/x/c/80c0c628646722df/ESuBTrZSd0tIloByGcQXdrUBi8HP294NThZ9dvl5gM74aQ?e=Yevxpv&nav=MTVfezAwMDAwMDAwLTAwMDEtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMH0
Anything off the top of your head I can do to help it shutdown properly?
Where is DH Pulling my Old Worldname From?
[01:47:09] [Server thread/INFO]: Closed DHLevel for [Wrapped{ServerLevel[Greater Meridian]@minecraft:the_nether}].
[01:47:09] [Server thread/INFO]: Closed DhWorld of type [SERVER_ONLY]
These logs are from shutting my server down. I've fully pregenerated all lods on my world, Meridian. Greater Meridian was my old world... I had copied mods over but that was about it. How can I correct this in the logs? Perhaps this is what's causing the hang.
I don't think it's any carryover data in the sql file... I didn't move those over
Anyone able to give any input on this?
i have no idea what the issue might be, sorry
Thats so many mods, the best idea is probably to do a /binary search
Try a binary search and figure out which mod is causing it.
So disable half of the mods, see if issue is still there, if yes disable half again etc etc until you find the mod that's causing the issue.
a good start would be seeing if it shuts down with just DH
Solution
Found it, I'll post where to help the next guy out.
/World/level.dat
This is file is impossible to read without something like NBTExplorer. It's old software, but it works.
Expand: level>Data, Edit Level Name
Somehow, this stores old world names and isn't updated when a world is deleted. Updating this fixed it showing up in my logs and hasn't corrupted any of the .sql files (that I can see).
Unfortunately, the shutdown hang is still there, and only present when using DH. I need to kill the Ptero server anytime I need to shut it down, or wait 20 minuets for it to finally shutdown. Hopefully this works itself out. Im calling it a win for now and I'll come back to it later