[GH-ISSUE #1974] [BUG]: LanceDB::Invalid ENV settings #1280

Closed
opened 2026-02-22 18:24:04 -05:00 by yindo · 8 comments
Owner

Originally created by @win32fk on GitHub (Jul 25, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1974

How are you running AnythingLLM?

Docker (local)

What happened?

when i move a document to workspace and save embed ,then it toast a " LanceDB::Invalid ENV settings " message.

after minutes:
try again ,it. works .

what is the problem?

Are there known steps to reproduce?

No response

Originally created by @win32fk on GitHub (Jul 25, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1974 ### How are you running AnythingLLM? Docker (local) ### What happened? when i move a document to workspace and save embed ,then it toast a " LanceDB::Invalid ENV settings " message. after minutes: try again ,it. works . what is the problem? ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:24:04 -05:00
yindo closed this issue 2026-02-22 18:24:04 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jul 26, 2024):

This is almost certainly an issue with your setup - did you run the docker container using the command in This documentation?

What vector database are you using? If the ENV is wrong it should not be temporary - it would be broken until it is fixed.

@timothycarambat commented on GitHub (Jul 26, 2024): This is almost certainly an issue with your setup - did you run the docker container using the command in [This documentation](https://github.com/Mintplex-Labs/anything-llm/blob/master/docker/HOW_TO_USE_DOCKER.md)? What vector database are you using? If the ENV is wrong it should not be temporary - it would be broken until it is fixed.
Author
Owner

@win32fk commented on GitHub (Jul 26, 2024):

I'm not use that documentation ,and not set env . i think it works by default .

@win32fk commented on GitHub (Jul 26, 2024): I'm not use that documentation ,and not set env . i think it works by default .
Author
Owner

@timothycarambat commented on GitHub (Jul 26, 2024):

Ah, then that for sure would lead to issues - if you just boot the container with no .env you can get a lot of very weird issues like the one listed here.

@timothycarambat commented on GitHub (Jul 26, 2024): Ah, then that for sure would lead to issues - if you just boot the container with no .env you can get a lot of very weird issues like the one listed here.
Author
Owner

@dbcalo commented on GitHub (Aug 18, 2025):

I encountered this issue. I installed AnythingLLM on TrueNAS scale 25.04.2.1, and the error started after I rebooted. The only apparent solution is to uninstall AnythingLLM and start over.

@dbcalo commented on GitHub (Aug 18, 2025): I encountered this issue. I installed AnythingLLM on TrueNAS scale 25.04.2.1, and the error started after I rebooted. The only apparent solution is to uninstall AnythingLLM and start over.
Author
Owner

@timothycarambat commented on GitHub (Aug 18, 2025):

This was a bug briefly for 1.8.5 - it was patched in 1.8.5-r2 shortly after

@timothycarambat commented on GitHub (Aug 18, 2025): This was a bug briefly for 1.8.5 - it was patched in 1.8.5-r2 shortly after
Author
Owner

@drdreamm commented on GitHub (Aug 27, 2025):

I just need to save LANCEDB as vector DB

@drdreamm commented on GitHub (Aug 27, 2025): I just need to save LANCEDB as vector DB
Author
Owner

@austingsmith commented on GitHub (Oct 14, 2025):

I encountered this issue. I installed AnythingLLM on TrueNAS scale 25.04.2.1, and the error started after I rebooted. The only apparent solution is to uninstall AnythingLLM and start over.

I think this is an issue w/ the docker container on that platform. I too suffer the same - it appears the location where these settings are stored is not properly mapped to a host file directory which will erase configuration settings upon redeployment of the container.

@austingsmith commented on GitHub (Oct 14, 2025): > I encountered this issue. I installed AnythingLLM on TrueNAS scale 25.04.2.1, and the error started after I rebooted. The only apparent solution is to uninstall AnythingLLM and start over. I think this is an issue w/ the docker container on that platform. I too suffer the same - it appears the location where these settings are stored is not properly mapped to a host file directory which will erase configuration settings upon redeployment of the container.
Author
Owner

@timothycarambat commented on GitHub (Oct 14, 2025):

There is a big warning message if you dont have STORAGE_DIR set
https://github.com/Mintplex-Labs/anything-llm/blob/6270a0a189d34153d5e9e6b255a6d797bf8d3096/docker/docker-entrypoint.sh#L4-L17

This is explicitly outlined in the HOW TO USE DOCKER file in the docker folder
https://github.com/Mintplex-Labs/anything-llm/blob/6270a0a189d34153d5e9e6b255a6d797bf8d3096/docker/HOW_TO_USE_DOCKER.md?plain=1#L34-L36

This is additionally said on our actual docs page
https://docs.anythingllm.com/installation-docker/quickstart#start-anythingllm-via-docker
https://docs.anythingllm.com/installation-docker/local-docker#run-the-image

If it is not set, storage is in the container, it will be deleted with the container on removal

@timothycarambat commented on GitHub (Oct 14, 2025): There is a big warning message if you dont have STORAGE_DIR set https://github.com/Mintplex-Labs/anything-llm/blob/6270a0a189d34153d5e9e6b255a6d797bf8d3096/docker/docker-entrypoint.sh#L4-L17 This is explicitly outlined in the HOW TO USE DOCKER file in the docker folder https://github.com/Mintplex-Labs/anything-llm/blob/6270a0a189d34153d5e9e6b255a6d797bf8d3096/docker/HOW_TO_USE_DOCKER.md?plain=1#L34-L36 This is additionally said on our actual docs page https://docs.anythingllm.com/installation-docker/quickstart#start-anythingllm-via-docker https://docs.anythingllm.com/installation-docker/local-docker#run-the-image If it is not set, storage is in the container, it will be deleted with the container on removal
yindo changed title from [BUG]: LanceDB::Invalid ENV settings to [GH-ISSUE #1974] [BUG]: LanceDB::Invalid ENV settings 2026-06-05 14:39:54 -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#1280