logseq / logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: http://trello.com/b/8txSM12G/roadmap
https://logseq.com
GNU Affero General Public License v3.0
30.07k stars 1.76k forks source link

Logseq on Ubuntu 24.04 #11240

Open liquidcarbon opened 1 month ago

liquidcarbon commented 1 month ago

Search first

What Happened?

Hi, I'm struggling to get Logseq running on Ubuntu 24.04 I'd rather not mess with FUSE. I tried ./Logseq-linux-x64-0.10.8.AppImage --appimage-extract but I'm getting this error (same thing starting from a ZIP package).

[6952:0416/140839.760157:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/a/appimage/Logseq-linux-x64/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Related #10279

Reproduce the Bug

wget https://github.com/logseq/logseq/releases/download/0.10.8/Logseq-linux-x64-0.10.8.zip unzip Logseq-linux-x64-0.10.8.zip Logseq-linux-x64/Logseq

Expected Behavior

Magic like with .deb. Any chance you can just make a .deb?

Screenshots

No response

Desktop or Mobile Platform Information

Ubuntu 24.04 Beta

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

liquidcarbon commented 1 month ago

Conversion with appimage2deb was not helpful because it uses AppImage as executable

dpkg -L logseq-linux-x64-0-10-8
/.
/opt
/opt/logseq-linux-x64-0-10-8
/opt/logseq-linux-x64-0-10-8/logseq-linux-x64-0-10-8.AppImage
/usr
/usr/bin
/usr/bin/logseq-linux-x64-0-10-8
/usr/share
/usr/share/applications
/usr/share/applications/logseq-linux-x64-0-10-8.desktop
liquidcarbon commented 1 month ago

after chown-ing and chmod-ing that chrome-sandbox file, it seems to be working.

andelf commented 1 month ago

Does the .zip release for Linux work?

p-gentili commented 3 weeks ago

I know this is not officially supported, and the bug you reported should be definitely fixed, but the snap works perfectly fine on noble. Until this get fixed it could be a workaround for you.