Johann Gouws
07/09/2025, 11:14 AMkapa.ai
07/09/2025, 11:14 AMJohann Gouws
07/10/2025, 7:28 AMkapa.ai
07/10/2025, 7:28 AMkapa.ai
07/10/2025, 7:29 AMbash docker-compose down 2. Update your docker-compose.yaml and .env files to reference the desired (latest) Airbyte version. 3. Pull the latest images: bash docker-compose pull 4. Start Airbyte containers: bash docker-compose up -d Note: Upgrades require temporarily turning off Airbyte, so there will be some downtime during this process. Your data and configuration should be safe as long as your database volume is persisted, which is the default setup on GCP Compute Engine [Persistence on Google Cloud Compute Engine after restart](https://discuss.airbyte.io/t/1381) [Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte). If you encounter issues, you can refer to the [official upgrade guide](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte) for more details.Johann Gouws
07/10/2025, 11:03 AMkapa.ai
07/10/2025, 11:03 AMkapa.ai
07/10/2025, 11:03 AMJohann Gouws
07/10/2025, 11:06 AMkapa.ai
07/10/2025, 11:06 AMkapa.ai
07/10/2025, 11:06 AMJohann Gouws
07/10/2025, 2:30 PMJohann Gouws
07/10/2025, 2:30 PMkapa.ai
07/10/2025, 2:30 PMkapa.ai
07/10/2025, 2:30 PMservice rate limit exceeded or NOT_FOUND: query task not found, or already expired. If you see these, restarting the Temporal and Worker containers may help. In some cases, manual intervention to fix underlying issues with Temporal is required [Self-hosted Airbyte in Docker stuck and will not trigger sync](https://github.com/airbytehq/airbyte/issues/44833). 2. Role/RoleBinding Issues (Kubernetes): If you are running on Kubernetes and recently upgraded, there may be missing Role or RoleBinding resources, which can prevent pods (and thus jobs) from being created. Users have reported that after upgrading, these resources may be deleted and not recreated, breaking job execution. The workaround is to manually recreate the missing Role and RoleBinding using the templates from your Helm chart, or by running: bash kubectl create -f <role.yaml> kubectl create -f <rolebinding.yaml> After that, restart the worker pod: bash kubectl rollout restart deployment <release-name>-worker -n <namespace> [Unable to create pods after upgrade to 0.63.11 due to missing role/binding](https://github.com/airbytehq/airbyte/issues/42859). 3. General Upgrade Issues: Some users have reported that after upgrading, syncs hang indefinitely or do not start, possibly due to internal state issues. In some cases, a full restart of Airbyte (docker-compose down/up) has resolved the issue [All syncs hanging indefinitely](https://github.com/airbytehq/airbyte/discussions/55833). Summary: - Check Temporal and Worker logs for errors. - If on Kubernetes, ensure all required roles and bindings exist. - Try restarting Airbyte services/containers. - If the issue persists, review the logs for more specific errors and consult the Airbyte community for further troubleshooting. If you need more targeted help, please provide relevant logs from the Temporal and Worker containers, as these often contain clues to the root cause.Johann Gouws
07/11/2025, 7:21 AMJohann Gouws
07/11/2025, 7:21 AMkapa.ai
07/11/2025, 7:22 AMkapa.ai
07/11/2025, 7:22 AMairbyte-db) is repeatedly encountering errors related to the creation of the temporal and temporal_visibility databases, as well as duplicate key violations in the namespaces table. Specifically: - ERROR: database "temporal" already exists STATEMENT: CREATE DATABASE "temporal" ERROR: database "temporal_visibility" already exists STATEMENT: CREATE DATABASE "temporal_visibility" ERROR: duplicate key value violates unique constraint "namespaces_pkey" This pattern matches known issues when: - The databases (temporal, temporal_visibility) already exist, but Airbyte (or Temporal) tries to create them again. - There are attempts to insert duplicate records into tables that already have those records, often after a failed or partial migration or restore. What’s happening? - Airbyte’s initialization scripts (or Temporal’s auto-setup) are not idempotent regarding database creation. If the databases already exist, these scripts will fail with the errors you see. - The duplicate key error in the namespaces table suggests that the initialization is being retried, but the data already exists, causing the process to fail again. What can you do? - This is a common scenario when databases are pre-created or restored from a backup, and then Airbyte/Temporal tries to initialize them again. The knowledge sources recommend that if you are using pre-created databases, you should ensure that the initialization scripts are not re-run, or that the environment variables (such as SKIP_DB_CREATE or SKIP_SCHEMA_SETUP) are set to skip database creation and schema setup steps [Forum: Kubernetes: temporal: Cannot start with empty DBs already created](https://discuss.airbyte.io/t/4432) [Forum: "Unable to create SQL database." when trying to connect to an external database](https://discuss.airbyte.io/t/1544). - If you are running Airbyte with Docker Compose or Kubernetes, check your configuration for these environment variables and set them appropriately to avoid re-creating existing databases. - If the error persists, you may need to clean up the existing databases or ensure that the initialization scripts are only run once, as repeated attempts can cause these duplicate key errors. Summary: Your database is not starting properly because Airbyte/Temporal is trying to create databases and insert records that already exist. Set the appropriate environment variables to skip database and schema creation if the databases are already present, and ensure that initialization scripts are not re-run on existing data [Forum: "Unable to create SQL database." when trying to connect to an external database](https://discuss.airbyte.io/t/1544) [Forum: Kubernetes: temporal: Cannot start with empty DBs already created](https://discuss.airbyte.io/t/4432). If you need more specific guidance, please share your deployment method (Docker Compose, Kubernetes, etc.) and relevant configuration files.Johann Gouws
07/11/2025, 7:29 AMkapa.ai
07/11/2025, 7:29 AMkapa.ai
07/11/2025, 7:29 AMdocker-compose.yaml file is useful for understanding your configuration, the Temporal worker logs will give direct insight into what is failing at runtime—especially since issues with job orchestration and database initialization are often surfaced there. This approach is also reflected in community troubleshooting, where users are asked to share Temporal logs to diagnose similar problems [Error installing/deploying airbyte | trying to create an HTTP API Source](https://discuss.airbyte.io/t/1158). Please provide the Temporal worker logs (you can get them with docker-compose logs airbyte-temporal or similar, depending on your service name). If you encounter errors in the logs, sharing those specific error messages will help pinpoint the root cause and guide you to a solution.Johann Gouws
07/11/2025, 7:31 AMkapa.ai
07/11/2025, 7:31 AMkapa.ai
07/11/2025, 7:31 AM"Fail query fast due to WorkflowTask in failed state." indicates that Temporal is quickly rejecting queries because the associated workflow task is in a failed state. This is a known issue that can occur when a workflow (such as a sync job in Airbyte) encounters an error and gets stuck in a failed state, causing repeated failed queries and log spam. From the knowledge sources, similar issues have been reported where sync jobs hang or fail to start, and the Temporal logs show repeated errors or warnings related to workflow tasks being in a failed or stuck state. For example, users have seen logs about workflow task processing failures and workflows being stuck, which can lead to the system being unresponsive or unable to start new syncs [Sync job hangs for days](https://github.com/airbytehq/airbyte/issues/38345) [[platform] Upgrading to v0.63.2 results in continuous failures for all sync jobs](https://github.com/airbytehq/airbyte/issues/40546). What does this mean for your deployment? - The affected workflow (likely a sync or connection manager workflow) is in a failed state and cannot process further queries. - This can result in syncs not starting or jobs hanging, as you described earlier. - The repeated log entries are a symptom of the underlying workflow failure, not the root cause. What can you do? - Restarting Airbyte and Temporal may temporarily clear the issue, but if the underlying cause (such as a corrupted workflow state or database issue) is not resolved, it may recur. - In some cases, users have resolved similar issues by resetting the affected connection or deleting and recreating it, which forces Temporal to start a new workflow for that connection. - If the problem persists across multiple connections or after restarts, it may indicate a deeper issue with the Temporal database or Airbyte's orchestration logic, especially after upgrades or migrations. Summary: The logs indicate that Temporal workflows are stuck in a failed state, which is preventing syncs from running. This is a known issue in Airbyte when workflows become corrupted or fail and are not properly cleaned up. Restarting services or resetting connections may help, but if the issue persists, further investigation into the Temporal database and workflow state is needed. The knowledge sources do not provide a definitive fix, but similar symptoms have been reported by other users [Sync job hangs for days](https://github.com/airbytehq/airbyte/issues/38345) [[platform] Upgrading to v0.63.2 results in continuous failures for all sync jobs](https://github.com/airbytehq/airbyte/issues/40546).Johann Gouws
07/15/2025, 8:24 AMkapa.ai
07/15/2025, 8:24 AMkapa.ai
07/15/2025, 8:25 AMJohann Gouws
07/15/2025, 8:28 AMkapa.ai
07/15/2025, 8:28 AMkapa.ai
07/15/2025, 8:29 AMWorkerException) is documented in the knowledge sources, and the logs often do not provide a clear root cause. This is a known issue in Airbyte, especially in recent versions and Kubernetes deployments. The knowledge sources confirm that: - The connector process appears to complete successfully (exit code 0), and the output file is found. - However, when Airbyte tries to process the output and write the catalog result to the API, it encounters an internal error and fails the workload. - This results in a generic error message, and the logs do not always include a specific reason for the failure [Discovery schema failed](https://github.com/airbytehq/airbyte/issues/38927) [🐛 Airbyte Core: Large schema fetching failure](https://github.com/airbytehq/airbyte/issues/4564). What does this mean? - The error is likely happening during the step where Airbyte reads and processes the connector's output, not during the connector's execution itself. - The knowledge sources do not provide a definitive fix or root cause for this pattern, and acknowledge that the logs can be unhelpful in these cases. Next steps (based on knowledge sources): - Double-check that your Airbyte deployment and all connectors are running compatible, up-to-date versions. - If possible, try a different version of the connector, as some users have found that downgrading or upgrading resolves the issue [[source-mongodb] Discovering schema failed when creating new connection](https://github.com/airbytehq/airbyte/issues/31338). - If the problem persists, the knowledge sources recommend opening a GitHub issue with as much detail as possible, since this may require investigation by the Airbyte team. I'm sorry, but the knowledge sources do not contain enough information to provide a specific solution for this error pattern. This is a recognized issue, and further troubleshooting may require direct support from the Airbyte maintainers.Johann Gouws
07/16/2025, 2:01 PM[]
- type: JmespathPredicate
expression: body.current_page * body.per_page >= body.total
response_filters:
- type: HttpResponseFilter
http_codes:
- 404
page_token_option:
type: RequestOption
field_name: page
inject_into: request_parameter
pagination_strategy:
type: PageIncrement
start_from_page: 1
snippet from the connector.kapa.ai
07/16/2025, 2:01 PMkapa.ai
07/16/2025, 2:01 PMlog_request and log_response options in the paginator configuration for Airbyte's low-code or declarative connectors. The knowledge sources do not mention these options as valid or supported fields in the paginator configuration, nor do they describe a way to enable request/response logging directly from the YAML for custom connectors. If you want to log HTTP requests and responses for debugging purposes, the recommended approach is to enable debug-level logging for the connector or the Airbyte platform. According to the Airbyte team, the Python CDK already supports debug-level logging by setting the DEBUG=true environment variable, and there have been discussions about adding more granular logging options in the future. For now, enabling debug logging at the platform or connector level is the suggested method [log http calls to api](https://github.com/airbytehq/airbyte/issues/52077). Summary: - The log_request and log_response options in your paginator configuration are not documented or supported in the official Airbyte knowledge sources. - To log HTTP requests and responses, use debug-level logging by setting the appropriate environment variable (e.g., DEBUG=true). - If you need more granular logging, you may need to implement it in your custom connector code or use external tools (such as a proxy) as a workaround. I'm sorry, but the knowledge sources do not contain enough information to confirm that your YAML configuration will enable request/response logging in Airbyte.