Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error with Lexorank in error logs

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

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

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

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,934 views 11 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you