Hi everyone - I'm trying to migrate data from MSSQ...
# replication-troubleshooting
e
Hi everyone - I'm trying to migrate data from MSSQL to BigQuery with CDC enabled and I keep hitting this error: 'java.lang.RuntimeException: java.lang.RuntimeException: java.nio.file.NoSuchFileException: /tmp/cdc-db-history8895442639641053693/dbhistory.dat'. I've already created a new source and a new connection to no avail. Any help will be appreciated - thank you!
k
The error you're encountering,
java.nio.file.NoSuchFileException: /tmp/cdc-db-history.../dbhistory.dat
, indicates that the Debezium engine (used by Airbyte for CDC) cannot find the required database history file during the sync process. This file is essential for tracking schema changes and maintaining CDC state. Based on the knowledge sources, this type of error is not unique to your setup and has been observed in other CDC integrations (for example, with MySQL and Aurora, but the underlying mechanism is similar) [AWS Aurora MySQL Serverless v2 CDC error](https://discuss.airbyte.io/t/1022). The root cause is typically related to the connector's inability to access or create the necessary file in the
/tmp
directory inside the container or pod running the Airbyte source connector. Possible causes and troubleshooting steps: 1. File System Permissions or Volume Mounts: The Airbyte connector may not have the necessary permissions to write to the
/tmp
directory, or the directory may not persist between runs (especially in Kubernetes or Docker environments). Ensure that the container or pod running the connector has write access to
/tmp
and that the directory is not being cleaned up or lost between syncs. 2. Ephemeral Storage: If you're running Airbyte in a containerized environment (Docker, Kubernetes), the
/tmp
directory is ephemeral and may be deleted when the container restarts. Consider configuring a persistent volume for the connector's state files if your environment allows it. 3. Connector Restart or Crash: If the connector crashes or is restarted, the
/tmp
directory and its contents may be lost, leading to this error on the next sync attempt. 4. Workaround: As seen in similar issues, recreating the source and connection sometimes helps, but if the underlying file system issue persists, the error will recur. You may need to check your deployment's storage configuration and ensure that the
/tmp
directory is stable and writable for the duration of the sync job. Unfortunately, the knowledge sources do not provide a direct, step-by-step solution specific to this error for MSSQL to BigQuery CDC syncs, but the above points are consistent with the types of issues reported in Airbyte's community and GitHub discussions [AWS Aurora MySQL Serverless v2 CDC error](https://discuss.airbyte.io/t/1022). If the problem persists after checking the above, consider sharing your deployment details (Docker/Kubernetes, volume mounts, etc.) in the Airbyte community for more targeted troubleshooting.
e
@kapa.ai I'm using Airbyte Cloud
k
A message from kapa.ai
New message text here