[GH-ISSUE #1651] Docker crashes whenever I try to send a message or edit the settings #1076

Closed
opened 2026-02-22 18:23:01 -05:00 by yindo · 3 comments
Owner

Originally created by @Ahmad4kTesting on GitHub (Jun 11, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1651

How are you running AnythingLLM?

Docker (local)

What happened?

I can't get AnythingLLM to work on my Ubuntu 24.04 running on intel Xeon. Connected to Ollama running on the local machine.

I get the following error in the logs:

/usr/local/bin/docker-entrypoint.sh: line 7: 123 Illegal instruction (core dumped) node /app/server/index.js

The full log dump:

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 496ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()

or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)

import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

20 migrations found in prisma/migrations

No pending migrations to apply.
┌─────────────────────────────────────────────────────────┐
│ Update available 5.3.1 -> 5.15.0 │
│ Run the following to update │
│ npm i --save-dev prisma@latest │
│ npm i @prisma/client@latest │
└─────────────────────────────────────────────────────────┘
[TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM.
prisma:info Starting a sqlite pool with 13 connections.
fatal: not a git repository (or any of the parent directories): .git
getGitVersion Command failed: git rev-parse HEAD
fatal: not a git repository (or any of the parent directories): .git

[TELEMETRY SENT] {
event: 'server_boot',
distinctId: '9c10440f-e20f-43c9-b27f-062c6f731e19',
properties: { commit: '--', runtime: 'docker' }
}
[CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services.
Primary server in HTTP mode listening on port 3001
OpenAIError: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
at new OpenAI (/app/server/node_modules/openai/index.js:53:19)
at openAiModels (/app/server/utils/helpers/customModels.js:59:18)
at getCustomModels (/app/server/utils/helpers/customModels.js:29:20)
at /app/server/endpoints/system.js:929:41
at Layer.handle [as handle_request] (/app/server/node_modules/express/lib/router/layer.js:95:5)
at next (/app/server/node_modules/express/lib/router/route.js:149:13)
at validatedRequest (/app/server/utils/middleware/validatedRequest.js:18:5)
[Event Logged] - update_llm_provider
[Event Logged] - update_embedding_engine
[Event Logged] - update_vector_db
[TELEMETRY SENT] {
event: 'workspace_created',
distinctId: '9c10440f-e20f-43c9-b27f-062c6f731e19',
properties: {
multiUserMode: false,
LLMSelection: 'ollama',
Embedder: 'native',
VectorDbSelection: 'lancedb',
runtime: 'docker'
}
}
[Event Logged] - workspace_created
[TELEMETRY SENT] {
event: 'onboarding_complete',
distinctId: '9c10440f-e20f-43c9-b27f-062c6f731e19',
properties: { runtime: 'docker' }
}
[NativeEmbedder] Initialized
/usr/local/bin/docker-entrypoint.sh: line 7: 123 Illegal instruction (core dumped) node /app/server/index.js

I tried to search the closed issues and landed on https://github.com/Mintplex-Labs/anything-llm/issues/1265 which I guess is a similar situation but I'm new to linux and can't wrap my head around the solution

Are there known steps to reproduce?

No response

Originally created by @Ahmad4kTesting on GitHub (Jun 11, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1651 ### How are you running AnythingLLM? Docker (local) ### What happened? I can't get AnythingLLM to work on my Ubuntu 24.04 running on intel Xeon. Connected to Ollama running on the local machine. I get the following error in the logs: > /usr/local/bin/docker-entrypoint.sh: line 7: 123 Illegal instruction (core dumped) node /app/server/index.js The full log dump: > Collector hot directory and tmp storage wiped! > Document processor app listening on port 8888 > Environment variables loaded from .env > Prisma schema loaded from prisma/schema.prisma > > ✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 496ms > > Start using Prisma Client in Node.js (See: https://pris.ly/d/client) > ``` > import { PrismaClient } from '@prisma/client' > const prisma = new PrismaClient() > ``` > or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) > ``` > import { PrismaClient } from '@prisma/client/edge' > const prisma = new PrismaClient() > ``` > > See other ways of importing Prisma Client: http://pris.ly/d/importing-client > > Environment variables loaded from .env > Prisma schema loaded from prisma/schema.prisma > Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db" > > 20 migrations found in prisma/migrations > > > No pending migrations to apply. > ┌─────────────────────────────────────────────────────────┐ > │ Update available 5.3.1 -> 5.15.0 │ > │ Run the following to update │ > │ npm i --save-dev prisma@latest │ > │ npm i @prisma/client@latest │ > └─────────────────────────────────────────────────────────┘ > [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM. > prisma:info Starting a sqlite pool with 13 connections. > fatal: not a git repository (or any of the parent directories): .git > getGitVersion Command failed: git rev-parse HEAD > fatal: not a git repository (or any of the parent directories): .git > > [TELEMETRY SENT] { > event: 'server_boot', > distinctId: '9c10440f-e20f-43c9-b27f-062c6f731e19', > properties: { commit: '--', runtime: 'docker' } > } > [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services. > Primary server in HTTP mode listening on port 3001 > OpenAIError: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }). > at new OpenAI (/app/server/node_modules/openai/index.js:53:19) > at openAiModels (/app/server/utils/helpers/customModels.js:59:18) > at getCustomModels (/app/server/utils/helpers/customModels.js:29:20) > at /app/server/endpoints/system.js:929:41 > at Layer.handle [as handle_request] (/app/server/node_modules/express/lib/router/layer.js:95:5) > at next (/app/server/node_modules/express/lib/router/route.js:149:13) > at validatedRequest (/app/server/utils/middleware/validatedRequest.js:18:5) > [Event Logged] - update_llm_provider > [Event Logged] - update_embedding_engine > [Event Logged] - update_vector_db > [TELEMETRY SENT] { > event: 'workspace_created', > distinctId: '9c10440f-e20f-43c9-b27f-062c6f731e19', > properties: { > multiUserMode: false, > LLMSelection: 'ollama', > Embedder: 'native', > VectorDbSelection: 'lancedb', > runtime: 'docker' > } > } > [Event Logged] - workspace_created > [TELEMETRY SENT] { > event: 'onboarding_complete', > distinctId: '9c10440f-e20f-43c9-b27f-062c6f731e19', > properties: { runtime: 'docker' } > } > [NativeEmbedder] Initialized > /usr/local/bin/docker-entrypoint.sh: line 7: 123 Illegal instruction (core dumped) node /app/server/index.js I tried to search the closed issues and landed on https://github.com/Mintplex-Labs/anything-llm/issues/1265 which I guess is a similar situation but I'm new to linux and can't wrap my head around the solution ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:23:01 -05:00
yindo closed this issue 2026-02-22 18:23:01 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 11, 2024):

Same as the pinned issue https://github.com/Mintplex-Labs/anything-llm/issues/1331#issuecomment-2153414982

@timothycarambat commented on GitHub (Jun 11, 2024): Same as the pinned issue https://github.com/Mintplex-Labs/anything-llm/issues/1331#issuecomment-2153414982
Author
Owner

@Ahmad4kTesting commented on GitHub (Jun 11, 2024):

Thank you, the lancedb_revert image worked like a charm. I think I'll have to work with that for now until I can upgrade my CPU.

@Ahmad4kTesting commented on GitHub (Jun 11, 2024): Thank you, the `lancedb_revert` image worked like a charm. I think I'll have to work with that for now until I can upgrade my CPU.
Author
Owner

@madketchup commented on GitHub (Feb 20, 2026):

Hi,

after I‘vr read that post and understand that CPU‘s before 2012 (Ivy Bridge) aren‘t supported and only >2013 (Maxwell) is supported by the built in Vectordatabase, I‘ve just installed a Docker with PGVector (Postgres) Database, connected AnythingLLM to it, and now it runs like a charm on my Dual Socket Xeon 2670v2 and 2650v2 in UNRAID.

Simple Solution.

@madketchup commented on GitHub (Feb 20, 2026): Hi, after I‘vr read that post and understand that CPU‘s before 2012 (Ivy Bridge) aren‘t supported and only >2013 (Maxwell) is supported by the built in Vectordatabase, I‘ve just installed a Docker with PGVector (Postgres) Database, connected AnythingLLM to it, and now it runs like a charm on my Dual Socket Xeon 2670v2 and 2650v2 in UNRAID. Simple Solution.
yindo changed title from Docker crashes whenever I try to send a message or edit the settings to [GH-ISSUE #1651] Docker crashes whenever I try to send a message or edit the settings 2026-06-05 14:38:50 -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#1076