Forums

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

Upgrading JIRA Server From v7.3.6 To v8.2.4. Indexing fails with Reindex All FAILED error.

kon ritsuwa September 17, 2019


This Error message from atlassian-jira.log .
===================================================================================
2019-09-16 11:40:56,446 JiraTaskExectionThread-85 INFO admin 563x1042299x1 1vj2ygv 27.110.47.2 /secure/admin/IndexReIndex!reindex.jspa [c.a.j.index.ha.DefaultNodeReindexService] Starting node re-index service
2019-09-16 11:40:56,446 JiraTaskExectionThread-85 INFO admin 563x1042299x1 1vj2ygv 27.110.47.2 /secure/admin/IndexReIndex!reindex.jspa [c.a.j.w.a.admin.index.IndexAdminImpl] Re-indexing finished
2019-09-16 11:40:56,446 JiraTaskExectionThread-85 ERROR admin 563x1042299x1 1vj2ygv 27.110.47.2 /secure/admin/IndexReIndex!reindex.jspa [c.a.jira.task.TaskManagerImpl] Task 'Jira のインデックス作成' failed.
com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:83)
at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:49)
at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.doReindex(ReIndexAsyncIndexerCommand.java:27)
at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:63)
at com.atlassian.jira.web.action.admin.index.ReIndexAsyncIndexerCommand.call(ReIndexAsyncIndexerCommand.java:18)
at com.atlassian.jira.web.action.admin.index.AbstractAsyncIndexerCommand.call(AbstractAsyncIndexerCommand.java:26)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:523)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:485)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
at java.lang.Thread.run(Thread.java:748)
===================================================================================

 


I found this issue. But Cause 1 ~ Cause 4 is not applicable to me.
https://confluence.atlassian.com/jirakb/indexing-fails-with-reindex-all-failed-error-429917142.html


===========================================================================================
jira=# SELECT id,issuenum,project FROM jiraissue WHERE issuenum IS NULL;
id | issuenum | project
----+----------+---------
(0 行)

jira=# SELECT * FROM issuelink WHERE linktype NOT IN (SELECT id FROM issuelinktype);
id | linktype | source | destination | sequence
----+----------+--------+-------------+----------
(0 行)

jira=# select * from changegroup where created is null order by issueid;
id | issueid | author | created
----+---------+--------+---------
(0 行)

jira=#
===========================================================================================

1 answer

1 accepted

0 votes
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2019

Hello @kon ritsuwa

Sorry to hear you are facing this problem.

Checking the description of the error, I think you might be facing one of the errors mentioned below:

Re-index in Jira fails due to IndexFormatTooOldException

Reindexing fails after JIRA has been upgraded due to NoSuchMethodError in AccumulatingResultBuilder

That being said, I would recommend you to check both articles above and try the following steps. P.S: make sure to perform a full backup before doing it:

  1. Upgrade all plugins to a version that supports your version of JIRA
  2. Shutdown JIRA
  3. Delete all the contents from the following folder:
    $JIRA_HOME\caches\indexes
    
  4. Restart JIRA
  5. Perform a full re-index

Let me know if it works for you.

kon ritsuwa September 19, 2019

Dear Petter Gonçalves .

Thank you for your reply and information。

When upgrade Jira Server to v8.2.4.    Perform a full re-index can not runnning in the background.
The Background re-index radio button was disabled.

index.png

If running with「Lock JIRA and rebuild index」. JIRA Server will be unavailable to all users.
I can not lock my company's JIRA server because many people is being used.

and rebuild the full-index will be take one week.


May I Anyway to enable re-index in the background.

I found this issue. But v8.2.4 this property is no longer stored in the propertystring table and this modification will not work.


https://ja.confluence.atlassian.com/jirakb/after-upgrading-jira-indexing-is-disabled-329352458.html

kon ritsuwa September 23, 2019

Dear Petter Gonçalves .

When I Upgrade all plugins to the latest version.

The background re-index button was enabled 。And Re-indexing was successful.

Thank you very much for your help. 

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2019

You are welcome, @kon ritsuwa

I'm glad to know my instructions have helped you. Have a nice day! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events