Versions
MM server: 7.5.1 Teams Plan (official docker)
MMCTL: v7.5.0
Steps to reproduce
Follow manual, up to loading via command:
./mmctl import upload ./mattermost-bulk-import.zip
Expected behavior
Bulk import loaded
Describe your issue in detail
Observed behavior
/mmctl import upload ./mattermost-bulk-import.zip
Error: failed to upload data: AppErrorFromJSON: model.utils.decode_json.app_error, body: <html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.23.2</center>
</body>
</html>
Additional
No errors in server console
No seen volume usage increasing on server
Observed data transfer via system monitor and it approximately matches file size
File size 3.09 Gb
Both nginx and MM set to accept large files (it was previous - solved error)
Can you check your nginx error logs to see what the 500 error is all about? If your nginx is also running inside a container, you can check the logs like this:
First of all, list your running containers and find the ID of your nginx container (896cef1970c2 in my case):
root@host# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
896cef1970c2 nginx:alpine "/docker-entrypoint.…" About a minute ago Up About a minute 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp nginx_mattermost
6b62e01f9967 mattermost/mattermost-enterprise-edition:7.4 "/entrypoint.sh matt…" About a minute ago Up About a minute (healthy) 8065/tcp, 8067/tcp, 8074-8075/tcp mm-740-mattermost-1
a2b45795f33d postgres:13-alpine "docker-entrypoint.s…" About a minute ago Up About a minute 5432/tcp mm-740-postgres-1
Then list all available logfiles in your nginx container:
I think this might be caused by the cache directories not being writable inside your container.
Do you use docker compose or the legacy docker instructions?