I am using the latest version of Elasticsearch and kibana, start Elasticsearch successfully, start kibana successfully, but when I cancel the kibana process with ctrl+c and restart it again, an error will be reported. The current solution is to execute the command curl -X DELETE http:// 127.0.0.1:9200/.kibana*
, and then it can be started again. I want to ask if this is normal, is there any other way? Because this will cause the created index pattern to disappear.
Below is the error log
log [10:46:31.938] [fatal][root] Error: Unable to complete saved object migrations for the [.kibana_task_manager] index: Unable to complete the UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK step after 15 attempts, terminating.
at migrationStateActionMachine (/elk/kibana-7.17.0-linux-x86_64/src/core/server/saved_objects/migrationsv2/migrations_state_action_machine.js:144:29)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Promise.all (index 1)
at SavedObjectsService.start (/elk/kibana-7.17.0-linux-x86_64/src/core/server/saved_objects/saved_objects_service.js:181:9)
at Server.start (/elk/kibana-7.17.0-linux-x86_64/src/core/server/server.js:330:31)
at Root.start (/elk/kibana-7.17.0-linux-x86_64/src/core/server/root/index.js:69:14)
at bootstrap (/elk/kibana-7.17.0-linux-x86_64/src/core/server/bootstrap.js:120:5)
at Command.<anonymous> (/elk/kibana-7.17.0-linux-x86_64/src/cli/serve/serve.js:229:5)
log [10:46:32.170] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> FATAL. took: 64044ms.
log [10:47:01.955] [info][plugins-system][standard] Stopping all plugins.
log [10:47:01.957] [info][kibana-monitoring][monitoring][monitoring][plugins] Monitoring stats collection is stopped