wlinnaW
ZITADELβ€’5mo agoβ€’
21 replies
wlinna

Multiple errors when importing data from v2.71.6 to v4.1.0

I have tried following this guide https://zitadel.com/docs/guides/migrate/sources/zitadel multiple times, I have recreated my new Zitadel instance multiple times.
However, the result is this (from a test org):

{
    "errors": [
        {
            "type": "domain_isverified",
            "id": "281717763746037762_example.com",
            "message": "ID=V3-DKcYh Message=Errors.Org.Domain.AlreadyExists Parent=(ERROR: duplicate key value violates unique constraint \"unique_constraints_pkey\" (SQLSTATE 23505))"
        },
        {
            "type": "login_policy",
            "id": "281717763746037762",
            "message": "ID=Org-FEd32 Message=Errors.IDPConfig.NotExisting"
        },
        {
            "type": "user_link",
            "id": "282588122661781507_282583967918456835",
            "message": "ID=COMMAND-39nf2 Message=Errors.IDPConfig.NotExisting"
        },
        {
            "type": "trigger_action",
            "id": "0_0",
            "message": "ID=COMMAND-Dfhj5 Message=Errors.Flow.FlowTypeMissing"
        }
    ],
    "success": {
        "orgs": [
            {
                "orgId": "281717763746037762",
                "projectIds": ["281717802887282690"],
                "oidcAppIds": ["281717948026978306"],
                "humanUserIds": ["282588122661781507", "307682321706778626"],
                "actionIds": ["282443599746957315"],
                "orgMembers": ["307682321706778626"],
                "domains": ["example.com"]
            }
        ]
    }
}

IDP settings did not get transferred. In addition, the users are not activated and Zitadel is telling me to resend the activation email.

Is there a practical way to import data from the old Zitadel instance?

My old Zitadel v2.71.6 uses Cockroach while the new one uses Postgres.
Was this page helpful?