Disk Image is Malformed
Getting this error thrown a couple thousand times after migrating the server from one box to another with no other changes.
I had pregenerated quite a bit of chunks before using /dh so I'm hesitant to delete the database itself, is there another fix?

19 Replies
!logs
You should send your
latest.log
file to provide additional useful information.
Logs are usually located in the .minecraft/logs
directory.
On Windows: %appdata%\.minecraft\logs
On Linux: ~/.minecraft/logs
On Mac: ~/Library/Application Support/minecraft/logs
Please upload the file to mclo.gs instead of sending the raw file. This makes reading the contents of the file a lot easier and improves the chances of you getting the help needed.
After uploading the file, click on Save
and send the link.Database malformed while running a pre-generation? That's concerning.
Is your drive dying?
no its not
Ill put the log file in but i doubt itll be of use
Server log, there is no client log for this.
The order of operations was the following:
- Pregenerated on Server A
- Server A was unable to handle the load
- Migrated to Server B
- The error about the database issue is thrown
- The LODs still seem to work as normal when logging on but its creating a full log worth of text per second
When you log on to a server, DH on your client will start by loading the locally cached LODs instead of requesting all the data every time. Then depending on the server and client config it can perform a logon sync to check for updated data within some radius.
I am guessing the database file got corrupted when you migrated the server (perhaps you did it while the server was running?). The simplest solution is to deleted it and start over.
There is no ETA for when 1.21.6 (or any new version) will come out, please be patient.
https://media.tenor.com/EAy3G1zOkisAAAPo/incredibles-bob.mp4
Shush, Yag
ah, fairenough i suppose. thanks
did you copy all three files when migrated?
everything was moved
i use pterodactyl and used the Transfer server function, i had bucked up the entire world file just in case and when this happened i uploaded the entire world file as well,
I assume you made the transfer while the first server is still online?
no it was offline, but there was a hiccup during transfer.
The transfer started, seemingly completed, and then the server was launched. But it turns out the transfer wasnt completed and it just cancelled it. The server was then closed and the transfer was started from the beginning again after which it was actually transfered this time.
Im guessing that hiccup is what caused the corruption
I guess that's the most likely explanation.
How to delete and start over? Same issue - so how/what does one need to “delete” in order to complete reset DH?
!lodstored
Single Player:
- Overworld:
.minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite
- Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite
- End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite
- Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite
Multiplayer:
- .minecraft/Distant_Horizons_server_data/SERVER_NAME/
Server Mod
- Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite
- Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite
- End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite
- Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite
Server Plugin
All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite
NOTE:
Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal
and .sqlite-shm
If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together!
If you don't, the database will become corrupted.Worked.