Trouble starting mattermost with zoom plugin

Hi, I can’t seem to start mattermost after enabling the zoom plugin - ubuntu, using mattermost version 9.10.1. My journalctl gives:

Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.239 Z","level":"info","msg":"Server is initializing...","caller":"platform/service.go:175","go_version":"go1.21.8"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.239 Z","level":"info","msg":"Pinging SQL","caller":"sql/sql_utils.go:67","database":"master","dataSource":"****:****@tcp(localhost:3306)/mattermost?writeTimeout=30s&charset=utf8mb4%2Cutf8"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.256 Z","level":"info","msg":"Pinging SQL","caller":"sql/sql_utils.go:67","database":"master","dataSource":"****:****@tcp(localhost:3306)/mattermost?multiStatements=true&writeTimeout=30s&charset=utf8mb4%2Cutf8"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.288 Z","level":"info","msg":"Starting websocket hubs","caller":"platform/web_hub.go:106","number_of_hubs":8}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.289 Z","level":"info","msg":"Loaded system translations","caller":"i18n/i18n.go:175","for locale":"en","from locale":"/opt/mattermost/i18n/en.json"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.292 Z","level":"info","msg":"Ensuring the telemetry ID..","caller":"telemetry/telemetry.go:146"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.292 Z","level":"info","msg":"telemetry ID is set","caller":"telemetry/telemetry.go:156","id":"hyyr7t5c9t8qbbgf7h84o1qdjh"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.294 Z","level":"info","msg":"Current version is 9.10.1 (9991409237/Thu Jul 18 12:28:06 UTC 2024/23993132c67b11e5d8a0d0d789b7079868200b63/none)","caller":"app/server.go:400","current_version":"9.10.1","build_number":"9991409237","build_date":"Thu Jul 18 12:28:06 UTC 2024>
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.294 Z","level":"info","msg":"Team Edition Build","caller":"app/server.go:416","enterprise_build":false}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.294 Z","level":"info","msg":"Printing current working","caller":"app/server.go:420","directory":"/opt/mattermost"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.294 Z","level":"info","msg":"Loaded config","caller":"app/server.go:421","source":"file:///opt/mattermost/config/config.json"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.296 Z","level":"info","msg":"License key has not been uploaded. Loading license key from disk.","caller":"utils/license.go:107","filename":"/opt/mattermost/config/mattermost.mattermost-license"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.296 Z","level":"warn","msg":"Failed to get license from disk","caller":"platform/license.go:95","error":"We could not find the license key on disk at /opt/mattermost/config/mattermost.mattermost-license: stat /opt/mattermost/config/mattermost.mattermost-license: no such>
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.296 Z","level":"warn","msg":"License key from https://mattermost.com required to unlock enterprise features.","caller":"platform/license.go:107","error":"resource \"License\" not found, id: "}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.296 Z","level":"info","msg":"Starting workers","caller":"jobs/workers.go:48"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.297 Z","level":"info","msg":"Starting schedulers.","caller":"jobs/schedulers.go:54"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.350 Z","level":"info","msg":"Starting up plugins","caller":"app/plugin.go:191"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.350 Z","level":"info","msg":"Syncing plugins from the file store","caller":"app/plugin.go:268"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.350 Z","level":"info","msg":"Removing local installation of managed plugin before sync","caller":"app/plugin.go:295","plugin_id":"zoom"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.350 Z","level":"warn","msg":"Skipping sync for unmanaged plugin","caller":"app/plugin.go:291","plugin_id":"playbooks"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.350 Z","level":"info","msg":"Removing local installation of managed plugin before sync","caller":"app/plugin.go:295","plugin_id":"com.github.matterpoll.matterpoll"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.350 Z","level":"warn","msg":"Skipping sync for unmanaged plugin","caller":"app/plugin.go:291","plugin_id":"com.mattermost.calls"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.356 Z","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:342","plugin_id":"zoom","bundle_path":"plugins/zoom.tar.gz"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.356 Z","level":"info","msg":"Syncing plugin from file store","caller":"app/plugin.go:342","plugin_id":"com.github.matterpoll.matterpoll","bundle_path":"plugins/com.github.matterpoll.matterpoll.tar.gz"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.515 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:427","plugin_id":"zoom","version":"1.6.2"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.537 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:427","plugin_id":"com.github.matterpoll.matterpoll","version":"1.5.0"}
Aug 01 15:54:34 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:34.835 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"zoom","wrapped_extras":"pluginplugins/zoom/server/dist/plugin-linux-amd64id395769"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.828 Z","level":"error","msg":"Failed to sync plugin from file store","caller":"app/plugin.go:344","plugin_id":"zoom","bundle_path":"plugins/zoom.tar.gz","error":"installExtractedPlugin: Unable to restart plugin on upgrade., please configure OAuthClientSecret"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.2.0-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.9.1-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-playbooks-v1.39.3-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v4.1.1-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/focalboard-v8.0.0-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-zoom-v1.8.0-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-ai-v0.8.3-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.829 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-calls-v0.28.2-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.846 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.3-linux-amd64.tar.gz"}
Aug 01 15:54:39 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:39.846 Z","level":"info","msg":"Processing prepackaged plugin","caller":"app/plugin.go:972","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-servicenow-v2.3.4-linux-amd64.tar.gz"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.179 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1002","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-servicenow-v2.3.4-linux-amd64.tar.gz","plugin_id":"mattermost-plugin-servicenow"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.216 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1002","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-jira-v4.1.1-linux-amd64.tar.gz","plugin_id":"jira"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.233 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1002","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-nps-v1.3.3-linux-amd64.tar.gz","plugin_id":"com.mattermost.nps"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.235 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1002","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-gitlab-v1.9.1-linux-amd64.tar.gz","plugin_id":"com.github.manland.mattermost-plugin>
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.247 Z","level":"warn","msg":"Error loading local plugin icon","caller":"app/plugin.go:1184","plugin_id":"mattermost-ai","icon_path":"assets/bot_icon.png","error":"icon is not svg /tmp/plugintmp665379902/mattermost-ai/assets/bot_icon.png"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.247 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1002","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-ai-v0.8.3-linux-amd64.tar.gz","plugin_id":"mattermost-ai"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.273 Z","level":"info","msg":"Not installing prepackaged plugin: not previously enabled","caller":"app/plugin.go:1002","bundle_path":"/opt/mattermost/prepackaged_plugins/mattermost-plugin-github-v2.2.0-linux-amd64.tar.gz","plugin_id":"github"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.275 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:427","plugin_id":"zoom","version":"1.8.0"}
Aug 01 15:54:40 colala.berkeley.edu mattermost[395742]: {"timestamp":"2024-08-01 15:54:40.275 Z","level":"info","msg":"Removing existing installation of plugin before local install","caller":"app/plugin_install.go:475","plugin_id":"zoom","existing_version":"1.6.2"}
Aug 01 15:54:40 colala.berkeley.edu systemd[1]: mattermost.service: start operation timed out. Terminating.
Aug 01 15:54:40 colala.berkeley.edu systemd[1]: mattermost.service: Failed with result 'timeout'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- The unit mattermost.service has entered the 'failed' state with result 'timeout'.
Aug 01 15:54:40 colala.berkeley.edu systemd[1]: Failed to start Mattermost.
-- Subject: A start job for unit mattermost.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
-- 
-- A start job for unit mattermost.service has finished with a failure.
-- 
-- The job identifier is 434658 and the job result is failed.
Aug 01 15:54:40 colala.berkeley.edu sudo[395738]: pam_unix(sudo:session): session closed for user root

Hi paintado! It looks like the issue might be related to the Zoom plugin’s OAuth configuration. I recommend checking the Zoom plugin setup documentation to ensure everything is configured correctly, especially the OAuthClientSecret. Let me know if you need further assistance!