Hello,
Recently, installed ChirpStack v4 version 4.11.1 to migrate from ChirpStack v3 to v4.
(I see that the migration tool at https://github.com/chirpstack/chirpstack-v3-to-v4 is compatible with ChirpStack v4.11.x.)
After install ChirpStack v4, ran migration.
~/migration$ sudo ./chirpstack-v3-to-v4 \
--cs-config-file /etc/chirpstack/chirpstack.toml \
--as-config-file /etc/chirpstack-application-server/chirpstack-application-server.toml \
--ns-config-file /etc/chirpstack-network-server/chirpstack-network-server.toml
2026/03/04 16:02:54 Reading ChirpStack configuration file: /etc/chirpstack/chirpstack.toml
2026/03/04 16:02:54 Reading AS configuration file: /etc/chirpstack-application-server/chirpstack-application-server.toml
2026/03/04 16:02:54 Start migration
2026/03/04 16:02:54 Migrating users
2026/03/04 16:02:54 Migrating organizations
2026/03/04 16:02:54 Migrating organization users
2026/03/04 16:02:54 Migrating applications
2026/03/04 16:02:54 Migrating application integrations
2026/03/04 16:02:54 Reading NS configuration file: /etc/chirpstack-network-server/chirpstack-network-server.toml
2026/03/04 16:02:54 Migrating region: KR920
2026/03/04 16:02:54 Migrating gateways
2026/03/04 16:02:54 Migrating gateway metrics
2026/03/04 16:02:54 Migrating device-profiles
2026/03/04 16:02:54 Prepare device-profile statement errorpq: column "class_b_timeout" of relation "device_profile" does not exist
It looks like an error occurred during the device-profiles migration process. And, When accessing the web UI and navigating to the Applications category, the Devices tab displays an error stating that the column "device_profiles.is_relay" does not exist.
How do I resolve errors that occur during device-profiles migration?
Any help is appreciated.