Server Started, unable to connect

Hi Guys,

I am hoping someone can help me with figuring what is broken or what i messed up in setting up the MatterMost server.

I’ve tried to setup the server following the install guide here.
https://docs.mattermost.com/install/install-rhel-7.html#install-and-configure-the-components-in-the-following-order-note-that-you-need-only-one-database-either-mysql-or-postgresql

with MySQL and running on Centos 7.

by the looks of things the service does start however not fully as i am unable to browes to it remotely and curl locally give and error.
The error is similar to the case here. [SOLVED] Server started but app not connecting and no logs
Unfortunetly my knowldge is now where near deap enough so i was not able to enable the loging or the DB loging.

Log

[root@QCSDEVPOLAPP01 mattermost]# tail -n20  /opt/mattermost/logs/mattermost.log
{"level":"info","ts":1554700311.1365652,"caller":"jobs/schedulers.go:140","msg":"Stopping schedulers."}
{"level":"info","ts":1554700311.1365798,"caller":"jobs/schedulers.go:75","msg":"Schedulers stopped."}
{"level":"info","ts":1554700311.1365917,"caller":"app/server.go:336","msg":"Server stopped"}
{"level":"info","ts":1554701009.7608232,"caller":"utils/i18n.go:83","msg":"Loaded system translations for 'en' from '/opt/mattermost/i18n/en.json'"}
{"level":"info","ts":1554701009.7610474,"caller":"app/server_app_adapters.go:58","msg":"Server is initializing..."}
{"level":"info","ts":1554701009.7686296,"caller":"sqlstore/supplier.go:215","msg":"Pinging SQL master database"}
{"level":"error","ts":1554701010.0195894,"caller":"app/server_app_adapters.go:119","msg":"SiteURL must be set. Some features will operate incorrectly if the SiteURL is not set. See documentation for details: http://about.mattermost.com/default-site-url"}
{"level":"info","ts":1554701010.0202277,"caller":"filesstore/localstore.go:33","msg":"Able to write files to local storage."}
{"level":"info","ts":1554701010.0222783,"caller":"app/plugin.go:130","msg":"Starting up plugins"}
{"level":"info","ts":1554701012.238218,"caller":"app/server.go:192","msg":"Current version is 5.9.0 (5.9.0/Fri Mar 15 22:02:32 UTC 2019/5ef499caae2bb751438b19151a9fcb4b27830bca/none)"}
{"level":"info","ts":1554701012.2382772,"caller":"app/server.go:193","msg":"Enterprise Enabled: false"}
{"level":"info","ts":1554701012.2382958,"caller":"app/server.go:195","msg":"Current working directory is /opt/mattermost"}
{"level":"info","ts":1554701012.2383645,"caller":"app/server.go:196","msg":"Loaded config file from /opt/mattermost/config/config.json"}
{"level":"info","ts":1554701012.243341,"caller":"sqlstore/post_store.go:1287","msg":"Post.Message supports at most 16383 characters (65535 bytes)"}
{"level":"info","ts":1554701012.291516,"caller":"jobs/workers.go:68","msg":"Starting workers"}
{"level":"info","ts":1554701012.2916234,"caller":"app/server.go:400","msg":"Starting Server..."}
{"level":"info","ts":1554701012.2921586,"caller":"app/server.go:460","msg":"Server is listening on [::]:8065"}
{"level":"info","ts":1554701012.301582,"caller":"app/web_hub.go:75","msg":"Starting 2 websocket hubs"}
{"level":"info","ts":1554701012.3043194,"caller":"jobs/schedulers.go:72","msg":"Starting schedulers."}
{"level":"info","ts":1554701012.3442574,"caller":"commands/server.go:105","msg":"Sending systemd READY notification."}

Curl http://localhost:8065

 <div id='root'>
        <div class='error-screen'>
            <h2>Cannot connect to Mattermost</h2>
            <hr/>
            <p>We're having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.</p>

