Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error with Lexorank in error logs

Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2018

Hi All

Context: JIRA 7.2.7 version.

I recently migrated our database from MySQL to PostGre SQL (unsing XML export import procedure).

After migration to PostGres i am observing this error in the logs everytime i create a new issue. 

I created the PostGreSQL database as described in the JIRA documentation.

I have also tried performing reindexing several times (even with deleting the caches folders) but has not worked.

Please help me identify what may be the root cause to this.

 

Error log:

 

2018-06-06 06:42:35,186 http-nio-8090-exec-11 WARN john 402x180x1 19e1ew6 172.xx.xxx.xx,10.xxx.xxx.xx /secure/CreateIssueDetails.jspa [c.a.j.issue.index.DefaultIssueDocumentFactory] Error indexing issue TEST-674: Dropping 'customfield_12760'
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:PostgreSQL
- version:9.2.23
- minor version:2
- major version:9
Driver:
- name:PostgreSQL Native Driver
- version:PostgreSQL 9.1 JDBC4 (build 903)
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "AO_60DB71_LEXORANK_pkey"
Detail: Key ("ID")=(5854) already exists.

2 answers

0 votes
Ash
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2018

@Rahul Aich [Nagra] are you able to solve this?

Ash
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2018

I have the same issue after switching the database from MySQL 5.6 to PostgreSQL 9.6 AWS RDS

JIRA version 7.11.2

 

c.a.j.issue.index.DefaultIssueDocumentFactory] Error indexing issue CRQ2-22: Dropping 'customfield_13600'
com.atlassian.activeobjects.internal.ActiveObjectsSqlException: There was a SQL exception thrown by the Active Objects library:
Database:
- name:PostgreSQL
- version:9.6.9
- minor version:6
- major version:9
Driver:
- name:PostgreSQL Native Driver
- version:PostgreSQL 9.4.1212
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "AO_60DB71_LEXORANK_pkey"
Detail: Key ("ID")=(33) already exists.

0 votes
Moses Thomas
Community Champion
June 6, 2018
Ash
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2018

@Moses Thomas as mentioned in this document there is no duplicate issues found when I run those query.

Suggest an answer

Log in or Sign up to answer