Importing from bulk upload failed

Summary
I’m trying to use a new Mattermost docker installation, and import the content of my older Mattermost, which was using MariaDB. I was able to export the zip file successfully, and import it in the the Mattermost instance, but it throw me an error at the process command:

ID: n9381kemiiftux9qakuj75btaa
  Type: import_process
  Status: error
  Created: 2025-02-17 00:41:05 +0000 UTC
  Started: 2025-02-17 00:41:18 +0000 UTC
  Data: map[error:Error during job execution. — BulkImport: Missing required direct channel property: members extract_content:true import_file:7tp77xik4bnz9gag4ek9573z1r_po3itiria7rmun9mmi4y4izdwa_export.zip line_number:39197 local_mode:false]

I looked thru the forum and online, and I can’t find anything about “members extract_content”

Would it be an error at the export time?

Steps to reproduce
At the export, I followed the guide and did the following commands

./mmctl export create
./mmctl export job show po3itiria7rmun9mmi4y4izdwa
./mmctl export list
./mmctl export generate-presigned-url po3itiria7rmun9mmi4y4izdwa_export.zip

At the import, I did the following:

mmctl import upload po3itiria7rmun9mmi4y4izdwa_export.zip
mmctl import list available
mmctl import process 7tp77xik4bnz9gag4ek9573z1r_po3itiria7rmun9mmi4y4izdwa_export.zip
mmctl import job list

Which give the error mentionned.

Any ideas?

Thank you very much everyone :slight_smile:

1 Like

Hi Cedric! It looks like the import failed due to a missing members property for direct channels. You might try checking the exported file for missing data, re-running the export with --include-direct-channels, or ensuring mmctl is up to date. More details in the Bulk Import Docs.

Hi all,
--include-direct-channels does not seem to be a valid export option. This also happens with the latest version of mattermost, installed via docker.