mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 06:03:25 +00:00
No default /tmp volume/directory in docker container
#126
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LinusCDE on GitHub.
By default,
/tmpis used for tmpfiles. This directory is not created by default and might break some existing deployments, since this requirement seems new.Origin: https://github.com/dutchcoders/transfer.sh/pull/389#issuecomment-1008686228
@stefanbenten commented on GitHub:
The easiest fix for docker containers likely is to create the directory in the Dockerfile. The other approach is to set the mentioned path to the current working dir.
What would you prefer?
@Enohriel commented on GitHub:
In addition to this issue, changing the directory as a workaround doesn't do the trick anymore :
# docker run -d --restart always --publish 8080:8080 -v "/home/transfer:/transfer" dutchcoders/transfer.sh:latest --provider local --basedir=/transfer@paolafrancesca commented on GitHub:
--temp-pathis the param for the temp folder@paolafrancesca commented on GitHub:
the flag is
--temp-pathnot--tmp-path@gwigz commented on GitHub:
--temp-pathdoesn't seem to change this anyway, seems like the folder should just exist regardless?@gwigz commented on GitHub:
typo
@paolafrancesca commented on GitHub:
@gwigz what version are you using?
there's no explicit saving of a
multipartpreìfix temporary file in the code, I vaguely remember there was once, but I'm not sureif I set
--temp-pathto/dir/not/existsthis the output:but that's rather expected and there is a match between tempo folder and the message on temp file creation