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>
<entry>
<string>com.atlassian.atlassian-failure-cache-plugin</string>
<boolean>false</boolean>
</entry>
<entry>
<string>confluence.extra.chart</string>
<boolean>false</boolean>
</entry>
</map>
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
field in the JSON representation to 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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ann, Jing!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm glad the proposed solution helped! \(^_^)/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.