Need to archive or export rooms to include pictures


Export/email does not allow for all attachments.
Some files come down with a zero size.

Server Setup Information

  • Version of Rocket.Chat Server: 6.6.3
  • Operating System: Ubuntu
  • Deployment Method: docker
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: 5.0
  • Proxy: No
  • Firewalls involved: No

Any additional Information


Can you explain the steps you took?

What sort of fike storage? GridFS, local etc.

When you export to email, you get two items in the zip file.
The HTML of the actual conversation - which looks correct.
And a directory called asset which has images for some of the
files. They can be opened with MS edge; however, many
are of a zero length. In the actual conversation, you can see
the images are still there. It’s a docker with default settings.
I am not sure about the underlying file system
Thanks for any suggestions.

Are the images just links?

Remember, html is NOT designed to embed images. It has to kludge things to make that happen (the reason email should be scrapped entirely as it was only ever designed as a plain text medium and everything on top of it is a bodged mess).

Check if the zero byte files are meant to be embedded images or or links. You can test by sending yourself an email with one embedded image and one linked image and see what happens.