Starting mattermost with /etc/init.d/mattermost start failed

It looks like Mattermost doesn’t have write permissions where it is trying to write it’s log file. Make sure it has permissions there and to the data directory. Both are specified in the config.json.