Comments (5)
Hey,
This annotation works, but then I cannot map a volume to the uploads to secure them beyond the container instance as the folder name changes on every restart (see default configuration).
I found another fix which is easy to implement:
Changing the FILE_DIR parameter to some nested folder such as /uploads/send
and then using the volume mapping <some local folder>:/uploads
to map the parent folder. You might have to fix permissions on the local folders, but otherwise this works as intended.
Thank you all for your feedback.
from send.
Hello,
Thank you for your quick reply. This sadly did not fix the problem. Even switching to a newly created dedicated volume (not mapped), does not work. Removing the volume declaration fixes the problem, so it has to do something with docker and its permissions. I will be doing some trouble shooting on my own and post any updates in this thread.
Regards
from send.
Hello, I also encountered the same problem as yours. After I annotated the FILE_DIR parameter in docker-compose, everything worked fine for your reference.
from send.
Let me post my solution since this is still a problem to some people.
In my docker-compose.yml
I have:
# For local uploads storage
FILE_DIR: /uploads
…
volumes:
- ./data/send:/uploads
… and then I simply run:
chown 1000:1000 ./data/send
I got the UID:GID from here:
https://github.com/timvisee/send/blob/master/Dockerfile#L45
from send.
Hi there!
Not sure what is going on here. It may be a permission issue, which is somewhat common with Docker.
To test this, does the same error occur when setting the directory mode to 777?
chmod -R 777 ./uploads
I highly recommend to set it back to an appropriate value after testing, as this setting may be considered insecure.
from send.
Related Issues (20)
- SSO or LDAP auth
- Fix permission on upload folder in docker HOT 2
- Anyone figured out a way to force dark mode? HOT 4
- Any way to make the upload accessible only for internal users and download for external? HOT 2
- If you click the logo then you're redirected to the homepage. How can I turn this off? HOT 2
- Logo reverse back after npm run build
- Error with redirection because of the # in the last part of the link url
- Add `unlimited` as an option for max downloads when sharing a file
- Uploading a folder not working HOT 2
- CUSTOM_DESCRIPTION does not seem to work
- Using send with password behind apache reverse proxy failed HOT 2
- Uploads fail after Send has been running for a extended period fo time HOT 1
- Can`t install Send
- Is it possible to recover an expired link data? HOT 1
- customizing the text under Simple, private file sharing HOT 2
- Is there a possibility to keep the unexpired send-archive always visible? HOT 1
- [FEATURE REQUEST] Add folder picker option like WeTransfer HOT 3
- [Request] ARM64 Support HOT 1
- Download URL accessible but files won't download. HOT 3
- Docker Compose Install - Customization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from send.