[GH-ISSUE #3994] [BUG]: Bulk Scraping Not Working in Docker #2538

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

Originally created by @Sarmingsteiner on GitHub (Jun 13, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3994

How are you running AnythingLLM?

Docker (local)

What happened?

Hi,

Bulk scraping is not working with the default Docker setup. The container runs with:

user: root
cap_add: SYS_ADMIN

Still, I get this error:

[collector] error: Failed to scrape https://www.xyz.td/... Error: Could not find Chrome (ver. 119.0.6045.105). This can occur if either:
1. you did not perform an installation before running the script (e.g. `npm install`)
2. your cache path is incorrectly configured (which is: /root/.cache/puppeteer)

Seems like Puppeteer is not finding or installing Chromium inside the container.
Please advise if an extra installation step is needed or if the image is missing dependencies.

Thanks!

Are there known steps to reproduce?

No response

Originally created by @Sarmingsteiner on GitHub (Jun 13, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3994 ### How are you running AnythingLLM? Docker (local) ### What happened? Hi, Bulk scraping is not working with the default Docker setup. The container runs with: ``` user: root cap_add: SYS_ADMIN ``` Still, I get this error: ``` [collector] error: Failed to scrape https://www.xyz.td/... Error: Could not find Chrome (ver. 119.0.6045.105). This can occur if either: 1. you did not perform an installation before running the script (e.g. `npm install`) 2. your cache path is incorrectly configured (which is: /root/.cache/puppeteer) ``` Seems like Puppeteer is not finding or installing Chromium inside the container. Please advise if an extra installation step is needed or if the image is missing dependencies. Thanks! ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:30:07 -05:00
yindo closed this issue 2026-02-22 18:30:07 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 13, 2025):

Unable to replicate - since it is Docker is there something wrong/different with your start command?
Additional question: Are you an ARM?

On clean machine I just docker pull mintplexlabs/anythingllm

Run the official command: https://docs.anythingllm.com/installation-docker/quickstart
Then bulk scrape any site with deep links

[collector] info: Discovering links...
[collector] info: Found 20 links to scrape.
[collector] info: Starting bulk scraping...
[collector] info: Scraping 1/20: https://docs.anythingllm.com/chat-ui
[collector] info: [TikTokenTokenizer] Input will take too long to encode - estimating
[collector] info: Successfully scraped https://docs.anythingllm.com/chat-ui.
[collector] info: Scraping 2/20: https://docs.anythingllm.com/
[collector] info: Successfully scraped https://docs.anythingllm.com/.
...
[collector] info: Successfully scraped https://docs.anythingllm.com/features/system-prompt-variables.
[collector] info: Scraping 19/20: https://docs.anythingllm.com/setup/embedder-configuration/overview
[collector] info: Successfully scraped https://docs.anythingllm.com/setup/embedder-configuration/overview.
[collector] info: Scraping 20/20: https://docs.anythingllm.com/setup/embedder-configuration/local/built-in
[collector] info: Successfully scraped https://docs.anythingllm.com/setup/embedder-configuration/local/built-in.
[collector] info: Scraped 20 pages.
@timothycarambat commented on GitHub (Jun 13, 2025): Unable to replicate - since it is Docker is there something wrong/different with your start command? Additional question: Are you an ARM? On clean machine I just `docker pull mintplexlabs/anythingllm` Run the official command: https://docs.anythingllm.com/installation-docker/quickstart Then bulk scrape any site with deep links ``` [collector] info: Discovering links... [collector] info: Found 20 links to scrape. [collector] info: Starting bulk scraping... [collector] info: Scraping 1/20: https://docs.anythingllm.com/chat-ui [collector] info: [TikTokenTokenizer] Input will take too long to encode - estimating [collector] info: Successfully scraped https://docs.anythingllm.com/chat-ui. [collector] info: Scraping 2/20: https://docs.anythingllm.com/ [collector] info: Successfully scraped https://docs.anythingllm.com/. ... [collector] info: Successfully scraped https://docs.anythingllm.com/features/system-prompt-variables. [collector] info: Scraping 19/20: https://docs.anythingllm.com/setup/embedder-configuration/overview [collector] info: Successfully scraped https://docs.anythingllm.com/setup/embedder-configuration/overview. [collector] info: Scraping 20/20: https://docs.anythingllm.com/setup/embedder-configuration/local/built-in [collector] info: Successfully scraped https://docs.anythingllm.com/setup/embedder-configuration/local/built-in. [collector] info: Scraped 20 pages. ```
yindo changed title from [BUG]: Bulk Scraping Not Working in Docker to [GH-ISSUE #3994] [BUG]: Bulk Scraping Not Working in Docker 2026-06-05 14:47:07 -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#2538