Konathala Chaitanya
08/08/2025, 9:46 AMTEMPORAL_ADDRESS is not set, setting it to 10.2.216.210:7233
PostgreSQL started.
Setup PostgreSQL schema.
2025-08-08T09:38:48.980Z INFO Starting schema setup {"config": {"SchemaFilePath":"","SchemaName":"","InitialVersion":"0.0","Overwrite":false,"DisableVersioning":false}, "logging-call-at": "/home/runner/work/docker-builds/docker-builds/temporal/tools/common/schema/setuptask.go:64"}
2025-08-08T09:38:48.981Z DEBUG Setting up version tables {"logging-call-at": "/home/runner/work/docker-builds/docker-builds/temporal/tools/common/schema/setuptask.go:74"}
2025-08-08T09:38:49.007Z ERROR Unable to setup SQL schema. {"error": "pq: permission denied for schema public", "logging-call-at": "/home/runner/work/docker-builds/docker-builds/temporal/tools/sql/handler.go:56"}
what is the isseukapa.ai
08/08/2025, 9:47 AMpq: permission denied for schema public indicates that the PostgreSQL user configured for Temporal (and thus for Airbyte) does not have sufficient privileges on the public schema of the database. Specifically, the user needs permissions to create tables, indexes, and other objects in the public schema, which is required during the schema setup phase. This issue is well-documented in Airbyte community discussions and GitHub issues. The solution is to grant the necessary privileges to the user on the public schema. For example, you should run the following SQL commands as a superuser or a user with sufficient privileges: sql GRANT USAGE, CREATE ON SCHEMA public TO your_airbyte_user; GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO your_airbyte_user; GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO your_airbyte_user; Replace your_airbyte_user with the actual username used by Airbyte/Temporal. This matches the error and solution described in the knowledge sources, where users encountered "permission denied for schema public" and resolved it by granting the appropriate privileges on the schema to the Airbyte user. Without these grants, schema setup will fail, as seen in your logs [Docs: Document grants requried for external airbyte database](https://github.com/airbytehq/airbyte/issues/60244). If you are using a managed database (like Azure, AWS RDS, or GCP Cloud SQL), make sure to apply these grants using an account with sufficient privileges, as some managed services restrict default permissions on the public schema. Summary: The issue is missing privileges for the Airbyte/Temporal user on the public schema. Grant the necessary permissions as shown above to resolve the error.