hygieia / hygieia-scm-gitlab-collector

Hygieia Collector for Gitlab SCM
https://github.com/capitalone/Hygieia/blob/gh-pages/pages/hygieia/collectors/scm/gitlab.md
Apache License 2.0
4 stars 13 forks source link

scm-Gitlab-collector-Index unique_mdata_key_type already exists - causing collector not to work #7

Closed prabhu87 closed 4 years ago

prabhu87 commented 4 years ago

Facing issues with mongodb index already exists when run this hygieia-scm-gitlab-collector API, below the error.

Caused by: com.mongodb.MongoCommandException: Command failed with error 85: 'Index with name: unique_mdata_key_type already exists with different options' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "Index with name: unique_mdata_key_type already exists with different options", "code" : 85, "codeName" : "IndexOptionsConflict" }

Could you please check this issue.

Checked out latest master branch and tested.

rvema commented 4 years ago

This issue should be resolved now. Please obtain the latest code from master branch and retry.

prabhu87 commented 4 years ago

collector is working now. closing this issue.