# Kibana 5.6 unable to load licence

**URL:** <https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342>\
**Category:** Kibana\
**Created:** [September 13, 2017, 11:12am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342 "2017-09-13T11:12:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hio77](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hio77](https://discuss.elastic.co/u/hio77)\
**Post date:** [September 13, 2017, 11:12am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/1 "2017-09-13T11:12:55Z")

</div>

Not sure how to resolve this one...

After updating to 5.6.0 i seem to be unable to load into kibana.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a7b735c1e4e51147680f31e188e71a9af50f348a.png)

Have tried removing x-pack on both, Kibana loads up happily after this.  
Also double checked my licence within elasticsearch itself which all checks out.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63f072eeacf47c36a1475401b0fb32982ad25994.png)

Was there possibly a configuration change between 5.5 and 5.6 that i may have missed?  
Upgrade process was followed as normal, Upgrade via apt-get; remove x-pack and reinstall.

I run my kibana instance behind a local network thus authentication via x-pack is disabled within elasticsearch.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [September 13, 2017, 11:39pm UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/2 "2017-09-13T23:39:21Z")

</div>

The error message you received is not specifically a licence problem, it just indicates that Kibana couldn't communicate successfully with Elasticsearch, and therefore couldn't determine the license state.

You wrote:

> I run my kibana instance behind a local network thus authentication via x-pack is disabled within elasticsearch.

Can you clarify exactly what you mean here? Have you turned off xpack security entirely within ES?

