Closed MrKorvic closed 3 years ago
.... [16:08:34 WARN]: Caused by: java.io.IOException: No space left on device
Uhm... is your hard drive full? 🤔
and there's plenty of space on the drive.
Update;
The first issue comes from trying to run two renders at once. Dynmap normally has no issue with that, however, when using the command myself in the console to only do a full render of one map, the IOException goes away. Now the only error that's thrown is related to not finding net.time4tea.oidn.Oidn
.
.... [12:38:35 WARN]: Unchecked exception in render manager .... [12:38:35 WARN]: java.lang.NoClassDefFoundError: Could not initialize class net.time4tea.oidn.Oidn .... [12:38:35 WARN]: at de.lemaik.chunkymap.rendering.local.ChunkyRenderer.lambda$render$1(ChunkyRenderer.java:141) .... [12:38:35 WARN]: at se.llbit.chunky.renderer.RenderManager.pathTraceLoop(RenderManager.java:229) .... [12:38:35 WARN]: at se.llbit.chunky.renderer.RenderManager.run(RenderManager.java:163) .... [12:38:35 WARN]:
Update 2; So even when running one at a time it sometimes throws the IOException, however upon cancelling and re-running it the IOException error goes away. NoClassDefFoundError still occurs, however.
Now the only error that's thrown is related to not finding net.time4tea.oidn.Oidn.
The stacktrace above clearly stated that somehow there wasn't enough disk space available when extracting the Oidn library. It tries to extract it into /tmp
(on Linux), so maybe that partition was full? You can however disable the denoiser and move on.
So even when running one at a time it sometimes throws the IOException
I can't tell you more than the exception does. For some reason, ChunkyMap fails to create the files and the error message explains why.
All servers and the outer box itself have tons of room to work with (2TB), however running a Ptero panel so that might be blocking it from accessing /tmp
directly. I'll look into that more when I get home from work. In the meantime, do I need Chunky and/or Oidn installed on the machine itself for ChunkyMap to run?
Update; Deactivated the denoiser for the time being so the map can actually function. Failing to find texture spam in console. Do I need to download something to add on to ChunkyMap? It seems like it really struggles to make it's own files here.
.... [13:00:57 WARN]: Minecraft Jar not found: falling back on placeholder textures. .... [13:00:57 INFO]: Failed to load texture: {texture: {texture: assets/minecraft/textures/models/armor/leather_layer_1, color: [0.11372549, 0.11372549, 0.12941177, 0.0]}, overlay: assets/minecraft/textures/models/armor/leather_layer_1_overlay} .... [13:00:57 WARN]: Minecraft Jar not found: falling back on placeholder textures. .... [13:00:57 INFO]: Failed to load texture: {texture: {texture: assets/minecraft/textures/models/armor/leather_layer_1, color: [0.08627451, 0.6117647, 0.6117647, 0.0]}, overlay: assets/minecraft/textures/models/armor/leather_layer_1_overlay} .... [13:00:57 WARN]: Minecraft Jar not found: falling back on placeholder textures. .... [13:00:57 INFO]: Failed to load texture: {texture: {texture: assets/minecraft/textures/models/armor/leather_layer_2, color: [0.23529412, 0.26666668, 0.6666667, 0.0]}, overlay: assets/minecraft/textures/models/armor/leather_layer_2_overlay} .... [13:00:57 WARN]: Minecraft Jar not found: falling back on placeholder textures. .... [13:00:57 INFO]: Failed to load texture: {texture: {texture: assets/minecraft/textures/models/armor/leather_layer_1, color: [0.49019608, 0.50980395, 0.7764706, 0.0]}, overlay: assets/minecraft/textures/models/armor/leather_layer_1_overlay}
@MrKorvic Not being able to access the tmp directory would explain the behavior you see. You don't need anything to be installed for the denoiser to work, it just needs to be able to extract the native library into the temporary directory.
Regarding the textures… It's supposed to download them into the plugin directory and load them from there. Is there any error while downloading the file before? Are you using a custom texturepack? Most likely it's due to the textures not even downloading because initialization fails due to not being able to write to the temp directory. Fix that first.
Good to know, I'll see what I can figure out regarding the /tmp directory. Is there any way to specify the directory in a config or somesuch? With docker each server instance has its own temp directory afaik that I'd prefer to have it build in, if possible.
Texture-wise, it was able to get default textures other than the leather armor. I added on a texture pack to test and the error went away. Blocks and such had no issue, it was only grabbing the leather armor textures for an armor stand. It's also got the 1.16.2 jar in the ChunkyMap folder from the first restart.
EDIT; Another option is I could pre-load the Oidn jar into the JVM so ChunkyMap doesn't need to create it every time. Would it be possible for you to have the temp directory configurable and/or load from the JVM first, only trying to create the Oidn files if it can't find them?
@MrKorvic Just create a /tmp
directory in your docker images then. Or use a base image that has one.
To customize the temp directory, you could try starting java with java -Djava.io.tmpdir=/path/to/tmpdir
it was only grabbing the leather armor textures for an armor stand
Strange, might be a bug in Chunky. I'll look into that eventually.
@MrKorvic Hi, it's been a while. :wave: The leather texture bug was fixed in https://github.com/chunky-dev/chunky/pull/745 and the new Chunky version will be used in ChunkyMap 2.5.1 and 2.6.0-pre2 (or any later version).
Howdy! Just installed ChunkyMap and the render is throwing an error at me and won't start. I've got Dynmap hooked up to a MySQL database for the render itself, and there's plenty of space on the drive. I'm running Paper 186 currently, and Dynmap 3.1 beta 3a. ChunkyMap created a '1.16.2' jar on server restart, and a json file that has one option;
"loadPlayers":false
. Below is the stacktrace, followed by my current config. Looking to see if I missed something or if this is possibly an error with using MySQL or somesuch.Error
worlds.txt