Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Rocket.chat file storage: where?

Scheduled Pinned Locked Moved Rocket.Chat
4 Posts 2 Posters 57 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • foliovisionF Offline
    foliovisionF Offline
    foliovision
    wrote last edited by foliovision
    #1

    Hi Girish and fellow Rocket.Chat admins,

    We have run into space issues with our 100GB Digial Ocean Cloudron droplet where we run NextCloud, Rocket.Chat and a few other apps. We cleaned out the Next.Cloud trash (thanks to the good advice on this forum) and then removed some more big documents. We're in the clear now but would like to finish the clean up.

    We know that we have a lot of uploaded files in our Rocket.Chat install but we were unable to find them. The files are supposed to be flat files according to Rocket.Chat documentation. We can't find them by name, searching the server via terminal.

    Could anyone tell us how we should best 1. find our Rocket.Chat uploads and 2. manage our files uploaded on the server via Rocket.chat?

    Thanks for any advice in advance.

    Alec

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to foliovision last edited by
    #2

    @foliovision the files are stored based on your attachment settings in Rocket.Chat . By default, this is GridFS . This stores files in the database itself - https://docs.rocket.chat/use-rocket.chat/workspace-administration/settings/file-upload/recommendations-for-file-upload

    You can set a retention policy and it will clean things up - https://docs.rocket.chat/use-rocket.chat/workspace-administration/settings/retention-policies

    1 Reply Last reply
    0
  • foliovisionF Offline
    foliovisionF Offline
    foliovision
    wrote last edited by
    #3

    Thanks girish! It's highly ironic where Rocket.Chat to whom many of have turned to move our private chat outside of the All Seeing Eye of Sauron recommends storing one's file attachments:

    What we recommend as the best option for the file upload system are Amazon S3 and Google Cloud Storage.

    Those retention policies might work for us ("delete files only") if we warn all our users that files are temporary in Rocket.Chat and that everything important should be downloaded and saved locally.

    @martinv

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to foliovision last edited by
    #4

    @foliovision maybe alternately, you can change the storage to file system. It's somewhere in attachment configuration under rocket.chat settings. But IMPORTANT note: I think this makes the existing attachments inaccessible. I think someone asked for a script to migrate but this is not an easy task.

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks