Obsidian on CentoOS 7

What I’m trying to do

Trying to install/use Obsidian on CentOS 7. Due to customer requirements for the software the I am on develops, we must use CentOS 7 for development and testing.

Is there a previous version that will work for me?

Things I have tried

I searched these forums and performed a reddit search and a general internet search on these terms: CentOS 7, REDHAT 7, Rocky 7, also used search terms form the error messages, such as “obsidian GLIBC_2.18' not found" and "obsidian GLIBC_2.25’ not found”

I get these errors when using the latest AppImage:

/tmp/.mount_ObsidiPKdi9E/obsidian: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /tmp/.mount_ObsidiPKdi9E/obsidian)  
/tmp/.mount_ObsidiPKdi9E/obsidian: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /tmp/.mount_ObsidiPKdi9E/obsidian)  

and these when installed using snap and running the installed obsidian

/snap/obsidian/35/obsidian: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /snap/obsidian/35/obsidian)  
/snap/obsidian/35/obsidian: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /snap/obsidian/35/obsidian)  

I backed up to version 1.15.12 which loaded but did not look quite correct, and gives the errors below:

/home/xxxxxxxxxxxx/.config/obsidian/obsidian-1.6.7.asar
2024-09-11 20:11:36 Checking for update using Github
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall nr=0x64 arg1=0x7ffdd557ab30 arg2=0x7ffdd557ab30 arg3=0x64 arg4=0x7ffdd557a5a0
[19376:0911/151136.546847:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=11
[19435:0911/151136.753071:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall nr=0x64 arg1=0x7ffdd557ab30 arg2=0x7ffdd557ab30 arg3=0x64 arg4=0x7ffdd557a5a0
[19435:0911/151136.830809:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[19376:0911/151136.833476:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=11
2024-09-11 20:11:36 Success.
2024-09-11 20:11:36 Latest version is 1.6.7
2024-09-11 20:11:36 App is up to date.
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall nr=0x64 arg1=0x7ffdd557ab30 arg2=0x7ffdd557ab30 arg3=0x64 arg4=0x7ffdd557a5a0
[19376:0911/151137.072691:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=11
[19435:0911/151137.217829:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

I backed up further to 1.1.16, which also loaded but, again, did not looked as I expected it to, not at all like v1.6.7… These errors result from this attempt:


2024-09-11 20:13:56 Loading updated app package /home/XXXXXXXXXXXX/.config/obsidian/obsidian-1.6.7.asar
2024-09-11 20:13:56 Checking for update using Github
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0100
[19714:0911/151356.957710:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=11
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0100
[19714:0911/151357.169203:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=11
[19773:0911/151357.323635:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
2024-09-11 20:13:57 Success.
2024-09-11 20:13:57 Latest version is 1.6.7
2024-09-11 20:13:57 App is up to date.
../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0100
[19773:0911/151357.369805:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[19714:0911/151357.371124:ERROR:gpu_process_host.cc(975)] GPU process exited unexpectedly: exit_code=11
[19773:0911/151357.505750:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[19714:0911/151358.060008:ERROR:quota_database.cc(929)] Could not open the quota database, resetting.
[19714:0911/151358.295765:ERROR:indexed_db_factory_impl.cc(917)] IndexedDB backing store had unknown schema, treating it as failure to open.
[19714:0911/151358.296064:ERROR:indexed_db_factory_impl.cc(707)] Got corruption for { origin: app://obsidian.md, top-level site: app://obsidian.md, nonce: <null>, ancestor chain bit: Same-Site }, Unknown corruption
[19714:0911/151358.390731:ERROR:indexed_db_factory_impl.cc(843)] IndexedDB recovering from a corrupted (and deleted) database.
Opening URL: https://obsidian.md/download?os=linux&arch=x64
This tool has been deprecated, use 'gio open' instead.
See 'gio help open' for more info.

Lastly

None of the versions that loaded had a settings option under the sidebar submenu.

On a similar situation here, I got to run Obsidian 1.1.16 on Debian 9 with gblic 2.23. I think a lower version may work for you.

I run Obsidian (latest version 1.7.7) on CentOS 7 successfully. Using the AppImage version, I followed these steps:

  1. Used --appimage-extract to extract the Obsidian binary.
  2. Ran Obsidian on another Linux system where it worked, then fetched all the shared libraries (.so files) required by the Obsidian binary and copied them to a folder (e.g., on SUSE).
  3. Copy the /lib64/ld-linux-x86-64.so.2 to ths obsidian binary same folder, and use patchelf --set-interpreter ld-linux-x86-64.so.2 obsidian. ok, end of here prepare finish.
  4. Before running the Obsidian binary, I set LD_LIBRARY_PATH to point to the folder containing the copied .so files (e.g., suse/lib64).
  5. Tested it on CentOS 7 and removed some conflicting .so files. This setup worked fine.

However, I encountered a problem with image paths that include Unicode characters—they do not display. On CentOS 7, apart from this issue, Obsidian works fine. At openSUSE all is work.

Maybe have help for you.

Anybody can help me solve or notice some way for image path with unicode characters problem. some issuse: Linux: Images and PDFs don't load if vault contains accented letters such as é (non english, non ascii, cjk, Umlauts) - #9 by zeegroen

I am resolved the image path include non-ascii char problem. It need pack the /usr/lib/locales and set special LOCPATH environment for packed path.