mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
Error while using Storj as provider #133
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 @driftywinds on GitHub.
The server starts up normally while using docker, but when I try to upload any file from UI or command line the server shows me this error in the console: -
Also the --basedir flag does not change the directory for some reason and it always uses /tmp/
@driftywinds commented on GitHub:
Any leads?
@stefanbenten commented on GitHub:
@driftywinds I did not had time to look into this.
Will get to it today 🙏
@stefanbenten commented on GitHub:
@driftywinds After going down the rabbit hole i have found out its actually a dependency that the Storj provider uses itself and thus is not easy able to change.
There are now two ways to solve this:
a) use a smaller image like apline or debian small instead of the scratch image as base see Dockerfile
b) add
--mount type=tmpfs,destination=/tmp/to your run command above (comes at the drawback of using your max file size times the concurrent upload count you may observe).In terms of making this more robust, i would suggest for the short term to use option b) and @aspacca and I need to chat about switching the image for option a)
@driftywinds commented on GitHub:
@stefanbenten my command is: -
I then use caddy to reverse proxy the server running at port 4444 to my domain
@stefanbenten commented on GitHub:
@driftywinds basedir is not used at all for the storj storage provider, only when using local storage.
Could you paste your entire docker run command here, redacting secrets of course.
@stefanbenten commented on GitHub:
@aspacca I am looking into this now and possibly found a workaround.
@paolafrancesca commented on GitHub:
@stefanbenten what's the dependency?
I would like to understand if we have a workaround before using alpine as base image