I am trying to upgrade Elasticsearch and kibana from 7.10.2 to 7.16.2 , I have successful updated the Elasticsearch , but while I am updating the kibana I am getting below error :
FATAL Error: Unable to complete saved object migrations for the [.kibana] index: Migrations failed. Reason: 1 transformation errors were encountered:
- dashboard:1: Error: Migration function for version 7.11.0 threw an error
at tryTransformDoc (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:610:13)
at migrateProp (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:679:22)
at applyMigrations (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:397:20)
at DocumentMigrator.transformAndValidate [as transformDoc] (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:337:22)
at D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:146:16
at Immediate._onImmediate (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\migrate_raw_docs.js:158:17)
at processImmediate (node:internal/timers:464:21)
Caused by:
TypeError: Invalid Version:
at new SemVer (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\node_modules\semver\classes\semver.js:41:13)
at compare (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\node_modules\semver\functions\compare.js:3:32)
at gt (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\node_modules\semver\functions\gt.js:2:29)
at isPre730Panel (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\plugins\dashboard\common\saved_dashboard_references.js:23:47)
at Array.some ()
at extractReferences (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\plugins\dashboard\common\saved_dashboard_references.js:87:14)
at D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\plugins\dashboard\server\saved_objects\dashboard_migrations.js:151:59
at D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\node_modules\lodash\lodash.js:5177:46
at tryTransformDoc (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:597:22)
at migrateProp (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:679:22)
at applyMigrations (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:397:20)
at DocumentMigrator.transformAndValidate [as transformDoc] (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:337:22)
at D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\document_migrator.js:146:16
at Immediate._onImmediate (D:\Rahul\workbench\Jarvis\New ELK\kibana-7.16.2-windows-x86_64\src\core\server\saved_objects\migrations\core\migrate_raw_docs.js:158:17)
at processImmediate (node:internal/timers:464:21)
To allow migrations to proceed, please delete or fix these documents.
Can anyone help out in resolving the above issue.