Ahtenus / minecraft-init

Init script for minecraft and bukkit servers
404 stars 125 forks source link

Overviewer command createsnested world directory #109

Open dmartensson opened 11 years ago

dmartensson commented 11 years ago

I recently set up a sever using your script but I now have installed overviewer and are getting a strange error.

It cannot find the map. The map is copied to the overviewer directory but the directory structure is nested twice.,

Looking like this

/home//mvbackup/overviewer/world/world/... /home//mvbackup/overviewer/world_nether/world_nether/... /home//mvbackup/overviewer/world_the_end/world_the_end/...

I think the problem overviewer has finding level.dat is the double world name directory.

What might be causing this?

I have my worlds in worldstorage and have set up the symlinks to the main server directory.

zone-zero commented 11 years ago

I fixed this on my server by changing line 537 from as_user "rsync -rt --delete $WORLDSTORAGE/${WORLDNAME[$INDEX]} $OVBACKUP/${WORLDNAME[$INDEX]}" to as_user "rsync -rt --delete $WORLDSTORAGE/${WORLDNAME[$INDEX]} $OVBACKUP"

cridenour commented 11 years ago

Also ran into this issue. Thanks for the tip @tenaku