Closed Dirt-Nasty closed 2 years ago
It sounds like the paper_server-1.15.2-latest.jar
got corrupted or failed to download all the way. Can you manually delete that file from your host directory /mnt/storage/minecraft/data
and try the container again?
@itzg I tried and I still get the same error
44240898 Apr 30 15:15 paper_server-1.15.2-latest.jar
Doing a search for that error message, I found this solution which sounds very likely to help:
https://stackoverflow.com/a/41915139
That'll be something you adjust on the host rather than in/with the container itself.
@itzg I really appreciate you looking into this. I've tried that and i am still receiving the same error. Is there any prerequisites I need on the host before deploying the container?
@itzg I've gotten it to run fine without using a volume mapping. Can it be a permission issue?
@itzg in addition this also seems related https://github.com/itzg/docker-minecraft-server/issues/105 the volume path is set to a mergerfs mount. Is there anyway to use it as a path?
Are you using a mergerfs volume on your host also? I hadn't even heard of that filesystem type until the other issue you referenced, so I'm not sure how that interacts with Docker or the mmap that is used by the JVM at that point.
I just ran into this myself. This appears to potentially be an issue with the way that mergerfs deals with programs that need slightly different access to the data disks, you can see how to fix it here. Basically, if your mergerfs mount has direct_io
you have to remove that from your mount directive (/etc/fstab
)
Thanks for the info @ddellspe. That will help others that come across this issue.
You just saved my night @ddellspe thanks <3
This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.
Here is my start command
docker run -d -v /mnt/storage/minecraft/data:/data -e TYPE=PAPER -p 25565:25565 -e EULA=TRUE -e DEBUG_MEMORY=true --name mc itzg/minecraft-server
and I get this output in the container