-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Images imported from slack are not showing the preview. #10278
Copy link
Copy link
Closed
Labels
Description
Description:
When trying to import Slack messages, I got the following error:
rocketchat_1 | Exception in callback of async function: Error: File exceeds allowed size of -1 B. [error-file-too-large]
rocketchat_1 | at Filter.validateFileUpload [as onCheck] (/app/bundle/programs/server/packages/rocketchat_file-upload.js:122:13)
rocketchat_1 | at Filter.check (/app/bundle/programs/server/packages/jalik_ufs.js:595:53)
rocketchat_1 | at FileUploadClass.insert (/app/bundle/programs/server/packages/rocketchat_file-upload.js:590:14)
rocketchat_1 | at res.on.Meteor.bindEnvironment (/app/bundle/programs/server/packages/rocketchat_importer.js:391:19)
rocketchat_1 | at runWithEnvironment (packages/meteor.js:1240:24)
It's similar to a previous issue, but with -1 instead for 0 in file size.
Server Setup Information:
- Version of Rocket.Chat Server: 0.62.2
- Operating System: Ubuntu 16.04
- Deployment Method(snap/docker/tar/etc): Docker with MongoDB outside the container
- Number of Running Instances: 1
- DB Replicaset Oplog:
- mongoDB Version: 3.6
Steps to Reproduce:
- Install MongoDB 3.6
- Run Rocket.Chat using Docker Compose, but without MongoDB
- Try to import a Slack backup.
Reactions are currently unavailable