anything-llm icon indicating copy to clipboard operation
anything-llm copied to clipboard

[BUG]: can't upload .pdf or .docx files that are only 2~3MB with ollama embedding

Open zxjhellow2 opened this issue 1 week ago • 1 comments

How are you running AnythingLLM?

Docker (remote machine)

What happened?

Image

Are there known steps to reproduce?

some settings:

Image

Image

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

zxjhellow2 avatar Feb 20 '25 09:02 zxjhellow2