TypeError: Cannot destructure property 'type' of 'undefined' as it is undefined

Hi, I just installed kibana 8.3.2 on a local windows 10 pc, and when starting it I get this error:
Unable to complete saved object migrations for the [.kibana] index. TypeError: Cannot destructure property 'type' of 'undefined' as it is undefined.

Hi Carlos,

Are you upgrading from an older version of the Elastic Stack or is this a new installation?

Is a new installation, don't know what happened I restarted the PC and now kibana is working fine.

Well, that is mysterious and frustrating. But I'm glad Kibana is working now. Feel free to create a new discussion if you run into more issues.

Yes, is a little frustrating, thanks for the fast reply. I'll let you know if I run into other issues.

Best Regards.

Hello,
i just updated my test-server to 8.3.2 and got the same error:

Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at isClusterShardLimitExceeded (/usr/share/kibana/src/core/server/saved_objects/migrations/actions/es_errors.js:41:3)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at /usr/share/kibana/src/core/server/saved_objects/migrations/actions/create_index.js:119:61
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at runMicrotasks (<anonymous>)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at stateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrations/state_action_machine.js:67:28)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at migrationStateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrations/migrations_state_action_machine.js:92:24)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at async Promise.all (index 1)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at SavedObjectsService.start (/usr/share/kibana/src/core/server/saved_objects/saved_objects_service.js:214:9)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at Server.start (/usr/share/kibana/src/core/server/server.js:363:31)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at Root.start (/usr/share/kibana/src/core/server/root/index.js:69:14)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:120:5)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at Command.<anonymous> (/usr/share/kibana/src/cli/serve/serve.js:216:5)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]: [2022-07-25T10:34:58.821+02:00][FATAL][root] [TypeError: Cannot destructure property 'type' of 'undefined' as it is undefined.
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at isClusterShardLimitExceeded (/usr/share/kibana/src/core/server/saved_objects/migrations/actions/es_errors.js:41:3)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at /usr/share/kibana/src/core/server/saved_objects/migrations/actions/create_index.js:119:61
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at runMicrotasks (<anonymous>)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at stateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrations/state_action_machine.js:67:28)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at migrationStateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrations/migrations_state_action_machine.js:92:24)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at async Promise.all (index 1)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at SavedObjectsService.start (/usr/share/kibana/src/core/server/saved_objects/saved_objects_service.js:214:9)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at Server.start (/usr/share/kibana/src/core/server/server.js:363:31)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at Root.start (/usr/share/kibana/src/core/server/root/index.js:69:14)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at bootstrap (/usr/share/kibana/src/core/server/bootstrap.js:120:5)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at Command.<anonymous> (/usr/share/kibana/src/cli/serve/serve.js:216:5)]
Jul 25 10:34:58 KG-ELA99001P kibana[1115]: [2022-07-25T10:34:58.827+02:00][ERROR][savedobjects-service] TypeError: Cannot destructure property 'type' of 'undefined' as it is undefined.
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at isClusterShardLimitExceeded (/usr/share/kibana/src/core/server/saved_objects/migrations/actions/es_errors.js:41:3)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at /usr/share/kibana/src/core/server/saved_objects/migrations/actions/create_index.js:119:61
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at runMicrotasks (<anonymous>)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at processTicksAndRejections (node:internal/process/task_queues:96:5)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at runNextTicks (node:internal/process/task_queues:65:3)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at processTimers (node:internal/timers:499:9)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at stateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrations/state_action_machine.js:67:28)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at migrationStateActionMachine (/usr/share/kibana/src/core/server/saved_objects/migrations/migrations_state_action_machine.js:92:24)
Jul 25 10:34:58 KG-ELA99001P kibana[1115]:     at async Promise.all (index 0)
Jul 25 10:35:28 KG-ELA99001P kibana[1115]: [2022-07-25T10:35:28.826+02:00][INFO ][plugins-system.preboot] Stopping all plugins.
Jul 25 10:35:28 KG-ELA99001P kibana[1115]: [2022-07-25T10:35:28.827+02:00][INFO ][plugins-system.standard] Stopping all plugins.
Jul 25 10:35:28 KG-ELA99001P kibana[1115]: [2022-07-25T10:35:28.828+02:00][INFO ][plugins.monitoring.monitoring.kibana-monitoring] Monitoring stats collection is stopped
Jul 25 10:35:28 KG-ELA99001P kibana[1115]:  FATAL  Error: Unable to complete saved object migrations for the [.kibana_task_manager] index. TypeError: Cannot destructure property '

Restarting the server didn't help!

Any advise?

Kind regards
Boris

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.