-
Notifications
You must be signed in to change notification settings - Fork 128
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When installing langfuse for the first time using Helm, the langfuse-web container gets stuck in a crash-loop.
What's actually happening is:
- the web container starts up
- it runs the entrypoint.sh script
- the script attempts to run prisma migrations
- in the meantime kubernetes is checking for health
- since the migrations take a long time on a new install the health check fails
- web pod is terminated.
- migration is left in a failed state
- web restarts, retried the entrypoint script.
- Can't complete migrations
- Rinse and repeat ad-infinitum
The best solution to this problem is to implement an intialization container that runs before the 'main' web container starts.
To reproduce
Just do a basic helm install with the default values proposed in the documentation.
Chart version and values.yaml configuration
Version 1.5.9
langfuse:
image:
repository: langfuse/langfuse
tag: "3.131"
salt:
value: "secretSalt"
nextauth:
secret:
value: "secretSecret"
postgresql:
auth:
password: "secretPassword"
clickhouse:
auth:
password: "secretPassword"
redis:
auth:
password: "secretPassword"
Kubernetes Status
No response
Logs
No response
Additional information
No response
Are you interested to contribute a fix for this bug?
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working