How to enable system plugin?

Help enable accidentally shut down a system plugin "Atlassian UI Plugin".
In the manage add-os, turned off ('disable') the system plugin "Atlassian UI Plugin" and restart the Confluence.
After that the interface lost all the interactive features provided by the js.
Update the plugin according to the description https://confluence.atlassian.com/display/CONFKB/How+to+Edit+Bundled+or+System+Pluginsnot helped -- plugin updated, but remained in the 'disable' state.
Tell me how you can enable a system plugin bypassing the web interface?

4 answers

1 accepted

3 votes

Hi Dimitry,

You can enable the plugin directly from the database as well. Here's how you do it:

  1. Identify the plugin key in Confluence Admin >> Manage Add On >> System. As you can see in the screenshot below, the plugin key is "com.atlassian.atlassian-failure-cache-plugin".
  2. Now shutdown your Confluence
  3. Backup your Confluence Database dump in case you need to revert the changes.
  4. Run the query below in your Confluence database:
    select BANDANAVALUE from BANDANA where BANDANAKEY='plugin.manager.state.Map';

  5. The result should be something similar to this:
    <map>
    <entry>
    <string>com.atlassian.atlassian-failure-cache-plugin</string>
    <boolean>false</boolean>
    </entry>
    <entry>
    <string>confluence.extra.chart</string>
    <boolean>false</boolean>
    </entry>
    </map>

  6. Note the plugin key "com.atlassian.atlassian-failure-cache-plugin" in the result. Remove the "com.atlassian.atlassian-failure-cache-plugin" entry from the BANDANAVALUE to re-enable the plugin.
    update BANDANA set BANDANAVALUE='&lt;map&gt;
      &lt;entry&gt;
        &lt;string&gt;confluence.extra.chart&lt;/string&gt;
        &lt;boolean&gt;false&lt;/boolean&gt;
      &lt;/entry&gt;
    &lt;/map&gt;' where BANDANAKEY='plugin.manager.state.Map';
  7. Clear Plugin Cache
  8. Restart Your Confluence

Hope this helps!

Regards,

Jing Hwa

0 vote
Ann Worley Atlassian Team Jan 13, 2014

Hi Dmitriy,

What happens when you try to enable the plugin in the UI? Is the enable button greyed out?

Cheers,

Ann Worley

Support Engineer

Atlassian

Hello Ann, Jing!

Thanks for the quick reply :)

After disabling the plugin interface will not allow it to enable:
Nevertheless, the proposed solution Jing worked!
Thank you very much!

I'm glad the proposed solution helped! \(^_^)/

You can use the UPM's REST API, documented at https://ecosystem.atlassian.net/wiki/display/UPM/UPM+REST+API

 

  1. Retrieve the plugin's JSON representation (with sysadmin credentials):

    GET /rest/plugins/1.0/${plugin.key}-key
    
  2. Set the enabled field in the JSON representation to true
  3. Put the updated representation on the application (with sysadmin credentials):

    PUT /rest/plugins/1.0/${plugin.key}-key
    Content-Type: application/vnd.atl.plugins.plugin+json
    
    [JSON representation in BODY]
    


(Note, I haven't verified this works, but the documentation suggests it should)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

377 views 16 9
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you