Did you follow “Setup Mattermost to use systemd for starting and stopping.” ???
after doing that, i don’t have any problems (same environment!).
- start at boot will work,
- sudo systemctl service mattermost start/stop/status is working too.
and try to get it working without nginx at first.
walter