Server hangs while shutting down

Hey @dannymohammad,

I think I’ve already covered everything:

  • Startup and normal server operation are fine. systemctl status mattermost is all normal:
● mattermost.service - Mattermost
   Loaded: loaded (/etc/systemd/system/mattermost.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-01-02 09:07:24 AEDT; 4s ago
 Main PID: 60883 (mattermost)
   CGroup: /system.slice/mattermost.service
           └─60883 /opt/mattermost/bin/mattermost

Jan 02 09:07:24 <server> systemd[1]: Started Mattermost.
Jan 02 09:07:24 <server> systemd[1]: Starting Mattermost...
  • The issue only occurs when I try to stop the server with systemctl stop mattermost (or restart).
  • Content from journalctl and mattermost log is in my original post.
  • Yes this is reproducible every time I shut down with systemd. However the problem does not occur on our test server.
  • The only recent change I’m aware of was to upgrade mattermost.

HTH!