Unable to Enable Applinks Plugin Due to Invalid State

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

Symptoms

After restating, the Confluence Applinks plugin is disabled. Trying to re-enable it fails. Logs contain messages like:

1 2 3 4 5 2009-12-02 15:09:08,508 INFO [http-8081-6] [admin.actions.plugins.ManagePluginsAction] logPluginAction User 'admin' enable plugin key: com.atlassian.applinks.confluence 2009-12-02 15:09:08,524 WARN [http-8081-6] [plugin.osgi.factory.OsgiPlugin] enable Unable to enable plugin 'com.atlassian.applinks.confluence' -- url: /confluence/admin/enableplugin.action | userName: syamanaka | referer: http://confluence.atlassiancom/confluence/admin/viewplugins.action?pluginKey=com.atlassian.applinks.confluence | action: enableplugin com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot enable the plugin 'com.atlassian.applinks.confluence' when the bundle is not in the resolved or installed state: 32(14) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:371)

Cause

The plugin's state is invalid.

Resolution

  1. Check out the database entry:

    1 SELECT BANDANAVALUE FROM bandana WHERE BANDANAKEY = 'plugin.manager.state.Map';
  2. Look for an entry about the applinks plugin, like this:

    1 2 3 4 <entry> <string>com.atlassian.applinks.confluence</string> <boolean>false</boolean> </entry>
  3. Delete whatever entry's there, then re-update the table:

    1 UPDATE bandana SET BANDANAVALUE = '<insert new xml here>' WHERE BANDANAKEY = 'plugin.manager.state.Map';
Updated on April 7, 2025

Still need help?

The Atlassian Community is here for you.