[GH-ISSUE #1071] [BUG]: Error uploading link: A processing error occurred When trying to fetch website #660

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

Originally created by @troymroberts on GitHub (Apr 9, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1071

How are you running AnythingLLM?

Docker (local)

What happened?

Can upload documents to a workspace just fine, however when i try to add a website via fetch website get the following error:

Error uploading link: A processing error occurred

Are there known steps to reproduce?

No response

Originally created by @troymroberts on GitHub (Apr 9, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1071 ### How are you running AnythingLLM? Docker (local) ### What happened? Can upload documents to a workspace just fine, however when i try to add a website via fetch website get the following error: Error uploading link: A processing error occurred ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:41 -05:00
yindo closed this issue 2026-02-22 18:20:41 -05:00
Author
Owner

@timothycarambat commented on GitHub (Apr 9, 2024):

Docker (local)

Assuming you are using docker then. You should be using the command found in our Docker docs. The command for starting a container

export STORAGE_LOCATION=$HOME/anythingllm && \
mkdir -p $STORAGE_LOCATION && \
touch "$STORAGE_LOCATION/.env" && \
docker run -d -p 3001:3001 \
--cap-add SYS_ADMIN \
-v ${STORAGE_LOCATION}:/app/server/storage \
-v ${STORAGE_LOCATION}/.env:/app/server/.env \
-e STORAGE_DIR="/app/server/storage" \
mintplexlabs/anythingllm

Here, the critical item is --cap-add SYS_ADMIN as without this argument we cannot open Puppeteer in a sandboxed environment and it will fail to execute the scraping of a website.

Worth noting that some "one-click docker deployment" sites like Render and Railway intentionally block this command or do not allow running custom docker commands. So this functionality does not work.

@timothycarambat commented on GitHub (Apr 9, 2024): > Docker (local) Assuming you are using docker then. You should be using the command found in our [Docker docs](https://github.com/Mintplex-Labs/anything-llm/blob/master/docker/HOW_TO_USE_DOCKER.md#how-to-use-dockerized-anything-llm). The command for starting a container ``` export STORAGE_LOCATION=$HOME/anythingllm && \ mkdir -p $STORAGE_LOCATION && \ touch "$STORAGE_LOCATION/.env" && \ docker run -d -p 3001:3001 \ --cap-add SYS_ADMIN \ -v ${STORAGE_LOCATION}:/app/server/storage \ -v ${STORAGE_LOCATION}/.env:/app/server/.env \ -e STORAGE_DIR="/app/server/storage" \ mintplexlabs/anythingllm ``` Here, the critical item is `--cap-add SYS_ADMIN` as without this argument we cannot open Puppeteer in a sandboxed environment and it will fail to execute the scraping of a website. Worth noting that some "one-click docker deployment" sites like Render and Railway intentionally block this command or do not allow running custom docker commands. So this functionality does not work.
Author
Owner

@flijun commented on GitHub (Feb 2, 2025):

我发现我上传的文件名里有引号,删除就好了

@flijun commented on GitHub (Feb 2, 2025): 我发现我上传的文件名里有引号,删除就好了
yindo changed title from [BUG]: Error uploading link: A processing error occurred When trying to fetch website to [GH-ISSUE #1071] [BUG]: Error uploading link: A processing error occurred When trying to fetch website 2026-06-05 14:36: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#660