Issue
After restarting your Jenkins server or a crash, the analytics 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
- Stop Elasticsearch
- Deleted the old /opt/vgi/analytics/data
- Create a new “data” folder
- Stop CJOC
- Restarted Elasticsearch
- Restarted CJOC
- Reenable Analytics reporting.
0 Comments