/usr/local/share/lua/5.1/kong/cmd/utils/migrations.lua:164: [PostgreSQL error] cluster_mutex callback threw an error: /usr/local/share/lua/5.1/kong/cmd/utils/migrations.lua:159: [PostgreSQL error] failed to run migration '001_034_to_035' up: ERROR: insert or update on table "rbac_user_roles" violates foreign key constraint "rbac_user_roles_user_id_fkey" Key (user_id)=(c0c69b4c-93ac-48ff-9cd5-d863a266a3c2) is not present in table "rbac_users".
SELECT * FROM rbac_user_roles WHERE user_id NOT IN (SELECT id FROM rbac_users); SELECT * FROM rbac_user_roles WHERE role_id NOT IN (SELECT id FROM rbac_roles);
DELETE FROM rbac_user_roles WHERE user_id NOT IN (SELECT id FROM rbac_users); DELETE FROM rbac_user_roles WHERE role_id NOT IN (SELECT id FROM rbac_roles);