-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
Affects Version/s: 10.2.0
-
Component/s: Administration - Plugins
-
None
-
Severity 3 - Minor
Issue Summary
CSP plugin OSGi dependency error repeatedly logged at Bitbucket Mirror 10.2 startup
Steps to Reproduce
- Install Bitbucket 10.2 as a Mirror instance
- Start the mirror service.
- Check the mirror log (atlassian-bitbucket.log) around startup time.
Expected Results
If the plugin is not required on mirrors, it should be packaged/marked such that it does not attempt to start and therefore does not log an ERROR.
Actual Results
The following exception is thrown in the atlassian-bitbucket.log file:
Cannot determine required plugins, cannot resolve bundle 'com.atlassian.bitbucket.server.bitbucket-content-security-policy'Detected an error (BundleException) enabling the plugin 'com.atlassian.bitbucket.server.bitbucket-content-security-policy' :Unable to resolve com.atlassian.bitbucket.server.bitbucket-content-security-policy [21](R 21.0): missing requirement [com.atlassian.bitbucket.server.bitbucket-content-security-policy [21](R 21.0)] osgi.wiring.package; (osgi.wiring.package=com.atlassian.plugins.cdn.api)
This doesn't affect the Startup and Mirror functionality.
Workaround
Currently there is no known workaround for this behaviour. A workaround will be added here when available.