V3 to v4 migration script panics: foreign key constraint

Hi,

I am trying to migrate from chirpstack-v3 to v4 but the migration script panics due to violation of “tenant_user_user_id_fkey” foreign key constraint.

Deleted users (deleted using chirpstack application server UI) still existed in the Chirpstack Application Server v3 “user” table in the database.
I deleted those extra rows from the Chirpstack Application Server v3 “user” table

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.