Updating from Ver. 5.39.0, Cannot send messages anymore

For feature requests, please see: https://mattermost.com/suggestions/.

For troubleshooting questions, please post in the following format:

Summary
Attempted to upgrade from 5.39.0 to 6.0.4. Upgrade was unsuccessful, attempted to revert back to saved version. Mattermost runs but messages cannot be sent/received.

Steps to reproduce
Attempt upgrade through upgrade documentation.

Expected behavior
Expected to upgrade to 6.0.4

Observed behavior
Server is running it, unable to send/receive messages.

root@chat:~# whereis mattermost

mattermost: /opt/mattermost-old/bin/mattermost /opt/mattermost/bin/mattermost /opt/test/bin/mattermost /opt/mattermost-back-2021-04-09/bin/mattermost /opt/mattermost-back-2021-10-14-19-22/bin/mattermost /opt/mattermost-back-2023-01-23-20-53/bin/mattermost /opt/mattermost-back-2023-02-17-13-22/bin/mattermost

Hi @AlexGi ,

do you see any relevant messages in your Mattermost server logfiles? Did you also restore the old database version after you reverted back to the previous version? When upgrading to 6.0.4, the database schema will also be updated and this change is irreversible, so when you start the 5.39 code again with the already upgraded database, things will stop working (as you can see).

If you also reverted to the previous version of the database, we need to take a deeper look into your logs.
Maybe we should take the step forward though - what exactly was unsuccessful with your upgrade? Any specific error messages you saw that you can share here?

I was able to upgrade to Version 6.0.4. Now I am getting the error below when attempting to upgrade to 7.8.1. Please Advise.
image

Instead of {owner}:{group} you should use your real owner and group names, most likely these are mattermost:mattermost but it depends on your deployment.

The error message you’re getting here tells you to run the command journalctl -xe to see more details - can you please run it and post the full output here?
journalctl -u mattermost (the most recent lines from there) would also be helpful, as well as the last 100 lines or so from your mattermost directory (which seems to be /root/mattermost/logs/mattermost.log on your system).

