# Slack to MM migration: Unable to upload file. File is too large

**URL:** <https://forum.mattermost.com/t/slack-to-mm-migration-unable-to-upload-file-file-is-too-large/18746>\
**Category:** Troubleshooting\
**Created:** [June 4, 2024, 12:04pm UTC](https://forum.mattermost.com/t/slack-to-mm-migration-unable-to-upload-file-file-is-too-large/18746 "2024-06-04T12:04:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yukyolol](https://avatars.discourse-cdn.com/v4/letter/y/b2d939/32.png) [@yukyolol](https://forum.mattermost.com/u/yukyolol)\
**Post date:** [June 4, 2024, 12:04pm UTC](https://forum.mattermost.com/t/slack-to-mm-migration-unable-to-upload-file-file-is-too-large/18746/1 "2024-06-04T12:04:03Z")

</div>

Hello. I’m trying to migrate from Slack to MM. I’ve already done all the steps and now I need to upload the content to my MM server.

When I run the command:

`mmctl import upload ./mattermost-bulk-import.zip`

I get this error:

WARNING: server version 9.8.1.9253470812.4xxxxxxxxxxxxxxxxxxxxxxxe459.false doesn’t match mmctl version 8.0.0

Error: failed to create upload session: : Unable to upload file. File is too large.

I’ve already updated the: **MM\_FILESETTINGS\_MAXFILESIZE** to: 75161927680 (which should be 70GB). My .zip weighs 36GB.

My server runs through Traefik. I’m unsure if I need to add any other variables…

```auto
MM_SQLSETTINGS_DRIVERNAME=postgres
MM_SQLSETTINGS_DATASOURCE=postgres://postgres:xxxxxxxxxxxxxxxxxx@$(PROJECT_NAME)_mattermost-db:5432/$(PROJECT_NAME)?sslmode=disable
DOMAIN=https://$(PRIMARY_DOMAIN)
MM_PLUGINSETTINGS_ENABLE=true
MM_PLUGINSETTINGS_ENABLEUPLOADS=true
MM_FILESETTINGS_MAXFILESIZE=75161927680

```

```auto
Team Edition
Mattermost Version: 9.8.1
Database Schema Version: 120
Build Number: 9253470812
Database: postgres

```

I appreciate the help.  
Thanks.

---

<div class="post-metadata">

**Author:** ![john.oliver](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.oliver/32/6436_2.png) [@john.oliver](https://forum.mattermost.com/u/john.oliver)\
**Post date:** [June 4, 2024, 8:24pm UTC](https://forum.mattermost.com/t/slack-to-mm-migration-unable-to-upload-file-file-is-too-large/18746/2 "2024-06-04T20:24:02Z")

</div>

In case the version mismatch has anything to do with this, you can grab the right version of mmctl via [https://releases.mattermost.com/mmctl/v9.8.1/linux\_amd64.tar](https://releases.mattermost.com/mmctl/v9.8.1/linux_amd64.tar)

[https://docs.mattermost.com/manage/mmctl-command-line-tool.html#install-mmctl](https://docs.mattermost.com/manage/mmctl-command-line-tool.html#install-mmctl)
