Hi there,
We ran an update of ELK via yum. Previously we had 7.10.0 and now updated to 7.16.1.
Now we have problems starting kibana. we got the following error message:
FATAL Error: Unable to complete saved object migrations for the [.kibana] index: Migrations failed. Reason: 2 transformation errors were encountered:
- dashboard:7100b3f0-50bb-11eb-8710-957440b45d79: Error: Migration function for version 7.11.0 threw an error
at tryTransformDoc (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:610:13)
at migrateProp (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:679:22)
at applyMigrations (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:397:20)
at DocumentMigrator.transformAndValidate [as transformDoc] (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:337:22)
at /usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:146:16
at Immediate._onImmediate (/usr/share/kibana/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 (/usr/share/kibana/node_modules/semver/classes/semver.js:41:13)
at compare (/usr/share/kibana/node_modules/semver/functions/compare.js:3:32)
at gt (/usr/share/kibana/node_modules/semver/functions/gt.js:2:29)
at isPre730Panel (/usr/share/kibana/src/plugins/dashboard/common/saved_dashboard_references.js:23:47)
at Array.some (<anonymous>)
at extractReferences (/usr/share/kibana/src/plugins/dashboard/common/saved_dashboard_references.js:87:14)
at /usr/share/kibana/src/plugins/dashboard/server/saved_objects/dashboard_migrations.js:151:59
at /usr/share/kibana/node_modules/lodash/lodash.js:5177:46
at tryTransformDoc (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:597:22)
at migrateProp (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:679:22)
at applyMigrations (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:397:20)
at DocumentMigrator.transformAndValidate [as transformDoc] (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:337:22)
at /usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:146:16
at Immediate._onImmediate (/usr/share/kibana/src/core/server/saved_objects/migrations/core/migrate_raw_docs.js:158:17)
at processImmediate (node:internal/timers:464:21)
- dashboard:f77473d0-50bc-11eb-8710-957440b45d79: Error: Migration function for version 7.11.0 threw an error
at tryTransformDoc (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:610:13)
at migrateProp (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:679:22)
at applyMigrations (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:397:20)
at DocumentMigrator.transformAndValidate [as transformDoc] (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:337:22)
at /usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:146:16
at Immediate._onImmediate (/usr/share/kibana/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 (/usr/share/kibana/node_modules/semver/classes/semver.js:41:13)
at compare (/usr/share/kibana/node_modules/semver/functions/compare.js:3:32)
at gt (/usr/share/kibana/node_modules/semver/functions/gt.js:2:29)
at isPre730Panel (/usr/share/kibana/src/plugins/dashboard/common/saved_dashboard_references.js:23:47)
at Array.some (<anonymous>)
at extractReferences (/usr/share/kibana/src/plugins/dashboard/common/saved_dashboard_references.js:87:14)
at /usr/share/kibana/src/plugins/dashboard/server/saved_objects/dashboard_migrations.js:151:59
at /usr/share/kibana/node_modules/lodash/lodash.js:5177:46
at tryTransformDoc (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:597:22)
at migrateProp (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:679:22)
at applyMigrations (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:397:20)
at DocumentMigrator.transformAndValidate [as transformDoc] (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:337:22)
at /usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:146:16
at Immediate._onImmediate (/usr/share/kibana/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.
I used curl -XGET localhost:9200/_cat/aliases
and got .kibana .kibana_1
After this I used curl -XGET localhost:9200/_cat/indices/.kibana_1
and got green open .kibana_1 6oWws2XgSZW3BJn9u2WbYw 1 0 1790 7610 11.4mb 11.4mb
How to get those both documents (7100b3f0-50bb-11eb-8710-957440b45d79, f77473d0-50bc-11eb-8710-957440b45d79), see, what is inside and maybe delete them by using curl?
Or is there another way to get around this?