RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.1k stars 10.36k forks source link

Custom Emojis do not respect selected file system for uploads #5884

Open SudeepParajuli opened 7 years ago

SudeepParajuli commented 7 years ago

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?

engelgabriel commented 7 years ago

@RocketChat/core anyone have done this before?

SudeepParajuli commented 7 years ago

@engelgabriel please accept my ignorance but one thing I am not getting is why we have not made avatars and emoji to store in s3 bucket ? Is this in the bucket list to release in the future version ?

engelgabriel commented 7 years ago

Yes @SudeepParajuli , it was just lack of time to implement the same logic to all packages

SudeepParajuli commented 7 years ago

Looking forward to get support from Rocketchat community if there is any workaround for this . By the way upto when could we expect the s3 bucket option for avatars and emojis ? @engelgabriel

Hudell commented 6 years ago

It's been a while since the last comment here, but to update the status:

Avatars can already be stored on any supported storage type. The Custom Emojis are still lacking this option.

graywolf336 commented 6 years ago

@Hudell I renamed this pull request to reflect the new issue based upon your comment