Mattermost.log permission denied

Summary
Mattermost can’t open /mattermost/logs/mattermost.log

Steps to reproduce
run mattermost

Expected behavior
mattermost write log in /mattermost/logs/mattermost.log

Observed behavior
can’t open new logfile: open /mattermost/logs/mattermost.log: permission denied

Hello. I use mattermost 7.5.2 conainter deployment using char helm. I tried to change the right on the folder mattermost/logs (from the container terminal) with the chmod command but i’m not allowed to do that and “sudo” is unknowed.

Do you have an idea ?

Hi Pierre67,

You need to change the permissions of the folders outside the container, not inside of it if there’s a mounted volume for this path. Are the logs directly exposed to the host? If so, please check the permissions and ownership of the host path.