[GH-ISSUE #3716] [BUG]: FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. #2393

Closed
opened 2026-02-22 18:29:28 -05:00 by yindo · 1 comment
Owner

Originally created by @fahrettine on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3716

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Hi,

When I try to run AnythingLLM Desktop on Ubuntu 25.05 I get the error below:

FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported.

What should I do? Thanks....

Are there known steps to reproduce?

No response

Originally created by @fahrettine on GitHub (Apr 25, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3716 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Hi, When I try to run AnythingLLM Desktop on Ubuntu 25.05 I get the error below: -------- FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. --------- What should I do? Thanks.... ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:29:28 -05:00
yindo closed this issue 2026-02-22 18:29:28 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 25, 2025):

Related to running chromium as non-root

you do not need to run AnythingLLM as root - Chromium does sandboxing for security so root only needs to run the chrome-sandbox file to make a sandbox

sudo chown root:root chrome-sandbox
sudo chmod 4755 chrome-sandbox
@timothycarambat commented on GitHub (Apr 25, 2025): [Related to running chromium as non-root](https://github.com/Mintplex-Labs/anything-llm/issues/2738#issuecomment-2518989211) _you **do not need to run AnythingLLM as root** - Chromium does sandboxing for security so root only needs to run the chrome-sandbox file to make a sandbox_ ``` sudo chown root:root chrome-sandbox sudo chmod 4755 chrome-sandbox ```
yindo changed title from [BUG]: FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. to [GH-ISSUE #3716] [BUG]: FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. 2026-06-05 14:46:18 -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#2393