mmctl icon indicating copy to clipboard operation
mmctl copied to clipboard

mmctl stuck on import from Slack

Open davidus05 opened this issue 1 year ago • 4 comments

Worked through the whole documentation as shown here (https://docs.mattermost.com/onboard/migrating-to-mattermost.html) for importing Slack.

Uploading and starting the job does work. After that it gets stuck, only two users are imported, all channels are imported but without any messages. Is there any way to debug this?

No activity after the start:

./mmctl import job show pm8dx6ikqfba887jfoko1wy4uc --json
[
  {
    "id": "pm8dx6ikqfba887jfoko1wy4uc",
    "type": "import_process",
    "priority": 0,
    "create_at": 1660217591893,
    "start_at": 1660217591981,
    "last_activity_at": 1660217591981,
    "status": "in_progress",
    "progress": 0,
    "data": {
      "import_file": "t9pua4gx4pbdfjaizz1qg69w4y_mattermost-bulk-import.zip"
    }
  }
]

davidus05 avatar Aug 11 '22 11:08 davidus05

Hey @davidus05, thanks for the feedback! We will be looking into this. Before starting to investigate on our end, would you mind sharing the server logs? I would appreciate if you can set server log level to DEBUG so that we can have more insight on the issue.

Also the I'd like to know which mattermost version you have experienced this issue. Thanks!

isacikgoz avatar Aug 29 '22 17:08 isacikgoz

I'm having the same issue. Mattermost Version: 6.0.1 Database Schema Version: 6.0.1 Database: mysql

I have my server logs set to DEBUG but nothing is showing with regard to mmctl

MatthewHolmes avatar Sep 03 '22 02:09 MatthewHolmes

@isacikgoz Thanks for getting back to that. Unfortunately, log level debug is useless for mmctl, as the importer tool does not log anything. We're already discussing that with the team here: https://community.mattermost.com/core/pl/um6t3fa6tibo78frjdptuzik6h

davidus05 avatar Sep 04 '22 18:09 davidus05