[GH-ISSUE #3877] [BUG]: LanceDB error when AnythingLLM storage folder is mounted on External SSD #2473

Closed
opened 2026-02-22 18:29:50 -05:00 by yindo · 2 comments
Owner

Originally created by @josephlugo on GitHub (May 25, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3877

How are you running AnythingLLM?

Docker (local)

What happened?

When tried to embed and save any file to the workspace:

addDocumentToNamespace lance error: LanceError(IO): Generic LocalFileSystem error: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95), /home/build_user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-table-0.22.0/src/io/commit.rs:888:54 Caused by: LanceError(IO): Generic LocalFileSystem error: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95), /home/build_user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-table-0.22.0/src/io/commit.rs:888:54 Caused by: Generic LocalFileSystem error: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95) Caused by: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95) Caused by: Operation not supported (os error 95)

Are there known steps to reproduce?

1- Run docker image using the following command to install storage location to an external SSD, example:

export STORAGE_LOCATION=/Volumes/YourExternalDriveHere/anythingllm &&
mkdir -p $STORAGE_LOCATION &&
touch "$STORAGE_LOCATION/.env" &&
docker run -d --restart=always -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"
--name anythingllm
mintplexlabs/anythingllm

2- Attach and save any file to the workspace.

Image

Originally created by @josephlugo on GitHub (May 25, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3877 ### How are you running AnythingLLM? Docker (local) ### What happened? When tried to embed and save any file to the workspace: addDocumentToNamespace lance error: LanceError(IO): Generic LocalFileSystem error: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95), /home/build_user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-table-0.22.0/src/io/commit.rs:888:54 Caused by: LanceError(IO): Generic LocalFileSystem error: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95), /home/build_user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lance-table-0.22.0/src/io/commit.rs:888:54 Caused by: Generic LocalFileSystem error: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95) Caused by: Unable to copy file from /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest-f1f9a61a-bd25-4b7e-ab0e-558da26181e4 to /app/server/storage/lancedb/finlaz.lance/_versions/1.manifest: Operation not supported (os error 95) Caused by: Operation not supported (os error 95) ### Are there known steps to reproduce? 1- Run docker image using the following command to install storage location to an external SSD, example: export STORAGE_LOCATION=/Volumes/**YourExternalDriveHere**/anythingllm && \ mkdir -p $STORAGE_LOCATION && \ touch "$STORAGE_LOCATION/.env" && \ docker run -d --restart=always -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" \ --name anythingllm \ mintplexlabs/anythingllm 2- Attach and save any file to the workspace. ![Image](https://github.com/user-attachments/assets/02683758-f8a8-4c7d-bd23-8e179041b454)
yindo added the possible bug label 2026-02-22 18:29:50 -05:00
yindo closed this issue 2026-02-22 18:29:50 -05:00
Author
Owner

@timothycarambat commented on GitHub (May 25, 2025):

This has been reported before, and it is out of scope for AnythingLLM That being said, the technical reason is exactly as reported - the filesystem on the external disk blocks the copy op typically solved by permission changes on the directory you are using
https://github.com/Mintplex-Labs/anything-llm/issues/1825

@timothycarambat commented on GitHub (May 25, 2025): This has been reported before, and it is out of scope for AnythingLLM That being said, the technical reason is exactly as reported - the filesystem on the external disk blocks the copy op _typically_ solved by permission changes on the directory you are using https://github.com/Mintplex-Labs/anything-llm/issues/1825
Author
Owner

@josephlugo commented on GitHub (May 25, 2025):

I resolved the issue by reformatting the external drive to APFS. It was previously formatted as exFAT, which is known to have problems with hard links.

Thanks again!

@josephlugo commented on GitHub (May 25, 2025): I resolved the issue by reformatting the external drive to APFS. It was previously formatted as exFAT, which is known to have problems with hard links. Thanks again!
yindo changed title from [BUG]: LanceDB error when AnythingLLM storage folder is mounted on External SSD to [GH-ISSUE #3877] [BUG]: LanceDB error when AnythingLLM storage folder is mounted on External SSD 2026-06-05 14:46:46 -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#2473