Mattermost, Inc.

Mattermost not running on startup

Hey MM Forum,

I got our mattermost server working using docker. When I went into the config.json file to edit the email settings(which worked), I rebooted the dockerfile and now mattermost won’t run unless I go into the docker container and run /mattermost/bin/platform file MANUALLY. Any ideas? Thank you so much!

Hi @sosvatics,

The container seems to restart fine for us, did you make any changes during the set up process?

i share my supervisor conf

zodman@ira:/etc/supervisor/conf.d$ cat mattermost.conf
[program:matterircd]
autorestart=True
autostart=True
command=/opt/matterircd-linux32 -debug=true -interface='0.0.0.0’
directory=/opt/mattermost
redirect_stderr=True
stdout_logfile=/var/log/supervisor/mattermostirc.log

[program:mattermost]
autorestart=True
autostart=True
command=/opt/mattermost/bin/platform
directory=/opt/mattermost
redirect_stderr=True
stdout_logfile=/var/log/supervisor/mattermost.log