Mattermost 7.3.0 uploading stuck on processing

Screenshot 2022-12-01 143024

Issue in one concise sentence
Whenever we try to upload any image or file on mattermost channel, it always stuck on Processing…

Steps to reproduce
open any channel and try t upload the file or image, it always stuck on = Processing… =

Expected behavior
It should upload the image or file on channel.

Observed behavior
We have setup like this. All VMs are Ubuntu Machines 18.04 version. 1st vm we used for proxy(ngnix) 2nd vm we used for database 3rd vm we have installed main application of mattermost on this server.

i have attached the screenshot.

Also need to add this.

We are using local file storage but when testing it ask for s3 bucket is required.


You cannot test the local file storage, which is actually an interesting UI bug in my eyes, you should not be able to click the button if S3 is not enabled, so please ignore this button, you cannot test the local file storage functionality with it.

Can you have a look at your /opt/mattermost/logs/mattermost.log file to see if there are any errors logged there when you try to upload a file in a channel? If so, can you post them here, please?

Also if possible please share the output of the following command:

jq .FileSettings /opt/mattermost/config/config.json
1 Like

root@MATTERMOST4:/# jq .FileSettings /opt/mattermost/config/config.json
jq: error: Could not open file /opt/mattermost/config/config.json: No such file or directory

config.json file is on the same path but it shows this error.

about log i will update after some time.

The error clearly states that the config.json file is not there, so there might be an alternative installation path on your system. Can you run the command with the correct path to your config.json, please?

Agriesser, you are really great, thanks for your help

i am able to trace out the issue. actually i have enable the antivirus but did not installed yet ClamAV.

Can you please help me and give us command how to install clamAV in mattermost application server and activate with mattermost upload scanning.

  1. Update your package lists:

sudo apt-get update

  1. Install ClamAV:

sudo apt-get install clamav clamav-daemon -y

after that how i can link it will mattermost ??

I am able to install and configure the antivirus. thanks for your support. now the upload is working with scanning…

Glad to see you figured it out - I was offline already when you posted your replies. Marking this topic as solved now.