From a01e381b9b2c63c477d1fbb0582f00fb8b0fda56 Mon Sep 17 00:00:00 2001 From: isshaddad Date: Thu, 5 Feb 2026 16:26:03 -0500 Subject: [PATCH 1/2] ClickHouse migration troubleshooting tip --- docs/self-hosting/docker.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/self-hosting/docker.mdx b/docs/self-hosting/docker.mdx index add4e06ba2..2c51f39d35 100644 --- a/docs/self-hosting/docker.mdx +++ b/docs/self-hosting/docker.mdx @@ -356,6 +356,8 @@ TRIGGER_IMAGE_TAG=v4.0.0 - **Deploy fails with `ERROR: schema "graphile_worker" does not exist`.** This error occurs when Graphile Worker migrations fail to run during webapp startup. Check the webapp logs for certificate-related errors like `self-signed certificate in certificate chain`. This is often caused by PostgreSQL SSL certificate issues when using an external PostgreSQL instance with SSL enabled. Ensure that both the webapp and supervisor containers have access to the same CA certificate used by your PostgreSQL instance. You can configure this by mounting the certificate file and setting the `NODE_EXTRA_CA_CERTS` environment variable to point to the certificate path. Once the certificate issue is resolved, the migrations will complete and create the required `graphile_worker` schema. +- **ClickHouse migrations say "no migrations to run" but schema is missing.** The goose migration tracker is out of sync. Exec into the webapp container, set the GOOSE env vars (from webapp startup logs), and run `goose reset && goose up`. + ## CLI usage This section highlights some of the CLI commands and options that are useful when self-hosting. Please check the [CLI reference](/cli-introduction) for more in-depth documentation. From 32477401a7926803d6eaf4eaf0f839273473fdae Mon Sep 17 00:00:00 2001 From: isshaddad Date: Fri, 6 Feb 2026 08:01:14 -0500 Subject: [PATCH 2/2] add data loss warning --- docs/self-hosting/docker.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/self-hosting/docker.mdx b/docs/self-hosting/docker.mdx index 2c51f39d35..df9ae246c2 100644 --- a/docs/self-hosting/docker.mdx +++ b/docs/self-hosting/docker.mdx @@ -358,6 +358,10 @@ TRIGGER_IMAGE_TAG=v4.0.0 - **ClickHouse migrations say "no migrations to run" but schema is missing.** The goose migration tracker is out of sync. Exec into the webapp container, set the GOOSE env vars (from webapp startup logs), and run `goose reset && goose up`. + + **Data Loss Warning:** The `goose reset` command is destructive and will drop the entire schema. Make sure to backup your data and confirm you are running this in a non-production environment before executing this command. + + ## CLI usage This section highlights some of the CLI commands and options that are useful when self-hosting. Please check the [CLI reference](/cli-introduction) for more in-depth documentation.