Skip to content

Allow configuration of UploadFS #7465

@gerricom

Description

@gerricom

I ran into a little problem with our current hoster. I'm using the german uberspace project for hosting a Rocket.Chat instance for our little team of seven users. Everything runs quite smoothly in this environment but file uploads are an issue here.

UploadFS uses in its standard configuration a temporary dir located at /tmp/ufs/.... Uberspace encourages you to use a local tmp dir instead because nobody knows, what the global tmp dir can end up. So as sometimes file uploads are stuck, I took a close look. UploadFS allows you to set a custom tmp dir (UploadFS.config.tmpDir). For testing purposes, I changed this hardcoded in the initialization of ufs, but it would be nicer, to have a option to change this, if one needs to change it.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions