Mattermost's Slack Importer Imports Messages Twice

Can you clarify the steps that you took? By

I restarted the server (which killed the import) and tried again

it sounds like you ran the import operation twice, which would explain the duplicate messages. Did the import operation ever successfully complete?

Please try these steps:

  • Wipe your MySQL database so that it is clean
  • Start Mattermost and verify that you can log in and send messages as expected
  • Run the Slack import exactly once, log into the MySQL database, and verify that the messages appear in the Posts table
  • Start Mattermost again, and verify that you can see the imported messages in the UI

I suspect that you’re conflating two or more issues here. It’ll be easier to debug if we can figure out exactly which step is failing.