-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash after updating to v1.11.94 on Windows #2161
Comments
Same here, it kills Desktop apps which never can be restarted. That version should be pulled immediately. |
Can confirm, the app no longer starts after the update, crashed immediately. I'm on Windows 11 24H2 (26100.3323) |
latest nightly on Windows 10 is also broken. |
Same, I cant open. What should I do to be able to open it without losing my settings? Install the old version on top? |
Hi, same for all Windows users at office. |
Download the app again: https://element.io/download But then refuse to say "update" when the popup occurs ;-) |
You can also use: https://packages.element.io/desktop/install/win32/x64/index.html |
Worked, thanks ^^ |
It doesn't install when I run the .exe, it just opens the old version, but if I close it and try to open it, it no longer opens. I have to open the installer every time. |
open the destination on your shortcut and remove the app-1.11.94 folder (it autoupdates after it closes) |
As it seems only Windows is affected. I'll try on my Mac ... |
@t3chguy Mac OS is fine! |
FWIW: One easy trick I found was to go to the 1.11.93 folder which seems to be still there after the update under AppData/... and run the Element.exe in there. You can obviously also drag that EXE to your taskbar to create a shortcut for the time being. This is perhaps the quickest solution until this is resolved. |
just updated, can confirm i'm also having this issue on windows 10 22H2 this morning. |
did not work here!
|
I have exactly the same issue as of moments ago. Accepted prompted upgrade, following which Element did not restart and could not be restarted. Rebooted W10, no change. Downloaded current W64 Desktop install package from official site, installed, no change. Element on W10 is unavailable following the upgrade - total loss of service. |
Further digging has pointed to this looking like an issue in a Node upgrade done by Github Actions. Still investigating the full scope of the issue but a The keytar.node file from Pinning back the Node version to the strict version #2166 rather than targeting LTS seems to be a workaround. The keytar.node file from
Seems really odd that 22.13.1 can compile for 20.18 just fine, but 22.14.0 cannot compile for 20.18 or 22.13.1 |
It think this might be the same issue on Arch Linux, also fixed by downgrading Node. |
Thanks for the ping @bblacher Turns out this issue only affects Windows because the macos runner still has a working Node version https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#nodejs and the Ubuntu runner has the broken Node version but we build keytar in Docker with a not broken Node version https://github.com/element-hq/element-desktop/blob/develop/dockerbuild/Dockerfile#L24 |
I have exactly the same issue . Accepted upgrade, following which Element did not restart and could not be restarted. |
same here.... The whole company desktop clients. |
Same issue here, used the workaround by manual starting the old version. Error:
|
We pulled the |
What a tremendous blunder...way to go. |
Hello cli-ish It IS patched already… just download it from https://element.io/
download
Von: Vincent Schneider ***@***.***>
Gesendet: Freitag, 28. Februar 2025 00:39
An: element-hq/element-desktop ***@***.***>
Cc: Rudolfo1967 ***@***.***>; Comment ***@***.***>
Betreff: Re: [element-hq/element-desktop] Crash after updating to v1.11.94 on
Windows (Issue #2161)
Same issue here, used the workaround by manual starting the old version.
When will this be patched?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.*Message ID: <element-hq/
***@***.***>
cli-ishcli-ish left a comment (element-hq/element-desktop#2161)
Same issue here, used the workaround by manual starting the old version.
When will this be patched?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.*Message ID: <element-hq/
***@***.***>
|
It worked, thanks for the quick fix i am now on the version |
Ultimately this bug was a horrible combination of things happening all at once.
We have made some remediations:
Hoping to get #1947 on the agenda such that we can get away from unmaintained code but just ditching keytar would result in all existing sessions being thrown away, as it secures your session on disk at rest. We also have a backburner project coined Saner Releases which aims to flip how we do releases, including running smoke tests on the release artifacts before publishing them to catch exactly this sort of stuff. We do not have a QA team. The Web team is small (4 engineers most of the time and we often get pulled away to help other teams). Running manual tests on every update would be impossible given the vast amount of hardware and time one would need, automating it is difficult as many things lack test orchestration, like there's no test harness around Apple Keychain where we can mock things out to test keytar. So we do rely on users reporting from Nightlies in a wide range of environments to catch issues such as this. |
@t3chguy You might also want to pull this version from the GitHub Releases |
@MichaMican The GitHub releases don't include binaries, as this is a bug in the build system the GitHub releases don't need to be pulled. |
Yeah, only the windows version was pulled. Mac and Linux are still on 94 |
Unfortunately seems like Node doesn't care that a try-catch is useless to catch broken dependencies if the N-API is involved. We have done all that we can remediate against this issue. Closing in favour of #771 which would give us more control by moving away from Node to something which lets us trap & recover from issues of this sort. The next Element Desktop release will go out on schedule. |
Steps to reproduce
I don't see any errors logged to Windows Event Viewer
Outcome
Windows 11
Element Version: v1.11.94
Operating system
No response
Application version
No response
How did you install the app?
No response
Homeserver
No response
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: