Sang
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
News
Store
Posts posted by Sang
-
-
I have been having the same problem.
I have been attempting to prune our server's save file, as we'd like to regenerate chunks with 1.20 and modded content. The save file has grown to over 3 GB in size and a prune would help with decreasing that size as well.
However, when I go in singleplayer with a copy of the save file and attempt to run commands such as:
/wgen autogen 0 /db prune 16 drop confirm...the game typically runs normally for a few seconds after the 2nd command, then shows the "Host not responding. Possible causes: Server overloaded or crashed" message in the top right for up to 60 seconds. Then, I receive the "You were disconnected from this server. Server shutting down - Exception during Process" message. When I try to load the save file again, it freezes the game for a few seconds, and then says the the file is corrupted.
I have also tried running the command...
- On Windows 10 desktop, Linux desktop, and Linux server via the command line with no-one on the server.
- While the world is loaded in repair mode (causes command to say that it's running, but never seems to make any progress even after 10 minutes?).
- Using various settings, such as a threshold of 0 or 32, or with keep or drop claims.
- With and without mods installed.I have been able to successfully prune brand new save files in singleplayer, so I am wondering if the problem is either caused by some piece of modded content present in the save file, or if it's the sheer size of it.
Does anyone have ideas for how to fix this? Has anyone been able to prune larger save files?
/db prune command throwing exception and crashing server
in Vintarian Support
Posted
Thank you for the tip. Going to %appdata%/VintageStoryData and deleting the Cache allows me to recover a corrupted save, letting me load the world again without any more restoration processes needed. That is interesting, I didn't think that would be possible after the world gets corrupted once, but unfortunately, the prune command still crashes the game on every attempt. Tried it on both 1.20.7 and 1.20.12 on Linux as well as Windows on my modded save, with and without mods enabled.
The prune command doesn't completely fail. I did a dry run before each real prune attempt, and noticed that it would remove between 8 and 972 chunks, seemingly doing so more efficiently when the threshold is set to 0. So, it manages to remove some before crashing the game. However, if I wanted to remove 100 000 chunks, I'd have to repeat the process of running the prune command, waiting for it to crash, deleting the Cache folder, launching the game and loading the save again, over a hundred times.
Could maybe automate the process with a script and leave it to run for a couple of hours, but I somewhat worry about what kind of corruption this introduces into the save file if one crashes the game mid-prune and deletes the Cache over and over again.