Skip to content

Commit e017913

Browse files
authored
docs(self-hosting): added graphile worker troubleshooting to docs (#2883)
Add troubleshooting documentation for graphile worker schema migration failures and PostgreSQL SSL certificate issues that prevent worker initialization.
1 parent 7781e2a commit e017913

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/self-hosting/docker.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,8 @@ TRIGGER_IMAGE_TAG=v4.0.0
354354
docker compose logs -f webapp
355355
```
356356
357+
- **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.
358+
357359
## CLI usage
358360
359361
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.

docs/self-hosting/kubernetes.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ kubectl delete namespace trigger
555555
- **Deploy fails**: Verify registry access and authentication
556556
- **Pods stuck pending**: Describe the pod and check the events
557557
- **Worker token issues**: Check webapp and supervisor logs for errors
558+
- **Deploy fails with `ERROR: schema "graphile_worker" does not exist`**: See the [Docker troubleshooting](/self-hosting/docker#troubleshooting) section for details on resolving PostgreSQL SSL certificate issues that prevent Graphile Worker migrations.
558559

559560
See the [Docker troubleshooting](/self-hosting/docker#troubleshooting) section for more information.
560561

0 commit comments

Comments
 (0)