desktop: [Bug]: Client 5.11.x not working with Server 9.11.9 and 10.5.1 ESR (edit: when plugins are *not* enabled)
Checks before filing an issue
- This issue doesn’t reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
- I have checked the issue tracker and have not found an issue that matches the one I’m filing. This should include closed issues.
- This issue is not a troubleshooting question. Troubleshooting questions go here: https://forum.mattermost.com/c/trouble-shoot/16.
- This issue is not a feature request. You can request features and make product suggestions here: https://mattermost.com/suggestions/.
- This issue reproduces on the most recent stable version, or the most recent prerelease version of the Mattermost Desktop App.
- I have read the contribution guidelines.
Mattermost Desktop Version
5.11.1
Operating System
Linux and Mac OS
Mattermost Server Version
9.11.9
Steps to reproduce
Install newest release, start.
Expected behavior
Working client.
Observed behavior
Message: Incompatible server version The Mattermost Server you are accessing is incompatible with this version of the Mattermost Desktop App. To connect to this server, please try the following: Downgrade your Mattermost Desktop App to version v5.10 or earlier. Vous pouvez ouvrir https://chat.govcert.ch/ dans une fenêtre de navigateur. If the issue persists, contact your Mattermost Administrator or IT department to upgrade this Mattermost Server.
Log Output
[2025-03-03 12:31:44.337] [error] Logger Log level set to: info
[2025-03-03 12:31:44.397] [warn] [Config] Failed to load configuration file from the filesystem. Using defaults.
[2025-03-03 12:31:44.397] [info] [Config] Migrating config items successfully.
[2025-03-03 12:31:44.407] [warn] [App.Initialize] Current working directory is /, changing into /Applications/Mattermost-5.10-2.app/Contents/MacOS
[2025-03-03 12:31:44.683] [info] [App.Initialize] Autoupgrade disabled: false
[2025-03-03 12:31:44.683] [error] [MainWindow] Error: ENOENT: no such file or directory, open '/Users/om/Library/Application Support/Mattermost/bounds-info.json'
at Object.readFileSync (node:fs:448:20)
at t.readFileSync (node:electron/js2c/node_init:2:10175)
at _.getSavedWindowState (/Applications/Mattermost-5.10-2.app/Contents/Resources/app.asar/index.js:2:942803)
at _.init (/Applications/Mattermost-5.10-2.app/Contents/Resources/app.asar/index.js:2:939562)
at _.show (/Applications/Mattermost-5.10-2.app/Contents/Resources/app.asar/index.js:2:941557)
at /Applications/Mattermost-5.10-2.app/Contents/Resources/app.asar/index.js:2:213489
at vr (/Applications/Mattermost-5.10-2.app/Contents/Resources/app.asar/index.js:2:214236)
[2025-03-03 12:31:44.706] [info] [ServerDropdownView] init
[2025-03-03 12:31:44.744] [info] [i18nManager] Set new language fr
[2025-03-03 12:31:44.797] [warn] [Notifications] macOS DND check threw an error TypeError: FocusStatus access not authorized, status: 2
[2025-03-03 12:31:44.833] [error] [App.Utils] clearAppCache TypeError: Object has been destroyed
[2025-03-03 12:31:44.924] [info] [ModalView] [welcomeScreen] preloading with /Applications/Mattermost-5.10-2.app/Contents/Resources/app.asar/internalAPI.js
[2025-03-03 12:32:00.947] [error] Logger Log level set to: info
[2025-03-03 12:32:01.009] [warn] [App.Initialize] Current working directory is /, changing into /Applications/Mattermost.app/Contents/MacOS
[2025-03-03 12:32:01.193] [info] [App.Initialize] Autoupgrade disabled: false
[2025-03-03 12:32:01.214] [info] [ServerDropdownView] init
[2025-03-03 12:32:01.246] [info] [i18nManager] Set new language fr
[2025-03-03 12:32:01.286] [warn] [Notifications] macOS DND check threw an error TypeError: FocusStatus access not authorized, status: 2
[2025-03-03 12:32:01.323] [error] [App.Utils] clearAppCache TypeError: Object has been destroyed
[2025-03-03 12:32:01.408] [info] [ModalView] [welcomeScreen] preloading with /Applications/Mattermost.app/Contents/Resources/app.asar/internalAPI.js
[2025-03-03 12:32:24.725] [warn] [App.Utils] Could not get server info for Server Error: Bad status code requesting from https://chat.example.org/api/v4/plugins/webapp
at ClientRequest.<anonymous> (/Applications/Mattermost.app/Contents/Resources/app.asar/index.js:2:818784)
at ClientRequest.emit (node:events:519:28)
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:117548)
at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2025-03-03 12:32:34.159] [info] [App.App] Handling deeplinking url: mattermost://chat.example.org/login/desktop?client_token=xxx&server_token=yyy
[2025-03-03 12:38:42.981] [error] Logger Log level set to: info
[2025-03-03 12:38:43.049] [warn] [App.Initialize] Current working directory is /, changing into /Applications/Mattermost-5.11.1.app/Contents/MacOS
[2025-03-03 12:38:43.212] [info] [App.Initialize] Autoupgrade disabled: false
[2025-03-03 12:38:43.236] [info] [ServerDropdownView] init
[2025-03-03 12:38:43.270] [info] [i18nManager] Set new language fr
[2025-03-03 12:38:43.327] [warn] [Notifications] macOS DND check threw an error TypeError: FocusStatus access not authorized, status: 2
[2025-03-03 12:38:43.395] [error] [App.Utils] clearAppCache TypeError: Object has been destroyed
[2025-03-03 12:38:43.598] [warn] [App.Utils] Could not get server info for Server Error: Bad status code requesting from https://chat.example.org/api/v4/plugins/webapp
at ClientRequest.<anonymous> (/Applications/Mattermost-5.11.1.app/Contents/Resources/app.asar/index.js:2:887343)
at ClientRequest.emit (node:events:518:28)
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:118140)
at SimpleURLLoaderWrapper.emit (node:events:518:28)
Edit: /api/v4/plugins/webapp returns:
{"id":"app.plugin.disabled.app_error","message":"Plugins have been disabled. Please check your logs for details.","detailed_error":"","request_id":"b9mdznexspfquej8n4cc7c4y7h","status_code":501}
Additional Information
Client release notes for 5.11.x mentions: “Compatibility: Desktop App is supported on any currently supported”, which should be the case for 9.11.9 (until May 2025).
Thanks & best regards !
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 19 (3 by maintainers)
Sorry about this everyone, when we added this screen the assumption was that compatible servers would always be able to return the correct server version to the Desktop App. It appears for various reasons (sometimes plugins being on/off affects this) this is not the case.
We’ll investigate this further, but I think in the short term the easiest fix is to default to not showing the screen if we can retrieve the server version. Will make a fix.
I’ve had a report of this on our instance after updating the server to 10.5.1, we have plugins enabled specifically Channel Export, Boards, and Playbooks but it’s still an issue.
Windows 11 Server 10.5.1 Client 5.11.1
Also on 5.11.1 against Server with Version 10.5.1 displaying the same error. But ayyy there is a workaround 😄
I had the same problem (with the 5.11.1 client and 9.11.9 server). I solved it by disconnecting and reconnecting.