Upgrade MM 5.3.1 to latest version fails

Hello Andrew,

thank you for your suggestions. My MariaDB is on the same machine like MM. So I’ve also changed the [Install] line “WantedBy=multi-user.target” to “WantedBy=mysql.service” and hope that was correct. Here’s my current file /lib/systemd/system/mattermost.service:

[Unit]
Description=Mattermost
After=network.target
After=mysql.service
Requires=mysql.service

[Service]
Type=simple
ExecStart=/opt/mattermost/bin/mattermost
Restart=always
RestartSec=10
WorkingDirectory=/opt/mattermost
User=mattermost
Group=mattermost
LimitNOFILE=49152

[Install]
WantedBy=mysql.service

systemctl daemon-reload runs okay, but systemctl status mattermost.service does not! Here the output:

systemctl status mattermost.service

● mattermost.service - Mattermost
Loaded: loaded (/lib/systemd/system/mattermost.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Don 2020-08-13 11:29:13 CEST; 8s ago
Process: 16608 ExecStart=/opt/mattermost/bin/mattermost (code=exited, status=234/MAKE_STARTER)
Main PID: 16608 (code=exited, status=234/MAKE_STARTER)

Aug 13 11:29:13 SERVER systemd[1]: mattermost.service: Unit entered failed state.
Aug 13 11:29:13 SERVER systemd[1]: mattermost.service: Failed with result ‘exit-code’.

So systemctl start mattermost.service doesn’t start … :frowning: :frowning: :frowning: