# Kibana 6.3 has Error 404 / X-Pack-Index not found after upgrade

**URL:** https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329
**Category:** Kibana
**Created:** [June 18, 2018, 3:19pm UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329 "2018-06-18T15:19:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![creaticious](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/creaticious/32/24784_2.png) [@creaticious](https://discuss.elastic.co/u/creaticious)
#### Post date: [June 18, 2018, 3:19pm UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/1 "2018-06-18T15:19:47Z")

</div>

Hey guys,

today i've upgraded Elastic & Kibana to 6.3. Elastic is working but Kibana shows 404 with:

```
{"statusCode":404,"error":"Not Found","message":"[index_not_found_exception] no such index, with { resource.type=\"index_expression\" & resource.id=\"_xpack\" & index_uuid=\"_na_\" & index=\"_xpack\" }"}

```

Any ideas how to create this index or what could have gone wrong during the upgrade?

Thank you!

---

<div class="post-metadata">

### Author: ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)
#### Post date: [June 18, 2018, 5:16pm UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/2 "2018-06-18T17:16:51Z")

</div>

What version did you upgrade from?

Does the kibana index exist? (if you go to `http://localhost:9200/.kibana` it should show you the mappings)

Can you supply more output surrounding that error message in the kibana logs? Try with verbose logging turned on as well.

---

<div class="post-metadata">

### Author: ![creaticious](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/creaticious/32/24784_2.png) [@creaticious](https://discuss.elastic.co/u/creaticious)
#### Post date: [June 20, 2018, 9:52am UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/3 "2018-06-20T09:52:08Z")

</div>

Hi Stacey,

I've upgraded from 6.2. The .kibana-Index is not the problem. As you can see in the last part of the error message above the xpack-Index is missing...but i can't reinstall xpack because the scripts are telling me that xpack now comes with kibana and will not be installed...so what to do...?

Thank you!

---

<div class="post-metadata">

### Author: ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)
#### Post date: [June 20, 2018, 1:20pm UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/4 "2018-06-20T13:20:06Z")

</div>

That's correct that xpack is now bundled with Kibana.

There is no xpack index. Hmmm, this thread might be relevant: [X-Pack installation, does not seem to be creating indices](https://discuss.elastic.co/t/x-pack-installation-does-not-seem-to-be-creating-indices/111398/5)

The new 6.3 installation has license set to basic by default which doesn't include security. Perhaps this is throwing things off? Do you have a license installed? Maybe start a trial license to get security and see if it works?

---

<div class="post-metadata">

### Author: ![creaticious](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/creaticious/32/24784_2.png) [@creaticious](https://discuss.elastic.co/u/creaticious)
#### Post date: [June 27, 2018, 12:14pm UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/5 "2018-06-27T12:14:05Z")

</div>

Thanks, i was able to solve this by adding action.auto\_create\_index: "\*" to the elasticsearch.yml and restarting the kibana.service...

This is something that should have been documented of you are upgrading from 6.2...

---

<div class="post-metadata">

### Author: ![CDuv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cduv/32/29591_2.png) [@CDuv](https://discuss.elastic.co/u/CDuv)
#### Post date: [July 2, 2018, 9:30am UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/6 "2018-07-02T09:30:10Z")

</div>

Thanks for the solution, I ran into the exact same issue after upgrading from v6.2.4.

- Added `action.auto_create_index: "*"` to ElasticSearch's `elasticsearch.yml` (in my case `/etc/elasticsearch/elasticsearch.yml`).
- Restarted ElasticSearch.
- Restarted Kibana.
- Accessed Kibana to check it works.
- Removed the line from `elasticsearch.yml`.
- Restarted ElasticSearch.

---

<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: [July 30, 2018, 9:30am UTC](https://discuss.elastic.co/t/kibana-6-3-has-error-404-x-pack-index-not-found-after-upgrade/136329/7 "2018-07-30T09:30:17Z")

</div>

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