We successfully upgraded Jira Core Server from 8.22.2 to 9.0, but when Jira re-indexed after the upgrade, we are taken to the "Jira had problems starting up page" with the following message:
There was an exception thrown when trying to complete the upgrades
Below are the logs from jiracore-stdout.log:
Upgrade Succeeded! JIRA has been upgraded to build number 900001
*******************************************************************
2022-07-21 10:15:27,782-0500 JIRA-Bootstrap INFO [c.a.jira.upgrade.UpgradeIndexManager] Requesting immediate reindex
2022-07-21 10:15:49,048-0500 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:244)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.performReindex(DefaultReindexRequestManager.java:215)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.performReindex(DefaultReindexRequestManager.java:205)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.processPendingRequests(DefaultReindexRequestManager.java:181)
at com.atlassian.jira.upgrade.UpgradeIndexManager.executeImmediateReindex(UpgradeIndexManager.java:148)
at com.atlassian.jira.upgrade.UpgradeIndexManager.executeReindex(UpgradeIndexManager.java:139)
at com.atlassian.jira.upgrade.UpgradeIndexManager.runReindexIfNeededAndAllowed(UpgradeIndexManager.java:70)
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:61)
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:170)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:144)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:307)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:202)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:135)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:102)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:100)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:154)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
at com.atlassian.jira.task.TaskManagerImpl.waitUntilTaskCompletes(TaskManagerImpl.java:344)
at com.atlassian.jira.index.request.TaskDescriptorHelper.waitForTaskCompletion(TaskDescriptorHelper.java:37)
at com.atlassian.jira.index.request.DefaultReindexRequestManager.reindex(DefaultReindexRequestManager.java:242)
Caused by: com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1 errors
at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:88)
at com.atlassian.jira.util.index.CompositeIndexLifecycleManager.reIndexAll(CompositeIndexLifecycleManager.java:51)
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:547)
at com.atlassian.jira.index.request.DefaultReindexRequestManager$RunReindexAndUpdateRequestTask.call(DefaultReindexRequestManager.java:532)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:528)
at com.atlassian.jira.task.TaskManagerImpl$TaskCallableDecorator.call(TaskManagerImpl.java:486)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at com.atlassian.jira.task.ForkedThreadExecutor$ForkedRunnableDecorator.run(ForkedThreadExecutor.java:216)
... 1 more
Any help would be appreciated. Thank you.
I have the same problem with the upgrade to the Jira version 8.20.11.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worth checking out the details in https://community.atlassian.com/t5/Jira-Software-questions/Failed-to-reindex-from-upgrading-from-7-1-2-to-8-4-2/qaq-p/1198796
But I have also seen similar when upgrading and the JVM settings are either the default or have been reverted to the defaults. So worth checking that you have sufficient memory allocated in the JVM.
Phill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I went and tried those suggestions, and they did not help. The memory settings were not changed, but I bumped the min to 512m and max to 4096m. Still didn't help. When I try to re-index, it fails and I see this in the error logs:
atlassian-jira.log
2022-07-21 15:17:46,200-0500 JiraTaskExecutionThread-2 WARN mwebster 917x107x1 u3lh0p IP /secure/admin/jira/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] Indexing failed for Entity - '10000'
2022-07-21 15:17:46,200-0500 JiraTaskExecutionThread-2 WARN mwebster 917x107x1 u3lh0p IP /secure/admin/jira/IndexReIndex!reindex.jspa [c.a.jira.index.AccumulatingResultBuilder] com.atlassian.cache.CacheException: com.atlassian.cache.CacheException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.greenhopper.customfield.epicstatus.SelectSearcherWrapper': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.greenhopper.customfield.epicstatus.SelectSearcherWrapper]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: 'java.lang.Object com.atlassian.jira.util.JiraUtils.loadComponent(java.lang.Class)'
2022-07-21 15:17:46,200-0500 JiraTaskExecutionThread-2 ERROR mwebster 917x107x1 u3lh0p IP /secure/admin/jira/IndexReIndex!reindex.jspa [c.a.j.util.index.CompositeIndexLifecycleManager] Reindexing encountered an error for one of the indexers. Reindex all continues. Error for indexer: DefaultIndexManager: paths: [C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\comments, C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\issues, C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\changes, C:\Program Files\Atlassian\Application Data\JIRA\caches\indexesV2\worklogs]
com.atlassian.jira.index.IndexingFailureException: Indexing completed with 1857 errors
2022-07-21 15:17:49,887-0500 http-nio-80-exec-13 ERROR mwebster 917x134x1 u3lh0p IP /secure/admin/jira/IndexProgress.jspa [c.a.plugin.web.DefaultWebInterfaceManager] Could not evaluate condition 'com.atlassian.plugin.web.conditions.AndCompositeCondition@5a4d7ea9' for descriptor: com.atlassian.jirafisheyeplugin:perforce-config-webfragment (null)
java.lang.NoSuchMethodError: 'boolean com.atlassian.jira.application.ApplicationAuthorizationService.rolesEnabled()'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry my suggestions did not help but glad to see trying with Jira 9.1 did. Would be interesting to know if this was an actual fix put in place by Atlassian or something else...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I hjave the same under Jira 9.5, where this is used:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.