Jira Data Center database import fails due to missing tables from JCMA plugin
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Jira Data Center database import fails due to missing tables from Jira Cloud Migration Assistant plugin
Diagnosis
The following errors can be found in the atlassian-jira.log during database import on Jira Data Center:
2022-02-10 13:09:38,279-0800 pool-51-thread-7 ERROR [c.a.j.m.tracking.utils.ThreadUtils] uncaught exception in periodic executor
com.atlassian.cache.CacheException: com.querydsl.core.QueryException: Caught PSQLException for select "MIGRATION"."MIGRATION_ID", "MIGRATION"."PLAN_ID", "MIGRATION"."START_MIGRATION_CONTEXT_JSON", "MIGRATION"."IN_PROGRESS_STATUS_JSON", "MIGRATION"."OUTCOME_JSON", "MIGRATION"."APP_OUTCOME_JSON", "MIGRATION"."STARTED_BY", "MIGRATION"."CREATED_TIMESTAMP", "MIGRATION"."UPDATED_TIMESTAMP" from "public"."AO_6FF49D_MIGRATION_ENTITY" "MIGRATION" where "MIGRATION"."OUTCOME_JSON" is null and "MIGRATION"."UPDATED_TIMESTAMP" > ?
...
Caused by: org.postgresql.util.PSQLException: ERROR: relation "public.AO_6FF49D_MIGRATION_ENTITY" does not exist
Checking the destination database, the tables will be present as expected
As the import fails during the Active Objects import step, other AO tables may fail to restore the data.
Cause
The cause is not known yet.
Solution
- Remove the Jira Cloud Migration Assistant plugin on both source and destination Jira instances
- Perform a new Jira database export on the source instance;
- Perform a new Jira database import on the destination instance;
Also see: MIG-740 - JCMA (Jira Cloud Migration Assistant) plugin may prevent JIRA from starting correctly