Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocket chat file storage ? #9

Closed
KenN7 opened this issue Nov 24, 2015 · 4 comments
Closed

Rocket chat file storage ? #9

KenN7 opened this issue Nov 24, 2015 · 4 comments

Comments

@KenN7
Copy link

KenN7 commented Nov 24, 2015

Hi,

I used your image to install my rocket.chat instance, it works fine but i cannot manage to find
where the uploaded files and avatars are stored ?
I think there is a volume missing so that they would get saved if the image is restarted ?
Thanks,
Regards,

@Sing-Li
Copy link
Member

Sing-Li commented Nov 24, 2015

Yes. @KenN7 Thank you for bringing this to our attention.

In the latest builds, both uploaded files and avatars are stored into MongoDB via GridFS by default. So any problem will go away.

You can change the storage target settings in the administration panel; or you can try the rocketchat/Rocket.Chat image (updated frequently) if you need a fix quick.

@thekevshow
Copy link

thekevshow commented Oct 2, 2017

I am also running into a similar problem with version 0.58.3 using gridFS

error logs I receive are

[Error: FileNotFound: no file with id vCDpXfD42Q4c2nRp4 found]

every time I try to upload a file from web or desktop app. Everything else seems to be working so I am confused what is causing this issue. I followed the instructions verbatim.

EDIT:
FIXED THIS ISSSUE by changing the domain url from the correct outside proxy access point. My apologies. but want to leave this here for anyone else that comes along the same issue, check your ROOT_URL and make sure it is proper to how you are accessing rocket.chat.

@geekgonecrazy
Copy link
Contributor

Closing this. Please see docs for file storage methods.

https://github.com/RocketChat/docs/pull/1153

@farzadso
Copy link

farzadso commented Jun 2, 2019

@kev2316 Yes, changing the Site Url to it's correct value in Settings > General fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants