[GH-ISSUE #3910] Unknown system error -122: Unknown system error -122, unlink '/app/server/node_modules/.prisma/client/index.js' #2492

Closed
opened 2026-02-22 18:29:55 -05:00 by yindo · 1 comment
Owner

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

How are you running AnythingLLM?

Docker (local)

What happened?

just running the app using docker throw the following errors:

anythingllm  | [collector] info: [TikTokenTokenizer] Initialized new TikTokenTokenizer instance.
anythingllm  | [collector] info: Collector hot directory and tmp storage wiped!
anythingllm  | [collector] info: Document processor app listening on port 8888
anythingllm  | Environment variables loaded from .env
anythingllm  | Prisma schema loaded from prisma/schema.prisma
anythingllm  | Error: 
anythingllm  | Unknown system error -122: Unknown system error -122, unlink '/app/server/node_modules/.prisma/client/index.js'
anythingllm  | 
anythingllm  | 
anythingllm  | npm notice
anythingllm  | npm notice New major version of npm available! 10.8.2 -> 11.4.1
anythingllm  | npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1
anythingllm  | npm notice To update run: npm install -g npm@11.4.1
anythingllm  | npm notice
anythingllm exited with code 0

Are there known steps to reproduce?

No response

Originally created by @AbanoubNassem on GitHub (May 29, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3910 ### How are you running AnythingLLM? Docker (local) ### What happened? just running the app using docker throw the following errors: ``` anythingllm | [collector] info: [TikTokenTokenizer] Initialized new TikTokenTokenizer instance. anythingllm | [collector] info: Collector hot directory and tmp storage wiped! anythingllm | [collector] info: Document processor app listening on port 8888 anythingllm | Environment variables loaded from .env anythingllm | Prisma schema loaded from prisma/schema.prisma anythingllm | Error: anythingllm | Unknown system error -122: Unknown system error -122, unlink '/app/server/node_modules/.prisma/client/index.js' anythingllm | anythingllm | anythingllm | npm notice anythingllm | npm notice New major version of npm available! 10.8.2 -> 11.4.1 anythingllm | npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.1 anythingllm | npm notice To update run: npm install -g npm@11.4.1 anythingllm | npm notice anythingllm exited with code 0 ``` ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:29:55 -05:00
yindo closed this issue 2026-02-22 18:29:55 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 3, 2025):

Permissioning most likely, chmod the storage folder you are using. Part of the startup process is the prisma engine being pulled or compiled against the machine's supported prisma runtime. Also more information on the machine you are using would help since the failure comes from inside the container

@timothycarambat commented on GitHub (Jun 3, 2025): Permissioning most likely, `chmod` the storage folder you are using. Part of the startup process is the prisma engine being pulled or compiled against the machine's supported prisma runtime. Also more information on the machine you are using would help since the failure comes from inside the container
yindo changed title from Unknown system error -122: Unknown system error -122, unlink '/app/server/node_modules/.prisma/client/index.js' to [GH-ISSUE #3910] Unknown system error -122: Unknown system error -122, unlink '/app/server/node_modules/.prisma/client/index.js' 2026-06-05 14:46:53 -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#2492