Failed to reindex from upgrading from 7.1.2 to 8.4.2

Dahai Xu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2019

Failed to reindex after upgrade.

Failed again even after inputting new licence. deleting $JIRA_HOME\caches and run full index

==

Re-indexing

Errors

The re-index did not complete successfully. Please refer to Jira logs for more details.

Jira Indexing
Currently working on: PortalPage index: Re-indexing is 20% complete.
Task completed in 0 seconds
Started 1 hour ago.
Finished 1 hour ago.

=====================From catalina.out ===

2019-10-09 05:47:38,228 JIRA-Bootstrap INFO [c.a.jira.upgrade.LicenseCheckingUpgradeService]

*******************************************************************
Upgrade Succeeded! JIRA has been upgraded to build number 804000
*******************************************************************

2019-10-09 05:47:38,234 JIRA-Bootstrap INFO [c.a.jira.upgrade.UpgradeIndexManager] Requesting immediate reindex
2019-10-09 05:47:40,322 JIRA-Bootstrap ERROR [c.a.jira.upgrade.LicenseCheckingUpgradeService] An exception occurred when running to call a callable method, this shouldn't happen.
java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at com.atlassian.jira.index.request.DefaultReindexRequestManager.reindex(DefaultReindexRequestManager.java:243)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.performReindex(DefaultReindexRequestManager.java:214)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.performReindex(DefaultReindexRequestManager.java:204)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.processPendingRequests(DefaultReindexRequestManager.java:180)
at com.atlassian.jira.upgrade.UpgradeIndexManager.executeImmediateReindex(UpgradeIndexManager.java:136)
at com.atlassian.jira.upgrade.UpgradeIndexManager.executeReindex(UpgradeIndexManager.java:127)
at com.atlassian.jira.upgrade.UpgradeIndexManager.runReindexIfNeededAndAllowed(UpgradeIndexManager.java:67)
at com.atlassian.jira.upgrade.LicenseCheckingUpgradeService.executeUpgrades(LicenseCheckingUpgradeService.java:147)
at com.atlassian.jira.upgrade.LicenseCheckingUpgradeService.runUpgrades(LicenseCheckingUpgradeService.java:97)
at com.atlassian.jira.upgrade.ClusterLockingUpgradeService.runUpgrades(ClusterLockingUpgradeService.java:35)
at com.atlassian.jira.upgrade.LoggingUpgradeService.lambda$runUpgradesWithLogging$0(LoggingUpgradeService.java:28)
at com.atlassian.jira.upgrade.LoggingUpgradeService.runWithTaskLogging(LoggingUpgradeService.java:43)
at com.atlassian.jira.upgrade.LoggingUpgradeService.runUpgradesWithLogging(LoggingUpgradeService.java:28)
at com.atlassian.jira.upgrade.IndexingUpgradeService.runUpgrades(IndexingUpgradeService.java:19)
at com.atlassian.jira.upgrade.DefaultUpgradeService.runUpgrades(DefaultUpgradeService.java:56)
at com.atlassian.jira.upgrade.UpgradeLauncher.upgradeIfNeeded(UpgradeLauncher.java:109)
at com.atlassian.jira.upgrade.UpgradeLauncher.start(UpgradeLauncher.java:86)
at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:50)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDBActivated(DefaultJiraLauncher.java:172)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:146)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:301)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:196)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:137)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:104)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:102)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:154)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.atlassian.jira.task.TaskManagerImpl.waitUntilTaskCompletes(TaskManagerImpl.java:348)
at com.atlassian.jira.index.request.TaskDescriptorHelper.waitForTaskCompletion(TaskDescriptorHelper.java:47)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.reindex(DefaultReindexRequestManager.java:241)
Caused by: 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.index.request.DefaultReindexRequestManager$RunReindexAndUpdateRequestTask.call(DefaultReindexRequestManager.java:546)
at com.atlassian.jira.index.request.DefaultReindexRequestManager$RunReindexAndUpdateRequestTask.call(DefaultReindexRequestManager.java:531)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:537)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:495)
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)

1 answer

1 accepted

0 votes
Answer accepted
Dahai Xu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2019

Resolved after deleting $JIRA_HOME\caches and run full index again :)

Teja
Contributor
April 30, 2020

I have the same issue but did not work as it worked for you.

Dinesh
Contributor
July 13, 2020

were you able to resolve the issue?

Teja
Contributor
July 13, 2020

@Dinesh Our issue has been resolved.

In my case the Atlassian Jira services had been set to Network Services as Log On As instead of Local System, that really caused the service to reach $JIRA_HOME\caches folder.

Reindex.PNG

Make sure to check the $JIRA_HOME\caches folder permission to Jira user.

 

Regards

Tejas

Suggest an answer

Log in or Sign up to answer