BlueMap

BlueMap

98.2k Downloads

Error when Trying to Purge Map

stephendwiley opened this issue ยท 2 comments

commented

Not sure why I can't purge my bluemap.
I'm tying to fix an issue where I have weird black lines on my

Image
[10:56:55 ERROR]: [BlueMap] RenderManager(0): WorkerThread(0): Exception while doing some work!
java.nio.file.AccessDeniedException: bluemap\web\maps\stevie_josh_world\tiles\3\x1
        at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89) ~[?:?]
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) ~[?:?]
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) ~[?:?]
        at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:273) ~[?:?]
        at java.base/sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:104) ~[?:?]
        at java.base/java.nio.file.Files.delete(Files.java:1152) ~[?:?]
        at bluemap-5.5-paper.jar/de.bluecolored.bluemap.core.util.DeletingPathVisitor.postVisitDirectory(DeletingPathVisitor.java:46) ~[bluemap-5.5-paper.jar:?]
        at bluemap-5.5-paper.jar/de.bluecolored.bluemap.core.util.DeletingPathVisitor.postVisitDirectory(DeletingPathVisitor.java:34) ~[bluemap-5.5-paper.jar:?]
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2803) ~[?:?]
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2857) ~[?:?]
        at bluemap-5.5-paper.jar/de.bluecolored.bluemap.core.storage.file.FileMapStorage.delete(FileMapStorage.java:165) ~[bluemap-5.5-paper.jar:?]
        at bluemap-5.5-paper.jar/de.bluecolored.bluemap.common.rendermanager.MapPurgeTask.doWork(MapPurgeTask.java:59) ~[bluemap-5.5-paper.jar:?]
        at bluemap-5.5-paper.jar/de.bluecolored.bluemap.common.rendermanager.RenderManager.doWork(RenderManager.java:318) ~[bluemap-5.5-paper.jar:?]
        at bluemap-5.5-paper.jar/de.bluecolored.bluemap.common.rendermanager.RenderManager$WorkerThread.run(RenderManager.java:343) ~[bluemap-5.5-paper.jar:?]
commented

An AccessDeniedException usually means that either your file-permissions are wrong and the user bluemap run's as doesn't have permission to delete that file, or windows blocks the deletion for some other reason, e.g. some other programm has this file open and locked right now.
Restart your Server (the whole OS, not just the minecraft server) and make sure bluemap has permission to delete those files, then try to purge again..

And/or you can also try to delete the files manually:

  • Stop the server
  • delete all of ./bluemap/web/maps/stevie_josh_world/
  • start the server

this does the same as a purge command would do :)

This is very likely not a bug, so i am going to close this issue here, but if you need further support with this, please visit us on our support-discord! :)

commented

Thanks!
I had to manually delete not sure why. But that didn't seem to solve my initial issue, but I'll post that separately!
Thnaks,