I try to install mattermost on my Server (ProLiant MicroServer Gen8, VmWare Esxi 6.0; Ubuntu 18.04). I use these Tutorials to install Mattermost on Ubuntu:
https://idroot.net/linux/install-mattermost-ubuntu-18-04-lts/ and /tutorials/install-lamp-stack-ubuntu-18-04-lts/
If i use the command: “systemctl start mattermost.service” they get me this answer:
Job for mattermost.service failed because the control process exited with error code.
See “systemctl status mattermost.service” and “journalctl -xe” for details.
If i’m looking at systemctl status mattermost.service, so they tell me this:
● mattermost.service - Mattermost
Loaded: loaded (/etc/systemd/system/mattermost.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2018-08-20 15:06:06 UTC; 5s ago
Process: 4146 ExecStart=/opt/mattermost/bin/mattermost (code=exited, status=217/USER)
Main PID: 4146 (code=exited, status=217/USER)
Aug 20 15:06:06 mattermost systemd[4146]: mattermost.service: Failed at step USER spawning /opt/mattermost/bin/mattermost: No such process
Aug 20 15:06:06 mattermost systemd[1]: mattermost.service: Main process exited, code=exited, status=217/USER
Aug 20 15:06:06 mattermost systemd[1]: mattermost.service: Failed with result ‘exit-code’.
Aug 20 15:06:06 mattermost systemd[1]: Failed to start Mattermost.
If i’m looking at journalctl -xe, so they tell me this:
– Unit mattermost.service has begun starting up.
Aug 20 15:06:57 mattermost systemd[4155]: mattermost.service: Failed to determine user credentials: No such process
Aug 20 15:06:57 mattermost systemd[4155]: mattermost.service: Failed at step USER spawning /opt/mattermost/bin/mattermost: No such process
– Subject: Process /opt/mattermost/bin/mattermost could not be executed
– Defined-By: systemd
– Support: http://www.ubuntu.com/support
– The process /opt/mattermost/bin/mattermost could not be executed and failed.
– The error number returned by this process is 3.
Aug 20 15:06:57 mattermost systemd[1]: mattermost.service: Main process exited, code=exited, status=217/USER
Aug 20 15:06:57 mattermost systemd[1]: mattermost.service: Failed with result ‘exit-code’.
Aug 20 15:06:57 mattermost systemd[1]: Failed to start Mattermost.
– Subject: Unit mattermost.service has failed
– Defined-By: systemd
– Unit mattermost.service has failed.
– The result is RESULT.
I’m very confused, so I don’t know, why its not work.
Can someone help me pls? I don’t find the answer for my problem.