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?
Hi Dimitry,
You can enable the plugin directly from the database as well. Here's how you do it:
select BANDANAVALUE from BANDANA where BANDANAKEY='plugin.manager.state.Map';
<map><br> <entry><br> <string>com.atlassian.atlassian-failure-cache-plugin</string><br> <boolean>false</boolean><br> </entry><br> <entry><br> <string>confluence.extra.chart</string><br> <boolean>false</boolean><br> </entry><br></map><br><br>
update BANDANA set BANDANAVALUE='<map> <entry> <string>confluence.extra.chart</string> <boolean>false</boolean> </entry> </map>' where BANDANAKEY='plugin.manager.state.Map';
Hope this helps!
Regards,
Jing Hwa
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!
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
Retrieve the plugin's JSON representation (with sysadmin credentials):
GET /rest/plugins/1.0/${plugin.key}-key
enabled
true
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]
The following command is working for me.
curl -L -u ${account}:${passwd} --request PUT -d '{"enabled": true, "links": {}}' -H "Content-Type: application/vnd.atl.plugins.plugin+json" ${url}/rest/plugins/1.0/${plugin.key}-key
It looks like you're new here. Sign in or register to get started.