RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.17k stars 10.38k forks source link

Failed_To_Load_Import_Data when importing slack data (slack user import works fine) #17793

Open majestique opened 4 years ago

majestique commented 4 years ago

Description:

When importing latest slack export (just exported today), with latest rocket.chat (just installed today). We're getting this error: image

With user import, it seems to work fine with the same file.

Steps to reproduce:

  1. Go to: /admin/import/prepare/slack
  2. Import

Expected behavior:

Actual behavior:

image

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

Aeroxander commented 4 years ago

Dealing with the same error

bbrauns commented 4 years ago

same as here: https://github.com/RocketChat/Rocket.Chat/issues/17364

TemaSM commented 4 years ago

UPD: Fixed in separate PR with milestone v3.3.1

Facing slack importer issue too:

Rocket.Chat Version: 3.3.0
NodeJS Version: 12.16.1 - x64
MongoDB Version: 4.0.18
MongoDB Engine: wiredTiger
Platform: linux
ReplicaSet OpLog: Enabled
Commit Hash: a987295718
Commit Branch: HEAD
Slack Importer ➔ info 130 messages imported
server.js:204 Slack Importer ➔ error TypeError: Cannot read property 'get' of undefined
    at SlackImporter._importMpims (app/importer-slack/server/importer.js:637:29)
    at app/importer-slack/server/importer.js:838:10
    at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1234:12)
    at packages/meteor.js:550:25
    at runWithEnvironment (packages/meteor.js:1286:24)
Setting default file store to GridFS

https://github.com/RocketChat/Rocket.Chat/blob/2abe15d097aa842de98fbf0f2582185d0d549f38/app/importer-slack/server/importer.js#L838 https://github.com/RocketChat/Rocket.Chat/blob/2abe15d097aa842de98fbf0f2582185d0d549f38/app/importer-slack/server/importer.js#L637

Probably introduced by this: https://github.com/RocketChat/Rocket.Chat/commit/f6d11e20972a513b1795c26cedd3d7cd8b7005b6

TemaSM commented 4 years ago

Another Slack's importer issue: https://github.com/RocketChat/Rocket.Chat/issues/17855

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

TemaSM commented 4 years ago

Up 🔥