Upgrade of Kibana from 7.7.1 to 7.8.0

I upgraded from Kibana 7.7.1 to 7.8.0 (the elastic search cluster is now running 7.8.0)
When starting Kibana, I get the following error message:

kibana: FATAL Error: Document contains at least one immense term in field="upgrade-assistant-reindex-operation.errorMessage" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[91, 105, 110, 100, 101, 120, 95, 99, 114, 101, 97, 116, 105, 111, 110, 95, 101, 120, 99, 101, 112, 116, 105, 111, 110, 93, 32, 102, 97, 105]...', original message: bytes can be at most 32766 in length; got 43360

kibana.service: main process exited, code=exited, status=1/FAILURE Unit kibana.service entered failed state.

Then it restarts but will not go any further because:
Another Kibana instance appears to be migrating the index. Waiting for that migration to complete. If no other Kibana instance is attempting migrations, you can get past this message by deleting index .kibana_17 and restarting Kibana."}

How can I fix the original message about the field="upgrade-assistant-reindex-operation.errorMessage ?

Thank you

Hi @drewlander,

I'd encourage you to go through https://www.elastic.co/guide/en/kibana/current/upgrade-migrations.html#upgrade-migrations-process and in particular try this instruction. It seems something unexpected has happened during migration so that Kibana stuck in this tate.


thank you @azasypkin for the link
I have deleted the referenced .kibana17, and restarted, and I get the same error.
I downgraded kibana, and kibana is up and working.
I went to 8.0 upgrade assistant and it did not have any issues reported.

Is this error message saying that the field "upgrade-assistant-reindex-operation.errorMessage" is not big enough to hold the error message? Is the error message elsewhere? How can I find out what is causing kibana to not like the migration?
Am I missing something important in the documentation you sent?
Thank you