After updating to Spigot 1.18, chunks visited by player disappear on Dynmap
Cassolotl opened this issue ยท 14 comments
Issue Description: Today I updated to Spigot 1.18. I also updated to the latest stable version of Dynmap on this page. Now, when players log in and visit locations that have been previously correctly rendered on the Dynmap, those chunks disappear. Fullrender also makes the map start to disappear.
Here's chunks vanishing as a player visits them:
Here's a fullrender from spawnpoint in progress:
(Here it is on our Dynmap)
- Dynmap Version: 3.3-SNAPSHOT-567
- Server Version: [23:52:14] [Server thread/INFO]: This server is running CraftBukkit version 3336-Spigot-a5dea1c-a008701 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
- Pastebin of Configuration.txt: https://pastebin.com/6KrkLFsT
- Server Host (if applicable): Nitrous Networks
- Pastebin of crashlogs or other relevant logs: Nothing relevant in logs
- Other Relevant Data/Screenshots: Recently updated Spigot server, from 1.17.1 to 1.18. Here's our Dynmap.
- Steps to Replicate:
There's two situations:
- Log in after updating to 1.18. Go to previously rendered area of the map. Map rendering vanishes online.
- Update to Spigot 1.18. Run
/dynmap fullrender world
. Tiles that would usually render anew or more accurately are replaced by black squares.
[I've done my best but the issue titles and descriptions are not average-user-friendly] I have looked at all other issues and this is not a duplicate
[x] I have been able to replicate this
Update:
I've just stopped the server, backed up my configuration.txt and markers.yml, and deleted the entire dynmap folder and .jar.
Then I uploaded the dynmap .jar again and started the server to regenerate the dynmap folder and config and so on. Stopped the server, opened the configuration and changed the default res to lowres, changed the port, and saved. I also replaced the text in the markers.yml file, after checking that there were no big changes between versions.
Then I started the server again, and started a fullrender of world.
[13:07:12] [Server thread/INFO]: This server is running CraftBukkit version 3336-Spigot-a5dea1c-a008701 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
[13:07:12] [Server thread/INFO]: Checking version, please wait...
[13:07:12] [Thread-62/INFO]: You are 16 version(s) behind
[13:07:18] [Server thread/INFO]: dynmap version 3.3-SNAPSHOT-570
[13:07:18] [Server thread/INFO]: Website: https://www.reddit.com/r/Dynmap/
[13:07:18] [Server thread/INFO]: Author: mikeprimm
This is still the address, and it looks like this at 15,000 tiles rendered:
When you updated from 1.17.1 to 1.18, did you use the upgrade procedure recommended by Spigot?
World Upgrading
Although upgrades from between any two version pairs are technically possible, it is recommended that all upgrades are conducted from 1.17.x. This means that you should first upgrade your world completely on 1.17.x using the --forceUpgrade server argument, and then do the same on 1.18.
I have the same issue where the map is just blank. Dynmap says it's rendering, but it's just blank. The world is new and was created in 1.18, not migrated from a different version.
Not sure what else you have in the mix, but clearly we and the rest of the folks using this aren't seeing this. What plugins do you have in the mix?
OK - I'm seeing this with current DEV build, but not with the released 3.3-beta-1, so I'd suggest using that for now (since it is, well, released...)
DEV (SNAPSHOT) build go from working to not on a regular basis while I'm doing development, so its generally not safe to count on them unless I specifically say they are ready to be used...
That said, thanks for bringing this up - I'm not completely sure WHY it isn't working, so this is useful data :)
OK - latest DEV build should have this fixed again: build number 571 (or later).
[09:29:52] [Server thread/INFO]: This server is running CraftBukkit version 3336-Spigot-a5dea1c-a008701 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
[09:29:52] [Server thread/INFO]: Checking version, please wait...
[09:29:53] [Thread-62/INFO]: You are 17 version(s) behind
[09:30:05] [Server thread/INFO]: dynmap version 3.3-SNAPSHOT-572
[09:30:05] [Server thread/INFO]: Website: https://www.reddit.com/r/Dynmap/
[09:30:05] [Server thread/INFO]: Author: mikeprimm
[09:30:23] [Server thread/INFO]: Plugins (7): PermissionsEx, CoreProtect, dynmap, AutismChat3, Seen, PvPManager, GriefPrevention
It seems to be working now, but I had to hard-reload the Dynmap page to get the tiles to show, for some reason! And now that the tiles are regenerating, once again some of the areas where players have newly explored on 1.18 are showing up as black:
This whole area should be map, there should be no black patches, we've explored the area very thoroughly. The black square is my base, where I've spent the most time.
When you updated from 1.17.1 to 1.18, did you use the upgrade procedure recommended by Spigot?
Unclear - I was on 1.17.1 before, and I used the update function on Nitrous Networks. I have no idea what's happening behind the scenes.
I'm seeing this with current DEV build, but not with the released 3.3-beta-1, so I'd suggest using that for now (since it is, well, released...)
Since I've tried the new DEV and it's not working, I'm switching to the 3.3-beta-1. I'll let you know what happens.
Edit: Switched to 3.3-beta-1, running /dynmap fullrender world
. Map.
[09:50:07] [Server thread/INFO]: dynmap version 3.3-beta-1-564
[09:50:26] [Server thread/INFO]: This server is running CraftBukkit version 3336-Spigot-a5dea1c-a008701 (MC: 1.18) (Implementing API version 1.18-R0.1-SNAPSHOT)
[09:50:26] [Server thread/INFO]: Checking version, please wait...
[09:50:27] [Thread-54/INFO]: You are 17 version(s) behind
Things are rendering but much slower than usual, and in a kind of spotty way. :S
The issue is presist even using radiusrender: /dynmap radiusrender world 0 0 1000
I found the issue is related to the border of new chunk (1.18.1) and old chunk (1.17.1)
Here is the map I tried to rendering: /dynmap radiusrender world -151 994 1000
Rendering start from new chunk (1.18.1) and when the render touch old chunk (1.17.1) may cause problem.
This image shows that when it rendering new chunk with minimum z=-64 and reach old chunk with minimum z=0 may stop rendering remaining old chunk.
So the problem is related to the border of new chunk and old chunk.
If you start radiusrender on new chunk... It may render all nearby new chunk. but old chunk may not being render correctly.
When radiusrender start from old chunk may not render new chunk correctly.
Same problem on spigot 1.18.1 with Dynmap-3.3-beta-2-spigot.jar and Dynmap-3.3-SNAPSHOT-spigot.jar (578)
I am upgrade from 1.17.1 to 1.18.1, all player visted chunk may cause blank map on dynmap.
I only use fullrender to rendering map. (start from 0am to 10am)
Player may not trigger render while playing. (by disable all trigger option)
I think this is a problem related to fullrender on new chunk.
All old chunk is rendering without problem.
Should I submit new ticket for 1.18.1?
My map link: http://cargon.net:8123/
I have found a workaround solution...
Using radiusrender can rendering new chunk without problem.
/dynmap radiusrender world -2863 -2965 100
My Dynmap: http://cargon.net:8123/
Please fix fullrender when mixing old chunk and new chunk.
Thank You!!