Security Not initialized error on Elasticsearch Restart

Hi,

When restarting the docker elasticsearch opendistro version 0.8.0 I get an error stating that security is not initialized. The opendistro-security index already exists and everytime it requires the security admin command to be run to initialize. What is the right way to address this?

   sh /usr/share/elasticsearch/plugins/opendistro_security/tools/securityadmin.sh /usr/share/elasticsearch/plugins/opendistro_security/securityconfig -icl -nhnv -cacert /usr/share/elasticsearch/config/root-ca.pem -cert /usr/share/elasticsearch/config/kirk.pem -key /usr/share/elasticsearch/config/kirk-key.pem
1 Like