# There has been a catastrophic error trying to install index level resources for the following registration context: observability.\*

**URL:** <https://discuss.elastic.co/t/there-has-been-a-catastrophic-error-trying-to-install-index-level-resources-for-the-following-registration-context-observability/344155>\
**Category:** Elastic Observability\
**Tags:** elastic-stack-alerting\
**Created:** [September 29, 2023, 6:43pm UTC](https://discuss.elastic.co/t/there-has-been-a-catastrophic-error-trying-to-install-index-level-resources-for-the-following-registration-context-observability/344155 "2023-09-29T18:43:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![polyedre](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@polyedre](https://discuss.elastic.co/u/polyedre)\
**Post date:** [September 29, 2023, 6:43pm UTC](https://discuss.elastic.co/t/there-has-been-a-catastrophic-error-trying-to-install-index-level-resources-for-the-following-registration-context-observability/344155/1 "2023-09-29T18:43:48Z")

</div>

Hi,

After updating Elasticsearch and Kibana to 8.9.0, our Alerts stopped working:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/560e8c8c60103e8168d483dcd46936460a71d276.png)

I do not understand what is the problem here.

Here is the logs of Kibana:

```json
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-09-29T18:38:47.726+00:00","message":"There has been a catastrophic error trying to install index level resources for the following registration context: observability.logs. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms","error":{"message":"There has been a catastrophic error trying to install index level resources for the following registration context: observability.logs. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms","type":"RuleDataWriterInitializationError","stack_trace":"RuleDataWriterInitializationError: There has been a catastrophic error trying to install index level resources for the following registration context: observability.logs. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms\n at RuleDataClient.initializeWriter (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_client/rule_data_client.js:146:15)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at RuleDataClient.getWriter (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_client/rule_data_client.js:120:34)\n at Object.executor (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/utils/create_lifecycle_executor.js:37:32)\n at /usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:288:26\n at TaskRunnerTimer.runWithTimer (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner_timer.js:50:20)\n at TaskRunner.runRule (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:266:9)\n at TaskRunner.run (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:594:49)\n at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:274:22)"},"log":{"level":"ERROR","logger":"plugins.ruleRegistry"},"process":{"pid":669},"trace":{"id":"b7902fb8c8b71a32c298836d6fb035c5"},"transaction":{"id":"933f24d83aa45aa9"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-09-29T18:38:47.727+00:00","message":"The writer for the Rule Data Client for the observability.logs registration context was not initialized properly, bulk() cannot continue.","log":{"level":"ERROR","logger":"plugins.ruleRegistry"},"process":{"pid":669},"trace":{"id":"b7902fb8c8b71a32c298836d6fb035c5"},"transaction":{"id":"933f24d83aa45aa9"}}
{"tags":["logs.alert.document.count","a8142c50-b46e-11ed-9b74-ddc1ba307bca","rule-run-failed"],"error":{"stack_trace":"RuleDataWriterInitializationError: There has been a catastrophic error trying to install index level resources for the following registration context: observability.logs. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms\n at RuleDataClient.initializeWriter (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_client/rule_data_client.js:146:15)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at RuleDataClient.getWriter (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_client/rule_data_client.js:120:34)\n at Object.executor (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/utils/create_lifecycle_executor.js:37:32)\n at /usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:288:26\n at TaskRunnerTimer.runWithTimer (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner_timer.js:50:20)\n at TaskRunner.runRule (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:266:9)\n at TaskRunner.run (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:594:49)\n at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:274:22)"},"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.6.1"},"@timestamp":"2023-09-29T18:38:47.797+00:00","message":"Executing Rule default:logs.alert.document.count:a8142c50-b46e-11ed-9b74-ddc1ba307bca has resulted in Error: There has been a catastrophic error trying to install index level resources for the following registration context: observability.logs. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms - RuleDataWriterInitializationError: There has been a catastrophic error trying to install index level resources for the following registration context: observability.logs. This may have been due to a non-additive change to the mappings, removal and type changes are not permitted. Full error: Error: Failure during installation of common resources shared between all indices. Timeout: it took more than 1200000ms\n at RuleDataClient.initializeWriter (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_client/rule_data_client.js:146:15)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at RuleDataClient.getWriter (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/rule_data_client/rule_data_client.js:120:34)\n at Object.executor (/usr/share/kibana/node_modules/@kbn/rule-registry-plugin/server/utils/create_lifecycle_executor.js:37:32)\n at /usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:288:26\n at TaskRunnerTimer.runWithTimer (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner_timer.js:50:20)\n at TaskRunner.runRule (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:266:9)\n at TaskRunner.run (/usr/share/kibana/node_modules/@kbn/alerting-plugin/server/task_runner/task_runner.js:594:49)\n at TaskManagerRunner.run (/usr/share/kibana/node_modules/@kbn/task-manager-plugin/server/task_running/task_runner.js:274:22)","log":{"level":"ERROR","logger":"plugins.alerting.logs.alert.document.count"},"process":{"pid":669},"trace":{"id":"b7902fb8c8b71a32c298836d6fb035c5"},"transaction":{"id":"933f24d83aa45aa9"}}

```

Please note that `observability.uptime` seems to be impacted too.

Could you help me find the source of the problem here please?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 27, 2023, 6:43pm UTC](https://discuss.elastic.co/t/there-has-been-a-catastrophic-error-trying-to-install-index-level-resources-for-the-following-registration-context-observability/344155/2 "2023-10-27T18:43:56Z")

</div>

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