# Internal Server Error on Kibana Index Management Screen

**URL:** https://discuss.elastic.co/t/internal-server-error-on-kibana-index-management-screen/293470
**Category:** Kibana
**Created:** [January 4, 2022, 6:30pm UTC](https://discuss.elastic.co/t/internal-server-error-on-kibana-index-management-screen/293470 "2022-01-04T18:30:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mrizzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrizzi/32/96984_2.png) [@Mrizzi](https://discuss.elastic.co/u/Mrizzi)
#### Post date: [January 4, 2022, 6:30pm UTC](https://discuss.elastic.co/t/internal-server-error-on-kibana-index-management-screen/293470/1 "2022-01-04T18:30:07Z")

</div>

Hey everyone,

I'm suddenly facing this error:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4a6a8a97094400e361b2eb3c25d28fb76f4720e4.png)  
Whenever I try to look into the index page on my installation

It constantly throws out the following error in the kibana.log file:

```auto
[2022-01-04T15:24:05.114-03:00][ERROR][http] TypeError: Cannot read property 'aliases' of undefined
    at <redacted path>\Kibana\x-pack\plugins\index_management\server\lib\fetch_indices.js:46:39
    at Array.map (<anonymous>)
    at fetchIndicesCall <redacted path>\Kibana\x-pack\plugins\index_management\server\lib\fetch_indices.js:44:18)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at fetchIndices (<redacted path>\Kibana\x-pack\plugins\index_management\server\lib\fetch_indices.js:66:19)
    at <redacted path>\Kibana\x-pack\plugins\index_management\server\routes\api\indices\register_reload_route.js:44:23
    at Router.handle (<redacted path>\Kibana\src\core\server\http\router\router.js:163:30)
    at handler (<redacted path>\Kibana\src\core\server\http\router\router.js:124:50)
    at exports.Manager.execute (<redacted path>\Kibana\node_modules\@hapi\hapi\lib\toolkit.js:60:28)
    at Object.internals.handler (<redacted path>\Kibana\node_modules\@hapi\hapi\lib\handler.js:46:20)
    at exports.execute <redacted path>\Kibana\node_modules\@hapi\hapi\lib\handler.js:31:20)
    at Request._lifecycle (<redacted path>\Kibana\node_modules\@hapi\hapi\lib\request.js:370:32)
    at Request._execute <redacted path>\Kibana\node_modules\@hapi\hapi\lib\request.js:279:9)

```

I recently updated the 3 Elasticsearch Nodes I have in the installation from version 7.13.2 to 7.16.1 to mitigate the log4j2 vulnerability but I kept Kibana on 7.13.2 since the patch notes says the newer versions of kibana don't let you use legacy visualizations anymore (Why is there a need to make things incompatible i'll never know)

I hadn't entered this page on the last few months so i'm unsure when this started happening, I discovered it when I changed the main lifecycle policy of my indexes to no longer freeze them and went to see if the old ones had become unfrozen.

I really don't know what caused it and I don't want to propagate this issue to my production environment. Has anyone encountered this before or knows any way to fix it?

---

<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: [January 4, 2022, 6:32pm UTC](https://discuss.elastic.co/t/internal-server-error-on-kibana-index-management-screen/293470/2 "2022-01-04T18:32:05Z")

</div>

You need to run the same version of Elasticsearch and Kibana, see [Support Matrix | Elastic](https://www.elastic.co/support/matrix).

---

<div class="post-metadata">

### Author: ![Mrizzi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mrizzi/32/96984_2.png) [@Mrizzi](https://discuss.elastic.co/u/Mrizzi)
#### Post date: [January 4, 2022, 6:47pm UTC](https://discuss.elastic.co/t/internal-server-error-on-kibana-index-management-screen/293470/3 "2022-01-04T18:47:48Z")

</div>

I understand, but according to the patch notes the latest version of Kibana doesn't have support for the legacy aggregation visualizations that compose 80% of my sizeable dashboards. And i'm also not getting this issue on my Production enviroment that is a 1 to 1 replica when it comes to hardware and product versions. This is why i'm asking if anyone knows what caused this so I can avoid it and hoping that someone gives me some way to fix it.

---

<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: [February 1, 2022, 6:48pm UTC](https://discuss.elastic.co/t/internal-server-error-on-kibana-index-management-screen/293470/4 "2022-02-01T18:48:32Z")

</div>

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