Images cannot be uploaded

I uploaded the JPG file of 52kb to ”Profile Picture", errored “Couldn’t upload profile image”.

The screen looks like this when I select an image.

I have seen past posts from similar people who have solved the problem and those who have solved it have reinstalled it, but since I have already started using it, is there any other way to solve this problem other than reinstalling it?

This can have multiple reasons - can you confirm that the permissions on the filesystem are correct and all files and folders below the /opt/mattermost folder (or whatever your installation path is) is owned by the mattermost user?

You can run the following command to change the permissions:

chown -R mattermost. /opt/mattermost

Try again then, if it still doesn’t work, please check your /opt/mattermost/logs/mattermost.log file for further hints.

Hi, agriesser

Your advice and instructions worked!
Thank you for everything!