RocketChat File Collection .wit growth bigger since update to Ver 7

Description

hey i need help since upgrade rocket version from 6 to 7 my storage always full, when i check file i got something file collection always growth up, how can i reduce the file or clean that file because when i add more storage it will be full again in couple days, i try to turn on retention file policy but nothing help it will be growthup

image

Server Setup Information

  • Version of Rocket.Chat Server: 7.5.0
  • Operating System: Ubuntu 20.4 LTS
  • Deployment Method: snap
  • MongoDB Version: 6.0.19

Read the docs.

Probably this.

By default, GridFS is used in Rocket.Chat for file storage because MongoDB offers this functionality with zero configuration. However, it is not recommended for production environments due to the high load it places on the database. GridFS

There are two file migrate scripts. This has ben mentioned many times. Please search.