Export chat messages to file creates link to a 403 page

This has been asked before, so I’m trying to raise the profile.

Exporting a DM chat to a file generates an email with a link, from where one is supposed to download the file (in HTML or JSON).

Clicking the link takes one to a page that is not accessible, and reports a 403 error

Digging around suggests that the files have been placed in the File Upload folder, but if I try to open what I think is the file from that location I get a stream of gibberish, so there’s more to this.

Is there some configuration option that I need to change to put these files in an accessible location?

Can the file to be downloaded be offered as a download in the browser? Or added to the DM chat so that it can be downloaded from there?

Server Setup Information

  • Version of Rocket.Chat Server: 6.2.8
  • Operating System: Ubuntu 22.04,
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 6.0.5
  • Proxy: Caddy
  • Firewalls involved: pfSense, but not relevant

Any additional Information

I’m having this issue too. I haven’t found a solution.