ChirpStack v3 → v4 migration stuck

Viewed 6

Hi Team,

I am performing a migration from ChirpStack v3 to v4 using the official chirpstack-v3-to-v4 migration tool (v4.0.11) in Docker-based migration mode.

Region selected: US915

The migration script starts correctly:

  1. PostgreSQL container is running and accepting connections

  2. Migration stack (docker-compose.migration.yml) is up

  3. Migration tool downloaded and extracted successfully

However, the script gets stuck waiting for the following condition:

SELECT column_name 
FROM information_schema.columns 
WHERE table_name='device_profile' 
AND column_name='class_b_timeout';

It continuously prints:

[INFO] Waiting for schema to be ready...

Postgres logs show:

database system is ready to accept connections

It seems like ChirpStack v4 is not initializing or applying DB migrations automatically in migration mode.

Any guidance would be appreciated.

Thank you.

1 Answers