You are not logged in.

#1 2025-06-21 19:18:00

zwa
Member
Registered: 2005-12-05
Posts: 116

[Solved] element-desktop|electron keyring error

When launching element-desktop-nightly (same issue with element-desktop from extra) I get this error:

2025-06-21-T15-06-57-321339215-04-00.png

/home/user/.config/Element-Nightly exists: no
/home/user/.config/Riot-Nightly exists: no
(node:12190) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `element-desktop-nightly --trace-deprecation ...` to show where the warning was created)
Loading app config: /opt/Element-Nightly/resources/webapp.asar/config.json
Loading local config: /home/user/.config/Element-Nightly/config.json
Skipping nonexistent file: /home/user/.config/Element-Nightly/config.json
Enabling Sentry with dsn=https://029a0eb289f942508ae0fb17935bd8c5@sentry.matrix.org/6 environment=nightly
[12190:0621/150654.148862:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[12190:0621/150654.148880:ERROR:electron/shell/browser/ui/file_dialog_linux_portal.cc:78] Failed to read portal version property
Reached Electron ready state
Starting auto update with base URL: https://packages.element.io/nightly/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Resetting the UI components after locale change
Opening main window
Ensuring storage is ready
(node:12190) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
[12190:0621/150703.867195:ERROR:content/browser/browser_main_loop.cc:278] GLib-GObject: ../glib/gobject/gsignal.c:2699: instance '0x3a1c02e3db80' has no handler with id '1732'
Error: safeStorage backend basic_text and user rejected it
    at Store.consultUserConsentDegradedMode (file:///opt/Element-Nightly/resources/app.asar/lib/store.js:338:23)
    at async Store.reallyPrepareSafeStorage (file:///opt/Element-Nightly/resources/app.asar/lib/store.js:254:17)
    at async App.<anonymous> (file:///opt/Element-Nightly/resources/app.asar/lib/electron-main.js:432:15)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: Object has been destroyed
    at n.loadURL (node:electron/js2c/browser_init:2:14440)
    at App.<anonymous> (file:///opt/Element-Nightly/resources/app.asar/lib/electron-main.js:439:28)

pacman -Qs keyring

local/archlinux-keyring 20250430.1-1
    Arch Linux PGP keyring
local/gnome-keyring 1:48.0-1 (gnome)
    Stores passwords and encryption keys

Last edited by zwa (2025-06-23 18:59:41)

Offline

#2 2025-06-23 15:19:30

lukewarmTarsier
Member
Registered: 2025-06-23
Posts: 1

Re: [Solved] element-desktop|electron keyring error

Since this took me a long time to find just now, I can help out. You probably need to run the app once from a command line to tell it which keyring to use.

in your case it would be:

element-desktop --password-store="gnome-libsecret"

And here's the specific documentation for linux

Offline

#3 2025-06-23 18:59:04

zwa
Member
Registered: 2005-12-05
Posts: 116

Re: [Solved] element-desktop|electron keyring error

lukewarmTarsier wrote:

Since this took me a long time to find just now, I can help out. You probably need to run the app once from a command line to tell it which keyring to use.

in your case it would be:

element-desktop --password-store="gnome-libsecret"

And here's the specific documentation for linux

Thx, I had tried with kwallet and was getting some error, with libsecret it works but my old passwords are gone.

Offline

Board footer

Powered by FluxBB