This server doesn’t have any sign-in methods enabled

I am still working through a migration of Mattermost from Windows to Ubuntu.

I have installed mysql, mattermost, stepped through the guide, exported the original mysql db to a .sql file, imported that into the ubuntu environment, and restarted everything.

Now when I navigate to http://newserver:8065, I get a message that says:

This server doesn’t have any sign-in methods enabled.

There is another link in the top right for Log In, and clicking that takes me to a login page… but none of my credentials work there.

I am stumped.

Still an open issue… :frowning:

Hi NorthGuard,

Can you please check your mattermost.log file for error when you start the server? If you followed the instructions, the file should be in /opt/mattermost/logs/mattermost.log. Please share the contents of this file with us if you cannot find any error message.

Thank you! Here is the log:

{“timestamp”:“2022-12-31 17:18:10.150 Z”,“level”:“info”,“msg”:“Server is initializing…”,“caller”:“platform/service.go:157”,“go_version”:“go1.18.1”}
{“timestamp”:“2022-12-31 17:18:10.152 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:230”,“database”:“master”}
{“timestamp”:“2022-12-31 17:18:10.201 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:230”,“database”:“master”}
{“timestamp”:“2022-12-31 17:18:10.223 Z”,“level”:“error”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:106”,“error”:“resource: License id: “}
{“timestamp”:“2022-12-31 17:18:10.225 Z”,“level”:“error”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:106”,“error”:“resource: License id: “}
{“timestamp”:“2022-12-31 17:18:10.225 Z”,“level”:“info”,“msg”:“Starting websocket hubs”,“caller”:“platform/web_hub.go:101”,“number_of_hubs”:16}
{“timestamp”:“2022-12-31 17:18:10.226 Z”,“level”:“info”,“msg”:“Loaded system translations”,“caller”:“i18n/i18n.go:93”,“for locale”:“en”,“from locale”:”/opt/mattermost/i18n/en.json”}
{“timestamp”:“2022-12-31 17:18:10.238 Z”,“level”:“info”,“msg”:“Current version is 7.5.1 (7.5.1/Wed Nov 16 19:01:26 UTC 2022/a419daae3d360ad3ea56bc329d282fa6d6b77b46/461796f3707dd9a056d81dd17da4b29094de6e56)”,“caller”:“app/server.go:424”,“current_version”:“7.5.1”,“build_number”:“7.5.1”,“build_date”:“Wed Nov 16 19:01:26 UTC 2022”,“build_hash”:“a419daae3d360ad3ea56bc329d282fa6d6b77b46”,“build_hash_enterprise”:“461796f3707dd9a056d81dd17da4b29094de6e56”}
{“timestamp”:“2022-12-31 17:18:10.238 Z”,“level”:“info”,“msg”:“Enterprise Build”,“caller”:“app/server.go:433”,“enterprise_build”:true}
{“timestamp”:“2022-12-31 17:18:10.238 Z”,“level”:“info”,“msg”:“Printing current working”,“caller”:“app/server.go:439”,“directory”:”/opt/mattermost”}
{“timestamp”:“2022-12-31 17:18:10.238 Z”,“level”:“info”,“msg”:“Loaded config”,“caller”:“app/server.go:440”,“source”:“file:///opt/mattermost/config/config.json”}
{“timestamp”:“2022-12-31 17:18:10.240 Z”,“level”:“info”,“msg”:“Starting workers”,“caller”:“jobs/workers.go:48”}
{“timestamp”:“2022-12-31 17:18:10.240 Z”,“level”:“info”,“msg”:“Starting schedulers.”,“caller”:“jobs/schedulers.go:47”}
{“timestamp”:“2022-12-31 17:18:10.242 Z”,“level”:“error”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:106”,“error”:“resource: License id: “}
{“timestamp”:“2022-12-31 17:18:10.303 Z”,“level”:“info”,“msg”:“Starting up plugins”,“caller”:“app/plugin.go:234”}
{“timestamp”:“2022-12-31 17:18:10.303 Z”,“level”:“info”,“msg”:“Syncing plugins from the file store”,“caller”:“app/plugin.go:308”}
{“timestamp”:“2022-12-31 17:18:11.091 Z”,“level”:“info”,“msg”:“got public IP address”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”,“addr”:“35.131.217.66”}
{“timestamp”:“2022-12-31 17:18:11.091 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.092 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.092 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.092 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.093 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.093 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.093 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.093 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2022-12-31 17:18:11.141 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“com.mattermost.apps”,“wrapped_extras”:“pathplugins/com.mattermost.apps/server/dist/plugin-linux-amd64pid36343”}
{“timestamp”:“2022-12-31 17:18:11.151 Z”,“level”:“error”,“msg”:“Failed to install prepackaged plugin”,“caller”:“app/plugin.go:976”,“path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.1.0-linux-amd64.tar.gz”,“error”:“Failed to install extracted prepackaged plugin /opt/mattermost/prepackaged_plugins/mattermost-plugin-apps-v1.1.0-linux-amd64.tar.gz: installExtractedPlugin: Unable to restart plugin on upgrade., failed to ensure bot account: failed to set profile image: SetProfileImage: Couldn’t upload profile image., “}
{“timestamp”:“2022-12-31 17:18:11.253 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“playbooks”,“wrapped_extras”:“pathplugins/playbooks/server/dist/plugin-linux-amd64pid36356”}
{“timestamp”:“2022-12-31 17:18:11.260 Z”,“level”:“error”,“msg”:“Failed to install prepackaged plugin”,“caller”:“app/plugin.go:976”,“path”:”/opt/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.32.6-linux-amd64.tar.gz”,“error”:“Failed to install extracted prepackaged plugin /opt/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.32.6-linux-amd64.tar.gz: installExtractedPlugin: Unable to restart plugin on upgrade., failed to ensure bot: failed to set profile image: SetProfileImage: Couldn’t upload profile image., “}
{“timestamp”:“2022-12-31 17:18:11.398 Z”,“level”:“info”,“msg”:“connectDatabase”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“dbType”:“mysql”}
{“timestamp”:“2022-12-31 17:18:11.475 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“name”:“notifyMentions”}
{“timestamp”:“2022-12-31 17:18:11.475 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“name”:“notifySubscriptions”}
{“timestamp”:“2022-12-31 17:18:11.475 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“name”:“notifyLogger”}
{“timestamp”:“2022-12-31 17:18:11.480 Z”,“level”:“info”,“msg”:“FocalBoard Server”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“version”:“7.5.1”,“edition”:“plugin”,“build_number”:“3480960266”,“build_date”:”"Wed Nov 16 16:01:21 UTC 2022"”,“build_hash”:“3a7361e8d8c9662c392dd26773f76220b9d4595b”}
{“timestamp”:“2022-12-31 17:18:11.480 Z”,“level”:“info”,“msg”:“Server.Start”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”}
{“timestamp”:“2022-12-31 17:18:11.487 Z”,“level”:“info”,“msg”:“Boards product successfully started.”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”}
{“timestamp”:“2022-12-31 17:18:11.555 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“com.mattermost.apps”,“wrapped_extras”:“pathplugins/com.mattermost.apps/server/dist/plugin-linux-amd64pid36382”}
{“timestamp”:“2022-12-31 17:18:11.555 Z”,“level”:“error”,“msg”:“Unable to activate plugin”,“caller”:“app/plugin.go:183”,“plugin_id”:“com.mattermost.apps”,“error”:"failed to ensure bot account: failed to set profile image: SetProfileImage: Couldn’t upload profile image., "}
{“timestamp”:“2022-12-31 17:18:11.562 Z”,“level”:“info”,“msg”:“plugin process exited”,“caller”:“plugin/hclog_adapter.go:61”,“plugin_id”:“playbooks”,“wrapped_extras”:“pathplugins/playbooks/server/dist/plugin-linux-amd64pid36395”}
{“timestamp”:“2022-12-31 17:18:11.562 Z”,“level”:“error”,“msg”:“Unable to activate plugin”,“caller”:“app/plugin.go:183”,“plugin_id”:“playbooks”,“error”:“failed to ensure bot: failed to set profile image: SetProfileImage: Couldn’t upload profile image., “}
{“timestamp”:“2022-12-31 17:18:11.564 Z”,“level”:“error”,“msg”:“Problem with file storage settings”,“caller”:“app/server.go:905”,“error”:“unable to write to the local filesystem storage: unable to create the directory /mattermost/data for the file /mattermost/data/testfile: mkdir /mattermost: permission denied”}
{“timestamp”:“2022-12-31 17:18:11.565 Z”,“level”:“info”,“msg”:“Starting Server…”,“caller”:“app/server.go:913”}
{“timestamp”:“2022-12-31 17:18:11.565 Z”,“level”:“info”,“msg”:“Server is listening on [::]:8065”,“caller”:“app/server.go:985”,“address”:”[::]:8065”}
{“timestamp”:“2022-12-31 17:18:11.565 Z”,“level”:“info”,“msg”:“Sending systemd READY notification.”,“caller”:“commands/server.go:130”}
{“timestamp”:“2022-12-31 17:20:00.001 Z”,“level”:“error”,“msg”:“Failed to get system bot”,“caller”:“app/post.go:2021”,“error”:“GetSystemBot: List of admins is empty.”}
{“timestamp”:“2022-12-31 17:25:00.002 Z”,“level”:“error”,“msg”:“Failed to get system bot”,“caller”:“app/post.go:2021”,“error”:“GetSystemBot: List of admins is empty.”}

The root cause seems to be that the data directory is not writable. Did you configure the FileSettings.Directory in config.json?

Yep. It is set to:

/mattermost/data/

Does the directory exist and is writable from the mattermost user?

Okay… so config.json was looking for /mattermost/data but it should be /opt/mattermost/data. I updated the config and restarted MM. The updated log is below and the data dir errors have gone away. HOWEVER… I am still getting the same message that the server doesn’t have any sign-in methods

{“timestamp”:“2023-01-01 22:21:26.126 Z”,“level”:“info”,“msg”:“Server is initializing…”,“caller”:“platform/service.go:157”,“go_version”:“go1.18.1”}
{“timestamp”:“2023-01-01 22:21:26.126 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:230”,“database”:“master”}
{“timestamp”:“2023-01-01 22:21:26.155 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:230”,“database”:“master”}
{“timestamp”:“2023-01-01 22:21:26.175 Z”,“level”:“error”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:106”,“error”:“resource: License id: “}
{“timestamp”:“2023-01-01 22:21:26.177 Z”,“level”:“error”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:106”,“error”:“resource: License id: “}
{“timestamp”:“2023-01-01 22:21:26.177 Z”,“level”:“info”,“msg”:“Starting websocket hubs”,“caller”:“platform/web_hub.go:101”,“number_of_hubs”:16}
{“timestamp”:“2023-01-01 22:21:26.178 Z”,“level”:“info”,“msg”:“Loaded system translations”,“caller”:“i18n/i18n.go:93”,“for locale”:“en”,“from locale”:”/opt/mattermost/i18n/en.json”}
{“timestamp”:“2023-01-01 22:21:26.194 Z”,“level”:“info”,“msg”:“Current version is 7.5.1 (7.5.1/Wed Nov 16 19:01:26 UTC 2022/a419daae3d360ad3ea56bc329d282fa6d6b77b46/461796f3707dd9a056d81dd17da4b29094de6e56)”,“caller”:“app/server.go:424”,“current_version”:“7.5.1”,“build_number”:“7.5.1”,“build_date”:“Wed Nov 16 19:01:26 UTC 2022”,“build_hash”:“a419daae3d360ad3ea56bc329d282fa6d6b77b46”,“build_hash_enterprise”:“461796f3707dd9a056d81dd17da4b29094de6e56”}
{“timestamp”:“2023-01-01 22:21:26.194 Z”,“level”:“info”,“msg”:“Enterprise Build”,“caller”:“app/server.go:433”,“enterprise_build”:true}
{“timestamp”:“2023-01-01 22:21:26.194 Z”,“level”:“info”,“msg”:“Printing current working”,“caller”:“app/server.go:439”,“directory”:”/opt/mattermost”}
{“timestamp”:“2023-01-01 22:21:26.194 Z”,“level”:“info”,“msg”:“Loaded config”,“caller”:“app/server.go:440”,“source”:“file:///opt/mattermost/config/config.json”}
{“timestamp”:“2023-01-01 22:21:26.197 Z”,“level”:“info”,“msg”:“Starting workers”,“caller”:“jobs/workers.go:48”}
{“timestamp”:“2023-01-01 22:21:26.197 Z”,“level”:“info”,“msg”:“Starting schedulers.”,“caller”:“jobs/schedulers.go:47”}
{“timestamp”:“2023-01-01 22:21:26.199 Z”,“level”:“error”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“platform/license.go:106”,“error”:“resource: License id: “}
{“timestamp”:“2023-01-01 22:21:26.237 Z”,“level”:“info”,“msg”:“Starting up plugins”,“caller”:“app/plugin.go:234”}
{“timestamp”:“2023-01-01 22:21:26.237 Z”,“level”:“info”,“msg”:“Syncing plugins from the file store”,“caller”:“app/plugin.go:308”}
{“timestamp”:“2023-01-01 22:21:27.102 Z”,“level”:“info”,“msg”:“activated”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.apps”}
{“timestamp”:“2023-01-01 22:21:27.135 Z”,“level”:“info”,“msg”:“Post.Message has size restrictions”,“caller”:“sqlstore/post_store.go:2475”,“max_characters”:16383,“max_bytes”:65535}
{“timestamp”:“2023-01-01 22:21:27.175 Z”,“level”:“info”,“msg”:“got public IP address”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”,“addr”:“35.131.217.66”}
{“timestamp”:“2023-01-01 22:21:27.175 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.175 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.176 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.176 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.176 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.177 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.177 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.177 Z”,“level”:“info”,“msg”:“rtc: server is listening on udp 8443”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“com.mattermost.calls”,“origin”:“main.(*logger).Info log.go:84”}
{“timestamp”:“2023-01-01 22:21:27.352 Z”,“level”:“info”,“msg”:“connectDatabase”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“dbType”:“mysql”}
{“timestamp”:“2023-01-01 22:21:27.481 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“name”:“notifyMentions”}
{“timestamp”:“2023-01-01 22:21:27.482 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“name”:“notifySubscriptions”}
{“timestamp”:“2023-01-01 22:21:27.482 Z”,“level”:“info”,“msg”:“Initialized notification backend”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“name”:“notifyLogger”}
{“timestamp”:“2023-01-01 22:21:27.486 Z”,“level”:“info”,“msg”:“FocalBoard Server”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”,“version”:“7.5.1”,“edition”:“plugin”,“build_number”:“3480960266”,“build_date”:”"Wed Nov 16 16:01:21 UTC 2022"”,“build_hash”:“3a7361e8d8c9662c392dd26773f76220b9d4595b”}
{“timestamp”:“2023-01-01 22:21:27.487 Z”,“level”:“info”,“msg”:“Server.Start”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”}
{“timestamp”:“2023-01-01 22:21:27.493 Z”,“level”:“info”,“msg”:“Boards product successfully started.”,“caller”:“app/plugin_api.go:973”,“plugin_id”:“focalboard”}
{“timestamp”:“2023-01-01 22:21:28.076 Z”,“level”:“info”,“msg”:“Starting Server…”,“caller”:“app/server.go:913”}
{“timestamp”:“2023-01-01 22:21:28.076 Z”,“level”:“info”,“msg”:“Server is listening on [::]:8065”,“caller”:“app/server.go:985”,“address”:“[::]:8065”}
{“timestamp”:“2023-01-01 22:21:28.076 Z”,“level”:“info”,“msg”:“Sending systemd READY notification.”,“caller”:“commands/server.go:130”}

Thanks, can you please post the EmailSettings section of your config.json?
You can either copy out the text from the file to your next post here or run this command to extract it:

jq .EmailSettings /opt/mattermost/config/config.json

I have email signup turned off. This matches the same settings on the “old” server, which works there.


“EmailSettings”: {
“EnableSignUpWithEmail”: false,
“EnableSignInWithEmail”: false,
“EnableSignInWithUsername”: true,
“SendEmailNotifications”: false,
“UseChannelInEmailNotifications”: false,
“RequireEmailVerification”: false,
“FeedbackName”: “”,
“FeedbackEmail”: “”,
“ReplyToAddress”: “”,
“FeedbackOrganization”: “”,
“EnableSMTPAuth”: false,
“SMTPUsername”: “”,
“SMTPPassword”: “”,
“SMTPServer”: “localhost”,
“SMTPPort”: “10025”,
“SMTPServerTimeout”: 10,
“ConnectionSecurity”: “”,
“SendPushNotifications”: true,
“PushNotificationServer”: “https://push-test.mattermost.com”,
“PushNotificationContents”: “full”,
“PushNotificationBuffer”: 1000,
“EnableEmailBatching”: false,
“EmailBatchingBufferSize”: 256,
“EmailBatchingInterval”: 30,
“EnablePreviewModeBanner”: false,
“SkipServerCertificateVerification”: false,
“EmailNotificationContentsType”: “full”,
“LoginButtonColor”: “#0000”,
“LoginButtonBorderColor”: “#2389D7”,
“LoginButtonTextColor”: “#2389D7”,
“EnableInactivityEmail”: true
},

Just throwing back out there that this is still an open issue :frowning:

Hi again,

I tried to reproduce this on my end with your configuration file, but failed to do so, so not sure what exactly is happening there on your system. Maybe enabling the debuglog will help us.
Can you please change the value for FileLevel to DEBUG in the LogSettings section of your config.json and restart your Mattermost server then? This should start logging debug messages to your mattermost.log file. The next log you attach here should contain the server start as well as a login try so we can see the debug information for the server startup as well as what the system has to say about your login try.