Replication error connecting to Clickhouse Cloud #3497
-
I'm trying to set up a self-hosted instance of Plausible in kubernetes, connecting to another pod for the Postgres database and Clickhouse Cloud for the Clickhouse DB. The logs indicate that the pod was able to connect to both, but it fails shortly after, while trying to create some tables (I think):
Running the
There are a number of other |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
👋 @ssube
The table engine for the config :ecto_ch, default_table_engine: "MergeTree order by tuple()" to |
Beta Was this translation helpful? Give feedback.
-
In case you are interested, I've written fully high-availability (HA) self-hosted tutorial (self-hosted Plausible, ClickHouse, PostgreSQL): |
Beta Was this translation helpful? Give feedback.
You can also create the
schema_migrations
table manually, I think that's what Plausible Cloud did. Here's the default schemaplausible
would then just reuse it instead of attempting to create a new table.