Hello Team, Please consider this as urgent. My Air...
# replication-troubleshooting
a
Hello Team, Please consider this as urgent. My Airbyte is hosted on ec2 with docker compose. I am seeing below containers, if I am doing docker compose up -d it is not working saying containers already exists. I am not sure which one to delete and if I delete will my data loose from Airbyte? Can anyone help me with this? [ec2-user@ip-10-103-3-23 airbyte]$ docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES e2a8b63382eb airbyte/server:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Exited (143) About a minute ago airbyte-server 87b17787eb7b airbyte/webapp:0.62.0 "/docker-entrypoint.…" 52 minutes ago Exited (0) About a minute ago airbyte-webapp edfa8cb4300a airbyte/airbyte-api-server:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Exited (143) About a minute ago airbyte-api-server a9b4ec3de00f airbyte/connector-builder-server:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Exited (143) About a minute ago airbyte-connector-builder-server 0a25b23af35a airbyte/cron:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Created airbyte-cron da88438430c9 airbyte/bootloader:0.62.0 "/bin/bash -c airbyt…" 52 minutes ago Created airbyte-bootloader e15f2de45651 airbyte/db:0.62.0 "docker-entrypoint.s…" 52 minutes ago Created airbyte-db 83323bf6492b airbyte/temporal:0.62.0 "./update-and-start-…" 52 minutes ago Created airbyte-temporal d66b4958f48b airbyte/init:0.62.0 "/bin/sh -c './scrip…" 52 minutes ago Created init 5f3411a913cc alpine/socat "socat -t 900 TCP-LI…" 52 minutes ago Created airbyte-docker-proxy-1 da579a03183f airbyte/proxy:0.57.2 "./run.sh ./run.sh" 9 hours ago Created airbyte-proxy e5fe127587ad airbyte/worker:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Exited (143) About a minute ago airbyte-worker 6a7f08e28172 airbyte/webapp:0.57.2 "/docker-entrypoint.…" 9 hours ago Created airbyte-webapp-old d0d7debaf9e5 airbyte/connector-builder-server:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-connector-builder-server-old 585d0e124ca0 airbyte/airbyte-api-server:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-api-server-old caaf61939735 airbyte/server:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-servr-old 26c8f3f9d442 airbyte/cron:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Created airbyte-cron-old c079db9d6966 airbyte/db:0.57.2 "docker-entrypoint.s…" 9 hours ago Exited (1) About an hour ago airbyte-db-old 1b0e220c3608 airbyte/bootloader:0.57.2 "/bin/bash -c airbyt…" 9 hours ago Exited (255) 8 hours ago airbyte-bootloader-old 9183b98683c9 airbyte/temporal:0.57.2 "./update-and-start-…" 9 hours ago Up About an hour 6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp airbyte-temporal_backup d1b16cb83c33 airbyte/init:0.57.2 "/bin/sh -c './scrip…" 9 hours ago Exited (0) 8 hours ago init_backup fc246d82a2d9 alpine/socat "socat -d -d -t 900 …" 9 hours ago Up About an hour 0.0.0.0:32781->2375/tcp, :::32781->2375/tcp ec2-user-docker-proxy-1
k
Short answer: don’t delete anything yet, and don’t worry—stopping/removing containers does not delete your Airbyte data as long as you don’t remove volumes. What likely happened - You have containers from two different Airbyte versions (0.57.x and 0.62.0) on the same host, and some “backup/old” containers are still present (e.g., airbyte-temporal_backup). Docker Compose refuses to start new containers if ones with the same names already exist or are in a Created/Exited state. Safe next steps 1. Stop everything managed by compose: - If you started Airbyte with docker compose in this folder, run: - docker compose stop - docker compose down - This stops and removes the containers, but not the volumes/data. By default, down does not remove volumes unless you pass -v. [[Docker compose / down](https://discuss.airbyte.io/t/3836)]. 2. Start cleanly: - Then run: - docker compose up -d - If Compose still complains about existing containers, they were likely created by a different compose project/name or manually. You can remove those specific “Created/Exited” containers safely (this does not delete volumes/data): - docker rm airbyte-webapp airbyte-server airbyte-api-server airbyte-connector-builder-server airbyte-cron airbyte-bootloader airbyte-db airbyte-temporal init airbyte-docker-proxy-1 - Also remove the older “-old” and “_backup” containers: - docker rm airbyte-webapp-old airbyte-connector-builder-server-old airbyte-api-server-old airbyte-servr-old airbyte-cron-old airbyte-db-old airbyte-bootloader-old airbyte-temporal_backup init_backup ec2-user-docker-proxy-1 - Then try docker compose up -d again. Data safety notes - Your Airbyte state/config lives in Docker volumes (e.g., airbyte_data, airbyte_db). Removing containers does not remove those volumes. Only docker compose down -v or docker volume rm would delete data. [[Docker compose / down](https://discuss.airbyte.io/t/3836)]. - If you explicitly need to fully reset (wipe all data), that’s when you’d remove volumes. Otherwise, avoid -v. Consider migrating off Docker Compose - Docker Compose has been deprecated for Airbyte. The recommended path is to migrate to abctl, which simplifies lifecycle and upgrades. Migration steps: 1) Stop your compose instance (docker compose stop). 2) Install abctl: - curl -LsfS https://get.airbyte.com | bash - 3) Migrate and install: - abctl local install --migrate This preserves your data and moves you to the supported tooling. [[Migrating from Docker Compose](https://docs.airbyte.com/platform/deploying-airbyte/migrating-from-docker-compose); [Next migrate](https://docs.airbyte.com/platform/next/deploying-airbyte/migrating-from-docker-compose)]. If you only want to stop/start with abctl later - abctl local uninstall stops containers without deleting data. - abctl local uninstall --persisted stops and deletes data; use with caution. [[Uninstall Airbyte](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#uninstall-airbyte)]. Why docker compose up is discouraged now - Airbyte has deprecated docker compose up in favor of abctl; if you see startup issues (e.g., temporal), the guidance is to use the new command. [[Airbyte-temporal failed](https://discuss.airbyte.io/t/3890)]. If you get stuck - Share the exact error from docker compose up -d after you’ve run docker compose down, and confirm whether you used the same compose project directory before. I can help map which containers belong to which project and which are safe to remove.
a
@kapa.ai I tried , It is stuck at this point now: [ec2-user@ip-10-103-3-23 airbyte]$ docker compose up -d WARN[0000] The "APPLY_FIELD_SELECTION" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "FIELD_SELECTION_WORKSPACES" variable is not set. Defaulting to a blank string. WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string. WARN[0000] The "LAUNCHDARKLY_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LOG_CONNECTOR_MESSAGES" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "UPDATE_DEFINITIONS_CRON_ENABLED" variable is not set. Defaulting to a blank string. WARN[0000] The "GITHUB_STORE_BRANCH" variable is not set. Defaulting to a blank string. WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string. WARN[0000] The "LAUNCHDARKLY_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "NEW_SCHEDULER" variable is not set. Defaulting to a blank string. WARN[0000] The "WORKER_ENVIRONMENT" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "CDK_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "PYTHON_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] volume "oss_local_root" already exists but was not created for project "ec2-user". Use
external: true
to use an existing volume WARN[0000] volume "airbyte_data" already exists but was not created for project "ec2-user". Use
external: true
to use an existing volume WARN[0000] volume "airbyte_db" already exists but was not created for project "ec2-user". Use
external: true
to use an existing volume WARN[0000] volume "airbyte_workspace" already exists but was not created for project "ec2-user". Use
external: true
to use an existing volume [+] Running 5/6 ⠿ Container airbyte-proxy Created 0.0s ⠿ Container init Exited 1.5s ⠿ Container airbyte-docker-proxy-1 Started 1.0s ⠿ Container airbyte-db Started 0.8s ⠿ Container airbyte-temporal Started 1.0s ⠿ Container airbyte-bootloader Waiting 126.4s
k
A message from kapa.ai
Thanks for the details. “airbyte-bootloader Waiting” usually means it can’t complete its startup, most often because it can’t reach or initialize the Postgres database, or it’s blocked by a previous state. Here’s how to quickly diagnose and unblock it. 1) Check bootloader and DB logs - docker compose logs -f bootloader - docker compose logs -f db If the bootloader shows timeouts or “database not ready,” focus on DB readiness. If Postgres logs show “address in use” or repeated restarts, another Postgres may be binding to 5432 or the container is failing to start. The “DB not ready yet” loop is a common symptom of wrong DB env vars or connectivity. [[Unable to compose up…](https://discuss.airbyte.io/t/557)]. 2) Ensure DB env vars are correct If you customized CONFIG_DATABASE_* variables previously, remove them unless you’re intentionally pointing at an external DB. For a standard Docker deployment, keep the single set: - DATABASE_USER - DATABASE_PASSWORD - DATABASE_HOST - DATABASE_PORT - DATABASE_DB - DATABASE_URL (jdbcpostgresql//${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_DB}, without username/password in the URL) Misconfigured CONFIG_DATABASE_* pointing to a non-existent/remote DB can trap boot in a loop. [[Unable to compose up…](https://discuss.airbyte.io/t/557)]. 3) Verify the DB container is healthy and listening From your output, airbyte-db is Started. Still, confirm: - docker exec -it airbyte-db pg_isready -U ${DATABASE_USER} -d ${DATABASE_DB} If pg_isready fails, check db logs for port conflicts (e.g., “could not bind 0.0.0.0:5432 … Address in use”). That specific error indicates another Postgres is already using 5432 on the host; you must stop that service or change the binding. [[Unable to deploy due to airbyte-db…](https://discuss.airbyte.io/t/4336)]. 4) Re-run cleanly if the init container failed Your init container exited quickly; that’s normal, but if volumes or networks are in a bad state, bring the stack down and back up: - docker compose down - docker compose up -d If Compose still complains about “existing volumes,” that’s only informational; it won’t block startup. Avoid docker compose down -v unless you intend to wipe data. [[Creating a Python Destination… reset](https://airbyte.com/tutorials/creating-duckdb-destination-with-python)]. 5) If the bootloader continues to wait - Share the last 50–100 lines of bootloader logs. The docs note that bootloader failures are generally due to inability to connect to airbyte-db; logs will show the exact reason. [[Troubleshoot deploy](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy); [v1.6 doc](https://docs.airbyte.com/platform/1.6/deploying-airbyte/troubleshoot-deploy)]. 6) Known pitfalls to double-check - Snap Docker on Ubuntu can cause startup issues; ensure you’re using the apt Docker engine if you’re on Ubuntu. [[Docker snap issue](https://discuss.airbyte.io/t/3583)]. - If you previously had a compose network exhaustion or conflicts, prune old networks before re-up. [[Docker IPv4 pool error](https://discuss.airbyte.io/t/3065)]. Why this matches your symptom - “bootloader Waiting” with DB/Temporal started typically points to the bootloader waiting for successful DB connectivity/migrations. The official guidance is that bootloader failures are usually DB connectivity to airbyte-db. [[Troubleshoot deploy](https://docs.airbyte.com/platform/1.7/deploying-airbyte/troubleshoot-deploy); [v1.6 doc](https://docs.airbyte.com/platform/1.6/deploying-airbyte/troubleshoot-deploy); [Unable to compose up…](https://discuss.airbyte.io/t/557)]. If you paste: - docker compose logs -f bootloader (last ~200 lines) - docker compose logs -f db (last ~200 lines) I can pinpoint whether it’s credentials/URL, port binding, or a migration/timeout.
a
@kapa.ai airbyte-bootloader | 2025-09-18 034531 ERROR i.a.d.c.DatabaseAvailabilityCheck(lambda$isDatabaseConnected$1):78 - Failed to verify database connection. airbyte-bootloader | org.jooq.exception.DataAccessException: Error getting connection from data source HikariDataSource (HikariPool-2) airbyte-bootloader | at org.jooq_3.19.7.POSTGRES.debug(Unknown Source) ~[?:?] airbyte-bootloader | at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:90) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.DefaultExecuteContext.connection(DefaultExecuteContext.java:651) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.AbstractQuery.connection(AbstractQuery.java:388) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:308) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.AbstractResultQuery.fetchLazy(AbstractResultQuery.java:301) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.AbstractResultQuery.fetchLazyNonAutoClosing(AbstractResultQuery.java:322) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.SelectImpl.fetchLazyNonAutoClosing(SelectImpl.java:3256) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.ResultQueryTrait.fetchOne(ResultQueryTrait.java:509) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.Tools.attach(Tools.java:1652) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.DefaultDSLContext.fetchOne(DefaultDSLContext.java:5019) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.DefaultDSLContext.lambda$fetchValue$55(DefaultDSLContext.java:5039) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.Tools.attach(Tools.java:1652) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.DefaultDSLContext.fetchValue(DefaultDSLContext.java:5039) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.DefaultDSLContext.fetchValue(DefaultDSLContext.java:5058) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at org.jooq.impl.DefaultDSLContext.fetchExists(DefaultDSLContext.java:5150) ~[jooq-3.19.7.jar:?] airbyte-bootloader | at io.airbyte.db.check.DatabaseAvailabilityCheck.lambda$isDatabaseConnected$0(DatabaseAvailabilityCheck.java:76) ~[io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.db.Database.query(Database.java:23) ~[io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.db.check.DatabaseAvailabilityCheck.lambda$isDatabaseConnected$1(DatabaseAvailabilityCheck.java:76) ~[io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.db.check.DatabaseAvailabilityCheck.check(DatabaseAvailabilityCheck.java:47) [io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.db.init.DatabaseInitializer.initialize(DatabaseInitializer.java:45) [io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.bootloader.Bootloader.initializeDatabases(Bootloader.java:233) [io.airbyte-airbyte-bootloader-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.bootloader.Bootloader.load(Bootloader.java:108) [io.airbyte-airbyte-bootloader-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.bootloader.Application.main(Application.java:22) [io.airbyte-airbyte-bootloader-0.62.0.jar:?] airbyte-bootloader | Caused by: java.sql.SQLTransientConnectionException: HikariPool-2 - Connection is not available, request timed out after 30000ms (total=0, active=0, idle=0, waiting=0) airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:686) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:179) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:144) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:99) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at org.jooq.impl.DataSourceConnectionProvider.acquire(DataSourceConnectionProvider.java:87) ~[jooq-3.19.7.jar:?] airbyte-bootloader | ... 22 more airbyte-bootloader | Caused by: org.postgresql.util.PSQLException: The connection attempt failed. airbyte-bootloader | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:358) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:273) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.Driver.makeConnection(Driver.java:446) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.Driver.connect(Driver.java:298) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:724) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:703) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] airbyte-bootloader | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] airbyte-bootloader | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] airbyte-bootloader | at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] airbyte-bootloader | Caused by: java.net.UnknownHostException: db airbyte-bootloader | at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?] airbyte-bootloader | at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?] airbyte-bootloader | at java.base/java.net.Socket.connect(Socket.java:751) ~[?:?] airbyte-bootloader | at org.postgresql.core.PGStream.createSocket(PGStream.java:243) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.core.PGStream.<init>(PGStream.java:98) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:136) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:262) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:54) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:273) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.Driver.makeConnection(Driver.java:446) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at org.postgresql.Driver.connect(Driver.java:298) ~[postgresql-42.7.3.jar:42.7.3] airbyte-bootloader | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:724) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:703) ~[HikariCP-5.1.0.jar:?] airbyte-bootloader | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] airbyte-bootloader | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?] airbyte-bootloader | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?] airbyte-bootloader | at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?] airbyte-bootloader | 2025-09-18 034531 INFO i.a.d.c.DatabaseAvailabilityCheck(check):49 - Database is not ready yet. Please wait a moment, it might still be initializing... airbyte-bootloader | 2025-09-18 034532 WARN i.m.s.r.u.Loggers$Slf4JLogger(warn):299 - [60be3778, L/127.0.0.149036 - Rlocalhost/127.0.0.18125] An exception has been observed post termination, use DEBUG level to see the full stack: java.net.PortUnreachableException: recvAddress(..) failed: Connection refused airbyte-bootloader | 2025-09-18 034532 WARN i.m.s.r.u.Loggers$Slf4JLogger(warn):299 - [60be3778, L/127.0.0.149036 - Rlocalhost/127.0.0.18125] An exception has been observed post termination, use DEBUG level to see the full stack: java.net.PortUnreachableException: recvAddress(..) failed: Connection refused airbyte-bootloader | 2025-09-18 034532 WARN i.m.s.r.u.Loggers$Slf4JLogger(warn):299 - [60be3778, L/127.0.0.149036 - Rlocalhost/127.0.0.18125] An exception has been observed post termination, use DEBUG level to see the full stack: java.net.PortUnreachableException: recvAddress(..) failed: Connection refused airbyte-bootloader | 2025-09-18 034537 WARN i.a.d.c.DatabaseAvailabilityCheck(check):38 - Waiting for database to become available... airbyte-bootloader | 2025-09-18 034537 ERROR i.a.b.Application(main):25 - Unable to bootstrap Airbyte environment. airbyte-bootloader | io.airbyte.db.init.DatabaseInitializationException: Database availability check failed. airbyte-bootloader | at io.airbyte.db.init.DatabaseInitializer.initialize(DatabaseInitializer.java:54) ~[io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.bootloader.Bootloader.initializeDatabases(Bootloader.java:233) ~[io.airbyte-airbyte-bootloader-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.bootloader.Bootloader.load(Bootloader.java:108) ~[io.airbyte-airbyte-bootloader-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.bootloader.Application.main(Application.java:22) [io.airbyte-airbyte-bootloader-0.62.0.jar:?] airbyte-bootloader | Caused by: io.airbyte.db.check.DatabaseCheckException: Unable to connect to the database. airbyte-bootloader | at io.airbyte.db.check.DatabaseAvailabilityCheck.check(DatabaseAvailabilityCheck.java:40) ~[io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | at io.airbyte.db.init.DatabaseInitializer.initialize(DatabaseInitializer.java:45) ~[io.airbyte.airbyte-db-db-lib-0.62.0.jar:?] airbyte-bootloader | ... 3 more airbyte-bootloader | 2025-09-18 034537 INFO i.m.r.Micronaut(lambda$start$0):117 - Embedded Application shutting down airbyte-bootloader | 2025-09-18T034540.595155990Z Thread-5 INFO Loading mask data from '/seed/specs_secrets_mask.yaml airbyte-bootloader | 2025-09-18T034540.615487353Z Thread-5 WARN Unable to register Log4j shutdown hook because JVM is shutting down. Using SimpleLogger
k
A message from kapa.ai
Thanks for sharing the logs — the key error is: - Caused by: java.net.UnknownHostException: db This means the bootloader can’t resolve the hostname “db” for the Postgres service. In Docker Compose, bootloader should connect to the database service by the service name defined in your compose file (often airbyte-db, not db). When the hostname is wrong or env vars point to “db”, the connection pool times out and you see the HikariPool timeouts. What to check and fix 1) Inspect your database env vars - Look in your .env and docker-compose.yml for: - DATABASE_HOST - DATABASE_URL - CONFIG_DATABASE_HOST / CONFIG_DATABASE_URL (if present) - If you are using the bundled DB, set host to the service name from your compose file (commonly airbyte-db) and ensure the JDBC URL matches, e.g.: - DATABASE_HOST=airbyte-db - DATABASE_URL=jdbc:postgresql://airbyte-db:5432/db-airbyte Do not include username/password in DATABASE_URL. If you previously edited CONFIG_DATABASE_* to point elsewhere, remove those overrides unless you truly use an external DB. Misconfigured CONFIG_DATABASE_* is known to trap boot in a loop. [[Unable to compose up…](https://discuss.airbyte.io/t/557)]. 2) Confirm the DB container name on the compose network - docker compose ps - docker compose logs -f db If the service is named airbyte-db in compose, then “db” won’t resolve; use airbyte-db. A similar DNS/hostname issue (“nc: bad address 'db'”) has been seen when components try to reach a non-existent “db” hostname. [[Unable to deploy… db not building](https://discuss.airbyte.io/t/4336)]. 3) Recreate bootloader after fixing env - docker compose up -d bootloader - If it still loops “Database is not ready…”, share the last 100 lines of bootloader and db logs. Bootloader failures are generally inability to reach the database or wrong DB settings. [[Unable to compose up…](https://discuss.airbyte.io/t/557)]. 4) If you’re intentionally using an external Postgres - Double-check network reachability (VPC/firewall/SG rules) and credentials. Connectivity/firewall issues have produced the same symptoms until rules were fixed. [[External Postgres solved](https://discuss.airbyte.io/t/2179)]. Why this fits your logs - HikariPool timeout plus UnknownHostException: db means host resolution failed; the bootloader can’t even open a socket to “db”, so it never reaches Postgres to report a database-specific error. Aligning DATABASE_HOST/DATABASE_URL to the actual compose service name resolves this class of issue. [[Unable to compose up…](https://discuss.airbyte.io/t/557); [Unable to deploy… db not building](https://discuss.airbyte.io/t/4336)]. If you paste your relevant env section (redact secrets) and the service name from docker-compose.yml for the DB, I can provide the exact values you should use.
a
@kapa.ai [ec2-user@ip-10-103-3-23 airbyte]$ docker compose ps WARN[0000] The "APPLY_FIELD_SELECTION" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "FIELD_SELECTION_WORKSPACES" variable is not set. Defaulting to a blank string. WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string. WARN[0000] The "LAUNCHDARKLY_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "LOG_CONNECTOR_MESSAGES" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "UPDATE_DEFINITIONS_CRON_ENABLED" variable is not set. Defaulting to a blank string. WARN[0000] The "CDK_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "DEPLOYMENT_MODE" variable is not set. Defaulting to a blank string. WARN[0000] The "PYTHON_VERSION" variable is not set. Defaulting to a blank string. WARN[0000] The "GITHUB_STORE_BRANCH" variable is not set. Defaulting to a blank string. WARN[0000] The "JOB_ERROR_REPORTING_SENTRY_DSN" variable is not set. Defaulting to a blank string. WARN[0000] The "LAUNCHDARKLY_KEY" variable is not set. Defaulting to a blank string. WARN[0000] The "NEW_SCHEDULER" variable is not set. Defaulting to a blank string. WARN[0000] The "WORKER_ENVIRONMENT" variable is not set. Defaulting to a blank string. NAME COMMAND SERVICE STATUS PORTS airbyte-api-server "/bin/bash -c airbyt…" airbyte-api-server created airbyte-bootloader "/bin/bash -c airbyt…" bootloader exited (255) airbyte-connector-builder-server "/bin/bash -c airbyt…" airbyte-connector-builder-server created airbyte-cron "/bin/bash -c airbyt…" airbyte-cron created airbyte-db "docker-entrypoint.s…" db restarting airbyte-docker-proxy-1 "socat -t 900 TCP-LI…" docker-proxy running 0.0.0.0:32823->2375/tcp, :::32823->2375/tcp airbyte-proxy "./run.sh ./run.sh" airbyte-proxy created airbyte-server "/bin/bash -c airbyt…" server created airbyte-temporal "./update-and-start-…" airbyte-temporal running 6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp airbyte-webapp "/docker-entrypoint.…" webapp created airbyte-worker "/bin/bash -c airbyt…" worker created init "/bin/sh -c './scrip…" init exited (0) docker compose logs -f db airbyte-db | PostgreSQL Database directory appears to contain a database; Skipping initialization airbyte-db | airbyte-db | 2025-09-18 035625.952 UTC [1] LOG: starting PostgreSQL 13.15 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit airbyte-db | 2025-09-18 035625.952 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 airbyte-db | 2025-09-18 035625.952 UTC [1] LOG: listening on IPv6 address "::", port 5432 airbyte-db | 2025-09-18 035625.956 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" airbyte-db | 2025-09-18 035625.962 UTC [22] LOG: database system was interrupted; last known up at 2025-09-18 014709 UTC airbyte-db | 2025-09-18 035625.991 UTC [22] LOG: invalid magic number 0000 in log segment 0000000100000024000000BA, offset 0 airbyte-db | 2025-09-18 035625.991 UTC [22] LOG: invalid primary checkpoint record airbyte-db | 2025-09-18 035625.991 UTC [22] PANIC: could not locate a valid checkpoint record airbyte-db | 2025-09-18 035626.149 UTC [1] LOG: startup process (PID 22) was terminated by signal 6: Aborted airbyte-db | 2025-09-18 035626.149 UTC [1] LOG: aborting startup due to startup process failure airbyte-db | 2025-09-18 035626.165 UTC [1] LOG: database system is shut down Entires of .env: # Proxy Configuration # Set to empty values, e.g. "" to disable basic auth BASIC_AUTH_USERNAME=airbyte BASIC_AUTH_PASSWORD=password BASIC_AUTH_PROXY_TIMEOUT=900 ### DATABASE ### # Airbyte Internal Job Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db DATABASE_USER=docker DATABASE_PASSWORD=docker DATABASE_HOST=db DATABASE_PORT=5432 DATABASE_DB=airbyte # translate manually DATABASE_URL=jdbcpostgresql//${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_DB} (do not include the username or password here) DATABASE_URL=jdbc:postgresql://db:5432/airbyte JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.40.26.001 # Airbyte Internal Config Database, defaults to Job Database if empty. Explicitly left empty to mute docker compose warnings. CONFIG_DATABASE_USER= CONFIG_DATABASE_PASSWORD= CONFIG_DATABASE_URL= CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=0.40.23.002
k
A message from kapa.ai
Thanks — the logs and your .env point to two separate issues: 1) Wrong hostname in DB settings (bootloader can’t resolve “db”) - Your compose service is named airbyte-db (see docker compose ps), but DATABASE_HOST=db and DATABASE_URL point to db. That’s why the bootloader shows UnknownHostException: db. Update the host to the compose service name and fix the JDBC URL: - DATABASE_HOST=airbyte-db - DATABASE_URL=jdbc:postgresql://airbyte-db:5432/airbyte Also remove any CONFIG_DATABASE_* overrides unless you truly use a separate external DB. Misconfigured DB envs cause the “Database is not ready yet…” loop. [[Unable to compose up…](https://discuss.airbyte.io/t/557); [Unable to deploy… bad address 'db'](https://discuss.airbyte.io/t/4336).] 2) Postgres WAL/corruption on airbyte-db volume - Your db logs show: invalid magic number … PANIC: could not locate a valid checkpoint record, then aborting startup. This indicates the on-disk database (the Docker volume) is corrupted and Postgres can’t start. In this state, the container keeps restarting. [[Cannot access DB / 409](https://github.com/airbytehq/airbyte/issues/54150).] What to do next (preserve data if you need it) A) If you need to keep existing Airbyte data: - Stop stack: docker compose down - Take a backup of the Postgres volume before any repair: - docker run --rm -v airbyte_db:/var/lib/postgresql/data -v $PWD:/backup alpine sh -c "cd /var/lib/postgresql/data && tar czf /backup/airbyte_db_volume_backup.tgz ." - Try to let Postgres replay/recover after a proper stop; sometimes the crash loop persists due to a bad WAL file. With vanilla Postgres, typical recovery involves removing the problematic WAL segment or using pg_resetwal — but this is risky and not covered in Airbyte docs. The knowledge sources don’t provide an official step-by-step for WAL recovery, so I can’t recommend a specific repair command here. I’m sorry, but there’s no information about a supported on-disk repair procedure in the provided sources. B) If you can discard the internal DB (fresh start): - Bring down: docker compose down - Remove only the DB volume to reset Postgres, keep other volumes intact: - docker volume rm airbyte_db - Bring up: docker compose up -d This recreates an empty internal DB and should allow bootloader to complete. Be aware this wipes Airbyte configs/state stored in the DB. [[Unable to deploy… db port/bind loops](https://discuss.airbyte.io/t/4336).] C) After fixing hostname and DB state - Start only DB and bootloader to verify: - docker compose up -d db - docker compose up -d bootloader - If bootloader still waits, share the updated bootloader and db logs. Why this matches your symptoms - Bootloader UnknownHostException: db happens when components try to connect to a non-existent “db” hostname; using the correct service name resolves DNS inside the compose network. [[Unable to deploy… bad address 'db'](https://discuss.airbyte.io/t/4336).] - “Database not ready yet” repeating with Postgres logs showing startup failures is a classic DB-unavailable loop. [[Unable to compose up…](https://discuss.airbyte.io/t/557); [Cannot access DB / 409](https://github.com/airbytehq/airbyte/issues/54150).] Quick checklist to apply now - Edit .env: - DATABASE_HOST=airbyte-db - DATABASE_URL=jdbc:postgresql://airbyte-db:5432/airbyte - docker compose down - If you need a fresh DB: docker volume rm airbyte_db - docker compose up -d - Verify db healthy, then bootloader completes. If you prefer to avoid Docker Compose issues going forward, consider migrating to abctl when you’re back up; it’s the supported path and tends to reduce these startup pitfalls. [[Airbyte boot issues with Docker](https://discuss.airbyte.io/t/3583).]
a
I don't see postgresql inside /var/lib/ @kapa.ai
k
A message from kapa.ai
On a standard Airbyte Docker deployment, Postgres data is stored in a Docker volume (e.g., airbyte_db), not directly under your host’s /var/lib/postgresql. That’s why you don’t see files there on the EC2 host. How to find and inspect the volume: - List the volumes used by your Airbyte compose project to confirm names like airbyte_db, airbyte_workspace: - docker volume ls - On Linux, you can see where a named Docker volume lives on the host: - docker volume inspect airbyte_db - Look at the Mountpoint field; that path is where the volume data is stored on the host filesystem. [[Notes: macOS vs Linux](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#notes-about-running-on-macos-vs-linux); [Next notes](https://docs.airbyte.com/platform/next/operator-guides/browsing-output-logs#notes-about-running-on-macos-vs-linux).] If you just want to browse the data without worrying about host paths, mount the volume into a temporary container: - Interactive shell: - docker run -it --rm --volume airbyte_db:/data busybox sh - Then ls /data inside that shell. [[Exploring local logs](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#exploring-local-logs); [Next exploring](https://docs.airbyte.com/platform/next/operator-guides/browsing-output-logs#exploring-local-logs).] Notes for macOS users (FYI): Docker Desktop runs a VM; you can’t directly browse volumes on the host, so using docker run or docker cp is the recommended approach. [[Notes: macOS vs Linux](https://docs.airbyte.com/platform/operator-guides/browsing-output-logs#notes-about-running-on-macos-vs-linux); [Next notes](https://docs.airbyte.com/platform/next/operator-guides/browsing-output-logs#notes-about-running-on-macos-vs-linux).]
a
@kapa.ai with same config of db in .env file, previously also my air byte was running, below logs of successful execution and air byte was(only stuck pipeline issue was there): [ec2-user@ip-10-103-3-23 airbyte]$ docker ps --filter "name=airbyte" --format "table {{.Names}}\t{{.Status}}" NAMES STATUS airbyte-proxy Up 15 months airbyte-api-server Up 15 months airbyte-cron Up 15 months airbyte-server Up 15 months airbyte-webapp Up 15 months airbyte-worker Up 3 days airbyte-connector-builder-server Up 15 months airbyte-temporal Up 15 months airbyte-docker-proxy-1 Up 15 months airbyte-db Up 15 months [ec2-user@ip-10-103-3-23 airbyte]$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 17a63aa9e1f3 airbyte/destination-snowflake:3.8.4 "/airbyte/base.sh wr…" 15 hours ago Up 15 hours destination-snowflake-write-68411-0-mxqyf bb0b5ac56251 airbyte/proxy:0.62.0 "./run.sh ./run.sh" 15 months ago Up 15 months 0.0.0.0:8000-8001->8000-8001/tcp, :::8000-8001->8000-8001/tcp, 0.0.0.0:8003->8003/tcp, :::8003->8003/tcp, 80/tcp, 0.0.0.0:8006->8006/tcp, :::8006->8006/tcp airbyte-proxy 1989978afa94 airbyte/airbyte-api-server:0.62.0 "/bin/bash -c airbyt…" 15 months ago Up 15 months 5005/tcp, 0.0.0.0:32802->8006/tcp, :::32802->8006/tcp airbyte-api-server d6491265d867 airbyte/cron:0.62.0 "/bin/bash -c airbyt…" 15 months ago Up 15 months airbyte-cron a9dfac6e295c airbyte/server:0.62.0 "/bin/bash -c airbyt…" 15 months ago Up 15 months 5005/tcp, 8000/tcp, 0.0.0.0:32801->8001/tcp, :::32801->8001/tcp airbyte-server fa7948a1adf2 airbyte/webapp:0.62.0 "/docker-entrypoint.…" 15 months ago Up 15 months 8080/tcp airbyte-webapp 706642ee86fa airbyte/worker:0.62.0 "/bin/bash -c airbyt…" 15 months ago Up 3 days 5005/tcp, 0.0.0.0:32806->9000/tcp, :::32806->9000/tcp airbyte-worker 2c06205e0c8c airbyte/connector-builder-server:0.62.0 "/bin/bash -c airbyt…" 15 months ago Up 15 months 0.0.0.0:32800->8080/tcp, :::32800->8080/tcp airbyte-connector-builder-server 7c3f29b04227 airbyte/temporal:0.62.0 "./update-and-start-…" 15 months ago Up 15 months 6933-6935/tcp, 6939/tcp, 7233-7235/tcp, 7239/tcp airbyte-temporal a214ecec8bb3 alpine/socat "socat -t 900 TCP-LI…" 15 months ago Up 15 months 0.0.0.0:32799->2375/tcp, :::32799->2375/tcp airbyte-docker-proxy-1 7573eea8f9c2 airbyte/db:0.62.0 "docker-entrypoint.s…" 15 months ago Up 15 months 5432/tcp
k
A message from kapa.ai
Thanks, that history helps. Two things are happening at once: 1) Your current boot failure is due to an invalid DB host in .env - Your .env points to DATABASE_HOST=db and DATABASE_URL=jdbc:postgresql://db:5432/airbyte, but your compose service is named airbyte-db. Inside the compose network, “db” won’t resolve unless the service is actually named “db.” This is why bootloader shows UnknownHostException: db. Update: - DATABASE_HOST=airbyte-db - DATABASE_URL=jdbc:postgresql://airbyte-db:5432/airbyte If CONFIG_DATABASE_* is set, clear it unless you intentionally use a separate external DB. Misconfigured DB envs cause the “Database is not ready yet…” loop. [[Unable to compose up…](https://discuss.airbyte.io/t/557); [Unable to deploy… bad address 'db'](https://discuss.airbyte.io/t/4336).] 2) Your Postgres volume is now corrupted, even though it used to work - The db container now logs “invalid magic number … PANIC: could not locate a valid checkpoint record,” so Postgres aborts startup and restarts. That’s a WAL/metadata corruption on disk; it can occur after an unclean shutdown and is unrelated to whether the same .env worked before. [[Cannot access DB / 409](https://github.com/airbytehq/airbyte/issues/54150).] What I recommend next A) Fix the hostname and try to recover without data loss - Edit .env as above. - Bring the stack down: docker compose down - Back up your DB volume before any changes: - docker run --rm -v airbyte_db:/var/lib/postgresql/data -v $PWD:/backup alpine sh -c "cd /var/lib/postgresql/data && tar czf /backup/airbyte_db_volume_backup.tgz ." - Bring up only DB, then bootloader: - docker compose up -d db - Check db logs; if it still fails with the PANIC, you’ll need to decide whether to attempt low-level Postgres recovery. The knowledge sources don’t provide a supported repair procedure for WAL corruption (e.g., pg_resetwal), so I can’t give an Airbyte-documented recovery command here. I’m sorry, but there’s no information about a supported on‑disk repair process in the provided sources. B) If you can afford a fresh internal DB (will reset Airbyte state/config) - docker compose down - docker volume rm airbyte_db - docker compose up -d This recreates a clean Postgres and should let the bootloader complete. Be aware this wipes Airbyte’s internal state stored in Postgres. [[Unable to deploy… db not building properly](https://discuss.airbyte.io/t/4336); [Unable to compose up…](https://discuss.airbyte.io/t/557).] Why it used to work - Your previous long‑running stack likely used the same “db” hostname but had a service actually named “db” (or a different compose project/network). After changes/upgrade, the service is airbyte-db, so “db” no longer resolves. Separately, the current PANIC indicates on-disk DB corruption from an unclean shutdown, which prevents Postgres from starting even with the correct hostname. The “nc: bad address 'db'” and “UnknownHostException: db” symptom matches known DNS/hostname mismatches in Compose. [[Unable to deploy… bad address 'db'](https://discuss.airbyte.io/t/4336).] If you share: - The db service name block from your docker-compose.yml - Your updated .env (redacting secrets) - The latest 50 lines of db logs after the change I can confirm exact env values and whether you need to reset the volume or explore other options.
a
@kapa.ai docker-compose also has db docker compose.yml db: image: airbyte/db:${VERSION} logging: *default-logging container_name: airbyte-db restart: unless-stopped environment: - CONFIG_DATABASE_PASSWORD=${CONFIG_DATABASE_PASSWORD:-} - CONFIG_DATABASE_URL=${CONFIG_DATABASE_URL:-} - CONFIG_DATABASE_USER=${CONFIG_DATABASE_USER:-} - DATABASE_PASSWORD=${DATABASE_PASSWORD} - DATABASE_URL=${DATABASE_URL} - DATABASE_USER=${DATABASE_USER} - POSTGRES_PASSWORD=${DATABASE_PASSWORD} - POSTGRES_USER=${DATABASE_USER} volumes: - db:/var/lib/postgresql/data networks: - airbyte_internal
k
A message from kapa.ai
Thanks for sharing the compose snippet. Two clarifications: - Service key vs. container_name: In Docker Compose, other services resolve the database by the service name (the key under services), not the container_name. In your file, the service key is db, so using DATABASE_HOST=db and jdbc…//db5432/… is valid on the compose network, even though container_name is airbyte-db. Name resolution uses the service key. This aligns with typical Airbyte compose setups shown in forum threads. [[Unable to compose up…](https://discuss.airbyte.io/t/557).] - Your current failure is still the Postgres startup panic, not just DNS: The db logs show “invalid magic number … PANIC: could not locate a valid checkpoint record” and the db service is restarting. That indicates on-disk corruption in the Postgres volume; until the db container starts successfully, bootloader will continue to fail. Similar symptoms appear when the DB can’t start and other services loop on readiness. [[Unable to deploy due to airbyte-db not building properly](https://discuss.airbyte.io/t/4336); [Unable to compose up…](https://discuss.airbyte.io/t/557).] What to do next (based on the sources) - If you can reset the internal DB: 1) Stop stack: docker compose down 2) Remove only the DB volume: docker volume rm airbyte_db 3) Start again: docker compose up -d This recreates a fresh Postgres and should let bootloader complete. Be aware this wipes Airbyte’s internal state/config stored in Postgres. [[Unable to deploy due to airbyte-db…](https://discuss.airbyte.io/t/4336); [Unable to compose up…](https://discuss.airbyte.io/t/557).] - If you need to keep data: The knowledge sources do not provide a supported, step-by-step recovery for WAL/checkpoint corruption (e.g., pg_resetwal). I’m sorry, but there’s no information about an Airbyte-documented repair procedure. You would need to attempt Postgres-level recovery outside the scope of the provided docs, or restore from a backup. Quick checks after reset or recovery - Keep DATABASE_HOST=db and DATABASE_URL=jdbc:postgresql://db:5432/airbyte since your service key is db. - Ensure CONFIG_DATABASE_* are unset unless you intend a separate external config DB; misconfiguring these commonly causes the “Database is not ready yet…” loop. [[Unable to compose up…](https://discuss.airbyte.io/t/557).] If you prefer to avoid compose pitfalls going forward, Airbyte recommends moving off Docker Compose to the supported abctl tooling; it simplifies lifecycle and upgrades. [[Migrating from Docker Compose](https://docs.airbyte.com/platform/deploying-airbyte/migrating-from-docker-compose).]