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

This widget could not be displayed.

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

This widget could not be displayed.
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

This widget could not be displayed.

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! \(^_^)/

This widget could not be displayed.
Don Willis Atlassian Team Jan 20, 2015

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

601 views 8 6
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