Trouble uploading file on self-hosted #286

Closed
opened 2026-01-19 18:29:44 +00:00 by michael · 1 comment
Owner

Originally created by @andrew867 on GitHub.

root@filedrop01:/home/transfer# docker run --restart always --publish 8080:8080 dutchcoders/transfer.sh:latest --provider local --temp-path=/home/transfer --basedir=/home/transfer
[transfer.sh]2019/01/02 01:35:16 Transfer.sh server started.
using temp folder: /home/transfer/
using storage provider: local
[transfer.sh]2019/01/02 01:35:16 listening on port: :8080
[transfer.sh]2019/01/02 01:35:16 ---------------------------
[transfer.sh]2019/01/02 01:35:29 10.101.101.152:54787 - - [2019-01-02T01:35:29Z] "PUT /000069683835.mp4 HTTP/1.1" 500  "http://aliant.ath.cx:8080/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
2019/01/02 01:35:29 mkdir /home/transfer/wunLU: no such file or directory

Error (0) during upload of file 000069683835.mp4
Using Debian 9 and Docker version 18.09.0. The /home/transfer folder is on a separate partition from the main OS. Seems to work fine when basedir is set to /tmp/

Originally created by @andrew867 on GitHub. ``` root@filedrop01:/home/transfer# docker run --restart always --publish 8080:8080 dutchcoders/transfer.sh:latest --provider local --temp-path=/home/transfer --basedir=/home/transfer [transfer.sh]2019/01/02 01:35:16 Transfer.sh server started. using temp folder: /home/transfer/ using storage provider: local [transfer.sh]2019/01/02 01:35:16 listening on port: :8080 [transfer.sh]2019/01/02 01:35:16 --------------------------- [transfer.sh]2019/01/02 01:35:29 10.101.101.152:54787 - - [2019-01-02T01:35:29Z] "PUT /000069683835.mp4 HTTP/1.1" 500 "http://aliant.ath.cx:8080/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" 2019/01/02 01:35:29 mkdir /home/transfer/wunLU: no such file or directory ``` `Error (0) during upload of file 000069683835.mp4 ` Using Debian 9 and Docker version 18.09.0. The /home/transfer folder is on a separate partition from the main OS. Seems to work fine when basedir is set to /tmp/
Author
Owner

@andrew867 commented on GitHub:

I'm a noob to docker, it's now working by using the -v command line option:

docker run --restart always --publish 8080:8080 -v "/home/transfer:/transfer" dutchcoders/transfer.sh:latest --provider local --basedir=/transfer

@andrew867 commented on GitHub: I'm a noob to docker, it's now working by using the -v command line option: `docker run --restart always --publish 8080:8080 -v "/home/transfer:/transfer" dutchcoders/transfer.sh:latest --provider local --basedir=/transfer`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#286