# Migrating indices from 5.1.2 to 5.6.15

**URL:** <https://discuss.elastic.co/t/migrating-indices-from-5-1-2-to-5-6-15/189148>\
**Category:** Elasticsearch\
**Created:** [July 5, 2019, 5:54pm UTC](https://discuss.elastic.co/t/migrating-indices-from-5-1-2-to-5-6-15/189148 "2019-07-05T17:54:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandipatmca](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sandipatmca](https://discuss.elastic.co/u/sandipatmca)\
**Post date:** [July 5, 2019, 5:54pm UTC](https://discuss.elastic.co/t/migrating-indices-from-5-1-2-to-5-6-15/189148/1 "2019-07-05T17:54:36Z")

</div>

After i did upgrade (i.e. Uninstall 5.1.2 & then installed 5.6.15 )ElasticSearch was not comingup. We found the issue with indices. Looks like Indices (under directory /opt/elasticsearch/data/nodes/0  
) does not get deleted during unintall.After I manually deleted files from that directory ,ELK 5.6.15 came up successfuly.

I want to know if there is way to up migrate indices from 5.1.2 -\> 5.6.15. Since if i copy 5.1.2 indices to temporary location and later move it back after 5.6.15 installation,ELK doesnot comes up.

---

<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:** [August 2, 2019, 5:54pm UTC](https://discuss.elastic.co/t/migrating-indices-from-5-1-2-to-5-6-15/189148/2 "2019-08-02T17:54:37Z")

</div>

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