Hello All,
I'm coming to you because I think I checked all possibilities to correct my issue...
I run an Elastic stack in a docker-compose file, the stack run well but I have a lot of error message in my docker-compose logs
You can find this error message in next screenshots :
{"type": "server", "timestamp": "2020-12-03T18:05:07,539Z", "level": "INFO", "component": "o.e.x.s.s.SecurityIndexManager", "cluster.name": "docker-cluster", "node.name": "22decff2f1e9", "message": "Missing _meta field in mapping [_doc] of index [.security]", "cluster.uuid": "X9GEjI3UQt-YFn29tohRmA", "node.id": "F_ZHmVV1Ri-92A3NBWun6w" } elasticsearch_1 | {"type": "server", "timestamp": "2020-12-03T18:05:07,540Z", "level": "WARN", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "docker-cluster", "node.name": "22decff2f1e9", "message": "failed to notify ClusterStateListener", "cluster.uuid": "X9GEjI3UQt-YFn29tohRmA", "node.id": "F_ZHmVV1Ri-92A3NBWun6w" , elasticsearch_1 | "stacktrace": ["java.lang.IllegalStateException: Cannot read security-version string in index .security",
And:
kibana_1 | {"type":"log","@timestamp":"2020-12-03T22:02:17Z","tags":["error","plugins","security","authorization"],"pid":8,"message":"Error registering Kibana Privileges with Elasticsearch for kibana-.kibana: [status_exception] Cluster state has not been recovered yet, cannot write to the [null] index"}
I supposed that this error come from this :
As you can see, I have two differents .security index and elasticsearch try to read "security-version" in the mapping of this index but it do not have this field :
This field is present in the
.security-7
index :Elastic version: 7.9.3
I want create users but I can't because of this issue...
Thank you so much for your help (and sorry for my bad english)
Regards