{“timestamp”:“2023-03-15 20:32:35.944 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/ije3x7zmoiy798eagw7ji1fqja/groups”,“request_id”:“s95qdhrm8jnwicqbukgxz4e6zy”,“ip_addr”:“172.59.65.82”,“user_id”:“ije3x7zmoiy798eagw7ji1fqja”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:32:48.311 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“8d9h3nfc3jf7bxs39fx14o3bwy”,“ip_addr”:“172.59.65.148”,“user_id”:“y8doj3uar78hdx1rsmmwbywtry”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:32:48.737 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/y8doj3uar78hdx1rsmmwbywtry/groups”,“request_id”:“rqnqneq74bbbj896e3xkfzonxe”,“ip_addr”:“172.59.65.148”,“user_id”:“y8doj3uar78hdx1rsmmwbywtry”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:32:53.105 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“88kctpe6gjbouencqyjd87o7ga”,“ip_addr”:“172.59.65.82”,“user_id”:“ije3x7zmoiy798eagw7ji1fqja”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:32:53.335 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/ije3x7zmoiy798eagw7ji1fqja/groups”,“request_id”:“fxztoxgdh7dmdfrdq1yt5ihddo”,“ip_addr”:“172.59.65.82”,“user_id”:“ije3x7zmoiy798eagw7ji1fqja”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:12.080 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“1ai36idjtt8ibkntwqnfxt6swo”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:12.141 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:33:12.141 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/xtqewwf16bfntdfkbkbhqdwu3y/groups”,“request_id”:“pjdgfkhf8ffz3ngzd6mubpztsh”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:12.198 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“z634o7xt9irkz8y5ff3jcopc3c”,“ip_addr”:“23.124.59.17”,“user_id”:“ufjisai4g7yubdbtb96podmzrc”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:12.201 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“bwppby8e53rjirmf9fr3dp17ga”,“ip_addr”:“23.124.59.17”,“user_id”:“ufjisai4g7yubdbtb96podmzrc”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:17.081 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“bp3u65tnqfys7dszpehpt335ra”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:17.309 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“db7q9dhc8pn3fqhwbm1co7rcoe”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:19.856 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“ju7rptg3rj8q5g4ywtdms59fua”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:19.926 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“br6kqzai6jnjtepihf5u47f8mo”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:22.101 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“zpnxe1mw9jyhpxsjbpunj493zo”,“ip_addr”:“23.124.59.17”,“user_id”:“tmk1hd88f7dmbr37qw9z5on8ow”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:22.154 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:33:22.156 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/tmk1hd88f7dmbr37qw9z5on8ow/groups”,“request_id”:“68but5xuibnmmm5ugmisccwbzy”,“ip_addr”:“23.124.59.17”,“user_id”:“tmk1hd88f7dmbr37qw9z5on8ow”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:22.525 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“uxs8wwmqctrx8fcmi331x3dtoo”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:22.656 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/sygsujd97pd8zdrd88qy1gdt7c/groups”,“request_id”:“9xdq7j5iybnb9eobo1igo7imbc”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:22.870 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:33:23.123 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“pagnjfdwjp8g3dzr76z9tf6oyo”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:23.232 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/sygsujd97pd8zdrd88qy1gdt7c/groups”,“request_id”:“3po8395n9jfnuf76oynmtkuw3r”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:23.270 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:33:23.644 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“u6zts4orebgpijfbye8mxxznze”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:25.142 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“keeqgb6k4pf388dah6n4p55ujo”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:25.255 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/sygsujd97pd8zdrd88qy1gdt7c/groups”,“request_id”:“i8ryyixuzifzfgo9pd4a88u6hh”,“ip_addr”:“174.228.173.220”,“user_id”:“sygsujd97pd8zdrd88qy1gdt7c”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:33:25.347 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:36:01.983 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“au68ysxo1if5xnaogsd7e7txiy”,“ip_addr”:“172.59.65.148”,“user_id”:“y8doj3uar78hdx1rsmmwbywtry”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:02.668 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“zrt7gcgfz7fqfchsw4ajo1mxxe”,“ip_addr”:“172.59.65.148”,“user_id”:“y8doj3uar78hdx1rsmmwbywtry”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:05.891 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“4d4wcayfmtredxzdxg3tqn8nro”,“ip_addr”:“172.59.65.148”,“user_id”:“y8doj3uar78hdx1rsmmwbywtry”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:05.960 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“7k3mxnb3bjfmpmec85psqqtudw”,“ip_addr”:“172.59.65.148”,“user_id”:“y8doj3uar78hdx1rsmmwbywtry”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:22.259 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“yqeyeus15tynunmppg9cioadza”,“ip_addr”:“107.117.181.193”,“user_id”:“gdeo1yesxjfmjk9eaw57cadk3a”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:23.440 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“qw4jz4upd78tufchsccg7rhz9e”,“ip_addr”:“107.117.181.193”,“user_id”:“gdeo1yesxjfmjk9eaw57cadk3a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:23.444 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/gdeo1yesxjfmjk9eaw57cadk3a/groups”,“request_id”:“t4ae39jjmbb3tndqm8q7fnig6y”,“ip_addr”:“107.117.181.193”,“user_id”:“gdeo1yesxjfmjk9eaw57cadk3a”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:23.663 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“5d4r198oypyudgt5nai5hgtf3a”,“ip_addr”:“107.117.181.193”,“user_id”:“gdeo1yesxjfmjk9eaw57cadk3a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:23.672 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“xd43ife1jjre7qu35qo6zbuyah”,“ip_addr”:“107.117.181.193”,“user_id”:“gdeo1yesxjfmjk9eaw57cadk3a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:36:23.683 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“zwmjmpuc6bgzbp94zjntbdwbca”,“ip_addr”:“107.117.181.193”,“user_id”:“gdeo1yesxjfmjk9eaw57cadk3a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:37:58.199 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“pd9mweh4q7b95rg4tr6k1cqgmc”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:38:16.031 Z”,“level”:“info”,“msg”:“Worker: Job is complete”,“caller”:“expirynotify/worker.go:85”,“worker”:“ExpiryNotify”,“job_id”:“chjzp55u5ffo7fctrf6jw3437y”}
{“timestamp”:“2023-03-15 20:38:16.542 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“y9ab3jsu8fy1fmgetrdudkedoy”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:38:45.917 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“aaz6tk6ampd45bi6fcy71roh3y”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:39:01.209 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“y8xbrezd7tyzdrfx93z5ntqaor”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:39:03.396 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“rnmzt5fu8b8sdqigeh1a1e1wio”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:39:19.437 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“wsepw9kt7frxiffujr3z3cshec”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:39:24.243 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“7k7bburrri89zk59g8p6qag85a”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:26.154 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“zpaokyhompyp7dk3txiuqbu3ah”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:40.022 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“i353gj3x1triicpwgd3916mr4c”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:53.754 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“1qye96fjkt8y5drwcs36wrjhda”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:54.125 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“68ahnhproifqbm8kghkxjuknya”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:54.737 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“tjr57jqkpbyaxmjd4pjq6tsc9w”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:59.380 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“3mwiqojmwid1bjuhap8tr4su7c”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:40:59.672 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“34e178y78in68qu5guphu57aby”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:41:51.661 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“gjfucmx3yifgijmfx5kaomewqy”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:42:27.426 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“914dhejzmpdptyajuqgpawpuno”,“ip_addr”:“174.240.68.81”,“user_id”:“58foixjcm3n5pnrxg44bqqwe1h”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:42:27.516 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/58foixjcm3n5pnrxg44bqqwe1h/groups”,“request_id”:“rukubwb14byj7r7aus6y1sfjbr”,“ip_addr”:“174.240.68.81”,“user_id”:“58foixjcm3n5pnrxg44bqqwe1h”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:42:27.526 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:43:12.676 Z”,“level”:“info”,“msg”:“Public links have been disabled.”,“caller”:“web/context.go:103”,“path”:“/api/v4/files/8eayb3hkr3fw5q7zq59374h4hh/link”,“request_id”:“t1stmiddwj8nm8tzgz9igpsgor”,“ip_addr”:“23.124.59.17”,“user_id”:“jbrskpwdtjn75n7sepefqs6g9a”,“method”:“GET”,“err_where”:“getPublicLink”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:44:17.858 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“bntx6czq87r5td71qqgikz4x4e”,“ip_addr”:“23.124.59.17”,“user_id”:“xhdbctht5pdhfxi7k8ecrhnz6a”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:44:17.907 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:44:17.907 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/xhdbctht5pdhfxi7k8ecrhnz6a/groups”,“request_id”:“sabj8f56u7r1dye9a7kh531ngw”,“ip_addr”:“23.124.59.17”,“user_id”:“xhdbctht5pdhfxi7k8ecrhnz6a”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:44:26.974 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“u365fw1o3j8bmdttwtregq7ozo”,“ip_addr”:“24.129.86.39”,“user_id”:“xtqewwf16bfntdfkbkbhqdwu3y”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:44:28.174 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“t1c3xerwjbdnjmxkf7cozijm3o”,“ip_addr”:“23.124.59.17”,“user_id”:“kkwawroxepnxty7hr1bhfycf4e”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:44:28.208 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/kkwawroxepnxty7hr1bhfycf4e/groups”,“request_id”:“sn6ffibuebgtdpnpt5s5ccrgfy”,“ip_addr”:“23.124.59.17”,“user_id”:“kkwawroxepnxty7hr1bhfycf4e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:44:28.208 Z”,“level”:“error”,“msg”:“ServePluginRequest: Plugins have been disabled. Please check your logs for details., Enable plugins to serve plugin requests”,“caller”:“app/plugin_requests.go:27”}
{“timestamp”:“2023-03-15 20:47:14.758 Z”,“level”:“info”,“msg”:“Public links have been disabled.”,“caller”:“web/context.go:103”,“path”:“/api/v4/files/gcxb49i9nfymujzmh1w7zsrwdw/link”,“request_id”:“eprkc5pu1pde3bm7ewzco8q8yc”,“ip_addr”:“23.124.59.17”,“user_id”:“ho9t7rcnjifd9e8zek6typwr8o”,“method”:“GET”,“err_where”:“getPublicLink”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:47:38.228 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“5mbkqz6aafgcjf7ek7me97r1rc”,“ip_addr”:“172.59.64.140”,“user_id”:“5cxoifin8jdc8yqssbydjoq5bh”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:47:45.508 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“3t4dd65ugj84fnmgaarfk9is4c”,“ip_addr”:“23.124.59.17”,“user_id”:“fmixmpmsijfomc3zjsn9i3psrc”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:47:53.117 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“bafwmsk48f8exj6kfrqkb43hne”,“ip_addr”:“23.124.59.17”,“user_id”:“fmixmpmsijfomc3zjsn9i3psrc”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:47:53.713 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“jzrcamfh9p8r8frqeshn6s83cr”,“ip_addr”:“23.124.59.17”,“user_id”:“fmixmpmsijfomc3zjsn9i3psrc”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:48:16.115 Z”,“level”:“info”,“msg”:“Worker: Job is complete”,“caller”:“expirynotify/worker.go:85”,“worker”:“ExpiryNotify”,“job_id”:“5i9jinetkfrk8j99bkogpsdmrr”}
{“timestamp”:“2023-03-15 20:48:38.386 Z”,“level”:“info”,“msg”:“Plugins have been disabled. Please check your logs for details.”,“caller”:“web/context.go:103”,“path”:“/api/v4/plugins/webapp”,“request_id”:“9ynkwgdutf858ezrfn9nsd49kc”,“ip_addr”:“23.124.59.17”,“user_id”:“tmk1hd88f7dmbr37qw9z5on8ow”,“method”:“GET”,“err_where”:“getWebappPlugins”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-15 20:48:38.624 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/tmk1hd88f7dmbr37qw9z5on8ow/groups”,“request_id”:“gosd56xq63rguddbq6fz45s13r”,“ip_addr”:“23.124.59.17”,“user_id”:“tmk1hd88f7dmbr37qw9z5on8ow”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}