Any help on this would be highly a[appreciated.

Hi @Iconically_Lost,

As a first step, please take a look at this troubleshooting doc for tips: https://docs.mattermost.com/install/troubleshooting.html#cannot-connect-to-the-server-please-check-your-server-url-and-internet-connection.

@amy.blais

Thank you for the link, I’ve had a read through and it looks like most of this covers topics where you are at least able to get some connection to the site. From the client side we get zero connectivity. I’ve tried going through the logs, but unfortunately nothing jump out.

As per my linked thread, how do i enable the general loging and DB loging?

Hi @Iconically_Lost,

You can set your file log level (in System Console > General > Logging) to DEBUG , which will print high detail logging to debug issues.

https://docs.mattermost.com/administration/config-settings.html#file-log-level

Hi,

I’m having a similar problem. The log, in DEBUG mode, only tells me:

{"level":"debug","ts":1603343577.9663823,"caller":"web/handlers.go:100","msg":"Received HTTP request","method":"GET","url":"/","request_id":"ymedfaimkjfzijb3ju9eyr8jna","status_code":"200"}

When I try to call the url using curl. What the curl returns however, is html that says

Cannot connect to Mattermost
We’re having trouble connecting to Mattermost. If refreshing this page (Ctrl+R or Command+R) does not work, please verify that your computer is connected to the internet.

I tried to post the log for the restart of Mattermost, but Discord tells me that new users can only post two links in a post and it’s reading all the places with word.word.word as if they are links.

Let’s see if this works. Here’s the log (in DEBUG mode) from starting mattermost:

{"level":"info","ts":1603343393.165138,"caller":"app/server.go:214","msg":"Server is initializing..."}
{"level":"info","ts":1603343393.1661773,"caller":"app/web_hub.go:83","msg":"Starting websocket hubs","number_of_hubs":4}
{"level":"warn","ts":1603343393.1665008,"caller":"app/server.go:223","msg":"Sentry reporting is enabled, but SENTRY_DSN is not set. Disabling rep
orting."}
{"level":"info","ts":1603343393.168036,"caller":"utils/i18n.go:90","msg":"Loaded system translations","for locale":"en","from locale":"/opt/matte
rmost/i18n/en.json"}
{"level":"debug","ts":1603343393.1687286,"caller":"utils/html.go:30","msg":"Parsing server templates","templates_directory":"/opt/mattermost/temp
lates"}
{"level":"info","ts":1603343393.1705825,"caller":"sqlstore/supplier.go:232","msg":"Pinging SQL","database":"master"}
{"level":"debug","ts":1603343393.171027,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":0}
{"level":"debug","ts":1603343393.1710956,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":1}
{"level":"debug","ts":1603343393.1711547,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":2}
{"level":"debug","ts":1603343393.1712108,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":3}
{"level":"debug","ts":1603343393.2294328,"caller":"sqlstore/preference_store.go:42","msg":"Deleting any unused pre-release features"}
{"level":"debug","ts":1603343393.2568846,"caller":"utils/license.go:83","msg":"We could not find the license key in the database or on disk at","
filename":"/opt/mattermost/config/mattermost.mattermost-license"}
{"level":"info","ts":1603343393.2573647,"caller":"app/license.go:54","msg":"License key from https://mattermost.com required to unlock enterprise
 features."}
{"level":"error","ts":1603343393.2602592,"caller":"app/server.go:414","msg":"Mail server connection test is failed: SendEmailNotifications is not
 true"}
{"level":"debug","ts":1603343393.2607245,"caller":"filesstore/localstore.go:33","msg":"Able to write files to local storage."}
{"level":"info","ts":1603343393.2666717,"caller":"app/server.go:450","msg":"Current version is 5.28.0 (5.28.1/Mon Oct 19 15:20:59 UTC 2020/d99150
4714aded3b97f95fea8f78a01e6ea125bb/a58154b23e3e254c0accc7d9c02310e33417d1c3)","current_version":"5.28.0","build_number":"5.28.1","build_date":"Mo
n Oct 19 15:20:59 UTC 2020","build_hash":"d991504714aded3b97f95fea8f78a01e6ea125bb","build_hash_enterprise":"a58154b23e3e254c0accc7d9c02310e33417
d1c3"}
{"level":"info","ts":1603343393.2669387,"caller":"app/server.go:459","msg":"Enterprise Build","enterprise_build":true}
{"level":"info","ts":1603343393.267173,"caller":"app/server.go:465","msg":"Printing current working","directory":"/opt/mattermost"}
{"level":"info","ts":1603343393.2674003,"caller":"app/server.go:466","msg":"Loaded config","source":"file:///opt/mattermost/config/config.json"}
{"level":"info","ts":1603343393.2896667,"caller":"sqlstore/post_store.go:1626","msg":"Post.Message has size restrictions","max_characters":16383,
"max_bytes":65535}
{"level":"debug","ts":1603343393.3326674,"caller":"app/server.go:666","msg":"Advanced logging metrics enabled"}
{"level":"info","ts":1603343393.3332064,"caller":"bleveengine/bleve.go:267","msg":"UpdateConf Bleve"}
{"level":"debug","ts":1603343393.3355997,"caller":"app/product_notices.go:302","msg":"Will fetch notices from","url":"https://notices.mattermost.
com/","skip_cache":false}
{"level":"debug","ts":1603343393.342674,"caller":"api4/plugin.go:26","msg":"EXPERIMENTAL: Initializing plugin api"}
{"level":"debug","ts":1603343393.3437958,"caller":"web/web.go:28","msg":"Initializing web routes"}
{"level":"debug","ts":1603343393.3442974,"caller":"utils/subpath.go:84","msg":"Rewriting static assets","from_subpath":"/","to_subpath":"/"}
{"level":"debug","ts":1603343393.3592997,"caller":"web/static.go:28","msg":"Using client directory","clientDir":"/opt/mattermost/client"}
{"level":"info","ts":1603343393.3618674,"caller":"app/server.go:878","msg":"Starting Server..."}
{"level":"info","ts":1603343393.3623743,"caller":"app/server.go:955","msg":"Server is listening on [::]:8065","address":"[::]:8065"}
{"level":"info","ts":1603343393.3626304,"caller":"commands/server.go:112","msg":"Sending systemd READY notification."}
{"level":"debug","ts":1603343428.5627298,"caller":"app/enterprise.go:186","msg":"Loading original SAML library"}
{"level":"debug","ts":1603343428.564251,"caller":"jobs/schedulers.go:30","msg":"Initialising schedulers."}
{"level":"info","ts":1603343428.5781214,"caller":"mlog/log.go:215","msg":"Starting up plugins"}
{"level":"info","ts":1603343428.5782108,"caller":"app/plugin.go:222","msg":"Syncing plugins from the file store"}
{"level":"debug","ts":1603343428.578657,"caller":"app/plugin.go:246","msg":"Removing local installation of managed plugin before sync","plugin_id
":"com.mattermost.nps"}
{"level":"debug","ts":1603343428.5847082,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-nps-v1.1.0-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.584732,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_pl
ugins/mattermost-plugin-aws-SNS-v1.0.2-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.5847156,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-autolink-v1.1.2-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.5991716,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-custom-attributes-v1.2.0-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.6093984,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-welcomebot-v1.1.1-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.6238427,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
/mattermost-plugin-github-v0.14.0-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.6239104,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-zoom-v1.3.1-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.6239238,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-jira-v2.3.2-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.638409,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_pl
ugins/mattermost-plugin-gitlab-v1.1.0-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.638429,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_pl
ugins/mattermost-plugin-jenkins-v1.0.0-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343428.638442,"caller":"app/plugin.go:833","msg":"Processing prepackaged plugin","path":"/opt/mattermost/prepackaged_pl
ugins/mattermost-plugin-antivirus-v0.1.2-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343430.0028324,"caller":"app/plugin.go:863","msg":"Installing prepackaged plugin","path":"/opt/mattermost/prepackaged_p
lugins/mattermost-plugin-nps-v1.1.0-linux-amd64.tar.gz"}
{"level":"debug","ts":1603343430.3433867,"caller":"plugin/hclog_adapter.go:51","msg":"starting plugin","plugin_id":"com.mattermost.nps","wrapped_
extras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64args[plugins/com.mattermost.nps/server/dist/plugin-linux-amd64]"}
{"level":"debug","ts":1603343430.3439155,"caller":"plugin/hclog_adapter.go:51","msg":"plugin started","plugin_id":"com.mattermost.nps","wrapped_e
xtras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64pid2522"}
{"level":"debug","ts":1603343430.3440335,"caller":"plugin/hclog_adapter.go:51","msg":"waiting for RPC address","plugin_id":"com.mattermost.nps","
wrapped_extras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64"}
{"level":"debug","ts":1603343430.3558922,"caller":"plugin/hclog_adapter.go:51","msg":"plugin address","plugin_id":"com.mattermost.nps","wrapped_e
xtras":"address/tmp/plugin807553192networkunixtimestamp2020-10-22T05:10:30.355Z"}
{"level":"debug","ts":1603343430.3560088,"caller":"plugin/hclog_adapter.go:51","msg":"using plugin","plugin_id":"com.mattermost.nps","wrapped_ext
ras":"version1"}
{"level":"debug","ts":1603343430.3639193,"caller":"mlog/sugar.go:15","msg":"Activating plugin","plugin_id":"com.mattermost.nps"}
{"level":"info","ts":1603343430.3649774,"caller":"mlog/sugar.go:19","msg":"Ensuring Surveybot exists","plugin_id":"com.mattermost.nps"}
{"level":"debug","ts":1603343430.3791466,"caller":"mlog/sugar.go:15","msg":"Failed to create Surveybot. Attempting to find existing one.","plugin
_id":"com.mattermost.nps","err":"SqlUserStore.Save: An account with that username already exists., user_id=pnweskum3bnfmgwr6a9uwono1h, Error 1062
: Duplicate entry 'surveybot' for key 'Username'"}
{"level":"debug","ts":1603343430.3817024,"caller":"mlog/sugar.go:15","msg":"Found Surveybot","plugin_id":"com.mattermost.nps"}
{"level":"debug","ts":1603343430.3832643,"caller":"mlog/sugar.go:15","msg":"Plugin activated","plugin_id":"com.mattermost.nps"}
{"level":"info","ts":1603343430.3896868,"caller":"jobs/workers.go:87","msg":"Starting workers"}
{"level":"debug","ts":1603343430.3902156,"caller":"utils/license.go:83","msg":"We could not find the license key in the database or on disk at","filename":"/opt/mattermost/config/mattermost.mattermost-license"}
{"level":"info","ts":1603343430.390512,"caller":"app/license.go:54","msg":"License key from https://mattermost.com required to unlock enterprise 
features."}
{"level":"debug","ts":1603343430.3910553,"caller":"app/server.go:666","msg":"Advanced logging metrics enabled"}
{"level":"debug","ts":1603343430.391104,"caller":"app/server.go:1344","msg":"License cannot be found."}
{"level":"debug","ts":1603343430.3916035,"caller":"app/server.go:1227","msg":"Cannot obtain last advisory run timestamp","error":"getLastWarnMetr
icTimestamp: Unable to find the system variable., failed to get system property with name=: sql: no rows in result set"}
{"level":"debug","ts":1603343430.3924077,"caller":"web/handlers.go:100","msg":"Received HTTP request","method":"GET","url":"/","request_id":"pu41
3m41k7rxpjpgqp3kqay31h","status_code":"200"}
{"level":"debug","ts":1603343430.3929687,"caller":"sqlstore/session_store.go:280","msg":"Cleaning up session store."}
{"level":"debug","ts":1603343430.3931923,"caller":"sqlstore/tokens_store.go:70","msg":"Cleaning up token store."}
{"level":"debug","ts":1603343430.3934293,"caller":"migrations/worker.go:44","msg":"Worker started","worker":"Migrations"}
{"level":"debug","ts":1603343430.3934603,"caller":"scheduler/worker.go:36","msg":"Worker started","worker":"Plugins"}
{"level":"debug","ts":1603343430.3934753,"caller":"expirynotify/worker.go:39","msg":"Worker started","worker":"ExpiryNotify"}
{"level":"debug","ts":1603343430.3935027,"caller":"active_users/worker.go:50","msg":"Worker started","worker":"ActiveUsers"}
{"level":"debug","ts":1603343430.3935175,"caller":"product_notices/worker.go:39","msg":"Worker started","worker":"ProductNotices"}
{"level":"debug","ts":1603343430.3935304,"caller":"jobs/jobs_watcher.go:38","msg":"Watcher Started"}
{"level":"info","ts":1603343430.3935611,"caller":"jobs/schedulers.go:85","msg":"Starting schedulers."}
{"level":"debug","ts":1603343430.3937964,"caller":"sqlstore/command_webhook_store.go:82","msg":"Cleaning up command webhook store."}
{"level":"debug","ts":1603343430.3974454,"caller":"jobs/schedulers.go:183","msg":"Next run time for scheduler","scheduler_name":"MigrationsSchedu
ler","next_runtime":"2020-10-22 05:11:30.397433835 +0000 UTC m=+97.432252251"}
{"level":"debug","ts":1603343430.398262,"caller":"jobs/schedulers.go:183","msg":"Next run time for scheduler","scheduler_name":"PluginsScheduler"
,"next_runtime":"2020-10-23 05:10:30.398255489 +0000 UTC m=+86437.433073903"}
{"level":"debug","ts":1603343430.398892,"caller":"jobs/schedulers.go:183","msg":"Next run time for scheduler","scheduler_name":"ExpiryNotifySched
uler","next_runtime":"2020-10-22 05:20:30.398885777 +0000 UTC m=+637.433704193"}
{"level":"debug","ts":1603343430.3996658,"caller":"jobs/schedulers.go:183","msg":"Next run time for scheduler","scheduler_name":"ProductNoticesSc
heduler","next_runtime":"2020-10-22 06:10:30.399659345 +0000 UTC m=+3637.434477759"}
{"level":"debug","ts":1603343490.4010444,"caller":"migrations/scheduler.go:50","msg":"Scheduling Job","scheduler":"MigrationsScheduler"}
{"level":"debug","ts":1603343490.401629,"caller":"migrations/scheduler.go:89","msg":"All migrations are complete.","scheduler":"MigrationsSchedul
er"}
{"level":"debug","ts":1603343490.4023125,"caller":"jobs/schedulers.go:183","msg":"Next run time for scheduler","scheduler_name":"MigrationsSchedu
ler","next_runtime":"<nil>"}
{"level":"debug","ts":1603343577.9663823,"caller":"web/handlers.go:100","msg":"Received HTTP request","method":"GET","url":"/","request_id":"ymed
faimkjfzijb3ju9eyr8jna","status_code":"200"}
{"level":"info","ts":1603343720.013753,"caller":"app/server.go:695","msg":"Stopping Server..."}
{"level":"info","ts":1603343720.0139163,"caller":"app/web_hub.go:115","msg":"stopping websocket hub connections"}
{"level":"info","ts":1603343720.013978,"caller":"app/plugin.go:299","msg":"Shutting down plugins"}
{"level":"debug","ts":1603343720.0160596,"caller":"plugin/hclog_adapter.go:51","msg":"plugin process exited","plugin_id":"com.mattermost.nps","wr
apped_extras":"pathplugins/com.mattermost.nps/server/dist/plugin-linux-amd64pid2522"}
{"level":"debug","ts":1603343720.0161934,"caller":"plugin/hclog_adapter.go:53","msg":"plugin exited","plugin_id":"com.mattermost.nps"}
{"level":"debug","ts":1603343720.0401533,"caller":"jobs/jobs_watcher.go:62","msg":"Watcher Stopping"}
{"level":"debug","ts":1603343720.0402064,"caller":"jobs/jobs_watcher.go:53","msg":"Watcher: Received stop signal"}
{"level":"debug","ts":1603343720.0402253,"caller":"jobs/jobs_watcher.go:46","msg":"Watcher Finished"}
{"level":"debug","ts":1603343720.0402384,"caller":"migrations/worker.go:64","msg":"Worker stopping","worker":"Migrations"}
{"level":"debug","ts":1603343720.0402572,"caller":"migrations/worker.go:54","msg":"Worker received stop signal","worker":"Migrations"}
{"level":"debug","ts":1603343720.0402677,"caller":"migrations/worker.go:47","msg":"Worker finished","worker":"Migrations"}
{"level":"debug","ts":1603343720.0403156,"caller":"scheduler/worker.go:56","msg":"Worker stopping","worker":"Plugins"}
{"level":"debug","ts":1603343720.0403328,"caller":"scheduler/worker.go:46","msg":"Worker received stop signal","worker":"Plugins"}
{"level":"debug","ts":1603343720.0403452,"caller":"scheduler/worker.go:39","msg":"Worker finished","worker":"Plugins"}
{"level":"debug","ts":1603343720.0403564,"caller":"expirynotify/worker.go:59","msg":"Worker stopping","worker":"ExpiryNotify"}
{"level":"debug","ts":1603343720.0403674,"caller":"expirynotify/worker.go:49","msg":"Worker received stop signal","worker":"ExpiryNotify"}
{"level":"debug","ts":1603343720.040378,"caller":"expirynotify/worker.go:42","msg":"Worker finished","worker":"ExpiryNotify"}
{"level":"debug","ts":1603343720.0404065,"caller":"active_users/worker.go:70","msg":"Worker stopping","worker":"ActiveUsers"}
{"level":"debug","ts":1603343720.0404198,"caller":"active_users/worker.go:60","msg":"Worker received stop signal","worker":"ActiveUsers"}
{"level":"debug","ts":1603343720.0404303,"caller":"active_users/worker.go:53","msg":"Worker finished","worker":"ActiveUsers"}
{"level":"debug","ts":1603343720.040446,"caller":"product_notices/worker.go:59","msg":"Worker stopping","worker":"ProductNotices"}
{"level":"debug","ts":1603343720.040457,"caller":"product_notices/worker.go:49","msg":"Worker received stop signal","worker":"ProductNotices"}
{"level":"debug","ts":1603343720.0404665,"caller":"product_notices/worker.go:42","msg":"Worker finished","worker":"ProductNotices"}
{"level":"info","ts":1603343720.0405133,"caller":"jobs/workers.go:242","msg":"Stopped workers"}
{"level":"info","ts":1603343720.0405385,"caller":"jobs/schedulers.go:156","msg":"Stopping schedulers."}
{"level":"debug","ts":1603343720.0405638,"caller":"jobs/schedulers.go:105","msg":"Schedulers received stop signal."}
{"level":"info","ts":1603343720.0405815,"caller":"jobs/schedulers.go:88","msg":"Schedulers stopped."}
{"level":"info","ts":1603343720.0407906,"caller":"app/server.go:771","msg":"Server stopped"}
{"level":"info","ts":1603343720.2569845,"caller":"app/server.go:214","msg":"Server is initializing..."}
{"level":"info","ts":1603343720.2579,"caller":"app/web_hub.go:83","msg":"Starting websocket hubs","number_of_hubs":4}
{"level":"warn","ts":1603343720.2581947,"caller":"app/server.go:223","msg":"Sentry reporting is enabled, but SENTRY_DSN is not set. Disabling rep
orting."}
{"level":"info","ts":1603343720.2612562,"caller":"utils/i18n.go:90","msg":"Loaded system translations","for locale":"en","from locale":"/opt/matt
ermost/i18n/en.json"}
{"level":"debug","ts":1603343720.2618918,"caller":"utils/html.go:30","msg":"Parsing server templates","templates_directory":"/opt/mattermost/temp
lates"}
{"level":"info","ts":1603343720.2637668,"caller":"sqlstore/supplier.go:232","msg":"Pinging SQL","database":"master"}
{"level":"debug","ts":1603343720.2645502,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":0}
{"level":"debug","ts":1603343720.2645993,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":1}
{"level":"debug","ts":1603343720.2646215,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":2}
{"level":"debug","ts":1603343720.2646425,"caller":"app/web_hub.go:413","msg":"Hub is starting","index":3}
{"level":"debug","ts":1603343720.316548,"caller":"sqlstore/preference_store.go:42","msg":"Deleting any unused pre-release features"}
{"level":"debug","ts":1603343720.3355496,"caller":"utils/license.go:83","msg":"We could not find the license key in the database or on disk at","
filename":"/opt/mattermost/config/mattermost.mattermost-license"}
{"level":"info","ts":1603343720.335944,"caller":"app/license.go:54","msg":"License key from https://mattermost.com required to unlock enterprise 
features."}
{"level":"error","ts":1603343720.338261,"caller":"app/server.go:414","msg":"Mail server connection test is failed: SendEmailNotifications is not 
true"}
{"level":"debug","ts":1603343720.3385928,"caller":"filesstore/localstore.go:33","msg":"Able to write files to local storage."}
{"level":"info","ts":1603343720.3387067,"caller":"app/server.go:450","msg":"Curr
ent version is 5.28.0 (5.28.1/Mon Oct 19 15:20:59 UTC 2020/d991504714aded3b97f95fea8f78a01e6ea125bb/a58154b23e3e254c0accc7d9c02310e33417d1c3)","current_version":"5.28.0","build_number":"5.28.1","build_date":"Mon Oct 19 15:20:59 UTC 2020","build_hash":"d991504714aded3b97f95fea8f78a01e6ea125bb","build_hash_enterprise":"a58154b23e3e254c0accc7d9c02310e33417d1c3"}
{"level":"info","ts":1603343720.3388367,"caller":"app/server.go:459","msg":"Enterprise Build","enterprise_build":true}
{"level":"info","ts":1603343720.338935,"caller":"app/server.go:465","msg":"Printing current working","directory":"/opt/mattermost"}
{"level":"info","ts":1603343720.3390212,"caller":"app/server.go:466","msg":"Loaded config","source":"file:///opt/mattermost/config/config.json"}
{"level":"info","ts":1603343720.3658383,"caller":"sqlstore/post_store.go:1626","msg":"Post.Message has size restrictions","max_characters":16383,"max_bytes":65535}
{"level":"debug","ts":1603343720.4152532,"caller":"app/server.go:666","msg":"Advanced logging metrics enabled"}
{"level":"info","ts":1603343720.4157488,"caller":"bleveengine/bleve.go:267","msg":"UpdateConf Bleve"}
{"level":"debug","ts":1603343720.420999,"caller":"app/product_notices.go:302","msg":"Will fetch notices from","url":"https://notices.mattermost.com/","skip_cache":false}
{"level":"debug","ts":1603343720.4244971,"caller":"api4/plugin.go:26","msg":"EXPERIMENTAL: Initializing plugin api"}
{"level":"debug","ts":1603343720.4255795,"caller":"web/web.go:28","msg":"Initializing web routes"}
{"level":"debug","ts":1603343720.4260619,"caller":"utils/subpath.go:84","msg":"Rewriting static assets","from_subpath":"/","to_subpath":"/"}
{"level":"debug","ts":1603343720.4387383,"caller":"web/static.go:28","msg":"Using client directory","clientDir":"/opt/mattermost/client"}
{"level":"info","ts":1603343720.4411986,"caller":"app/server.go:878","msg":"Starting Server..."}
{"level":"info","ts":1603343720.4416332,"caller":"app/server.go:955","msg":"Server is listening on [::]:8065","address":"[::]:8065"}
{"level":"info","ts":1603343720.4418225,"caller":"commands/server.go:112","msg":"Sending systemd READY notification."}

Hi! Could you provide the configuration file you are using with either Apache or Nginx please? I’m getting the thought that your reverse proxy may not be connected or configured properly, which would mean that you could only access the Mattermost instance from the localhost, and even then, it might not work. I had a similar issue with my first time installation until I realized that my Apache2 configuration didn’t reverse proxy both the server and WebSockets correctly.

Also, I noticed that it says you have

Which in my eyes seems that you have imported a database, and may need to drop the original surveybot account from your database in order to allow mattermost to create a new bot account for the surveybot in its boot process.