Operations Center does not start after uninstalling Analytics

Article ID:360022672211
1 minute readKnowledge base

Issue

  • Operations Center fails to start and show the following exception in the logs:

Jan 20, 2019 8:43:30 PM hudson.ExtensionFinder$GuiceFinder <init>
SEVERE: Failed to create Guice container from all the plugins
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) No implementation for com.cloudbees.opscenter.analytics.auth.AuthenticatedMasterProvider was bound.
  while locating com.cloudbees.opscenter.analytics.auth.AuthenticatedMasterProvider
    for parameter 0 at com.cloudbees.opscenter.analytics.Feeder.<init>(Feeder.java:117)
  while locating com.cloudbees.opscenter.analytics.Feeder
    for field at com.cloudbees.opscenter.analytics.server.feeder.FeederAction.feeder(FeederAction.java:11)
  at hudson.ExtensionFinder$GuiceFinder$SezpozModule.configure(ExtensionFinder.java:508)
  [...]

Resolution

This issue happens if the operations-center-analytics plugin has been disabled or uninstalled but other operations-center-analytics-* plugins are still enabled / installed.

To fix this, disable/uninstall all the Operations Center Analytics plugins as they are end of life as per Operations Center Analytics Plugin.

For more details about how to disable plugins offline, see How to disable a plugin when Jenkins is down?