# Kibana fails to start on Windows with \[fatal\]\[root\] { \[cluster\_block\_exception\] blocked by: \[FORBIDDEN/12/index read-only / allow delete (api)\]

**URL:** <https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220>\
**Category:** Kibana\
**Created:** [April 28, 2020, 5:10pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220 "2020-04-28T17:10:23Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 5:10pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/1 "2020-04-28T17:10:23Z")

</div>

When I try to start Kibana on Windows 10 I get:

[fatal][root] { [cluster\_block\_exception] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]

After that Kibana exists the batch script. Can someone please advise.

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [April 28, 2020, 5:27pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/2 "2020-04-28T17:27:04Z")

</div>

Hi,  
Could you please share some surrounding errors?  
Also check if you're cluster health is ok. For example if there is enough free disk space, etc.

You need to figure out which index is read-only then you may find Infos in the logs why this happened.

Regards,  
Simon

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 6:22pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/3 "2020-04-28T18:22:44Z")

</div>

Thanks for the reply.

The cluster is yellow and two the four nodes are at 95% diskspace. So the index is read only, but I don't understand why Kibana can not connect.

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [April 28, 2020, 6:28pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/4 "2020-04-28T18:28:15Z")

</div>

95% Free or used?  
If it's 95% used and you can't free up space you could increase the storage thresholds, but that's not recommend as a solution, more a quick & dirty fix.  
The error looks like kibana want to write into a index. Are there any details which index is read-only? The best would be if you post the logs from ES and Kibana around the Error.

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [April 28, 2020, 6:31pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/5 "2020-04-28T18:31:51Z")

</div>

Could you also share the results of the /\_cat/indices/ API. Then we could see the status of your indices.

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 6:48pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/6 "2020-04-28T18:48:08Z")

</div>

> [@KoettingSimon](#):
>
> /\_cat/indices/

health status index uuid pri rep docs.count docs.deleted store.size pri.store.size  
green open .kibana\_1 U65-Ush3Tq2aOfAW-YZ3TQ 1 1 3 0 24.1kb 12kb  
yellow open .kibana\_task\_manager \_iSiv\_8oRYKnU6z6dxcjfw 1 1 2 0 12.2kb 12.2kb  
yellow open .monitoring-es-6-2020.04.21 sJv34\_tBQqmoq64mhSfBvA 1 1 264683 278 113.1mb 113.1mb  
yellow open .monitoring-es-6-2020.04.22 qbNZcp4IT\_CWycwasFF9Tw 1 1 264617 208 112.9mb 112.9mb  
yellow open .monitoring-es-6-2020.04.23 nxxIuMJkQHSDwAgodMoh3Q 1 1 264464 138 110.9mb 110.9mb  
yellow open .monitoring-es-6-2020.04.24 lurGV\_YGQB6Tklqaj\_o6oQ 1 1 264613 136 109.3mb 109.3mb  
yellow open .monitoring-es-6-2020.04.25 \_cKD-TfeRw62BCn3EGO\_NA 1 1 273805 210 115mb 115mb  
yellow open .monitoring-es-6-2020.04.26 tCdXwSIwSxC5J\_SMlBndwQ 1 1 276142 210 113.7mb 113.7mb  
yellow open .monitoring-es-6-2020.04.27 7vCkpVm8R3atCfQ7W-zxVQ 1 1 275983 0 116.7mb 116.7mb  
yellow open .monitoring-es-6-2020.04.28 6bJ0rFSLSdq8hChdCbObMQ 1 1 216526 144 109.4mb 109.4mb  
green open votes\_v1 rKYLgsBRRGyTu4Zg9gCI2g 5 1 4 0 38.8kb 19.4kb  
green open websites\_nl aa9cUi0qQzumeppjrG1vRg 6 1 10561999 29554 66.2gb 33.1gb  
yellow open websites\_v1 x5BJSWUzSIGNbnWElK2iKw 15 1 356773572 135818449 3tb 1.6tb

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 6:48pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/7 "2020-04-28T18:48:53Z")

</div>

Nearer to 98% used

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 6:51pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/8 "2020-04-28T18:51:19Z")

</div>

I think I know the next questions... shards 😉

