mistio / mist-ce

Mist is an open source, multicloud management platform
https://mist.io
Apache License 2.0
1.87k stars 316 forks source link

Disable monitoring and Enable monitoring Execution error #982

Open m18646461005 opened 4 years ago

m18646461005 commented 4 years ago

image

image

Request URL: http://192.168.100.181/api/v1/jobs/f8a75598e6dd4bce9b689f5bcefd45f5

response:Internal Server Error

d-mo commented 4 years ago

We've seen this happen sometimes and it had to do with the Elasticsearch index configuration. We're not exactly sure what triggers it. An quick fix is to delete your elasticsearch volume and let it recreate itself. However, that means you'll lose all past logs.

e.g.

docker-compose down && docker volume rm mistce_elasticsearch && docker-compose up -d

If you'd like to look for a better fix check out the respective exception in the api logs.