We're Hiring!

Mattermost, Inc.

Unable to start Mattermost service in Ubuntu 15.10: getting error as "Failed to start mattermost.service: Unit mattermost.service failed to load: No such file or directory"

description “Mattermost Service”

start on filesystem or runlevel [2345]
stop on runlevel [!2345]
setuid cbadmin
setgid cbadmin
respawn
chdir cbdadmin/mattermost
exec bin/platform
cbadmin@localhost:~$ sudo service mattermost start
Failed to start mattermost.service: Unit mattermost.service failed to load: No such file or directory.

Please help me to resolve this issue.

Hi,
Anyone faced above issue? Can you guys please give me a solution?

Hi @Mutha, per our instructions, can you try sudo start mattermost instead of sudo service mattermost start?

I just installed mattermost 5.0 on Ubuntu 16.04 LTS for the first time and when I try to start it (as directed in the install directions, I get:

/opt/mattermost > sudo -u mattermost ./bin/mattermost
unable to execute ./bin/mattermost: No such file or directory

The closest thing I’ve found indicated that this means the mattermost binary can’t find config.json, but I’ve been able to get it running on a different 16.04 server, so I have no idea what the issue is.

Hi @thom! Can you help confirm if you have checked the important upgrade notes for v5.0?

@amy.blais It’s a fresh install – does that apply?