I just upgraded my Elasticsearch / Kibana from 7.10.2 to 7.11 and now Kibana logs the following error when trying to run the migration:
{
"type": "log",
"@timestamp": "2021-02-10T20:11:18+01:00",
"tags": ["fatal", "root"],
"pid": 122860,
"message": "Error: Document \"71198d10-25cf-11eb-9cdc-7787ad093e5e\" has property \"ingest_manager_settings\" which belongs to a more recent version of Kibana [7.10.0]. The last known version is [undefined]\n at /usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:254:27\n at Array.find (<anonymous>)\n at nextUnmigratedProp (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:240:21)\n at applyMigrations (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:168:18)\n at DocumentMigrator.transformAndValidate [as transformDoc] (/usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:154:43)\n at /usr/share/kibana/src/core/server/saved_objects/migrations/core/document_migrator.js:50:19\n at Immediate.<anonymous> (/usr/share/kibana/src/core/server/saved_objects/migrations/core/migrate_raw_docs.js:65:17)\n at processImmediate (internal/timers.js:461:21) {\n data: {\n type: 'ingest_manager_settings',\n id: '71198d10-25cf-11eb-9cdc-7787ad093e5e',\n attributes: {\n agent_auto_upgrade: true,\n package_auto_upgrade: true,\n kibana_urls: [Array]\n },\n references: [],\n migrationVersion: { ingest_manager_settings: '7.10.0' },\n updated_at: '2020-11-13T16:44:05.088Z'\n },\n isBoom: true,\n isServer: false,\n output: {\n statusCode: 422,\n payload: {\n statusCode: 422,\n error: 'Unprocessable Entity',\n message: 'Document \"71198d10-25cf-11eb-9cdc-7787ad093e5e\" has property \"ingest_manager_settings\" which belongs to a more recent version of Kibana [7.10.0]. The last known version is [undefined]'\n },\n headers: {}\n }\n}"
}
For me the line "The last known version is [undefined]" looks like Kibana 7.11 can't determine its own version correctly and thinks 7.10.0 is newer?
Anyone else seeing this or has an idea why kibana thinks its version is undefined?