Cannot upload files

OK, I’m running a fresh install of Rocketchat on an Ubuntu VM, hosted on an internal private network. Install was from snaps. I’ve set the permissions of the /var/snaps/rocketchat-server/common/* and /tmp/ufs to 777. I’ve restarted the service, I’ve rebooted the VM.

Files stay at 0%. Using GridFS, and it’s not a network issue, because a previous Rocketchat install allowed file uploads.

Server Setup Information

  • Version of Rocket.Chat Server: 2.4.2
  • Operating System: Ubuntu 19.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: v8.17.0
  • MongoDB Version: 3.6.14
  • Proxy: caddy
  • Firewalls involved: no

Total Uploads Size 7.71 MB (Because custom avatars work)

If using gridfs it shouldn’t be a permission problem, did you find any useful message in rocketchat or mongo service logs? does your server have enough space to save the files, there is also a file upload limit and some extensions not allowed by default, you can change that config in the Administration panel