RocketChat / RocketChat/Rocket.Chat
Custom Emojis do not respect selected file system for uploads
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Rocket.Chat Version: 48
Node Version: 4.2.6
MongoDB shell version: 3.2.11
Mongofiles version: r3.2.11
os : ubuntu:16.04
I have been using the GridFS file system to store my custom emoji and avatars files. I want to import and export these custom emojis and avatar files into my local filesystem using mongofiles but I am not able to perform the operation.
Further, I moved the existing avatars and custom emojis with mongofiles option but it is storing in different files than avatars.chunks , avatars.files and custom_emoji.chunks , custom_emoji.files .
Further, if I create a new database and try this operation it performs as expected.
Why is rocketchat not providing an option for storing custom emoji and custom avatar in the s3 bucket?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing custom emoji and avatar import/export with GridFS in the existing database, then compare the resulting files and collections with the behavior in a new database. Trace how the selected file system is applied to these uploads and verify that the operation uses the expected avatars and custom_emoji GridFS collections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100