Applying database migrations failed. This is mostly caused by the database being unavailable #3525
Replies: 3 comments 7 replies
-
Hey there, @NanthagopalEswaran! I'm Dosu, a bot here to help you with bug fixes, questions, and becoming a contributor. Let's tackle this issue together while we wait for a human maintainer. The segmentation fault error in the To resolve this issue, generate a valid 32-byte hexadecimal encryption key using the command Additionally, ensure that the services:
langfuse-server:
image: langfuse/langfuse:latest
depends_on:
db:
condition: service_healthy
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres
- NEXTAUTH_SECRET=xxx
- ENCRYPTION_KEY=your_valid_32_byte_hex_key # Replace with a valid key
- SALT=zzz
- NEXTAUTH_URL=http://localhost:3000
- TELEMETRY_ENABLED=false
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=false
db:
image: postgres
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 3s
timeout: 3s
retries: 10
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- 5432:5432
volumes:
- database_data:/var/lib/postgresql/data
volumes:
database_data:
driver: local Make sure to replace For more details on environment variables and configurations, you can refer to the Langfuse documentation [1]. |
Beta Was this translation helpful? Give feedback.
-
I found a similar discussion - https://github.com/orgs/langfuse/discussions/1336 I tried |
Beta Was this translation helpful? Give feedback.
-
I downgraded to latest stable version, worked as expected
Saulius Görlich
Triplesense Reply
Konsul-Smidt-Straße 14
28217 - Bremen - GERMANY
phone: +49 421 365142-10
***@***.******@***.***>
www.reply.de<http://www.reply.de>
www.triplesensereply.de<http://www.triplesensereply.de>
[Triplesense Reply]
On 18. Oct 2024, at 20:24, Marc Klingen ***@***.***> wrote:
were you able to resolve this?
—
Reply to this email directly, view it on GitHub<#3525 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BIDCK24TDGBVNHUN54OJZC3Z4FG7DAVCNFSM6AAAAABPBTTEP2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAOJYGY4DCMY>.
You are receiving this because you commented.Message ID: ***@***.***>
…________________________________
Triplesense Reply GmbH
Sitz/Registered Office: Frankfurt am Main
Handelsregister/Register of Companies: Amtsgericht Frankfurt am Main, HRB 48863
Geschäftsführer/Managing Directors: Dr. Oliver Bohl, Thorben Fasching, Guiscardo Pin
|
Beta Was this translation helpful? Give feedback.
-
I used below docker_compose.yml file
database launched successfully and is active.
but langfuse server immediately exists with segmentation fault error
docket containers view:
langfuse-server-1 error log:
Beta Was this translation helpful? Give feedback.
All reactions