How do I enable generation of presigned URL?

Summary
I am trying to export data from one mattermost instance, before I import it into another mattermost instance. However, I am stuck on the first step of exporting the data. I have tried to use mmctl config to set EnableExportDirectDownload to be true, but after I edit the config file in vim, the changes are not saved.

Steps to reproduce
I am following the guide from Bulk export tool - Mattermost documentation.

  1. mmctl auth login https://yourdomain.cloud.mattermost.com
  2. mmctl export create
  3. mmctl export generate-presigned-url 4pynq9ja8bnn7fgac6muwq9mrh_export.zip

I then get Error: failed to generate export link: This feature is restricted by a feature flag.

Expected behavior
I expect to get a URL to download the data from my mattermost instance.

Observed behavior
I get an error that this feature is restricted. I could not figure out how to enable this.

What version of Mattermost are you on?

Hi @john.oliver, I’m on the free version of the enterprise edition. I was thinking that there could be an option to enable this in the system console, but couldn’t find anything either

Mattermost Enterprise Edition

Mattermost Version: 10.7.1
Database Schema Version: 133
Build Number: 14611006601
Database: postgres
Hostname: linux-vm

That is odd! Can you try the “Use CLI” version? And are you running mmctl from /opt/mattermost/bin/ as opposed to one you might have copied from an earlier version?

Phew all good! Managed to get it to work with mmctl export download instead

So, it turns out that EnableExportDirectDownload is behind a feature flag, and the docs didn’t capture that. They’re being updated.