Skip to content

SafeStorage is not available on Debian / XFCE #32416

Description

@krassle

Steps to reproduce

  1. Upgrade from v1.11.100 to v1.11.101
  2. Watch it crash immediately after start

Log from terminal:

nova@baas:~$ element-desktop 
/home/nova/.config/Element exists: yes
/home/nova/.config/Riot exists: no
(node:134655) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `element-desktop --trace-deprecation ...` to show where the warning was created)
Loading app config: /opt/Element/resources/webapp.asar/config.json
Loading local config: /home/nova/.config/Element/config.json
Skipping nonexistent file: /home/nova/.config/Element/config.json
Reached Electron ready state
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to de
Fetching translation json for locale: de
Skipping nonexistent file: /opt/Element/resources/app.asar/lib/i18n/strings/de.json
Resetting the UI components after locale change
Resetting the UI components after locale change
Ensuring storage is ready
safeStorage backend 'gnome_libsecret' selected, 'gnome_libsecret' in config.
Error: safeStorage is not available
    at Store.prepareSafeStorage (file:///opt/Element/resources/app.asar/lib/store.js:273:19)
    at async Store.safeStorageReady (file:///opt/Element/resources/app.asar/lib/store.js:175:9)
    at async App.<anonymous> (file:///opt/Element/resources/app.asar/lib/electron-main.js:401:9)
Opening main window
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
(node:134655) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.

Outcome

What did you expect?

The app to start and run normally.

What happened instead?

It crashes.

Operating system

Debian 12 bookworm

Application version

v1.11.101

How did you install the app?

Official repo

Homeserver

No Response

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ElectronIssues specific to Element DesktopA-StorageStorage layer of the app, including IndexedDB, local storage, etc.O-UncommonMost users are unlikely to come across this or unexpected workflowS-CriticalPrevents work, causes data loss and/or has no workaroundT-DefectZ-LinuxZ-Platform-Specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions