Safe Mode doesn't get disabled in Jira Data Center

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

When Jira administrators activate Safe Mode, all user-installed apps are disabled. However, upon selecting Exit safe mode and restore previous configuration, you may find that the applications remain unexpectedly disabled.

Cause

This issue can occur if an app has been archived in the Atlassian Marketplace. The problem is often indicated by the following error found in the application logs:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2024-09-03 04:20:46,163-0700 http-nio-8082-exec-1 ERROR xxxx 259x616x1 ly0txj 10.252.207.64,10.18.4.141 /rest/plugins/1.0/safe-mode [c.a.p.osgi.factory.OsgiPluginInstalledHelper] Ca nnot determine required plugins, cannot resolve bundle 'com.idalko.pivotgadget' 2024-09-03 04:20:46,167-0700 http-nio-8082-exec-1 ERROR xxxx 259x616x1 ly0txj 10.252.207.64,10.18.4.141 /rest/plugins/1.0/safe-mode [c.a.p.osgi.factory.OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.idalko.pivotgadget' : Unable to resolve com.idalko.pivotgadget [215](R 215.0): missing requirement [com.idalko.pivotgadget [215](R 215.0)] os gi.wiring.package; (&(osgi.wiring.package=javax.annotation)(version>=1.0.0)(version<=1.0.0)) Unresolved requirements: [[com.idalko.pivotgadget [215](R 215.0)] osgi.wiring.package; (&(os gi.wiring.package=javax.annotation)(version>=1.0.0)(version<=1.0.0))]. This error usually occurs when your plugin imports a package from another bundle with a specific version constrai nt and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to f ix this, see https://developer.atlassian.com/x/mQAN 2024-09-03 04:20:46,167-0700 http-nio-8082-exec-1 WARN xxxx 259x616x1 ly0txj 10.252.207.64,10.18.4.141 /rest/plugins/1.0/safe-mode [c.a.plugin.impl.AbstractPlugin] Unable to enable plugin 'com.idalko.pivotgadget' 2024-09-03 04:20:46,167-0700 http-nio-8082-exec-1 WARN xxxx 259x616x1 ly0txj 10.252.207.64,10.18.4.141 /rest/plugins/1.0/safe-mode [c.a.plugin.impl.AbstractPlugin] Because of this e xception com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.idalko.pivotgadget ... Caused by: org.osgi.framework.BundleException: Unable to resolve com.idalko.pivotgadget [215](R 215.0): missing requirement [com.idalko.pivotgadget [215](R 215.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.annotation)(version>=1.0.0)(version<=1.0.0)) Unresolved requirements: [[com.idalko.pivotgadget [215](R 215.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.annotation)(version>=1.0.0)(version<=1.0.0))] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:992) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:405)

In this example, Jira attempts to enable Idalko'sThe Pivot Gadget plugin, but it was unsuccessful.

Resolution

To resolve the issue, uninstall the app mentioned in the error log and then disable Safe Mode again.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.