we have restored the datra xml backup from prod jira instance to TEST jira instance. During restore had an issue and got the below error,
/secure/Dashboard.jspa [webresource] exception thrown in `addToUrl` during condition evaluation
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:PostgreSQL
- version:9.4.5
- minor version:4
- major version:9
Driver:
- name:PostgreSQL Native Driver
- version:PostgreSQL 9.4.1212
org.postgresql.util.PSQLException: ERROR: relation "public.AO_21F425_MESSAGE_AO" does not exist
Position: 28
.....
/secure/admin/XmlRestore.jspa [c.a.j.bc.dataimport.OfbizImportHandler] Create failed - retrying. Attempt [1] out of [5]
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:OSPropertyEntry][propertyKey,xoauth_app_url][entityName,OAuthServiceProviderToken][entityId,21824][id,154264][type,6] (SQL Exception while executing the following:INSERT INTO public.propertyentry (ID, ENTITY_NAME, ENTITY_ID, PROPERTY_KEY, propertytype) VALUES (?, ?, ?, ?, ?) (ERROR: duplicate key value violates unique constraint "pk_propertyentry"
Detail: Key (id)=(154264) already exists.)
We are using JIRA v7.13.2 and Database:
- name:PostgreSQL
- version:9.4.5
- minor version:4
- major version:9
Driver:
- name:PostgreSQL Native Driver
- version:PostgreSQL 9.4.1212.
The restore got completed with this error, and unable to launch the Jira application.
Please help us to resolve this issue.