Cannot initialize postgres database #2901
-
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?Self-hosting Describe the bugI have pointed a self-hosted Plausible at a pre-created Postgresql database (
Inside Kubernetes, the relevant container looks like this:
I have a sneaking suspicion it could be related to the fact it writes a lot about Clickhouse, even though I haven't configured anything Clickhouse-related. Expected behaviorThe database should be initialized and Plausible running! ScreenshotsNo response Environment- OS: Ubuntu LTS inside Kubernetes
- Browser: N/A
- Browser Version: N/A |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yeah, the startup error seems to be caused by ClickHouse being unavailable. |
Beta Was this translation helpful? Give feedback.
Sorry, I missed the reply.
Please note that Plausible doesn't work without ClickHouse. In your particular case Plausible stops when it fails to run the migrations. But even if that step was skipped (by removing
/entrypoint.sh db migrate
fromplausible
command), it'd still not work as events and sessions wouldn't be stored anywhere.