[GH-ISSUE #702] [BUG]: GCP cloud deploy #404

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

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

How are you running AnythingLLM?

Docker (remote machine)

What happened?

In the gcp_deploy_anything_llm.yaml file, you have this command:
mkdir -p /home/anythingllm
This is made by root, when you run this:
sudo docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v /home/anythingllm:/app/server/storage -v /home/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:master
echo "Container ID: $(sudo docker ps --latest --quiet)"
it will bring you an error as the user anythingllm can't access file system /home/anythingllm. It's a silent error and you can see in logs but the container stops working.
Easy fix but not the best one is to use chmod on that directory.

Are there known steps to reproduce?

No response

Originally created by @viscovich on GitHub (Feb 9, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/702 ### How are you running AnythingLLM? Docker (remote machine) ### What happened? In the gcp_deploy_anything_llm.yaml file, you have this command: mkdir -p /home/anythingllm This is made by root, when you run this: sudo docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v /home/anythingllm:/app/server/storage -v /home/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:master echo "Container ID: $(sudo docker ps --latest --quiet)" it will bring you an error as the user anythingllm can't access file system /home/anythingllm. It's a silent error and you can see in logs but the container stops working. Easy fix but not the best one is to use chmod on that directory. ### Are there known steps to reproduce? _No response_
yindo added the documentationDocker labels 2026-02-22 18:19:20 -05:00
yindo closed this issue 2026-02-22 18:19:20 -05:00
yindo changed title from [BUG]: GCP cloud deploy to [GH-ISSUE #702] [BUG]: GCP cloud deploy 2026-06-05 14:35:08 -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#404