Skip to content
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

(Bug report) Trilium crashes upon start on a relatively new and minimal Debian 12. #4901

Open
higher-order opened this issue Jan 27, 2025 · 1 comment

Comments

@higher-order
Copy link

higher-order commented Jan 27, 2025

Trilium Version

0.63.7

What operating system are you using?

Other Linux

What is your setup?

Local (no sync)

Operating System Version

Debian 12.9

Description

I recently installed a relatively minimal Debian 12 on my laptop. During the installation, I didn't install any DE since I would be using the Sway window manager later. I downloaded the latest v0.63.7 release of Trilium and tried both the .tar.xz file and the .deb file. Since it's a fresh install, I haven't created any notes. Upon running ./trilium in the extracted directory, it crashed after printing:

DB not initialized, please visit setup page
DB size: 4 KB
{
  "appVersion": "0.63.7",
  "dbVersion": 228,
  "nodeVersion": "v18.15.0",
  "syncVersion": 32,
  "buildDate": "2024-05-30T06:59:06+02:00",
  "buildRevision": "95d46b7ce7e0036eeb72b43e1815cc5c00dc214c",
  "dataDirectory": "/home/user/.local/share/trilium-data",
  "clipperProtocolVersion": "1.0",
  "utcDateTime": "2025-01-27T09:17:19.120Z"
}
CPU model: [Redacted]
Trusted reverse proxy: false
App HTTP server starting up at port 37840
Listening on port 37840
[34527:0127/041719.665305:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
[34527:0127/041719.665330:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.
The futex facility returned an unexpected error code.
Aborted

The logs in ~/.local/share/trilium-data/log are empty.

I noticed that it says "missing X server". From some other issues I saw that Trilium can run on Wayland. But do I have to configure it to run on Wayland? Or is it some other problem?

Error logs

No response

@higher-order higher-order changed the title (Bug report) (Bug report) Trilium crashes upon start on a relatively new and minimal Debian 12. Jan 27, 2025
@eliandoran
Copy link
Collaborator

@higher-order , a wild guess would be that Trilium Notes runs on older Electron version that causes issues for you.
Maybe have a look at https://github.com/TriliumNext/Notes and see if it works for you? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants