apache / kibble-1

Apache Kibble - a tool to collect, aggregate and visualize data about any software project
https://kibble.apache.org/
Apache License 2.0
59 stars 28 forks source link

Installation Question: Transport Error #2

Closed germonprez closed 6 years ago

germonprez commented 6 years ago

Hi all,

I'm running through the install and running into this:

Creating index kibble Index creation failed: TransportError(400, 'mapper_parsing_exception', 'No handler for type [string] declared on field [sourceID]')

Is this stemming from elasticsearch? Can provide more detail if needed. Any thoughts would be great.

Humbedooh commented 6 years ago

This is an ElasticSearch 5.x/6.x compatibility issue. 6.x AIUI does not have the string type any longer, and so this error shows up. We'll need to account for that in the setup script. Fastest solution is to downgrade to a 5.x installation if you need it working right now. I'll look into a fix for the setup later this week.

germonprez commented 6 years ago

Ok. Rolled back. Ran the setup script (but not as sudo). Things seemed to click better.

Creating index kibble Index created! {'acknowledged': True, 'shards_acknowledged': True, 'index': 'kibble'} Creating administrator account Account created! Writing Kibble config (../api/yaml/kibble.yaml) Traceback (most recent call last): File "setup.py", line 239, in with open(kibble_yaml, "w") as f: PermissionError: [Errno 13] Permission denied: '../api/yaml/kibble.yaml'

Should I have run it as sudo? If so, can I just create this yaml file manually (or do you have a sample)? A rerun of setup.py ended up showing all good but no indication of kibble.yaml creation (and it doesn't exist in the api/yaml folder).

Okay, I got all I need, setting up Kibble... Error: ElasticSearch index 'kibble' already exists!

germonprez commented 6 years ago

Had a second.