Download user data functionality does not work, it generates and sends .zip which is corrupted.
Steps to reproduce:
Generate user data in user preferences
Receive e-mail
Download
Zip can't be opened, extracted (also seems too small)
Extra: in client - click generate again, there is popup with 'click here to download file' and it does not work until right click - open in new window.
Expected behavior:
Full, working history on email.
Actual behavior:
Described in Description above.
Server Setup Information:
Version of Rocket.Chat Server: 3.6.3
Operating System: Ubuntu 16
Deployment Method: tar
Number of Running Instances: 1
DB Replicaset Oplog: yes
NodeJS Version: 12
MongoDB Version: 4
Client Setup Information
Desktop App or Browser Version: 4
Operating System: Ubuntu
Additional context
Relevant logs:
A lot of logs like below shows up:
I20201006-11:38:02.965(2) Exception in callback of async function: TypeError: Cannot read property 'description' of undefined at exportMessageObject (app/user-data-download/server/cronProcessDownloads.js:207:34) at app/user-data-download/server/cronProcessDownloads.js:245:24 at runWithEnvironment (packages/meteor.js:1286:24) at packages/meteor.js:1299:14 at Array.forEach (<anonymous>) at app/user-data-download/server/cronProcessDownloads.js:238:10 at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
I20201006-11:38:02.966(2) Exception in callback of async function: TypeError: Cannot read property 'description' of undefined at exportMessageObject (app/user-data-download/server/cronProcessDownloads.js:207:34) at app/user-data-download/server/cronProcessDownloads.js:245:24 at runWithEnvironment (packages/meteor.js:1286:24) at packages/meteor.js:1299:14 at Array.forEach (<anonymous>) at app/user-data-download/server/cronProcessDownloads.js:238:10 at /opt/Rocket.Chat/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
Description:
Download user data
functionality does not work, it generates and sends .zip which is corrupted.Steps to reproduce:
Expected behavior:
Full, working history on email.
Actual behavior:
Described in
Description
above.Server Setup Information:
Client Setup Information
Additional context
Relevant logs:
A lot of logs like below shows up: