https://linen.dev logo
#troubleshooting
Title
# troubleshooting
c

César Sepúlveda

02/23/2022, 4:09 PM
Hello, I'm having issues with bootloader missing the latest migration, what should I do? (Solved)
l

Lukas Novotny

02/23/2022, 4:09 PM
Hey, I've just upgraded my kubernetes Airbyte to the latest version
0.35.35-alpha
and I'm having trouble with bootloader missing a migration. The bootloader pod is running this image
airbyte/bootloader:0.35.35-alpha
and the logs show
Copy code
022-02-23 15:47:00 INFO i.a.b.BootloaderApp(runFlywayMigration):214 - Migrating configs database
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Flyway Community Edition 7.14.0 by Redgate
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Successfully validated 9 migrations (execution time 00:00.019s)
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Current version of schema "public": 0.35.28.001
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Schema "public" is up to date. No migration necessary.
2022-02-23 15:47:00 INFO i.a.b.BootloaderApp(runFlywayMigration):216 - Migrating jobs database
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Flyway Community Edition 7.14.0 by Redgate
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Successfully validated 3 migrations (execution time 00:00.007s)
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Current version of schema "public": 0.35.5.001
2022-02-23 15:47:00 INFO o.f.c.i.l.s.Slf4jLog(info):49 - Schema "public" is up to date. No migration necessary.
somehow it is not picking up the
0.35.32.001
migration 🤔 https://github.com/airbytehq/airbyte/blob/342840d974c5c4985d3488ee51f81205f90eed13[…]rations/V0_35_32_001__AddConnectorDefinitionResourceLimits.java I looked into the
public.airbyte_configs_migrations
table and this is the last entry.
Copy code
9	0.35.28.001	AddActorCatalogMetadataColumns	JDBC	io.airbyte.db.instance.configs.migrations.V0_35_28_001__AddActorCatalogMetadataColumns	(null)	BootloaderApp	2022-02-23 10:53:20
Any idea what might be wrong?
🤔 looking into the contents of
airbyte/bootloader:0.35.35-alpha
docker image it looks like the migration is missing
Copy code
root@7dee05e494dc:/app/airbyte-bootloader-0.35.35-alpha/lib# jar tf io.airbyte.airbyte-db-lib-0.35.35-alpha.jar | grep configs/migrations
io/airbyte/db/instance/configs/migrations/
io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization.class
io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization$ActorType.class
io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinition.class
io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization$OperatorType.class
io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization$NamespaceDefinitionType.class
io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth.class
io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization$StatusType.class
io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalog.class
io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state.class
io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition.class
io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition$ReleaseStage.class
io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTable.class
io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization$SourceType.class
io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumns.class
My bad...
3 Views