Closed TheAceMan closed 4 months ago
What folder is the dumper trying to write to
The working-directory where you started the bluemap-cli.jar
in ^^
This was a leftover debug-line i forgot to remove, if there will ever be a real way to create such a dump on the command-line then it will create that file in the data
folder (configured in the core.conf
) next to the other files that it creates there anyway already :)
Closing this issue as this is already fixed with b086396
@TBlueF I see the 5.3 release, but does not appear to be an image tag for the 5.3 release. My container is still failing and a new image would address the above issue. Would like to use a tagged release and not master tag as I check release notes/breaking changes before upgrading.
@TheAceMan Should be fixed now
What i did / Steps to reproduce
Upgraded to version 5.2 and an access denied exception on StateDumper.dump, logs below. Running with -w, -u and -r. What folder is the dumper trying to write to so I can verify permissions. Running with -w, -u and -r.
Looks like this line has been removed for the next release. But also wanted to open the bug for anyone having this issue and in case StateDumper is used in the future.
Expected result
Worked before the upgrade and expect it work after upgrade.
Actual result
[02:54:52 ERROR] An IO-error occurred! java.nio.file.AccessDeniedException: teststate.json at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source) at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source) at java.base/java.nio.file.Files.newOutputStream(Unknown Source) at java.base/java.nio.file.Files.newBufferedWriter(Unknown Source) at de.bluecolored.bluemap.common.debug.StateDumper.dump(StateDumper.java:49) at de.bluecolored.bluemap.cli.BlueMapCLI.renderMaps(BlueMapCLI.java:215) at de.bluecolored.bluemap.cli.BlueMapCLI.main(BlueMapCLI.java:364)
Context
BlueMap Version: 5.2 Running in kubernetes cluster.