After upgrading from jira 7.10.1 to jira 8.3.1 I'm getting "Unable to create a tracker when osgi is"
Asked by Anthony Taroli:

After upgrading, I restart JIRA and navigate to the home page. I'm getting the error "

##### License Too Old For Build: We found a problem with your JIRA license" but the licence is up to date. WHen entering the license, my credentials are not validating. When looking at the logs, i get the following below: {#toc-hId-1790153431}

2019-09-23 11:14:39,049 JIRA-Bootstrap ERROR \[c.a.plugin.loaders.ScanningPluginLoader\] Unable to deploy plugin 'com.atlassian.jira.plugins.jira-software-plugin' from 'Unit: /home/jira/home/plugins/installed-plugins/jira-software-plugin-2.2.4.jar (1528873326000)'.  
2019-09-23 11:14:39,049 JIRA-Bootstrap ERROR \[c.a.plugin.loaders.ScanningPluginLoader\] Because of the following exception:  
java.lang.IllegalStateException: Unable to create a tracker when osgi is not running  
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:490)  
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:482)  
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory$1.create(OsgiPluginFactory.java:116)  
at com.atlassian.plugin.osgi.factory.OsgiChainedModuleDescriptorFactoryCreator.create(OsgiChainedModuleDescriptorFactoryCreator.java:58)  
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.getChainedModuleDescriptorFactory(OsgiPluginFactory.java:321)  
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:222)  
at com.atlassian.jira.plugin.MasterPluginFactory.create(MasterPluginFactory.java:73)  
at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:142)  
at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:87)  
at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(PermissionCheckingPluginLoader.java:28)  
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:548)  
at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:125)  
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:764)  
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:199)  
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:168)  
at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:45)  
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:143)  
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:304)  
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:199)  
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.lang.Thread.run(Thread.java:748)

2019-09-23 11:14:39,055 JIRA-Bootstrap ERROR \[c.a.plugin.loaders.ScanningPluginLoader\] Unable to deploy plugin 'com.atlassian.jira.plugins.jira-transition-triggers-plugin' from 'Unit: /home/jira/home/plugins/installed-plugins/jira-transition-triggers-plugin-6.0.0.jar (1528873328000)'.  
2019-09-23 11:14:39,055 JIRA-Bootstrap ERROR \[c.a.plugin.loaders.ScanningPluginLoader\] Because of the following exception:  
java.lang.IllegalStateException: Unable to create a tracker when osgi is not running  
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:490)  
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:482)  
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory$1.create(OsgiPluginFactory.java:116)  
at com.atlassian.plugin.osgi.factory.OsgiChainedModuleDescriptorFactoryCreator.create(OsgiChainedModuleDescriptorFactoryCreator.java:58)  
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.getChainedModuleDescriptorFactory(OsgiPluginFactory.java:321)  
at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(OsgiPluginFactory.java:222)  
at com.atlassian.jira.plugin.MasterPluginFactory.create(MasterPluginFactory.java:73)  
at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:142)  
at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:87)  
at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(PermissionCheckingPluginLoader.java:28)  
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:548)  
at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:125)  
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:764)  
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:199)  
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:168)  
at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:45)  
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:143)  
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:304)  
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:199)  
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.lang.Thread.run(Thread.java:748)

2019-09-23 11:14:39,111 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. Unable to create a tracker when osgi is not running  
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:771)  
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:199)  
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:168)  
at com.atlassian.jira.upgrade.PluginSystemLauncher.start(PluginSystemLauncher.java:45)  
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:143)  
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:304)  
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:199)  
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.lang.Thread.run(Thread.java:748)  
Caused by: java.lang.IllegalStateException: Unable to create a tracker when osgi is not running  
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:490)  
at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:482)  
at com.atlassian.plugin.osgi.factory.OsgiBundlePlugin.installInternal(OsgiBundlePlugin.java:262)  
at com.atlassian.plugin.impl.AbstractPlugin.install(AbstractPlugin.java:424)  
at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1181)  
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:597)  
at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(JiraPluginManager.java:125)  
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(ComponentManager.java:764)


Answers:
author: Daniel Eads
body: Hi Anthony,

Based on the error message it sounds like an invalid license was applied. I see you asked a similar question today and mentioned it gave you a specific date that Jira's license had run out. When the license renews online, it needs to be re-applied to Jira in the Versions \& licenses page.

It doesn't look like there is a Jira license tied to your account specifically, so you will need a technical or billing contact to retrieve the updated Jira license for you from my.atlassian.com. Once the renewed license is available, you can click the pencil icon on the Versions \& licenses page to paste in the new version. If you need additional steps for this, [the process is documented in this KB article](https://confluence.atlassian.com/adminjiraserver/licensing-your-jira-applications-938847718.html).

Based on the questions you've asked, I think the key is getting a technical/billing contact to retrieve the updated license from my.atlassian.com.

Cheers,  
Daniel


Tags: jira

jira-server

server