Skip to content
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

Download to /tmp means docker mounted /data mount point insufficient, install fails #475

Closed
xaphod opened this issue Dec 8, 2024 · 1 comment · Fixed by #476
Closed

Comments

@xaphod
Copy link

xaphod commented Dec 8, 2024

It took me a fair while & going thru source to figure this out. I run the docker image on Synology unit. Your helpful README indicates to add a mount point for the container's /data folder. If I do only that, install fails with

curl: (23) Failure writing output to destination

Turns out this is because your install script wants to download the ZIP file to /tmp. The workaround for me was to create another mounted folder for /tmp.

Suggestion: try touching a file in /tmp and if that fails, write the downloaded ZIP file to /data instead.

Thank you very much for this great repo & container, my son really appreciates your work 👍

@itzg
Copy link
Owner

itzg commented Dec 8, 2024

I'm actually surprised I still have it downloading to /tmp since on Java edition image I had long since changed that for the reason you found.

There is an env var TMP_DIR that can be set, as you might have seen. In fact, I might default that to a /data/.downloads directory instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants