Hi David and welcome to the Mattermost forums!
I think mmetl
requires a specific folder structure. Using the slack export you can download from their website, an example archive looks like this (small demo setup of mine):
zufällig/
zufällig/2022-08-11.json
export/
export/2022-08-11.json
testchannel1/
testchannel1/2022-08-11.json
testchannel2/
testchannel2/2022-08-11.json
users.json
allgemein/
allgemein/2022-08-11.json
integration_logs.json
channels.json
The channels.json
then contains the channelnames and the tool is looking for json files in the folders called like the channelnames in the channels.json
.
Can you verify that your structure looks exactly like this?
And also with regards to the format: Here’s an example of my channels.json
which describes the channel allgemein
:
{
"id": "C03TDG5P39R",
"name": "allgemein",
"created": 1660275891,
"creator": "U03TG3CS7MJ",
"is_archived": false,
"is_general": true,
"members": [
"U03TG3CS7MJ"
],
"topic": {
"value": "",
"creator": "",
"last_set": 0
},
"purpose": {
"value": "Dies ist der eine Channel, der immer alle einbezieht. Es ist ein toller Ort für Mitteilungen und Team-weite Unterhaltungen.",
"creator": "U03TG3CS7MJ",
"last_set": 1660275891
}
},
And looking at the allgemein/2022-08-11.json
file in my dump, this is what an example entry looks like:
[
{
"type": "message",
"subtype": "channel_join",
"ts": "1660275891.863739",
"user": "U03TG3CS7MJ",
"text": "<@U03TG3CS7MJ> ist dem Channel beigetreten"
}
]
Can you confirm the structure for the files in the ZIP as well as the JSON in the files?