File Upload with GridFS not working - how can i change to local filesystem?


Hello, we are testing at the moment in our company.
The System is working fine but file upload is not working. If we add a file the upload stuck on 0%.

If i check the “show logs” in the admin backend, i dont see any information about the upload process.

I thought a good solution will be to change the upload to local filesystem but where should i place the files? In the snap path /var/snap/rocketchat-server/common ?

Can someone help me with this question or how to solve the GridFS Problem?
Thank you.

Server Setup Information

  • Version of Rocket.Chat Server: 2.1.1
  • Operating System: Ubuntu 18.04.3
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 8.15.1
  • MongoDB Version: 3.6.14
  • Proxy: caddy
  • Firewalls involved: no

GridFS is working now.
I had a config error - the website url was set in Rocket.Chat to
We caddy as proxy so the :3000 was wrong.

Just one question to the local filesystem config.
If i set it to filesystem and set the path for the file system to /var/snap/rocketchat-server/common/upload, is this correct? Then i set the permission for this folder to 755 and root:root

Thank you

Hi, yes that should work, this folder allows access and modification /var/snap/rocketchat-server/common

my linux has some issue in upload files.
success in sending emoje, changing profile photo use local image.
faild in uploading file in any chat room.

ps: i am noob in linux system
my server:
deployed by snapd

thanks for your help.