How to Restart an Analytics Dashboard After an Abrupt Server Restart

Issue

After restarting your Jenkins server or a crash, the analitics dashboard is not showing. The error shows something like this:

com.cloudbees.opscenter.elasticsearch.ElasticsearchInitializer onStarted 
SEVERE: Failed to initialize Elasticsearch 
java.io.IOException: Failed to load dashboards 

or

java.lang.IllegalStateException: Tried to set value from future which is not done

Environment

  • CloudBees Operations Center
  • CloudBees Jenkins Enterprise
  • Linux

Resolution

  1. Stop elasticsearch
  2. Deleted the old /opt/vgi/analytics/data
  3. Create a new “data” folder
  4. Stop CJOC
  5. Restarted Elasticsearch
  6. Restarted CJOC
  7. Reenable Analytics reporting.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.