anything-llm
anything-llm copied to clipboard
[BUG]: can't upload .pdf or .docx files that are only 2~3MB with ollama embedding
How are you running AnythingLLM?
Docker (remote machine)
What happened?
Are there known steps to reproduce?
some settings:
the steps to run AnythingLLM
export STORAGE_LOCATION=/home/zhaojh/anythingllm &&
mkdir -p $STORAGE_LOCATION &&
touch "$STORAGE_LOCATION/.env"
sudo 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
and then run the docker container
docker run -d
--name anythingllm
--add-host=host.docker.internal:host-gateway
--env STORAGE_DIR=/app/server/storage
--health-cmd "/bin/bash /usr/local/bin/docker-healthcheck.sh || exit 1"
--health-interval 60s
--health-start-period 60s
--health-timeout 10s
-p 3001:3001/tcp
--restart=always
--user anythingllm
-v ${STORAGE_LOCATION}:/app/server/storage
-v ${STORAGE_LOCATION}/.env:/app/server/.env
-w /app
mintplexlabs/anythingllm