.monitoring-es-6-2020.04.25 0 p STARTED 273805 115mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.25 0 r UNASSIGNED  
.monitoring-es-6-2020.04.23 0 p STARTED 264464 110.9mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.23 0 r UNASSIGNED  
.kibana\_1 0 p STARTED 3 12kb 94.130.71.215 de-cluster-003  
.kibana\_1 0 r STARTED 3 12kb 94.130.71.232 de-cluster-004  
.monitoring-es-6-2020.04.27 0 p STARTED 275983 116.7mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.27 0 r UNASSIGNED  
websites\_nl 4 p STARTED 1757221 5.5gb 138.201.128.230 de-cluster-002  
websites\_nl 4 r STARTED 1757221 5.5gb 94.130.71.215 de-cluster-003  
websites\_nl 1 p STARTED 1758378 5.4gb 138.201.128.230 de-cluster-002  
websites\_nl 1 r STARTED 1758378 5.4gb 94.130.71.215 de-cluster-003  
websites\_nl 5 p STARTED 1762955 5.5gb 94.130.71.215 de-cluster-003  
websites\_nl 5 r STARTED 1762955 5.5gb 94.130.71.232 de-cluster-004  
websites\_nl 3 r STARTED 1766947 5.5gb 94.130.71.215 de-cluster-003  
websites\_nl 3 p STARTED 1766947 5.5gb 94.130.71.232 de-cluster-004  
websites\_nl 2 r STARTED 1757172 5.5gb 138.201.128.230 de-cluster-002  
websites\_nl 2 p STARTED 1757172 5.5gb 94.130.71.215 de-cluster-003  
websites\_nl 0 r STARTED 1759326 5.5gb 94.130.71.215 de-cluster-003  
websites\_nl 0 p STARTED 1759326 5.5gb 94.130.71.232 de-cluster-004  
.monitoring-es-6-2020.04.24 0 p STARTED 264613 109.3mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.24 0 r UNASSIGNED  
.monitoring-es-6-2020.04.21 0 p STARTED 264683 113.1mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.21 0 r UNASSIGNED  
.monitoring-es-6-2020.04.28 0 p STARTED 217254 109.7mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.28 0 r UNASSIGNED  
votes\_v1 4 p STARTED 2 9.3kb 94.130.71.215 de-cluster-003  
votes\_v1 4 r STARTED 2 9.3kb 94.130.71.232 de-cluster-004  
votes\_v1 1 p STARTED 1 4.8kb 138.201.128.230 de-cluster-002  
votes\_v1 1 r STARTED 1 4.8kb 94.130.71.215 de-cluster-003  
votes\_v1 3 r STARTED 1 4.7kb 94.130.71.215 de-cluster-003  
votes\_v1 3 p STARTED 1 4.7kb 94.130.71.232 de-cluster-004  
votes\_v1 2 p STARTED 0 259b 94.130.71.215 de-cluster-003  
votes\_v1 2 r STARTED 0 259b 94.130.71.232 de-cluster-004  
votes\_v1 0 p STARTED 0 259b 138.201.128.230 de-cluster-002  
votes\_v1 0 r STARTED 0 259b 94.130.71.215 de-cluster-003  
.kibana\_task\_manager 0 p STARTED 2 12.2kb 94.130.71.215 de-cluster-003  
.kibana\_task\_manager 0 r UNASSIGNED  
.monitoring-es-6-2020.04.26 0 p STARTED 276142 113.7mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.26 0 r UNASSIGNED  
websites\_v1 11 p STARTED 23720955 120.3gb 138.201.128.230 de-cluster-002  
websites\_v1 11 r UNASSIGNED  
websites\_v1 12 r STARTED 23773792 103.8gb 78.46.77.37 de-cluster-001  
websites\_v1 12 p STARTED 23773792 103.8gb 94.130.71.232 de-cluster-004  
websites\_v1 1 p STARTED 23862729 106.4gb 78.46.77.37 de-cluster-001  
websites\_v1 1 r STARTED 23862729 106.4gb 138.201.128.230 de-cluster-002  
websites\_v1 13 p STARTED 23775109 120.5gb 94.130.71.215 de-cluster-003  
websites\_v1 13 r STARTED 23775109 120.5gb 94.130.71.232 de-cluster-004  
websites\_v1 6 r STARTED 23741978 114.9gb 78.46.77.37 de-cluster-001  
websites\_v1 6 p STARTED 23741978 120.6gb 94.130.71.215 de-cluster-003  
websites\_v1 5 r STARTED 23762269 110.9gb 138.201.128.230 de-cluster-002  
websites\_v1 5 p STARTED 23762269 114.3gb 94.130.71.232 de-cluster-004  
websites\_v1 4 p STARTED 23821925 96.7gb 78.46.77.37 de-cluster-001  
websites\_v1 4 r STARTED 23821925 98.9gb 94.130.71.232 de-cluster-004  
websites\_v1 9 r STARTED 23775836 121.3gb 138.201.128.230 de-cluster-002  
websites\_v1 9 p STARTED 23775836 116.9gb 94.130.71.215 de-cluster-003  
websites\_v1 10 r STARTED 23752029 117.2gb 138.201.128.230 de-cluster-002  
websites\_v1 10 p STARTED 23752029 115.2gb 94.130.71.232 de-cluster-004  
websites\_v1 3 r STARTED 23875988 100.9gb 78.46.77.37 de-cluster-001  
websites\_v1 3 p STARTED 23875988 105.6gb 94.130.71.215 de-cluster-003  
websites\_v1 2 p STARTED 23850670 106.2gb 78.46.77.37 de-cluster-001  
websites\_v1 2 r STARTED 23850670 100.7gb 94.130.71.232 de-cluster-004  
websites\_v1 7 p STARTED 23741142 113.1gb 138.201.128.230 de-cluster-002  
websites\_v1 7 r UNASSIGNED  
websites\_v1 14 r STARTED 23705095 120.5gb 78.46.77.37 de-cluster-001  
websites\_v1 14 p STARTED 23705095 120.5gb 94.130.71.232 de-cluster-004  
websites\_v1 8 r STARTED 23684293 115.5gb 138.201.128.230 de-cluster-002  
websites\_v1 8 p STARTED 23684293 108.5gb 94.130.71.215 de-cluster-003  
websites\_v1 0 r STARTED 23929762 99.6gb 78.46.77.37 de-cluster-001  
websites\_v1 0 p STARTED 23929762 106.7gb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.22 0 p STARTED 264617 112.9mb 94.130.71.215 de-cluster-003  
.monitoring-es-6-2020.04.22 0 r UNASSIGNED

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [April 28, 2020, 6:56pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/9 "2020-04-28T18:56:43Z")