Your logs only tell me that you disabled plugins globally in your Mattermost installation. Was this intended?
Can you check your config.json setting for PluginSettings.Enable and make sure it’s set to true if this was not configured intentionally?

We re-enabled and we are still unable to upgrade to 6.4.3., The log is now telling us a plugin is missing. Is there a way to transfer 289 users to a new docker installation?

Can you post the full log again, please?
In order to migrate to a different setup, you need to prepare the new setup with exactly the version you have right now and then you need to carry over the database and the files, so yes, this is doable, but if it’s currently broken, we might carry over the broken status to the docker installation.

If you want to give it a go: Your source version needs to also use the PostgreSQL database, then you can pg_dump the database into a file, spin up a new docker-compose based setup as outlined in the official deployment instructions, make sure to chang MATTERMOST_IMAGE_TAG in the .env file to 6.0.4 in order to match the version the database would expect, then shut down the docker deployment, synchronize the datadirectory from your previous installation over to the new docker installation (volumes/app/mattermost/files) and import the database to the docker postgresql instance.

That’s the steps in a nutshell without much details - not sure how much you can make out of it, let me know if you require more detailed help.

{“timestamp”:“2023-03-17 19:53:07.871 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=b33m95whstf88xkr4r5ujm9c7e&channel_id=q8r7u4mrnb8oimys8agat73g7r&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 19:54:05.008 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/b33m95whstf88xkr4r5ujm9c7e/groups”,“request_id”:“suj9kuxi7bbcxjud7p3p7mko6a”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 19:55:34.445 Z”,“level”:“error”,“msg”:“Unable to upload file(s). Error reading or parsing request data.”,“caller”:“web/context.go:105”,“path”:“/api/v4/files”,“request_id”:“fuhqxhtww7ftubqtq4sgqhiury”,“ip_addr”:“172.59.65.61”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“POST”,“err_where”:“uploadFileMultipartLegacy”,“http_code”:500,“err_details”:“read tcp 12.52.58.90:8065->172.59.65.61:28457: read: connection timed out”}
{“timestamp”:“2023-03-17 19:55:34.701 Z”,“level”:“error”,“msg”:“Unable to upload file(s). Error reading or parsing request data.”,“caller”:“web/context.go:105”,“path”:“/api/v4/files”,“request_id”:“1xhju8x4tpd8ipoqgbr44sjj7r”,“ip_addr”:“172.59.65.61”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“POST”,“err_where”:“uploadFileMultipartLegacy”,“http_code”:500,“err_details”:“read tcp 12.52.58.90:8065->172.59.65.61:21838: read: connection timed out”}
{“timestamp”:“2023-03-17 19:55:44.380 Z”,“level”:“info”,“msg”:“Public links have been disabled.”,“caller”:“web/context.go:103”,“path”:“/api/v4/files/wt4yzhciqjdxxqq1eipth7r99e/link”,“request_id”:“czmtardpsjbixr766o4utxyktc”,“ip_addr”:“23.124.59.17”,“user_id”:“qy8crcjoy3fexgzhqp4ooct8ry”,“method”:“GET”,“err_where”:“getPublicLink”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 19:56:40.881 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“6z3rpoar9ircfrkbhbb3d7so7c”,“ip_addr”:“23.124.59.17”,“user_id”:“jp444x9xh3bw3cnfprmwrmdbwe”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 19:58:52.094 Z”,“level”:“info”,“msg”:“Worker: Job is complete”,“caller”:“expirynotify/worker.go:85”,“worker”:“ExpiryNotify”,“job_id”:“43n9uiouq7f598rofd157uiygr”}
{“timestamp”:“2023-03-17 19:58:52.281 Z”,“level”:“info”,“msg”:“Worker: Job is complete”,“caller”:“product_notices/worker.go:85”,“worker”:“ProductNotices”,“job_id”:“rq97k9msu3ds8gkz94kp1r816w”}
{“timestamp”:“2023-03-17 20:00:32.354 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“frrxpwi5nty43jpktk5dt7gcmy”,“ip_addr”:“23.124.59.17”,“user_id”:“jp444x9xh3bw3cnfprmwrmdbwe”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:00:34.651 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“q8r3bxc137b1zqtqy376166hje”,“ip_addr”:“23.124.59.17”,“user_id”:“jp444x9xh3bw3cnfprmwrmdbwe”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:00:34.899 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“7gmb586yci85z85cb59ahian3c”,“ip_addr”:“23.124.59.17”,“user_id”:“jp444x9xh3bw3cnfprmwrmdbwe”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:00:55.357 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/dimd7fb31fn47ryf53z3cdtqje/groups”,“request_id”:“d3wa4p5rmbrbbmtrse5cmunx3h”,“ip_addr”:“107.117.179.35”,“user_id”:“dimd7fb31fn47ryf53z3cdtqje”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:00:55.359 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=dimd7fb31fn47ryf53z3cdtqje&channel_id=dxauaxbyrjdjiy9myw74em53yr&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 20:00:57.322 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/n9s4yb1egfbzxjt4jr3okms34c/groups”,“request_id”:“9o5s4djipi8z5kdbfi5g3ibb1r”,“ip_addr”:“75.46.32.198”,“user_id”:“n9s4yb1egfbzxjt4jr3okms34c”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:02:02.131 Z”,“level”:“error”,“msg”:“An error occurred sending the receipt delivery to the push notification service.”,“caller”:“web/context.go:105”,“path”:“/api/v4/notifications/ack”,“request_id”:“fqx8fwpj1i895mwo84hz97bw7o”,“ip_addr”:“166.172.185.18”,“user_id”:“4ouuo9f4tfg53ec6cu3xbfeaxr”,“method”:“POST”,“err_where”:“pushNotificationAck”,“http_code”:500,“err_details”:“Post "https://push-test.mattermost.com/api/v1/ack\”: dial tcp: i/o timeout"}
{“timestamp”:“2023-03-17 20:08:52.172 Z”,“level”:“info”,“msg”:“Worker: Job is complete”,“caller”:“expirynotify/worker.go:85”,“worker”:“ExpiryNotify”,“job_id”:“hjfce9bd5irfmdejgauj6ymoso”}
{“timestamp”:“2023-03-17 20:09:05.536 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/b33m95whstf88xkr4r5ujm9c7e/groups”,“request_id”:“tswy73ez7pfbidiksin13ytgpy”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:09:25.478 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/b33m95whstf88xkr4r5ujm9c7e/groups”,“request_id”:“zyeuzkaa5ffffjc4diqcc5qh1r”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:10:02.429 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“ddph7ny7u3nnip78q3ffjejfue”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:10:04.121 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“61pm84u9ptdebq6ywmtkskk4qo”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:10:40.709 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/qt7qdbb46bf58kit9gfgu8gh5a/groups”,“request_id”:“6ryk7tnfxtrxmngwwgegyf5cqo”,“ip_addr”:“23.124.59.17”,“user_id”:“qt7qdbb46bf58kit9gfgu8gh5a”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:12:59.004 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/dimd7fb31fn47ryf53z3cdtqje/groups”,“request_id”:“xx91z5bzgfd88pxwh5f4ajnokh”,“ip_addr”:“107.117.179.33”,“user_id”:“dimd7fb31fn47ryf53z3cdtqje”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:12:59.009 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=dimd7fb31fn47ryf53z3cdtqje&channel_id=dxauaxbyrjdjiy9myw74em53yr&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 20:16:04.793 Z”,“level”:“info”,“msg”:“Stopping Server…”,“caller”:“app/server.go:922”}
{“timestamp”:“2023-03-17 20:16:04.793 Z”,“level”:“info”,“msg”:“stopping websocket hub connections”,“caller”:“app/web_hub.go:113”}
{“timestamp”:“2023-03-17 20:16:06.135 Z”,“level”:“warn”,“msg”:“Unable to shutdown server”,“caller”:“app/server.go:906”,“error”:“context deadline exceeded”}
{“timestamp”:“2023-03-17 20:16:06.136 Z”,“level”:“info”,“msg”:“Stopped workers”,“caller”:“jobs/workers.go:353”}
{“timestamp”:“2023-03-17 20:16:06.136 Z”,“level”:“info”,“msg”:“Stopping schedulers.”,“caller”:“jobs/schedulers.go:187”}
{“timestamp”:“2023-03-17 20:16:06.136 Z”,“level”:“info”,“msg”:“Schedulers stopped.”,“caller”:“jobs/schedulers.go:119”}
{“timestamp”:“2023-03-17 20:16:06.137 Z”,“level”:“info”,“msg”:“Server stopped”,“caller”:“app/server.go:1002”}
{“timestamp”:“2023-03-17 20:16:06.137 Z”,“level”:“info”,“msg”:“Shutting down plugins”,“caller”:“app/plugin.go:339”}
{“timestamp”:“2023-03-17 20:17:30.637 Z”,“level”:“info”,“msg”:“Server is initializing…”,“caller”:“app/server.go:237”,“go_version”:“go1.16.7”}
{“timestamp”:“2023-03-17 20:17:30.637 Z”,“level”:“info”,“msg”:“Starting websocket hubs”,“caller”:“app/web_hub.go:93”,“number_of_hubs”:16}
{“timestamp”:“2023-03-17 20:17:30.637 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:262”,“database”:“master”}
{“timestamp”:“2023-03-17 20:17:30.638 Z”,“level”:“info”,“msg”:“Pinging SQL”,“caller”:“sqlstore/store.go:262”,“database”:“migrations”}
{“timestamp”:“2023-03-17 20:17:30.944 Z”,“level”:“warn”,“msg”:“Could not create foreign key: Error 1826: Duplicate foreign key constraint name ‘FK_RetentionPoliciesChannels_RetentionPolicies’”,“caller”:“sqlstore/store.go:1153”}
{“timestamp”:“2023-03-17 20:17:30.944 Z”,“level”:“warn”,“msg”:“Could not create foreign key: Error 1826: Duplicate foreign key constraint name ‘FK_RetentionPoliciesTeams_RetentionPolicies’”,“caller”:“sqlstore/store.go:1153”}
{“timestamp”:“2023-03-17 20:17:30.983 Z”,“level”:“info”,“msg”:“Loaded system translations”,“caller”:“i18n/i18n.go:93”,“for locale”:“en”,“from locale”:“/opt/mattermost/i18n/en.json”}
{“timestamp”:“2023-03-17 20:17:30.986 Z”,“level”:“info”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“app/license.go:90”}
{“timestamp”:“2023-03-17 20:17:30.988 Z”,“level”:“info”,“msg”:“Current version is 6.3.10 (6.3.10/Wed Aug 10 15:17:07 UTC 2022/a13fe3cfce33f1f90bd6367c78068dea0b1b4079/325928afed97af61de9f7bb03f156e4f17d759d1)”,“caller”:“app/server.go:514”,“current_version”:“6.3.10”,“build_number”:“6.3.10”,“build_date”:“Wed Aug 10 15:17:07 UTC 2022”,“build_hash”:“a13fe3cfce33f1f90bd6367c78068dea0b1b4079”,“build_hash_enterprise”:“325928afed97af61de9f7bb03f156e4f17d759d1”}
{“timestamp”:“2023-03-17 20:17:30.988 Z”,“level”:“info”,“msg”:“Enterprise Build”,“caller”:“app/server.go:523”,“enterprise_build”:true}
{“timestamp”:“2023-03-17 20:17:30.988 Z”,“level”:“info”,“msg”:“Printing current working”,“caller”:“app/server.go:529”,“directory”:“/opt/mattermost”}
{“timestamp”:“2023-03-17 20:17:30.988 Z”,“level”:“info”,“msg”:“Loaded config”,“caller”:“app/server.go:530”,“source”:“file:///opt/mattermost/config/config.json”}
{“timestamp”:“2023-03-17 20:17:30.989 Z”,“level”:“info”,“msg”:“Starting workers”,“caller”:“jobs/workers.go:140”}
{“timestamp”:“2023-03-17 20:17:30.989 Z”,“level”:“info”,“msg”:“Starting schedulers.”,“caller”:“jobs/schedulers.go:116”}
{“timestamp”:“2023-03-17 20:17:30.990 Z”,“level”:“info”,“msg”:“License key from https://mattermost.com required to unlock enterprise features.”,“caller”:“app/license.go:90”}
{“timestamp”:“2023-03-17 20:17:31.002 Z”,“level”:“error”,“msg”:“Failed to update assets subpath from config”,“caller”:“web/static.go:26”,“error”:“error walking /opt/mattermost/client: failed to update /opt/mattermost/client/399.3b116de0c08bff73e43c.css with subpath /: open /opt/mattermost/client/399.3b116de0c08bff73e43c.css: permission denied”}
{“timestamp”:“2023-03-17 20:17:31.002 Z”,“level”:“info”,“msg”:“Starting up plugins”,“caller”:“app/plugin.go:185”}
{“timestamp”:“2023-03-17 20:17:31.002 Z”,“level”:“info”,“msg”:“Syncing plugins from the file store”,“caller”:“app/plugin.go:259”}
{“timestamp”:“2023-03-17 20:17:31.475 Z”,“level”:“error”,“msg”:“Mail server connection test is failed”,“caller”:“app/server.go:1141”,“error”:“SendEmailNotifications is not true”}
{“timestamp”:“2023-03-17 20:17:31.477 Z”,“level”:“info”,“msg”:“Starting Server…”,“caller”:“app/server.go:1163”}
{“timestamp”:“2023-03-17 20:17:31.477 Z”,“level”:“info”,“msg”:“Server is listening on [::]:8065”,“caller”:“app/server.go:1236”,“address”:“[::]:8065”}
{“timestamp”:“2023-03-17 20:17:31.477 Z”,“level”:“info”,“msg”:“Sending systemd READY notification.”,“caller”:“commands/server.go:126”}
{“timestamp”:“2023-03-17 20:17:31.679 Z”,“level”:“info”,“msg”:“Post.Message has size restrictions”,“caller”:“sqlstore/post_store.go:2208”,“max_characters”:16383,“max_bytes”:65535}
{“timestamp”:“2023-03-17 20:17:41.328 Z”,“level”:“info”,“msg”:“Public links have been disabled.”,“caller”:“web/context.go:103”,“path”:“/api/v4/files/tz57inncubf4pkuf49gq5gm8ir/link”,“request_id”:“nnmh5jzsafddjn94nj4j5xfssh”,“ip_addr”:“23.124.59.17”,“user_id”:“1nnge5zi4f8ptcjigwc3d97s8y”,“method”:“GET”,“err_where”:“getPublicLink”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:18:08.840 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/b33m95whstf88xkr4r5ujm9c7e/groups”,“request_id”:“q3jr7n7gojrhzes6346mzgzyha”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:18:08.961 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=b33m95whstf88xkr4r5ujm9c7e&channel_id=q8r7u4mrnb8oimys8agat73g7r&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 20:18:17.078 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=b33m95whstf88xkr4r5ujm9c7e&channel_id=q8r7u4mrnb8oimys8agat73g7r&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 20:18:17.078 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/b33m95whstf88xkr4r5ujm9c7e/groups”,“request_id”:“6docbn715ibgbc6rgnbwdh8bnc”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:18:21.949 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/ufjisai4g7yubdbtb96podmzrc/groups”,“request_id”:“ms9nhejiu7djfd11ag8u8dcrnh”,“ip_addr”:“23.124.59.17”,“user_id”:“ufjisai4g7yubdbtb96podmzrc”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:18:21.955 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=ufjisai4g7yubdbtb96podmzrc&channel_id=9yfhes8z5pgm8b4mpqx3grruww&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 20:19:27.435 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/ry4zzkwgoirs9ybckqwj761buo/groups”,“request_id”:“fp4e36wjebgibgte4pu9rnnzko”,“ip_addr”:“70.235.147.131”,“user_id”:“ry4zzkwgoirs9ybckqwj761buo”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:19:29.704 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“wa4u811qzi8wtbfi8oin1gaony”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:19:30.956 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“r7wzjafaqbgct8z6wfdhoc9n7a”,“ip_addr”:“70.235.147.131”,“user_id”:“ry4zzkwgoirs9ybckqwj761buo”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:19:37.731 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“ce4rddjd8bbwjxy7f8iip7iy7w”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:19:40.076 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“cztm83sen7rgfjuexrodpmsgbc”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:22:55.773 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“g76abay16jydxf3ntz93oow9rh”,“ip_addr”:“23.124.59.17”,“user_id”:“qt7qdbb46bf58kit9gfgu8gh5a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:23:34.848 Z”,“level”:“info”,“msg”:“Public links have been disabled.”,“caller”:“web/context.go:103”,“path”:“/api/v4/files/c439idrpzj887krn49uu3hatuc/link”,“request_id”:“8u66rw9t1tn5fyaxa78km9n8pw”,“ip_addr”:“23.124.59.17”,“user_id”:“tfggusriuidi3m4jnsrwi37rch”,“method”:“GET”,“err_where”:“getPublicLink”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:24:54.274 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“axqrhbuhhbd6fxff5go88uabgh”,“ip_addr”:“23.124.59.17”,“user_id”:“qt7qdbb46bf58kit9gfgu8gh5a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:25:23.052 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“oyhoie6jetbziqbzjhq4cmtwoh”,“ip_addr”:“23.124.59.17”,“user_id”:“qt7qdbb46bf58kit9gfgu8gh5a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:26:01.046 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“sx39163b63rpzdhccp8bi86tby”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:26:27.110 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“z7z7qebjw7yrfqii4h6u7y6p6h”,“ip_addr”:“23.124.59.17”,“user_id”:“qt7qdbb46bf58kit9gfgu8gh5a”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:27:32.599 Z”,“level”:“info”,“msg”:“Worker: Job is complete”,“caller”:“expirynotify/worker.go:85”,“worker”:“ExpiryNotify”,“job_id”:“68wk1msxtjnuupha3ggjueiwhy”}
{“timestamp”:“2023-03-17 20:28:22.532 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/qy8crcjoy3fexgzhqp4ooct8ry/groups”,“request_id”:“bz3ubndwjfym7y37dbnthzuoty”,“ip_addr”:“23.124.59.17”,“user_id”:“qy8crcjoy3fexgzhqp4ooct8ry”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:28:22.533 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=qy8crcjoy3fexgzhqp4ooct8ry&channel_id=c7gmwg3b47rbdbqqkhd7qgj6ew&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}
{“timestamp”:“2023-03-17 20:28:27.439 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/groups”,“request_id”:“4jw1a9h4r3d48kofx77f9hs7uo”,“ip_addr”:“23.124.59.17”,“user_id”:“qy8crcjoy3fexgzhqp4ooct8ry”,“method”:“GET”,“err_where”:“Api4.getGroups”,“http_code”:501,“err_details”:“”}
{“timestamp”:“2023-03-17 20:30:45.705 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/cy4dc87b6bdb5n1nuwhrm39tme/groups”,“request_id”:“1ggbwndd9tbu8f46k5wyewqbeh”,“ip_addr”:“23.124.59.17”,“user_id”:“cy4dc87b6bdb5n1nuwhrm39tme”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}

Alright, thanks - we do have several issues here, let’s try to work on all of them:

Issue #1:

{“timestamp”:“2023-03-17 19:53:07.871 Z”,“level”:“error”,“msg”:“Access to route for non-existent plugin”,“caller”:“app/plugin_requests.go:37”,“missing_plugin_id”:“com.mattermost.apps”,“url”:“/plugins/com.mattermost.apps/api/v1/bindings?user_id=b33m95whstf88xkr4r5ujm9c7e&channel_id=q8r7u4mrnb8oimys8agat73g7r&team_id=kx8989h4njnbmqar4qf14bgcfw&user_agent=mobile”,“error”:“plugin not found: com.mattermost.apps”}

Do you use the Mattermost Apps Framework for anything on your installation? It seems as if it’s configured but not working properly or has been uninstalled/unavailable for some reason. Can you try to disable and re-enable this plugin or update/reinstall it through your System console and the Marketplace?

Issue #2:

{“timestamp”:“2023-03-17 19:54:05.008 Z”,“level”:“info”,“msg”:“your license does not support ldap groups”,“caller”:“web/context.go:103”,“path”:“/api/v4/users/b33m95whstf88xkr4r5ujm9c7e/groups”,“request_id”:“suj9kuxi7bbcxjud7p3p7mko6a”,“ip_addr”:“23.124.59.17”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“GET”,“err_where”:“Api4.getGroupsByUserId”,“http_code”:501,“err_details”:“”}

Do you use LDAP groups in your configuration somewhere? I can see that you’re running on an Enterprise build, is this a paid version or are you running on the free version?

Issue #3:

{“timestamp”:“2023-03-17 19:55:34.445 Z”,“level”:“error”,“msg”:“Unable to upload file(s). Error reading or parsing request data.”,“caller”:“web/context.go:105”,“path”:“/api/v4/files”,“request_id”:“fuhqxhtww7ftubqtq4sgqhiury”,“ip_addr”:“172.59.65.61”,“user_id”:“b33m95whstf88xkr4r5ujm9c7e”,“method”:“POST”,“err_where”:“uploadFileMultipartLegacy”,“http_code”:500,“err_details”:“read tcp 12.52.58.90:8065->172.59.65.61:28457: read: connection timed out”}
{“timestamp”:“2023-03-17 20:02:02.131 Z”,“level”:“error”,“msg”:“An error occurred sending the receipt delivery to the push notification service.”,“caller”:“web/context.go:105”,“path”:“/api/v4/notifications/ack”,“request_id”:“fqx8fwpj1i895mwo84hz97bw7o”,“ip_addr”:“166.172.185.18”,“user_id”:“4ouuo9f4tfg53ec6cu3xbfeaxr”,“method”:“POST”,“err_where”:“pushNotificationAck”,“http_code”:500,“err_details”:“Post "https://push-test.mattermost.com/api/v1/ack\”: dial tcp: i/o timeout"}

Your system is neither able to upload files or send push notifications. All outgoing connections seem to run into timeouts. Could it be that you have an issue with the DNS resolvers on this system? Cyn you run curl https://push-test.mattermost.com/ on the console of your Mattermost server and does it return HTML output or will it also time out or does it take unusually long? Mattermost kills outbound connections if they take longer than a few seconds (don’t know the threshold from the top of my head), but it’s worth checking if this could apply to you. Also, not sure why it tries to upload files externally - do you have an external S3 storage configured for storing your data? The IP it tries to connect to belongs to T-Mobile.

Issue #4:
The logs indicate that you’re on 6.3.10, although you said you tried to upgrade to 6.0.4.
Is your initial comment wrong or was the upgrade to 6.0.4 successful and only the upgrade to 6.3.10 is causing the issues now or did you try to upgrade the broken system to 6.3.10?

{“timestamp”:“2023-03-17 20:17:30.988 Z”,“level”:“info”,“msg”:“Current version is 6.3.10 (6.3.10/Wed Aug 10 15:17:07 UTC 2022/a13fe3cfce33f1f90bd6367c78068dea0b1b4079/325928afed97af61de9f7bb03f156e4f17d759d1)”,“caller”:“app/server.go:514”,“current_version”:“6.3.10”,“build_number”:“6.3.10”,“build_date”:“Wed Aug 10 15:17:07 UTC 2022”,“build_hash”:“a13fe3cfce33f1f90bd6367c78068dea0b1b4079”,“build_hash_enterprise”:“325928afed97af61de9f7bb03f156e4f17d759d1”}

Issue #5:

{“timestamp”:“2023-03-17 20:17:31.002 Z”,“level”:“error”,“msg”:“Failed to update assets subpath from config”,“caller”:“web/static.go:26”,“error”:“error walking /opt/mattermost/client: failed to update /opt/mattermost/client/399.3b116de0c08bff73e43c.css with subpath /: open /opt/mattermost/client/399.3b116de0c08bff73e43c.css: permission denied”}

The files in your Mattermost installation seem to have some permission issues. If you followed the official installation instructions, your Mattermost server should be running under the “mattermost” user account and if this is the case, please stop the service and then run chown -R mattermost: /opt/mattermost to fix all permissions issues below that path, start the server again and this log entry should be gone then (maybe this is also the root cause for other errors you’re seeing).

Issue #6:

{“timestamp”:“2023-03-17 20:17:30.944 Z”,“level”:“warn”,“msg”:“Could not create foreign key: Error 1826: Duplicate foreign key constraint name ‘FK_RetentionPoliciesChannels_RetentionPolicies’”,“caller”:“sqlstore/store.go:1153”}
{“timestamp”:“2023-03-17 20:17:30.944 Z”,“level”:“warn”,“msg”:“Could not create foreign key: Error 1826: Duplicate foreign key constraint name ‘FK_RetentionPoliciesTeams_RetentionPolicies’”,“caller”:“sqlstore/store.go:1153”}

Please connect to your database and do run one of the following commands and post the output here, depending on your system:

# MySQL
show create table RetentionPoliciesTeams;
show create table RetentionPoliciesChannels;

# PostgreSQL
\d retentionpoliciesteams
\d retentionpolicieschannels

Issue #1 No add-ons at all right now.
Issue #2 No we do not use LDAP
Issue #3
image
Issue #4 We are already 6.3.10 we are trying to go to any update higher now.
Issue #6


ad #1)
Are you sure? Plugins seem to be enabled, it’s just the apps framework that seems to have issues right now. Do you have mmctl set up on your system? If so, you could run mmctl --local plugin list to see a list of enabled plugins and you can re-enable the apps plugin with the command:

# mmctl --local plugin disable com.mattermost.apps
Disabled plugin: com.mattermost.apps
# mmctl --local plugin enable com.mattermost.apps
Enabled plugin: com.mattermost.apps

For the --local mode to work, you will need to change EnableLocalMode in your server’s config.json to true and restart the server.

ad #2)
Please post the output of mmctl --local config show | grep -i ldap.

ad #3)
OK, this looks good, did the command complete almost instantly or did it take some time?

ad #4)
OK, must have overread that then, sorry.
Can you please verify that your current database schema is correctly applied? Please post the output of the query:

SELECT * FROM schema_migrations;

ad #5)
Did you run the chown command and restart your server and if so, did the error messages go away after the restart?

ad #6)
You can try to drop the retention policies manually, then restart the server and check if it was able to re-create them properly. Another restart after that would be interesting to see if it still tries to apply them and please verify in the database, that the constraints have been re-created afterwards:

ALTER TABLE RetentionPoliciesTeams DROP CONSTRAINT FK_RetentionPoliciesTeams_RetentionPolicies;
ALTER TABLE RetentionPoliciesChannels DROP CONSTRAINT FK_RetentionPoliciesChannels_RetentionPolicies;

I tried it on my system and this is one of the old schema migration steps, so immediatey after I dropped the constraints and restarted the server, it recreated them. Let’s see if this also helps on your installation