[GH-ISSUE #4099] [BUG]: No brower/puppeteer support in docker #2613

Closed
opened 2026-02-22 18:30:27 -05:00 by yindo · 2 comments
Owner

Originally created by @jeepshop on GitHub (Jul 7, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4099

How are you running AnythingLLM?

Docker (local)

What happened?

Running Debian 12 (bookworm)

Docker Installation AnythingLLM as followes

docker run -d  
--network=host 
--name anythingllm  
--restart always 
-v /var/lib/docker/volumes/anythingllm:/app/server/storage 
-v /var/lib/docker/volumes/anythingllm/.env:/app/server/.env 
-e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm 

Tried to scan the following SDK page

Image

And I get the following logs

[collector] info: Found 1 links to scrape.
[collector] info: Starting bulk scraping...
[collector] info: Scraping 1/1: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/
[collector] error: Failed to scrape https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/. Error: Failed to launch the browser process!
[1687:1687:0707/181114.565151:FATAL:zygote_host_impl_linux.cc(127)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
[0707/181114.577394:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0707/181114.577523:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)


TROUBLESHOOTING: https://pptr.dev/troubleshooting

    at Interface.onClose (file:///app/collector/node_modules/@puppeteer/browsers/lib/esm/launch.js:262:24)
    at Interface.emit (node:events:529:35)
    at Interface.close (node:internal/readline/interface:534:10)
    at Socket.onend (node:internal/readline/interface:260:10)
    at Socket.emit (node:events:529:35)
    at endReadableNT (node:internal/streams/readable:1400:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[collector] info: Scraped 0 pages.
[backend] info: [TELEMETRY SENT] {"event":"extension_invoked","distinctId":"98b54deb-b8e3-40fe-85fe-9ec0b0445f9a","properties":{"type":"website_depth","runtime":"docker"}}

Are there known steps to reproduce?

  1. Install docker version of AnythingLLM
  2. Setup RAG - Ollama, nomic-embed-text:latest, qdrant server latest
  3. Try to add RAG a page with the "Data Connectors" dialog.
  4. Logs show chromium+puppeteer errors
Originally created by @jeepshop on GitHub (Jul 7, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4099 ### How are you running AnythingLLM? Docker (local) ### What happened? Running Debian 12 (bookworm) Docker Installation AnythingLLM as followes ```bash docker run -d --network=host --name anythingllm --restart always -v /var/lib/docker/volumes/anythingllm:/app/server/storage -v /var/lib/docker/volumes/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm ``` Tried to scan the following SDK page <img width="844" height="421" alt="Image" src="https://github.com/user-attachments/assets/d43625e9-0e64-4349-ab82-6aa0c79bfb80" /> And I get the following logs ```log [collector] info: Found 1 links to scrape. [collector] info: Starting bulk scraping... [collector] info: Scraping 1/1: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/ [collector] error: Failed to scrape https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/. Error: Failed to launch the browser process! [1687:1687:0707/181114.565151:FATAL:zygote_host_impl_linux.cc(127)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox. [0707/181114.577394:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2) [0707/181114.577523:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2) TROUBLESHOOTING: https://pptr.dev/troubleshooting at Interface.onClose (file:///app/collector/node_modules/@puppeteer/browsers/lib/esm/launch.js:262:24) at Interface.emit (node:events:529:35) at Interface.close (node:internal/readline/interface:534:10) at Socket.onend (node:internal/readline/interface:260:10) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [collector] info: Scraped 0 pages. [backend] info: [TELEMETRY SENT] {"event":"extension_invoked","distinctId":"98b54deb-b8e3-40fe-85fe-9ec0b0445f9a","properties":{"type":"website_depth","runtime":"docker"}} ``` ### Are there known steps to reproduce? 1) Install docker version of AnythingLLM 2) Setup RAG - Ollama, nomic-embed-text:latest, qdrant server latest 3) Try to add RAG a page with the "Data Connectors" dialog. 4) Logs show chromium+puppeteer errors
yindo added the possible bug label 2026-02-22 18:30:27 -05:00
yindo closed this issue 2026-02-22 18:30:27 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jul 7, 2025):

Use the official command
https://docs.anythingllm.com/installation-docker/quickstart

--cap-add command allows the chrome sandbox to run and thus allows safer webscraping

@timothycarambat commented on GitHub (Jul 7, 2025): Use the official command https://docs.anythingllm.com/installation-docker/quickstart `--cap-add` command allows the chrome sandbox to run and thus allows safer webscraping
Author
Owner

@jeepshop commented on GitHub (Jul 8, 2025):

Wow thanks. I'd been running without that flag for a long time it seems.

On Mon, Jul 7, 2025 at 4:09 PM Timothy Carambat @.***>
wrote:

timothycarambat left a comment (Mintplex-Labs/anything-llm#4099)
https://github.com/Mintplex-Labs/anything-llm/issues/4099#issuecomment-3046389414

Use the official command
https://docs.anythingllm.com/installation-docker/quickstart

--cap-add command allows the chrome sandbox to run and thus allows safer
webscraping


Reply to this email directly, view it on GitHub
https://github.com/Mintplex-Labs/anything-llm/issues/4099#issuecomment-3046389414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF6EMS4O7CNTEDABO4GIP3L3HLHX3AVCNFSM6AAAAACA67FEDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANBWGM4DSNBRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@jeepshop commented on GitHub (Jul 8, 2025): Wow thanks. I'd been running without that flag for a long time it seems. On Mon, Jul 7, 2025 at 4:09 PM Timothy Carambat ***@***.***> wrote: > *timothycarambat* left a comment (Mintplex-Labs/anything-llm#4099) > <https://github.com/Mintplex-Labs/anything-llm/issues/4099#issuecomment-3046389414> > > Use the official command > https://docs.anythingllm.com/installation-docker/quickstart > > --cap-add command allows the chrome sandbox to run and thus allows safer > webscraping > > — > Reply to this email directly, view it on GitHub > <https://github.com/Mintplex-Labs/anything-llm/issues/4099#issuecomment-3046389414>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AF6EMS4O7CNTEDABO4GIP3L3HLHX3AVCNFSM6AAAAACA67FEDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANBWGM4DSNBRGQ> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
yindo changed title from [BUG]: No brower/puppeteer support in docker to [GH-ISSUE #4099] [BUG]: No brower/puppeteer support in docker 2026-06-05 14:47:33 -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#2613