Hi,
I have been trying to upgrade kibana for a few days ow and it does not work. I have the following error :
{"type":"log","@timestamp":"2021-06-11T10:10:39+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations..."}
{"type":"log","@timestamp":"2021-06-11T10:10:39+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"Starting saved objects migrations"}
{"type":"log","@timestamp":"2021-06-11T10:10:39+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 19ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:39+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 17ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:39+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] INIT -> WAIT_FOR_YELLOW_SOURCE. took: 38ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:39+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] WAIT_FOR_YELLOW_SOURCE -> SET_SOURCE_WRITE_BLOCK. took: 4ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:40+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 371ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:40+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP. took: 421ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:41+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP. took: 1628ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:41+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK. took: 7ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:41+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP. took: 1801ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:41+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK. took: 11ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:42+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK. took: 733ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:42+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 289ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:44+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 1803ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:44+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS. took: 20ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:44+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK. took: 324ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:45+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY. took: 223ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:45+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] MARK_VERSION_INDEX_READY -> DONE. took: 421ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:45+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana_task_manager] Migration completed after 5912ms"}
{"type":"log","@timestamp":"2021-06-11T10:10:48+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK. took: 6954ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:49+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET. took: 201ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:49+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH. took: 21ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:49+00:00","tags":["info","savedobjects-service"],"pid":27709,"message":"[.kibana] OUTDATED_DOCUMENTS_SEARCH -> OUTDATED_DOCUMENTS_TRANSFORM. took: 230ms."}
{"type":"log","@timestamp":"2021-06-11T10:10:49+00:00","tags":["error","savedobjects-service"],"pid":27709,"message":"TypeError: embeddables.getEnhancement(...).migrations[version] is not a function\n at /usr/share/kibana/src/plugins/embeddable/common/lib/migrate.js:30:91\n at Array.forEach (<anonymous>)\n at Object.migrate (/usr/share/kibana/src/plugins/embeddable/common/lib/migrate.js:28:31)\n at /usr/share/kibana/src/plugins/dashboard/server/saved_objects/dashboard_migrations.js:187:45\n at Array.forEach (<anonymous>)\n at /usr/share/kibana/src/plugins/dashboard/server/saved_objects/dashboard_migrations.js:181:10\n at tryTransformDoc
On the ElastisSearch side I get this error :
[2021-06-11T10:41:44,399][INFO ][o.e.t.LoggingTaskListener] [node-1] 1235458005 finished with response BulkByScrollResponse[took=180.9ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[{"index":".kibana_7.13.1_reindex_temp","type":"_doc","id":"monitoring:lens-ui-telemetry:777b7820-825a-11eb-bd40-f3b1b94afb2f","cause":{"type":"cluster_block_exception","reason":"index [.kibana_7.13.1_reindex_temp] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403}, {"index":".kibana_7.13.1_reindex_temp","type":"_doc","id":"monitoring:lens-ui-telemetry:7d718030-825a-11eb-bd40-f3b1b94afb2f","cause":{"type":"cluster_block_exception","reason":"index [.kibana_7.13.1_reindex_temp] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403}, {"index":".kibana_7.13.1_reindex_temp","type":"_doc","id":"monitoring:lens-ui-telemetry:8381c700-825a-11eb-bd40-f3b1b94afb2f","cause":{"type":"cluster_block_exception","reason":"index [.kibana_7.13.1_reindex_temp] blocked by: [FORBIDDEN/8/index write (api)];"},"status":403}],search_failures=[]]
[2021-06-11T10:41:44,431][INFO ][o.e.t.LoggingTaskListener] [node-1] 1235458008 finished with response BulkByScrollResponse[took=219.4ms,timed_out=false,sliceId=null,updated=25,created=0,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
Do you have any idea of what is going on?
Thank you in advance
EDIT : ElasticSearch is already 7.13.1