desktop: [Bug]: Unable to update if mattermost was started
Before you file a bug report
- I have checked the issue tracker and have not found an issue that matches the one I’m filing.
- 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 doesn’t reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
- 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.2.2
Operating System
Windows 10 x64
Mattermost Server Version
7.7.1
Steps to reproduce
Wait for autoupdate notice and accept it. Or just run executable.
Expected behavior
Update to finish
Observed behavior
When auto update starts, it closes desktop application and crashes with message “Unable to close mattermost”. If you close mattermost manualy, result will be the same. Rebuting PC has no effect. The only way is to uninstall mattermost and install newer version. Same thing was with previous versions.
Log Output
[2023-03-30 19:57:31.939] [info] Checking for update
[2023-03-30 19:57:32.484] [info] Found version 5.3.0 (url: 5.3.0/mattermost-desktop-setup-5.3.0-win.exe)
[2023-03-30 19:57:32.516] [info] [Mattermost] available version 5.3.0
[2023-03-31 00:46:45.156] [info] restoreMain
[2023-03-31 00:46:56.738] [info] Downloading update from 5.3.0/mattermost-desktop-setup-5.3.0-win.exe
[2023-03-31 00:46:56.836] [info] Cached update sha512 checksum doesn't match the latest available update. New update must be downloaded. Cached: NsvjCQAOr/0/Ne4sguFwosxIaVKXwlQ5PE2rXIcr2fDD3XQruOXz7NySytXZqbBFornkjpSkefsr6tJOpsvJIQ==, expected: ob7n7Nbfm1Wk1jryT36NCFqHzf4KHeOFTsfHstfjnEQW7cZWHfwVHLjCAzmdigGmu5c4NqxdZ0FTAT01N0WdaQ==. Directory for cached update will be cleaned
[2023-03-31 00:46:56.884] [info] Download block maps (old: "https://releases.mattermost.com/desktop/5.2.2/mattermost-desktop-setup-5.2.2-win.exe.blockmap", new: https://releases.mattermost.com/desktop/5.3.0/mattermost-desktop-setup-5.3.0-win.exe.blockmap)
[2023-03-31 00:46:57.448] [error] Cannot download differentially, fallback to full download: Error: Cannot download "https://releases.mattermost.com/desktop/5.2.2/mattermost-desktop-setup-5.2.2-win.exe.blockmap", status 403:
at ClientRequest.<anonymous> (C:\Users\user\AppData\Local\Programs\mattermost-desktop\resources\app.asar\index.js:57766:26)
at ClientRequest.emit (node:events:527:28)
at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:101:6915)
at SimpleURLLoaderWrapper.emit (node:events:527:28)
[2023-03-31 00:47:23.413] [info] New version 5.3.0 has been downloaded to C:\Users\user\AppData\Local\mattermost-desktop-updater\pending\mattermost-desktop-setup-5.3.0-win.exe
[2023-03-31 00:47:23.417] [info] [Mattermost] downloaded version 5.3.0
[2023-03-31 00:47:27.967] [info] User requested perform the upgrade now to 5.3.0
[2023-03-31 00:47:27.968] [info] Install on explicit quitAndInstall
[2023-03-31 00:47:27.969] [info] Install: isSilent: false, isForceRunAfter: true
[2023-03-31 00:47:28.833] [info] Install on explicit quitAndInstall
[2023-03-31 00:47:28.834] [warn] install call ignored: quitAndInstallCalled is set to true
[2023-03-31 00:47:28.855] [warn] main window closed
[2023-03-31 00:47:28.856] [info] Auto install update on quit
[2023-03-31 00:47:28.856] [info] Install: isSilent: true, isForceRunAfter: false
Additional Information
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 18 (17 by maintainers)
Finaly it was updated correctly. From some of 5.4 nightly build to 5.5.1. So I’m closing this issue for now.
@devinbinnie no, I’m on 5.3.1 release version. I will try to install newer version one by one and may it will work.