Open whysthatso opened 1 week ago
I'm having the hardest time reproducing this error. Did you ever figure this out? Are you running with a local db in the compose file or connecting to an external db? I've tried both and can't get the prisma migrate deploy
to fail on docker compose up
. I've tested postgres 16 with the compose.yml below without issue
---
version: '3'
services:
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
ports:
- '3000:3000'
environment:
DATABASE_URL: postgresql://umami:umami@db:5432/umami
DATABASE_TYPE: postgresql
APP_SECRET: replace-me-with-a-random-string
depends_on:
db:
condition: service_healthy
restart: always
healthcheck:
test: ['CMD-SHELL', 'curl http://localhost:3000/api/heartbeat']
interval: 5s
timeout: 5s
retries: 5
db:
image: postgres:16.4
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: umami
volumes:
- umami-db-data:/var/lib/postgresql/data
restart: always
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}']
interval: 5s
timeout: 5s
retries: 5
volumes:
umami-db-data:
Describe the Bug
running docker compose up with an external postgresql 16 database
same outcome as after step 1
i tried to make sense out of
scripts/check-db.js
but it seems likee
doesn't get set for some reason.Any idea how to further troubleshoot this?
Is there possibly a compatibility issue with postgres 16?
Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
latest
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
selfhosted docker compose