I got this exception when I restore my old Jira database on JIRA6.4.11 to a fresh database on JIRA7.4.2 (with a new version of Oracle).
2018-11-14 12:42:49,624 JiraImportTaskExecutionThread-1 ERROR anonymous 627x8x1 1rwz7dk 10.52.193.143,10.134.33.69 /secure/SetupImport.jspa [c.a.j.bc.dataimport.DefaultDataImportService] Error importing data: org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
org.xml.sax.SAXException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
java.lang.Exception: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:SequenceValueItem][seqName,EntityPropertyIndexDocument][seqId,10100] (SQL Exception while executing the following:INSERT INTO SEQUENCE_VALUE_ITEM (SEQ_NAME, SEQ_ID) VALUES (?, ?) (ORA-00001: unique constraint (JIRAATGL7.PK_SEQUENCE_VALUE_ITEM) violated
))
I cheked the max of the concerning table (EntityPropertyIndexDocument), but there is no inconsistancy as it is advised here .
Max is 10000 in the table and the value is 10100 in SequenceValueItem.
Anyway it is not the same exception as the mentionned link before.
I have no idea to solve this issue.
Please Help !
Hi Emmanuel,
old Jira database on JIRA6.4.11 to a fresh database on JIRA7.4.2
Migrating between versions like this won't work unfortunately. Especially with the jump from Jira 6.4 to Jira 7.0, the installer had to make many changes to the database schemas. We call these "migration tasks" and they need to run each time Jira versions change. The installer takes care of this for you when you do an upgrade.
Our migration hub has more information about the Jira 7.0 upgrade, but here's what I'd recommend for you at the most basic level as it sounds like you want to do both an Oracle version change as well as a Jira upgrade:
Obviously each upgrade is a little more involved that a "single step" in a checklist, but this gives you the general idea of the safe path to upgrade from 6.x to 7.x as well as changing your Oracle version.
If you run into any additional trouble this route, we're happy to help!
Cheers,
Daniel
Hello Emmanuel,
Check out this KB instead it looks like it lines up better with the error, and since the SequenceValueItem is already a higher value the other article does not apply:
Regards,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Emmanuel!
Seems like you already opened a support ticket with our support team!
As Andrew suggested, the best approach for now (before moving further on the troubleshooting) is restoring the old database backup into a 7.0.11 version before moving to a higher version since jumping from a 6.4 directly to a 7.1+ isn't a supported upgrade path.
Please attempt to perform this upgrade against a new 7.0.11 instance of JIRA before proceeding with the upgrade to 7.4.x.
Hope this can help!
Best Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.