Summary
Mattermost is failing to start, it is hanging on Starting schedulers.
Steps to reproduce
I am on a fresh install of version 5.0 using mysql and have followed this doc for installing <no title> — Mattermost documentation.
Expected behavior
I am at the part where you run the command “sudo -u mattermost ./bin/mattermost” to test it starts just before you create the service file. Below is the output in terminal and it hangs on Starting schedulers.
Observed behavior
sudo -u mattermost ./bin/mattermost
{“level”:“info”,“ts”:1530094290.9359138,“caller”:“utils/i18n.go:83”,“msg”:“Loaded system translations for ‘en’ from ‘/opt/mattermost/i18n/en.json’”}
{“level”:“info”,“ts”:1530094290.936313,“caller”:“app/app.go:185”,“msg”:“Server is initializing…”}
{“level”:“info”,“ts”:1530094290.9386427,“caller”:“sqlstore/supplier.go:200”,“msg”:“Pinging SQL master database”}
{“level”:“info”,“ts”:1530094291.0066454,“caller”:“commands/server.go:81”,“msg”:“Current version is 5.0.0 (5.0.0/Fri Jun 15 15:17:50 UTC 2018/85a75526c7c03fca1d14a39cfb3f2638d98d3fe1/1f474e50582c2323c43b10932eb96878c8713b32)”}
{“level”:“info”,“ts”:1530094291.0067377,“caller”:“commands/server.go:82”,“msg”:“Enterprise Enabled: true”}
{“level”:“info”,“ts”:1530094291.0067637,“caller”:“commands/server.go:83”,“msg”:“Current working directory is /opt/mattermost”}
{“level”:“info”,“ts”:1530094291.0067935,“caller”:“commands/server.go:84”,“msg”:“Loaded config file from /opt/mattermost/config/config.json”}
{“level”:“info”,“ts”:1530094291.0069191,“caller”:“utils/file_backend_local.go:32”,“msg”:“Able to write files to local storage.”}
{“level”:“info”,“ts”:1530094291.0092864,“caller”:“app/license.go:44”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”}
{“level”:“info”,“ts”:1530094291.0100539,“caller”:“app/plugin.go:540”,“msg”:“Starting up plugins”}
{“level”:“info”,“ts”:1530094291.512637,“caller”:“app/plugin.go:208”,“msg”:“Activated plugin”,“plugin_id”:“jira”}
{“level”:“info”,“ts”:1530094291.512917,“caller”:“app/server.go:100”,“msg”:“Starting Server…”}
{“level”:“info”,“ts”:1530094291.5132153,“caller”:“app/server.go:139”,“msg”:“Server is listening on [::]:8065”}
{“level”:“info”,“ts”:1530094291.5219364,“caller”:“app/web_hub.go:67”,“msg”:“Starting 4 websocket hubs”}
{“level”:“info”,“ts”:1530094291.5274663,“caller”:“sqlstore/post_store.go:1256”,“msg”:“Post.Message supports at most 16383 characters (65535 bytes)”}
{“level”:“info”,“ts”:1530094291.561705,“caller”:“jobs/workers.go:62”,“msg”:“Starting workers”}
{“level”:“info”,“ts”:1530094291.562523,“caller”:“jobs/schedulers.go:66”,“msg”:“Starting schedulers.”}