You are not logged in.

#1 2024-01-03 18:33:08

headkase
Member
Registered: 2011-12-06
Posts: 1,979

[Solved] Obsidian opens to a blank window after updating electron

Electron was updated to 26 today, from 25.  Since the update Obsidian only opens to a blank window.  There is no error output when running it in a console, only a successful startup message.  Electron 26 can't be removed to use 25 without breaking the electron meta-package.

Edit: Electron 27 was added, same result.  The electron meta-package prevents uninstalling the most current version (now 27) to try to use 25 which was the last known working.

Edit 2: solved with an Obsidian update which makes Electron 25 a dependency.

Last edited by headkase (2024-01-04 16:28:13)

Offline

#2 2024-01-03 19:20:55

micronetic
Member
Registered: 2020-02-26
Posts: 40

Re: [Solved] Obsidian opens to a blank window after updating electron

There is a bug report, but only for Electron 26, would have added that it is the same with 27 but I can't write there.

// Electron got updated to 28 but this doesn't work either lol 3 versions in a row and it is not working, is nobody testing it before pushing?

https://gitlab.archlinux.org/archlinux/ … -/issues/2

Last edited by micronetic (2024-01-04 10:08:52)

Offline

#3 2024-01-04 10:15:22

czak
Member
Registered: 2019-02-16
Posts: 7

Re: [Solved] Obsidian opens to a blank window after updating electron

There is a merge request in progress, which will switch `electron` to `electron25`: https://gitlab.archlinux.org/archlinux/ … requests/1

As a temporary workaround, I've installed `electron25` and run Obsidian with it explicitly:

$ electron25 /usr/lib/obsidian/app.asar

Or create a desktop file in your ~/.local:

~ % cat ~/.local/share/applications/obsidian.desktop
[Desktop Entry]
Name=Obsidian
Exec=/bin/electron25 /usr/lib/obsidian/app.asar %U
Terminal=false
Type=Application
Icon=obsidian
StartupWMClass=obsidian
Comment=Obsidian
MimeType=x-scheme-handler/obsidian;
Categories=Office;

Offline

#4 2024-01-04 13:52:51

pipep
Member
Registered: 2016-12-04
Posts: 10

Re: [Solved] Obsidian opens to a blank window after updating electron

Obsidian has been updated to obsidian-1.5.3-2, adding the electron25 dependency, and now it works again.

Offline

#5 2024-01-04 14:39:30

Coqui
Member
Registered: 2024-01-04
Posts: 1

Re: [Solved] Obsidian opens to a blank window after updating electron

Thank you for this fix. Had me panicking as I started my workday.

Offline

Board footer

Powered by FluxBB