I’m new to rocket.chat.
I’m trying to import a Slack export with about 100K messages. The import seems to create all the users and channels but at some point while importing the messages, it fails after importing around 80K messages with the following error:
Exception in callback of async function: Error: Encoding not recognized: ‘charset’ (searched as: ‘charset’) at Object.getCodec (/opt/Rocket.Chat/programs/server/npm/node_modules/iconv-lite/lib/index.js:106:23) at Object.getDecoder (/opt/Rocket.Chat/programs/server/npm/node_modules/iconv-lite/lib/index.js:127:23) at Object.decode (/opt/Rocket.Chat/programs/server/npm/node_modules/iconv-lite/lib/index.js:40:25) at toUtf8 (packages/rocketchat:oembed/server/server.js:55:15) at packages/rocketchat:oembed/server/server.js:122:10 at runWithEnvironment (packages/meteor.js:1356:24)
e[34mI20190226-10:20:18.973(0) rocketchat:logger server.js:199 Slack Importer ➔ error TypeError: Cannot read property ‘_id’ of undefined at msgs.messages.forEach.message (packages/rocketchat:importer-slack/server/importer.js:409:23) at Array.forEach () at Object.keys.forEach.date (packages/rocketchat:importer-slack/server/importer.js:283:22) at Array.forEach () at DDPCommon.MethodInvocation.Meteor.runAsUser (packages/rocketchat:importer-slack/server/importer.js:281:32) at packages/dispatch_run-as-user.js:211:14 at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12) at Object.Meteor.runAsUser (packages/dispatch_run-as-user.js:210:33) at Object.keys.forEach.channel (packages/rocketchat:importer-slack/server/importer.js:277:13) at Array.forEach () at Meteor.defer (packages/rocketchat:importer-slack/server/importer.js:274:32) at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12) at packages/meteor.js:620:25 at runWithEnvironment (packages/meteor.js:1356:24)
This is using rocket.chat 0.74.3.
Anyone seen this before?