By default, Rocket.chat is configured to store files using GridFS.
This stores attachments in the MongoDB database.
You can configure the File Upload storage in the Rocket.Chat administration -> Settings -> Upload.
To change it to the File system:
- First, create a directory using the Web terminal:
mkdir -p /app/data/uploads
chown cloudron:cloudron /app/data/uploads - Then, set the above directory as the target for uploads:
Storage Type: FileSystem
Click: Save changes