Confluence Cloud Migration Assistant fails to enable due to Okta integration
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
The Cloud Migration Assistant for Confluence app fails to enable in Confluence server due to a duplicate package warning, when using the Okta Authenticator integration. The following appears in the atlassian-confluence.log
2019-07-03 07:26:09,164 WARN [localhost-startStop-1] [org.twdata.pkgscanner.ExportPackageListBuilder] logDuplicateWarning Package Scanner found duplicates for package 'javax.inject' with different versions. Files: okta-confluence-2.0.3.jar and javax.inject-1.jar
'/confluence-app/confluence/confluence/WEB-INF/lib/okta-confluence-2.0.3.jar'
'/confluence-app/confluence/confluence/WEB-INF/lib/javax.inject-1.jar
Diagnosis
Environment
Confluence is using the Okta On Premises SAML App for authentication
Diagnostic Steps
- Remove the integration temporarily to check if the plugin re-enables
Cause
The duplicate package in the plugin system is causing issues when the Cloud Migration plugin tries to enable.
Resolution
Install the 3.1.4+ version of the Okta Confluence Authenticator Jar to fix the problem. See Okta's Release Notes for more information.