Stardust-Labs-MC / Terralith

A popular Minecraft worldgen datapack for the Overworld
https://www.planetminecraft.com/data-pack/terralith-overworld-evolved-100-biomes-caves-and-more/
Other
107 stars 12 forks source link

[Bug] Corruption on server when uploading backup #110

Closed RiotSyndrome closed 1 month ago

RiotSyndrome commented 1 month ago

What Minecraft version(s) does this apply to?

1.19.x

Project version

v2.3.12

Mod or datapack version?

Mod (Fabric)

Describe the bug

When we loaded a backup on the server, the server did not launch at first, it corrupted the map, corrupted player data once we get a map up, it basically just implodes on you.

Its a complex issue and from what I know the Terralith World Generation config is where is corrupts, we had to delete that file and a lot of other stuff until we figured out how to get out server back online, but this corruption is repeatable and gaurenteed whenever loading a backup.

While fixable its incredibly difficult to do so, and can not be done by the average person, and could not even be done by me who has some basic level of modding experience.

Additional context

Details about where the server is hosted and the very specific version of everything, incase its related to the loader or build.

Server is hosted with McProHosting Fabric Loader 0.14.24 [the highest avalible for said host.] Terralith v2.3.12

catter1 commented 1 month ago

To be clear, Terralith is a datapack, and not a mod. The mod is just the datapack version packaged with a .jar on the end. However, that should not make a difference, but wanted to point it out since the worldgen is not done in the same way as a traditional mod.

Regardless, loading a backup should not be causing these issues, and works fine in every other scenario. Some followup questins to help figure out what went wrong:

I should also mention that Terralith - being a datapack - has absolutely no way to touch the playerdata. Player data is stored in the server's playerdata folder, which is separate from data about the chunks and world. My only guess is that during the whole process, something else happened to touch the contents of that folder.

RiotSyndrome commented 1 month ago

Okay sorry for the response delay I had to pull up our transcript to see exactly what ProHosting said. I totally understand if this is technically not the correct issue, but heres a rundown of that mess from what I understood. [Tldr; A diff group of our sever staff handled this Im just seeing everything after.]

The playerdata thing is loosely-linked by this main issue, as resolving Terralith did also resolve this, strangely.

Anyways my experience is in modding/plugins and not server handling, so I may be incorrectly seeing a server issue as a mod issue.. But I also know that you know your mod better than we or their staff do, and might be able to identify how to make sure this doesnt happen again?

catter1 commented 1 month ago

Without knowing the details on how the backup was reinstated or exactly what errors happened, I can't really help or give any advice on how to prevent it again. If this ever happens again, please come to us - chances are we have seen the error codes and know what is happening and why, and how to fix it.