-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images are not usable after downloading them using itzg/docker-minecraft-server #114
Comments
Hello @senolem, Could you set |
by reading the code, my guess would be that something is going on with the destPath we use for the new image. If that's the case, I would suggest displaying a warning when an unallowed path stored in the files array is detected, for example in getFilenames() we should display a warning if Could you give me directions on how to build the plugin? I never coded java before. |
You can build the project by cloning the repository and opening it in IntelliJ IDEA. Then, click on the Maven tab on right on the screen and double click "Lifecycle" > "Package". This should have created a JAR file on the "target" directory inside the project. I don't think it's related to the ImageStorage#isPathAllowed() method, as you should have seen debug logs on the server console at download regardless of your plugin configuration. This must have something to do with Java's WatchService class and inotify on Linux (see this link). When I find some time, I'll try to reproduce the bug on a container. |
Thanks I managed to build it.
I tried to add a warning but it doesn't show up, sorry for the wrong assumption. |
Hi, @senolem! Could you verify that this issue is now fixed in the v1.3.2-SNAPSHOT pre-release version of Yamipa? |
@senolem |
Hello,


I have a server hosted in a docker-compose using the itzg/docker-minecraft-server image
When I download images it works and places them correctly in yamipa's images folder, but then when using /image give or /image list the image simply doesn't exists
Any idea what's going on here? the data folder is mounted between the host and the container, but that shouldn't be an issue...
thanks
The text was updated successfully, but these errors were encountered: