A fatal error when starting JIRA Plugin system
Asked by J?nis Kums?rs:

Yesterday database where restarted. Since then I can not start Jira. I have tried deleting plugin directories in JIRA_HOME/plugins/.osgi-plugins \&\& .bundled-plugins  
Also checked that all files are owned by correct user.  
Connection to database is successful.  
Still get this error on startup.  

<br />

2024-08-14 11:11:58,069 JIRA-Bootstrap ERROR \[c.a.jira.upgrade.PluginSystemLauncher\] A fatal error occured during initialisation. JIRA has been locked. com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. null at com.atlassian.jira.component.pico.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:676) at com.atlassian.jira.component.pico.ComponentManager.earlyStartPluginSystem(ComponentManager.java:238) at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:45) at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:145) 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.lang.NullPointerException at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.addBundleListener(FelixOsgiContainerManager.java:457) at com.atlassian.plugin.osgi.factory.OsgiBundlePlugin.installInternal(OsgiBundlePlugin.java:224) at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:375) at com.atlassian.plugin.manager.DefaultPluginManager.lambda$addPlugins$20(DefaultPluginManager.java:1167) at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63) at com.atlassian.jira.plugin.JiraPluginManager.addPlugins(JiraPluginManager.java:157) at com.atlassian.plugin.manager.DefaultPluginManager.lambda$earlyStartup$3(DefaultPluginManager.java:583) at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63) at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:518) at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:119) at com.atlassian.jira.component.pico.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:669) ... 11 more 2024-08-14 11:11:58,370 JIRA-Bootstrap ERROR \[c.a.jira.startup.DefaultJiraLauncher\] JIRA has failed to start because of the following errors: \[(Event: Level = (EventLevel: fatal) , Key = (EventType: startup-unexpected) , Desc = We couldn't start JIRA , Exception = An error occurred while trying to start JIRA. We can't give you any more detail right now, we suggest checking the logs for more detail and contacting our support team.  
See our documentation for more information on contacting our support team and creating a support zip.), (Event: Level = (EventLevel: fatal) , Key = (EventType: database) , Desc = Could not execute health check, DatabaseConfigurationManager not available. , Exception = \]


Answers:
author: J?nis Kums?rs
body: There was a mistake on Linux side. Jira process were started by wrong jira user (owner).


author: Ravina
body: Hi [@J?nis Kums?rs](/t5/user/viewprofilepage/user-id/5568052) Can you try the below steps to unlock the jira based on what OS your jira is installed.

<https://confluence.atlassian.com/pages/viewpage.action?pageId=231932719>

<https://confluence.atlassian.com/jirakb/jira-applications-are-locked-224400783.html>

comments: author: J?nis Kums?rs
body: Thank you for suggestion. Unfortunately there is no lock file.


author: Aron Gombas _Midori_
body: This part of the log suggest that the problem is not with the apps actually, but Jira cannot access your database:
> Event: Level = (EventLevel: fatal) , Key = (EventType: database) , Desc = Could not execute health check, DatabaseConfigurationManager not available. , Exception = \]

You could maybe try if SSHing to the Jira server, can you access the DB from the Jira server?

(You should also ask the admin why was the DB restarted? Did they change something around the configuration? Even on the networking level?)


Tags: data-center

jira-data-center

jira-server

server