Mattermost version check failure on fresh install due to missing config and log directory
The mattermost recipe was checking the mattermost version before the config and directories were put in place. In addition our migration error logging for mattermost now logs as the mattermost user. Previously, on error the log may not have been created before this error message, and logging as root would cause a permission problem on the file for future runs.
Split from !898 (closed) to more tightly address the current problem. .
Fixes: #1388 (closed)
Edited by GitLab Release Tools Bot