<@U04S8PLJWMT> `Caused by: org.postgresql.util.PSQ...
# ask-ai
k
@kapa.ai
Caused by: org.postgresql.util.PSQLException: FATAL: "base/30724477" is not a valid data directory
Detail: File "base/30724477/PG_VERSION" is missing.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2733)
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2845)
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:176)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:323)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:273)
at org.postgresql.Driver.makeConnection(Driver.java:446)
at org.postgresql.Driver.connect(Driver.java:298)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:139)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:362)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:203)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:479)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:744)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:723)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
... 3 common frames omitted
2025-11-20 13:22:06,390 [health-executor-thread-2]	ERROR	i.a.d.s.i.j.HealthCheckServiceJooqImpl(healthCheck):40 - Health check error:
org.jooq.exception.DataAccessException: Error getting connection from data source HikariDataSource (HikariPool-1)
at org.jooq_3.19.7.POSTGRES.debug(Unknown Source)
at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:90)
at org.jooq.impl.DefaultExecuteContext.connection(DefaultExecuteContext.java:651)
at org.jooq.impl.AbstractQuery.connection(AbstractQuery.java:388)
at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:308)
at org.jooq.impl.AbstractResultQuery.fetch(AbstractResultQuery.java:290)
at org.jooq.impl.DefaultDSLContext.fetch(DefaultDSLContext.java:870)
at io.airbyte.data.services.impls.jooq.HealthCheckServiceJooqImpl.lambda$healthCheck$0(HealthCheckServiceJooqImpl.java:38)
at io.airbyte.db.Database.query(Database.java:23)
at io.airbyte.db.ExceptionWrappingDatabase.query(ExceptionWrappingDatabase.java:31)
at io.airbyte.data.services.impls.jooq.HealthCheckServiceJooqImpl.healthCheck(HealthCheckServiceJooqImpl.java:38)
at io.airbyte.commons.server.handlers.HealthCheckHandler.health(HealthCheckHandler.java:24)
at io.airbyte.server.apis.HealthApiController.getHealthCheck(HealthApiController.java:32)
at io.airbyte.server.apis.$HealthApiController$Definition$Exec.dispatch(Unknown Source)
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)
at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4354)
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:231)
at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38)
at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488)
at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:465)
at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87)
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30000ms (total=0, active=0, idle=0, waiting=1)
at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:706)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:187)
at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:99)
at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:87)
... 23 common frames omitted
Caused by: org.postgresql.util.PSQLException: FATAL: "base/30724477" is not a valid data directory
Detail: File "base/30724477/PG_VERSION" is missing.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2733)
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2845)
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:176)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:323)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:273)
at org.postgresql.Driver.makeConnection(Driver.java:446)
at org.postgresql.Driver.connect(Driver.java:298)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:139)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:362)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:203)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:479)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:744)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:723)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
... 3 common frames omitted
2025-11-20 13:22:36,305 [health-executor-thread-3]	ERROR	i.a.d.s.i.j.HealthCheckServiceJooqImpl(healthCheck):40 - Health check error:
org.jooq.exception.DataAccessException: Error getting connection from data source HikariDataSource (HikariPool-1)
at org.jooq_3.19.7.POSTGRES.debug(Unknown Source)
at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:90)
at org.jooq.impl.DefaultExecuteContext.connection(DefaultExecuteContext.java:651)
at org.jooq.impl.AbstractQuery.connection(AbstractQuery.java:388)
at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:308)
at org.jooq.impl.AbstractResultQuery.fetch(AbstractResultQuery.java:290)
at org.jooq.impl.DefaultDSLContext.fetch(DefaultDSLContext.java:870)
at io.airbyte.data.services.impls.jooq.HealthCheckServiceJooqImpl.lambda$healthCheck$0(HealthCheckServiceJooqImpl.java:38)
at io.airbyte.db.Database.query(Database.java:23)
at io.airbyte.db.ExceptionWrappingDatabase.query(ExceptionWrappingDatabase.java:31)
at io.airbyte.data.services.impls.jooq.HealthCheckServiceJooqImpl.healthCheck(HealthCheckServiceJooqImpl.java:38)
at io.airbyte.commons.server.handlers.HealthCheckHandler.health(HealthCheckHandler.java:24)
at io.airbyte.server.apis.HealthApiController.getHealthCheck(HealthApiController.java:32)
at io.airbyte.server.apis.$HealthApiController$Definition$Exec.dispatch(Unknown Source)
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)
at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4354)
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:231)
at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38)
at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488)
at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:465)
what is this error i an getting server pods
k
The error message you are seeing:
Copy code
Caused by: org.postgresql.util.PSQLException: FATAL: "base/30724477" is not a valid data directory   Detail: File "base/30724477/PG_VERSION" is missing.
indicates that the PostgreSQL database Airbyte is trying to connect to is in a corrupted or incomplete state. Specifically, the directory for a database (in this case, "base/30724477") is missing the critical "PG_VERSION" file, which is required for PostgreSQL to recognize and use the data directory. This is not an Airbyte-specific error, but rather a PostgreSQL server issue. It means that the underlying database files are either missing, have been deleted, or the data directory is otherwise corrupted. As a result, Airbyte cannot establish a connection to the database, leading to connection pool timeouts and health check failures in your Airbyte server pods. What you should do: - Check the health and status of your PostgreSQL instance. - Ensure that the data directory exists and contains all necessary files, especially "PG_VERSION". - If this is a managed database, contact your database administrator or provider. - If you have backups, you may need to restore the database from a backup. The knowledge sources provided do not contain this exact error, but similar connection issues in Airbyte are typically related to database connectivity, authentication, or configuration problems, not to Airbyte itself but to the underlying database state or network connectivity issues (see examples in [this forum post](https://discuss.airbyte.io/t/3899), [this GitHub issue](https://github.com/airbytehq/airbyte/issues/48854), and [this Helm install issue](https://github.com/airbytehq/airbyte/issues/68136)). Your error is more severe, indicating a fundamental problem with the PostgreSQL data directory. Summary: This is a PostgreSQL data directory corruption or missing file issue, not an Airbyte bug. You need to resolve the database server's file system problem before Airbyte can connect successfully.