[GH-ISSUE #1618] [BUG]: unable to login after deploy #1054

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

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

How are you running AnythingLLM?

Docker (remote machine)

What happened?

I deployed into my docker swarm with the attached docker-compose.
Initial setup goes well, I can get to the web page and into the first workspace but after a minute or so everything stops working, reloading the page throughs me out to the login screen.
Any attempt to login after that I get "Error: Could not validate login."

The log file shows

[Event Logged] - login_event
Cannot create JWT as JWT_SECRET is unset. Error: Cannot create JWT as JWT_SECRET is unset.
at makeJWT (/app/server/utils/http/index.js:21:11)
at /app/server/endpoints/system.js:205:18

The .env file is there and does contain a JWT_SECRET.

I will note that when it kicks me out, it is actually the container crashing with

[Event Logged] - workspace_created
[TELEMETRY SENT] {
event: 'onboarding_complete',
distinctId: '931920d5-6bf2-4c6d-aea4-31ec594a3272',
properties: { runtime: 'docker' }
}
/usr/local/bin/docker-entrypoint.sh: line 7: 118 Illegal instruction (core dumped) node /app/server/index.js

anythingllm.zip

Are there known steps to reproduce?

No response

Originally created by @cyberlink1 on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1618 ### How are you running AnythingLLM? Docker (remote machine) ### What happened? I deployed into my docker swarm with the attached docker-compose. Initial setup goes well, I can get to the web page and into the first workspace but after a minute or so everything stops working, reloading the page throughs me out to the login screen. Any attempt to login after that I get "Error: Could not validate login." The log file shows [Event Logged] - login_event Cannot create JWT as JWT_SECRET is unset. Error: Cannot create JWT as JWT_SECRET is unset. at makeJWT (/app/server/utils/http/index.js:21:11) at /app/server/endpoints/system.js:205:18 The .env file is there and does contain a JWT_SECRET. I will note that when it kicks me out, it is actually the container crashing with [Event Logged] - workspace_created [TELEMETRY SENT] { event: 'onboarding_complete', distinctId: '931920d5-6bf2-4c6d-aea4-31ec594a3272', properties: { runtime: 'docker' } } /usr/local/bin/docker-entrypoint.sh: line 7: 118 Illegal instruction (core dumped) node /app/server/index.js [anythingllm.zip](https://github.com/user-attachments/files/15614086/anythingllm.zip) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:22:55 -05:00
yindo closed this issue 2026-02-22 18:22:55 -05:00
Author
Owner

@cyberlink1 commented on GitHub (Jun 6, 2024):

Never mind this was caused by the CPU not having the AVX flag.

#1331

@cyberlink1 commented on GitHub (Jun 6, 2024): Never mind this was caused by the CPU not having the AVX flag. [#1331](https://github.com/Mintplex-Labs/anything-llm/issues/1331)
yindo changed title from [BUG]: unable to login after deploy to [GH-ISSUE #1618] [BUG]: unable to login after deploy 2026-06-05 14:38:43 -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#1054