MM iOS Client File Preview Not Available


@RbDev You mentioned it works on pre-release - can you also help check if it works on your browser / webapp?


We are talking about iOS Client, not the browser.

On pre-release server, some files do preview like pictures, pdf, txt and music.

mp4 isn’t working.

But on my server, I get an icon screen.

The issue is: preview doesn’t work on my server like prerelease.


Hi @RbDev,

For this I’m wondering if it’s something to do with the file size - can you help check what your setting is set for max file size:

"FileSettings": {
    "EnableFileAttachments": true,
    "EnableMobileUpload": true,
    "EnableMobileDownload": true,
    "MaxFileSize": 1073741824,
    "DriverName": "local",
    "Directory": "./data/",
    "EnablePublicLink": false,
    "PublicLinkSalt": "gsigbowm6yszrahqyhs4pu7dxiqg9auw",
    "InitialFont": "luximbi.ttf",


@RbDev For this one, would you be able to share login access to your server? You can send a DM to @paul.rothrock on the pre-release server and he can test this out and observe logs / console for any indication why text file preview is not working on your server.


I cant give you access to my prod but I’m trying to get another MM server up.

As soon as I have it stable I will create a test account for you.

Thing is. I cant get S3 bucket to work. I’ve been asking for help longer than 2 months and still not working.


I have multiple servers and they all have this issue.

I don’t know what kind of magic you’ve done on pre release.

the only diference I see is that I dont use nginx. I have mattermost working directly on 443.


@RbDev Yes, I believe nginx is probably why it’s working on pre-release.


Could be but I hope you understand that’s not a good implementation.

All the features should be in mattermost executable.

nginx should work only as a tool to redirect access to mattermost service


Hi @RbDev, my colleague will help test this and try to replicate - I’ll let you know if he’s able to see this issue.


Hi @amy.blais. Is there someone online who can help me identify this issue?


Thanks for following up,

My colleague was working on setting up a test environment to test it - I’ll ask him what the current status is.


Ive created a test environment with the issue.

I can give him access.


Thanks, can you help provide account details on the test server on pre-release - you can open a Group Message with me (amyblais) and my colleague (paul.rothrock).


I’m still facing this issue.

It is really disappointing not to be able to use the files uploaded.

Can we raise the priority on this one a bit?



Hi @RbDev, Paul tested this on a same environment and wasn’t able to reproduce this, so we haven’t been able to determine what the cause of the issue might be unfortunately.


The environment I configured can be used to replicate the issue.

I believe you and Paul have admin access to it.


You can see the issue on my qa server.

You cannot watch nor download the videos.

You only see a red icon.

No videos have thumbnails, only the red icon:

Click on a video and you see this:


@RbDev I can reproduce it on your server but it doesn’t reproduce on our servers so I can’t open a Jira ticket - can you help use the “Report a Problem” while you attempt to preview a text file or a video in case there are any log errors we can look at?


I believe I mentioned some log erros related to permission on the old discussion and paul spotted the same later on.