[GH-ISSUE #2738] [BUG]: Can't start desktop app on ubuntu, sandboxing issue #1756

Closed
opened 2026-02-22 18:26:23 -05:00 by yindo · 5 comments
Owner

Originally created by @dacou-rca on GitHub (Nov 29, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2738

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

After installation on ubuntu using the provided script,i get this error when launching with ./AnythingLLMDesktop/start :

[306733:1129/152127.691509: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/xxx/AnythingLLMDesktop/anythingllm-desktop/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Are there known steps to reproduce?

No response

Originally created by @dacou-rca on GitHub (Nov 29, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2738 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? After installation on ubuntu using the provided script,i get this error when launching with `./AnythingLLMDesktop/start` : ``` [306733:1129/152127.691509: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/xxx/AnythingLLMDesktop/anythingllm-desktop/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap (core dumped) ``` ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:26:23 -05:00
yindo closed this issue 2026-02-22 18:26:23 -05:00
Author
Owner

@mgrecar commented on GitHub (Nov 30, 2024):

I encountered the same issue. From my experience with running Obsidian as an AppImage file, I made the following change to the start script at line 43:

exec "$BIN" "--no-sandbox"

And it fired up. I'm not sure that's the right long term solution, but it let me at least get started.

@mgrecar commented on GitHub (Nov 30, 2024): I encountered the same issue. From my experience with running Obsidian as an AppImage file, I made the following change to the start script at line 43: ``` exec "$BIN" "--no-sandbox" ``` And it fired up. I'm not sure that's the right long term solution, but it let me at least get started.
Author
Owner

@timothycarambat commented on GitHub (Dec 4, 2024):

Are you running the AppImage as root? Other than that the file permissions in the error message would resolve this

Related doc I've used before
https://authmane512.medium.com/solve-the-suid-sandbox-helper-binary-was-found-but-is-not-configured-correctly-3-solutions-4f1425a9a76c

@timothycarambat commented on GitHub (Dec 4, 2024): Are you running the AppImage as root? Other than that the file permissions in the error message would resolve this Related doc I've used before https://authmane512.medium.com/solve-the-suid-sandbox-helper-binary-was-found-but-is-not-configured-correctly-3-solutions-4f1425a9a76c
Author
Owner

@mgrecar commented on GitHub (Dec 5, 2024):

I just used the recommended Linux installer script and directions here: https://docs.anythingllm.com/installation-desktop/linux#install-using-the-installer-script. There was no mention of running it as root. Perhaps the start script out to make changes to avoid needing to run as root? This seems like a problem literally everyone using that script will have.

@mgrecar commented on GitHub (Dec 5, 2024): I just used the recommended Linux installer script and directions here: https://docs.anythingllm.com/installation-desktop/linux#install-using-the-installer-script. There was no mention of running it as root. Perhaps the start script out to make changes to avoid needing to run as root? This seems like a problem literally everyone using that script will have.
Author
Owner

@rocko-mx commented on GitHub (Mar 11, 2025):

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

After installation on ubuntu using the provided script,i get this error when launching with ./AnythingLLMDesktop/start :

[306733:1129/152127.691509: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/xxx/AnythingLLMDesktop/anythingllm-desktop/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Are there known steps to reproduce?

No response

Hello there,

I just installed AnythingLLM on my brand new Ubuntu 24.04 setup, and found that after the install script finishes we need to run this commands:

cd AnythingLLMDesktop/anythingllm-desktop/
sudo chown root:root chrome-sandbox
sudo chmod 4755 chrome-sandbox

and then return to your $HOME_DIR and you can start the desktop with:

./AnythingLLMDesktop/start

But I still not able to make it work properly:

Image

Any idea on this will be very much appreciated.

@rocko-mx commented on GitHub (Mar 11, 2025): > ### How are you running AnythingLLM? > AnythingLLM desktop app > > ### What happened? > After installation on ubuntu using the provided script,i get this error when launching with `./AnythingLLMDesktop/start` : > > ``` > [306733:1129/152127.691509: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/xxx/AnythingLLMDesktop/anythingllm-desktop/chrome-sandbox is owned by root and has mode 4755. > Trace/breakpoint trap (core dumped) > ``` > > ### Are there known steps to reproduce? > _No response_ Hello there, I just installed AnythingLLM on my brand new Ubuntu 24.04 setup, and found that after the install script finishes we need to run this commands: `cd AnythingLLMDesktop/anythingllm-desktop/` `sudo chown root:root chrome-sandbox` `sudo chmod 4755 chrome-sandbox` and then return to your $HOME_DIR and you can start the desktop with: `./AnythingLLMDesktop/start` But I still not able to make it work properly: ![Image](https://github.com/user-attachments/assets/c9206527-85d8-4ce1-8ccd-a9eb4e2c1843) Any idea on this will be very much appreciated.
Author
Owner

@timothycarambat commented on GitHub (Mar 11, 2025):

@rocko-mx - the built in AnythingLLM LLM runner does not run on Linux (it shouldn't even be selectable or usable). If you want to run ollama you need to run that outside of AnythingLLM and let AnythingLLM connect to it. That is why.

@timothycarambat commented on GitHub (Mar 11, 2025): @rocko-mx - the built in AnythingLLM LLM runner does not run on Linux (it shouldn't even be selectable or usable). If you want to run ollama you need to run that outside of AnythingLLM and let AnythingLLM connect to it. That is why.
yindo changed title from [BUG]: Can't start desktop app on ubuntu, sandboxing issue to [GH-ISSUE #2738] [BUG]: Can't start desktop app on ubuntu, sandboxing issue 2026-06-05 14:42:31 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1756