Where is my uploaded attachment files stored?


I have a rocket chat instance deploy on server using docker-compose.yml method

I did not edit anything other than change ROOT_URL to my server IP

Now I must move the instance to a new server (old one has some disk problem )

I know that I could docker exec -it {mongo container ID} /bin/bash to backup my db and brind to new location.

But when I try to find attachment data, I see nothing in ./uploads folder

So, where is my uploaded attachments and how could I bring it to new server?

Server Setup Information

  • Version of Rocket.Chat Server: 3.13.0
  • Operating System: Ubuntu 20.04
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.21.0
  • MongoDB Version: 4.0.23
  • Proxy: no
  • Firewalls involved: no

Any additional Information

Hi! Welcome to our forums!

Please, consider upgrading your server to latest version, 4.3.2 as I write

It will depend on what Storage Type you have chosen:

If it’s GridFS, it will be stored inside Mongo, if it’s File System, it will be at the path you have configured.

1 Like

thanks for your reply,
I’ve deployed without any custom config, seem it was GridFS,

Thanks, I will check changelog and upgrade it ASAP

1 Like