org.elasticsearch.cluster.block.ClusterBlockException: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized]

Hi, I'm using elasticsearch with graylog. I previously had elasticsearch 2, now I upgraded it to 5. I run it using docker-compose. I'm only using one instance. Here's the service definition:

      elasticsearch:
        restart: always
        image: "docker.elastic.co/elasticsearch/elasticsearch:5.6.3"
        command: "elasticsearch -Ecluster.name='graylog' -Expack.security.enabled=false"
        volumes:
          - /home/graylog/.elasticsearch:/usr/share/elasticsearch/data

Graylog's System Overview says everything is fine:

Elasticsearch cluster is green. Shards: 4 active, 0 initializing, 0 relocating, 0 unassigned,

However,

naftoli@graylog-main:/home/graylog$ curl 172.18.0.3:9200/_cat/health
1509412370 01:12:50 graylog yellow 1 1 9 9 0 0 5 0 - 64.3%
naftoli@graylog-main:/home/graylog$ curl 172.18.0.3:9200/_cat/nodes
172.18.0.3 10 64 8 0.08 0.43 0.66 mdi * 0bjKb6g

Here are the logs: elasticsearch.log · GitHub

Note the ClusterBlockException.

How to proceed?

Thanks.

What is the problem you are looking to solve here?

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