Hi All-
I recently upgraded from 5.6 to 6.8.6 and had some issues getting Kibana running. In the end I was able to get it running with deleting all the kibana indexes, deleting aliases to .kibana and then starting fresh. After that, I created a new index, pushed the mapping, reindexed my backup to that index and then updated the alias all while Kibana was running. My issue is, each time I try to restart it tries to 'migrate' again and it fails and then I have to do the whole process again.
I haven't been able to figure out exactly what is causing is, would anyone have some troubleshooting ideas to find what is wrong in my index that doesn't seem to be migrating correctly?
I think the general error I'm getting on startup is like this:
{"type":"log","@timestamp":"2020-05-05T23:36:05Z","tags":["info","migrations"],"pid":25025,"message":"Creating index .kibana_9."}
> {"type":"log","@timestamp":"2020-05-05T23:36:11Z","tags":["info","migrations"],"pid":25025,"message":"Migrating kibana_8 saved objects to .kibana_9"}
> {"type":"log","@timestamp":"2020-05-05T23:36:15Z","tags":["fatal","root"],"pid":25025,"message":"{ Error: mapping set to strict, dynamic introduction of [index] within [visualization.kibanaSavedObjectMeta] is not allowed\n at Object.write (/USUNRTGPAP011/home/rtprod/bin/elk/kibana/kibana-6.8.6-linux-x86_64/src/server/saved_objects/migrations/core/elastic_index.js:110:23)\n detail:\n { index:\n { _index: '.kibana_9',\n _type: 'doc',\n _id: 'visualization:3bee6850-cab9-11e7-a674-1fe88047baa6',\n status: 400,\n error: [Object] } },\n isBoom: true,\n isServer: true,\n data: null,\n output:\n { statusCode: 500,\n payload:\n { statusCode: 500,\n error: 'Internal Server Error',\n message: 'An internal server error occurred' },\n headers: {} },\n reformat: [Function],\n [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError' }"}