Mintplex-Labs / anything-llm

The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, and more.
https://anythingllm.com
MIT License
26.52k stars 2.65k forks source link

Vector DB not Connecting after docker container restart #1127

Closed mdibiaso152 closed 6 months ago

mdibiaso152 commented 6 months ago

How are you running AnythingLLM?

Docker (local)

What happened?

After I restarted my docker container, I was unable to upload new documents to the instance, and my old files aren't showing the UI. I am sometimes given this error:

LanceDBError: LanceError(IO): Error parsing Path "/app/server/"/app/server/storage"/lancedb": Encountered illegal character sequence """ whilst parsing path segment """

Screen Shot 2024-04-18 at 2 32 16 PM

Are there known steps to reproduce?

No response

timothycarambat commented 6 months ago

You need to check your STORAGE_DIR env that is in the folder of wherever you can binding docker storage to. It seems to have two strings saved to it and it should just be STORAGE_DIR="/app/server/storage"