-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visualize: Error: in cell #1: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="github_repositories" & index_uuid="na" & index="github_repositories" } #202
Comments
Hi @rootsongjc , Can you share the setup.cfg? it may be possible that in the section |
I can't find the dashboard.cfg
I want to figure out why these errors came out because I want to monitor the GitHub repos. |
Thank you for sharing it. Try to modify your setup.cfg and projects.json in the following way: setup.cfg
projects.json
Sorry, the documentation is problaby not good enough. I will update the doc at: https://github.com/chaoss/grimoirelab-sirmordred/blob/master/README.md#panels, to make it explict that github:repo sections should be declared if |
Feel free to close the issue @rootsongjc if the problem is solved, and don't hesitate to leave comments on the referenced PR if you think it's missing something. Thanks |
@valeriocos Thank you, I am working on it, if I have any new progress, I will leave a comment here. |
@valeriocos I didn't find the dashboard.cfg
infra.cfg
project.cfg
Every time I open http://localhost:5601, the link below repositories didn't appear.
|
The dashboard.cfg should be fine. Can you share the output of: |
curl http://localhost:9200/_cat/indices
yellow open github_grimoirelab-raw NQdR4Y93Q86mnmtqszp5QA 5 1 5293 23 33.6mb 33.6mb
yellow open git_grimoirelab-raw za01Kt3_RnqLvhiMQhLXGw 5 1 12693 14 30.3mb 30.3mb
yellow open git_onion_grimoirelab-enriched zipnNtfJTy6NVDSw1dxEHQ 5 1 5234 0 1.5mb 1.5mb
yellow open github_grimoirelab_stats-raw 6wXS_FyNT92Qu9SAMy2s3g 5 1 88 0 2.2mb 2.2mb
yellow open github_grimoirelab _yJOKgVZT0GQvycjSMorUA 5 1 5288 4267 11.6mb 11.6mb
yellow open git_grimoirelab 78FFpON0Ty6G6eRGjQBzcA 5 1 12693 51 48.3mb 48.3mb
yellow open github_grimoirelab_stats _dVnoqaZRpCS-jA1rI--BA 5 1 88 8 513.6kb 513.6kb
yellow open .kibana obJQwYoCSo-_8OuIIOpW5g 1 1 199 3 242kb 242kb
yellow open git_aoc_grimoirelab-enriched v0xGBHIWSu-rdWjWxbhX4Q 5 1 187461 73484 198.7mb 198.7mb curl http://localhost:9200/_alias?pretty
{
"github_grimoirelab-raw" : {
"aliases" : {
"github-raw" : { }
}
},
"git_grimoirelab-raw" : {
"aliases" : {
"git-raw" : { }
}
},
"git_onion_grimoirelab-enriched" : {
"aliases" : {
"all_onion" : { }
}
},
"github_grimoirelab_stats-raw" : {
"aliases" : { }
},
"github_grimoirelab" : {
"aliases" : {
"github_issues" : { },
"github_issues_enrich" : { },
"issues_closed" : { },
"issues_created" : { },
"issues_updated" : { }
}
},
"git_grimoirelab" : {
"aliases" : {
"affiliations" : { },
"demographics" : { },
"git" : { },
"git_author" : { },
"git_enrich" : { }
}
},
"github_grimoirelab_stats" : {
"aliases" : {
"github" : { }
}
},
".kibana" : {
"aliases" : { }
},
"git_aoc_grimoirelab-enriched" : {
"aliases" : {
"git_areas_of_code" : { }
}
}
} |
@valeriocos It works, thank you. I think we should update the Grimoirelab Tutorial to guide users on how to monitor GitHub repositories correctly. |
Thank you for your feeback, it would be great if you could contribute to the tutorial (@jgbarah can help you on this). |
Hello, I got a similar error with the grimoire/full docker image:
This is because my resource.id is different. Here the result of
As soon as I changed the alias with:
Here my redacted credentials.cfg
Is is possible that the resource.id is not read correctly? Where is it set? |
Hi @ioiobzit, thanks for reporting this problem. The aliases are declared at https://github.com/chaoss/grimoirelab-sirmordred/blob/master/aliases.json (note that the format has recently changed). For every raw/enriched index, the corresponding aliases are set by this code: I'll try to replicate the behaviour you report (the alias for github:repo is not set automatically). In the meanwhile, the solution is to set it manually (as you did). |
Hi @BlairLee, The error you see on the dashboard is that the index patterns don't exist, you can use kidash to import those index patterns. But the param You can't add aliases to an index if that index doesn't exist. Those indexes are not created so I guess the mordred container is not running or the container failure due to the incorrect Could you remove Best, |
I removed
Here is my
|
Hi @BlairLee, Sorry for the late reply, This new error is caused by the permission of your directories. Docker cannot create the file If you are using docker-compose as https://github.com/chaoss/grimoirelab/blob/master/docker-compose/docker-compose.yml#L56 make sure that your docker user has read and write permission on that directory example:
In your docker-compose.yml
And restart the container. I hope it helps you. Best, |
Hi @BlairLee, How are you, I went through the same error and the solution that worked for me running compose on win 10 was that within the docker-compose.yml configuration for the line where the configuration is declared change it for this
with which the compose runs perfectly I hope I've helped |
Thanks for your help!
…------------------ 原始邮件 ------------------
发件人: "Juan ***@***.***>;
发送时间: 2022年2月10日(星期四) 上午8:51
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [chaoss/grimoirelab] Visualize: Error: in cell #1: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="github_repositories" & index_uuid="na" & index="github_repositories" } (#202)
Hi @BlairLee,
How are you, I went through the same error and the solution that worked for me running compose on win 10 was that within the docker-compose.yml configuration for the line where the configuration is declared
mordred:
restart: on-failure:5
image: bitergia/mordred:latest
volumes:
- /tmp/:/home/bitergy/logs
change it for this
- ../home/bitergia/logs
with which the compose runs perfectly
I hope I've helped
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I followed the doc deploying Grimoire from Dockerhub, everything worked smoothly but the Github Repositories had no data with the following messages.
Error messages
Visualize: Error: in cell #1: [index_not_found_exception] no such index, with { resource.type="index_or_alias" & resource.id="github_repositories" & index_uuid="na" & index="github_repositories" }
Environment
projects.json
The text was updated successfully, but these errors were encountered: