Atlassian OAuth Service Provider Plugin is Disabled After Upgrade
Symptoms
After upgrading Confluence to version 5.4.x, the Atlassian OAuth Service Provider Plugin is disabled and 'grayed' out (no enable button).
The following can be seen in the atlassian-confluence.log
when starting Confluence:
2014-07-28 16:22:23,640 WARN [main] [atlassian.plugin.manager.DefaultPluginManager] addPlugins System Plugin 'com.atlassian.oauth.serviceprovider' is disabled.
Diagnosis
- You might be encountering - CONF-32397Getting issue details... STATUS
- Generate a Confluence Support Zip and check the
application.xml file
to see ifcom.atlassian.oauth.serviceprovider.sal
is ENABLED - Clear the Confluence Plugin Cache
- Ensure there's no custom OAuth plugin blocking the Atlassian OAuth plugin
Cause
The UPM (Universal Plugin Manager) is not updated to the latest compatible version and com.atlassian.oauth.serviceprovider
is disabled in BANDANA's plugin.manager.state.Map.
Resolution
- Upgrade the UPM to the latest version
- Backup your database.
Run the following query:
select * from BANDANA where BANDANAKEY='plugin.manager.state.Map';
Update the BANDANAKEY to remove
com.atlassian.oauth.serviceprovider
fromplugin.manager.state.Map. Removing Malfunctioning Add-ons will guide you through this process
- Restart Confluence