</div>

As I thought, there are multiple unassigned shards. So you need more disk space. You can add physical storage (best) or delete data, either deleting old data or maybe delete replicas if not needed.

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 7:00pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/10 "2020-04-28T19:00:34Z")

</div>

Thanks for your answer, I appreciate them.

There 4 nodes, two of the nodes are above 95%, however 1 one of the nodes is at 81%. Is there a way to move the unassigned to the node at 81%?

Also is there an explanation why Kibana cant connect?

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [April 28, 2020, 7:12pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/11 "2020-04-28T19:12:48Z")

</div>

If you want you can route the shards manually. By default elastic search try to make the best routing. Maybe it's not possible because the replica would be on the same node as the primary.  
Could you check your cluster settings, especially the setting `cluster.routing.allocation.enable` setting, may it's disabled.

Kibana couldnt start because it try to write data into an index. After reaching a storage threshold elastic search set the indices in an read only mode, so no new data could be added, that's the reason.

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 28, 2020, 9:02pm UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/12 "2020-04-28T21:02:04Z")

</div>

Hi Simon,

Thanks for the help, I will dive into this and check the setting tomorrow and let you know.

---

<div class="post-metadata">

**Author:** ![leij9857](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Post date:** [April 29, 2020, 6:50am UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/13 "2020-04-29T06:50:35Z")

</div>

> [@KoettingSimon](#):
>
> `cluster.routing.allocation.enable`

{  
"persistent" : {  
"xpack" : {  
"monitoring" : {  
"collection" : {  
"enabled" : "true"  
}  
}  
}  
},  
"transient" : {  
"cluster" : {  
"routing" : {  
"allocation" : {  
"enable" : "all"  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![KoettingSimon](https://avatars.discourse-cdn.com/v4/letter/k/ba9def/32.png) [@KoettingSimon](https://discuss.elastic.co/u/KoettingSimon)\
**Post date:** [April 29, 2020, 8:21am UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/14 "2020-04-29T08:21:11Z")

</div>

looks good, so routing is enabled.  
Your only option now is to increase the storage or delete old Data.

---

<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:** [May 27, 2020, 8:21am UTC](https://discuss.elastic.co/t/kibana-fails-to-start-on-windows-with-fatal-root-cluster-block-exception-blocked-by-forbidden-12-index-read-only-allow-delete-api/230220/15 "2020-05-27T08:21:14Z")

</div>

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