If so, have you also [disabled security](https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html#general-security-settings) in Kibana?

---

<div class="post-metadata">

**Author:** ![hio77](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hio77](https://discuss.elastic.co/u/hio77)\
**Post date:** [September 14, 2017, 9:56am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/3 "2017-09-14T09:56:23Z")

</div>

In terms of disabling xpack security, i mean in my elasticsearch.yml i have " xpack.security.enabled: false"

I have now added this to my kibana.yml issue still stands, although improved.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/d/6d7d416f09664436d5c12d9897d423cbb7cce4b4.png)  
null operations look like i may need to reinstall the kibana instance?

Testing manually using curl to access the .kibana index looks normal

```auto
{".kibana":{"aliases":{},"mappings":{"server":{"dynamic":"strict","properties":{"uuid":{"type":"string","index":"not_analyzed"}}},"graph-workspace":{"properties":{"description":{"type":"string"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"string"}}},"numLinks":{"type":"integer"},"numVertices":{"type":"integer"},"title":{"type":"string"},"version":{"type":"integer"},"wsState":{"type":"string"}}},"config":{"properties":{"buildNum":{"type":"string","index":"not_analyzed"},"defaultIndex":{"type":"string"},"discover:aggs:terms:size":{"type":"long"},"xPackMonitoring:allowReport":{"type":"boolean"},"xPackMonitoring:showBanner":{"type":"boolean"}}},"_default_":{"dynamic":"strict"},"url":{"dynamic":"strict","properties":{"accessCount":{"type":"long"},"accessDate":{"type":"date","format":"strict_date_optional_time||epoch_millis"},"createDate":{"type":"date","format":"strict_date_optional_time||epoch_millis"},"url":{"type":"string","fields":{"keyword":{"type":"string","index":"not_analyzed","ignore_above":2048}},"fielddata":false}}},"visualization":{"properties":{"description":{"type":"string"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"string"}}},"savedSearchId":{"type":"string"},"title":{"type":"string"},"uiStateJSON":{"type":"string"},"version":{"type":"integer"},"visState":{"type":"string"}}},"dashboard":{"properties":{"description":{"type":"string"},"hits":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"string"}}},"optionsJSON":{"type":"string"},"panelsJSON":{"type":"string"},"refreshInterval":{"properties":{"display":{"type":"string","fields":{"keyword":{"type":"string","index":"not_analyzed","ignore_above":256}},"fielddata":false},"pause":{"type":"boolean"},"section":{"type":"long"},"value":{"type":"long"}}},"timeFrom":{"type":"string"},"timeRestore":{"type":"boolean"},"timeTo":{"type":"string"},"title":{"type":"string"},"uiStateJSON":{"type":"string"},"version":{"type":"integer"}}},"timelion-sheet":{"properties":{"description":{"type":"string"},"hits":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"string"}}},"timelion_chart_height":{"type":"integer"},"timelion_columns":{"type":"integer"},"timelion_interval":{"type":"string"},"timelion_other_interval":{"type":"string"},"timelion_rows":{"type":"integer"},"timelion_sheet":{"type":"string"},"title":{"type":"string"},"version":{"type":"integer"}}},"search":{"properties":{"columns":{"type":"string"},"description":{"type":"string"},"hits":{"type":"integer"},"kibanaSavedObjectMeta":{"properties":{"searchSourceJSON":{"type":"string"}}},"sort":{"type":"string"},"title":{"type":"string"},"version":{"type":"integer"}}},"index-pattern":{"properties":{"fieldFormatMap":{"type":"string"},"fields":{"type":"string"},"intervalName":{"type":"string"},"notExpandable":{"type":"boolean"},"timeFieldName":{"type":"string"},"title":{"type":"string"}}}},"settings":{"index":{"creation_date":"1478757612671","number_of_shards":"1","number_of_replicas":"1","uuid":"z7jNdqqpRz2KTeg_U8wHow","version":{"created":"2040199","upgraded":"5060099"}}}}}
```

and the elasticsearch stack itself is standing fine

> [@](#):
>
> "cluster\_name" : "elasticsearch",  
> "status" : "yellow",  
> "timed\_out" : false,  
> "number\_of\_nodes" : 2,  
> "number\_of\_data\_nodes" : 2,  
> "active\_primary\_shards" : 806,  
> "active\_shards" : 1610,  
> "relocating\_shards" : 0,  
> "initializing\_shards" : 0,  
> "unassigned\_shards" : 2,  
> "delayed\_unassigned\_shards" : 0,  
> "number\_of\_pending\_tasks" : 0,  
> "number\_of\_in\_flight\_fetch" : 0,  
> "task\_max\_waiting\_in\_queue\_millis" : 0,  
> "active\_shards\_percent\_as\_number" : 99.87593052109182,

Yellow is due to a single index which is not replicated currently.

> [@](#):
>
> monitor@MonitorHost:~$ curl [http://monitorhost:9200/](http://monitorhost:9200/)  
> {  
> "name" : "MonitorNode-M-SSD",  
> "cluster\_name" : "elasticsearch",  
> "cluster\_uuid" : "8MHvkh-hQzqHvuKTg2PAIA",  
> "version" : {  
> "number" : "5.6.0",  
> "build\_hash" : "781a835",  
> "build\_date" : "2017-09-07T03:09:58.087Z",  
> "build\_snapshot" : false,  
> "lucene\_version" : "6.6.0"  
> },  
> "tagline" : "You Know, for Search"  
> }

Checking with curl all seems to be working well.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [September 15, 2017, 4:36am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/4 "2017-09-15T04:36:58Z")

</div>

It looks like it might be related to this issue: [https://github.com/elastic/kibana/issues/13950](https://github.com/elastic/kibana/issues/13950)

---

<div class="post-metadata">

**Author:** ![hio77](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hio77](https://discuss.elastic.co/u/hio77)\
**Post date:** [September 15, 2017, 9:10am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/5 "2017-09-15T09:10:12Z")

</div>

Bingo!

ran script, everything is working great!

on the note of kibana, changes to both the gauge values and graph colours is perfect, back to being usable!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 15, 2017, 10:41am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/6 "2017-09-15T10:41:38Z")

</div>

Side note, you have way too many shards and you should reduce that count ASAP.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 13, 2017, 10:41am UTC](https://discuss.elastic.co/t/kibana-5-6-unable-to-load-licence/100342/7 "2017-10-13T10:41:42Z")

</div>

Closed on October 13, 2017, 10:41am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
