Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack import failing - The importer was not defined correctly, it is missing the Import class. #8359

Closed
maxpen opened this issue Sep 29, 2017 · 1 comment · Fixed by #8390

Comments

@maxpen
Copy link

maxpen commented Sep 29, 2017

Description: See: https://gyazo.com/b1a86081f5acdcfb5d8fbe6ce75282d8

I've googled this first and saw it was brought up before. I can only conclude slack changed something on their end yet again and you guys gotta do the same. However I plan to re-start the import by deleting the snap yet again.

**_IT WORKED NOW when I chose to import less then 95k. I think the load was too big to import.

Anyways I do wonder why all messages got jumped into one channel namely the main default general channel and not spread out like they were originally in? Like say Announcements or Markets._**

ALSO why doesn't it migrate the user's their mail as well? How are they supposed to reset their password if they got no mail attached to their account?

Server Setup Information:

  • Version of Rocket.Chat Server: 0.58.2 rev 943
  • Operating System: Ubuntu 16.04.3 TS
  • Deployment Method(snap/docker/tar/etc):snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • Node Version: v4.8.3

Steps to Reproduce:

  1. import a big slack server, users + channels and messages
  2. wait for it to get to around 3000 and freeze

Expected behavior:

Actual behavior:

Relevant logs:

etails
:
{method: "getImportProgress"}
error
:
"error-importer-not-defined"
errorType
:
"Meteor.Error"
isClientSafe
:
true
message
:
"The importer was not defined correctly, it is missing the Import class. [error-importer-not-defined]"
reason
:
"The importer was not defined correctly, it is missing the Import class."
stack
:
"Error: The importer was not defined correctly, it is missing the Import class. [error-importer-not-defined]↵ at b._livedata_result (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:54514)↵ at r (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:39942)↵ at http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:32932↵ at Array.forEach ()↵ at Function.A.each.A.forEach (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:1:854)↵ at C.t.socket.onmessage (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:32890)↵ at C.r.dispatchEvent (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:1445)↵ at C._dispatchMessage (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:15020)↵ at C._didMessage (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:15906)↵ at WebSocket.r.ws.onmessage (http://192.168.1.141:3000/47ef86419001bddc0597ab8520010ea813a957bf.js?meteor_js_resource=true:55:18004)"
proto
:
Error

etails
:
{method: "getImportProgress"}
error
:
"error-importer-not-defined"
errorType
:
"Meteor.Error"
isClientSafe
:
true
message
:
"The importer was not defined correctly, it is missing the Import class. [error-importer-not-defined]"
reason
:
"The importer was not defined correctly, it is missing the Import class."

@maxpen
Copy link
Author

maxpen commented Oct 2, 2017

For a 540 file it freeze too: https://gyazo.com/648d0eadd53764509e3acb11a0d1054d

error log: https://pastebin.com/NBKByf1U

�[34mI20171002-18:14:40.758(1) rocketchat_logger rocketchat_logger.js:375 �[34mMeteor ➔ method getImportProgress -> userId: G5nZsRhsW3BNSDZcG , arguments: { '0': 'slack' }
�[34mI20171002-18:14:40.866(1) rocketchat_logger rocketchat_logger.js:375 �[34mMeteor ➔ method getImportProgress -> userId: G5nZsRhsW3BNSDZcG , arguments: { '0': 'slack' }
�[34mI20171002-18:14:41.023(1) rocketchat_logger rocketchat_logger.js:375 �[34mMeteor ➔ method getImportProgress -> userId: G5nZsRhsW3BNSDZcG , arguments: { '0': null }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants