[GH-ISSUE #84] PermissionError: [Errno 13] Permission denied: './outputs/website-logs' #54

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

Originally created by @aHardReset on GitHub (Jun 18, 2023).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/84

Running the project with Docker on Windows

Running docker commands in WSL2 Ubuntu:

docker-compose up -d --build
sudo docker exec -it --workdir=/app/collector anything-llm python main.py

When using collector main.py with
Article or Blog Link(s) > URL Crawler

I got:

PermissionError: [Errno 13] Permission denied: './outputs/website-logs'

I tried to do

echo "$(id -u):$(id -g)"

in the Ubuntu terminal, and it reports 1000:1000

From the Readme:

About UID and GID in the ENV

  • The UID and GID are set to 1000 by default. This is the default user in the Docker container and on most host operating systems. If there is a mismatch between your host user UID and GID and what is set in the .env file, you may experience permission issues.

But they are matching.

Originally created by @aHardReset on GitHub (Jun 18, 2023). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/84 Running the project with Docker on Windows Running docker commands in WSL2 Ubuntu: ``` docker-compose up -d --build sudo docker exec -it --workdir=/app/collector anything-llm python main.py ``` When using collector main.py with `Article or Blog Link(s) > URL Crawler` I got: `PermissionError: [Errno 13] Permission denied: './outputs/website-logs'` I tried to do `echo "$(id -u):$(id -g)"` in the Ubuntu terminal, and it reports 1000:1000 From the Readme: ## About UID and GID in the ENV - The UID and GID are set to 1000 by default. This is the default user in the Docker container and on most host operating systems. If there is a mismatch between your host user UID and GID and what is set in the `.env` file, you may experience permission issues. But they are matching.
yindo added the questionDocker labels 2026-02-22 18:17:42 -05:00
yindo closed this issue 2026-02-22 18:17:42 -05:00
Author
Owner

@jlevy-io commented on GitHub (Jun 25, 2023):

Same issue for me. Fixed by running chmod -R 777 outputs in the /collector folder. Not sure if this is best practice but it worked 🤷

@jlevy-io commented on GitHub (Jun 25, 2023): Same issue for me. Fixed by running `chmod -R 777 outputs` in the /collector folder. Not sure if this is best practice but it worked 🤷
yindo changed title from PermissionError: [Errno 13] Permission denied: './outputs/website-logs' to [GH-ISSUE #84] PermissionError: [Errno 13] Permission denied: './outputs/website-logs' 2026-06-05 14:33:13 -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#54