MM iOS Client File Preview Not Available


#7

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.


#9

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: https://docs.mattermost.com/administration/config-settings.html#maximum-file-size?


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

#11

@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.


#12

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.


#13

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.


#14

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


#15

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


#16

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.


#17

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


#18

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.


#19

Ive created a test environment with the issue.

I can give him access.


#20

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).


#21

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?

Cheers


#22

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.


#23

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

I believe you and Paul have admin access to it.


#24

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:


#25

@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?


#26

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


#27

We need know what are you doing differently so that I can install on my qa server with your instructions and hopefully get this going.

Dont forget this is linux box so if you could also point out required libraries and version that could help.

Cheers