flathub / md.obsidian.Obsidian

https://flathub.org/apps/details/md.obsidian.Obsidian
49 stars 15 forks source link

Obsidian doesn't start after update #313

Closed ArcoMul closed 6 months ago

ArcoMul commented 6 months ago

Description

After updating to the latest version Obsidian doesn't start any more.

Obsidian Version

bsidian - Markdown-based knowledge base

          ID: md.obsidian.Obsidian
         Ref: app/md.obsidian.Obsidian/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.5.11
     License: LicenseRef-proprietary=https://obsidian.md/eula
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 625.6 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 45aca5bfa83d1283e2b75ff7e9c394ea46697eb5eb48703b774f48fca4242c9a
      Parent: d3ec0e634d008391e743163ed233f25a2c92ecf8115c0d5147ffabf166ec91be
     Subject: Update 2 modules (d658668b)
        Date: 2024-03-20 19:20:36 +0000

Sandbox Permissions

[Context]
shared=network;ipc;
sockets=x11;pulseaudio;ssh-auth;
devices=dri;
filesystems=home;/media;xdg-run/gnupg:ro;/mnt;/run/media;~/.local/share/fonts:ro;xdg-run/app/com.discordapp.Discord:create;
persistent=~/.ssh;

[Environment]
SSH_ASKPASS=/app/libexec/openssh/ssh-askpass
OBSIDIAN_CLEAN_CACHE=1
OBSIDIAN_ENABLE_AUTOSCROLL=0
PATH=/usr/bin:/app/bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:~/.icons
OBSIDIAN_DISABLE_GPU=0
GH_PATH=gh

Hardware Information

00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c)

ame of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Graphics (ADL GT2) (0x46a6)
    Version: 23.3.6
    Accelerated: yes
    Video memory: 15696MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.3.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

System Information

Fedora 39, Gnome 45.4

Logs

Debug: Will run Obsidian with the following arguments: 
Debug: Additionally, user gave: 
[13:0324/190012.760049:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
2024-03-24 18:00:12 Loading main app package /app/resources/obsidian.asar
Ignored: Error: ENOENT: no such file or directory, open '/home/xxx/.var/app/md.obsidian.Obsidian/config/obsidian/obsidian.json'
LaunchProcess: failed to execvp:
xdg-settings
[13:0324/190012.852703:ERROR:wayland_connection.cc(193)] Failed to connect to Wayland display: No such file or directory (2)
[13:0324/190012.852716:ERROR:ozone_platform_wayland.cc(259)] Failed to initialize Wayland platform
[13:0324/190012.852718:ERROR:env.cc(257)] The platform failed to initialize.  Exiting.
/app/bin/obsidian.sh: line 66:    13 Segmentation fault      (core dumped) zypak-wrapper /app/obsidian $@ ${EXTRA_ARGS[@]}
joshua-stone commented 6 months ago

As far as I know, nothing has changed from within the flatpak which would introduce this bug. These lines likely indicate something is incorrect with your installation:

Ignored: Error: ENOENT: no such file or directory, open '/home/xxx/.var/app/md.obsidian.Obsidian/config/obsidian/obsidian.json'
LaunchProcess: failed to execvp:
xdg-settings
[13:0324/190012.852703:ERROR:wayland_connection.cc(193)] Failed to connect to Wayland display: No such file or directory (2)
[13:0324/190012.852716:ERROR:ozone_platform_wayland.cc(259)] Failed to initialize Wayland platform

Please provide more information about environment variables:

$ env | grep XDG
$ flatpak run --command=env md.obsidian.Obsidian
ArcoMul commented 6 months ago

After removing some environment variables, and a system restart, Obsidian opened again. Sorry for the time-waste.