#Upgrade to 26.1 on server

1 messages · Page 1 of 1 (latest)

sturdy inlet
#

I am running terralith on a 1.21.11 Fabric server, and I'm looking to update to 2.6.2 on 26.1. As far as I'm aware, there is no world_gen_settings.json file in my server, and I understand I need to provide that to upgrade. Is it placed somewhere I haven't been able to find?

craggy smeltBOT
#
Your Support Question

Thanks for creating a thread! Be patient, and we will answer your question when we are able to. In the meantime...

• Check the FAQ by doing /faq to see if your question is already answered.
• Did you describe your issue thoroughly?
• Are relevant logs attached?
• Is your thread tagged appropriately?
• Ensure you've answered the questions outlined in our Post Guidelines.

When your question is answered, please close it with /close, or click the button. Thank you!

split drum
#

you need to update and run your server first for it to generate

sturdy inlet
#

so i would run the server without the mod/datapack?

split drum
#

no, still with Terralith:

  • stop server
  • update Terralith to 2.6.2 and server to 26.1.x
  • run server; wait for it to crash and say something like "couldn't load level data" or whatever
  • data/minecraft/world_gen_settings.dat will be generated
#

in singleplayer, there's a separate "upgrade world" button that you have to click before you can "join world", but of course servers don't have that, so you just start it up to upgrade the server

sturdy inlet
#

right. im running on docker so i need to figure out where my mount point is

#

oh ok i found it, i was just a little dense and confused about what data meant

split drum
sturdy inlet
#

thanks man!

#

for curiosities' sake, what exactly needed changing in the dat file?

#

the server started up perfectly, many thanks

split drum
#

uhh, in 1.21.11 the entire biome distribution was stored in the data. in 26.1 it is not, but when upgrading a world the biome distribution is carried over. since the new data file doesn't account for reading data that large (notice how the file went from 17KB to 600b), it throws a fit.
tldr, i just simply remove the biome distribution and replace with the overworld preset

#

(the bug i wrote up if you're curious)

sturdy inlet
#

ahh i see

#

interesting!

#

thanks for fixing that up, super appreciate