Trouble with x-pack trial-version on ELK 7


I installed ELK docker v7.0 and activated the trial version of xpack. I have mentioned " true" in the elasticsearch.yml.
when I check through the get /license, it shows that my trial-license is activated. The same message is reflected in the Kibana UI too, but when I try to setup the passwords for the built-in-users, I get the following error:

/# /opt/elasticsearch/bin/elasticsearch-setup-passwords interactive

Unexpected response code [500] from calling GET
It doesn't look like the X-Pack security feature is enabled on this Elasticsearch node.
Please check if you have enabled X-Pack security in your elasticsearch.yml configuration file.
ERROR: X-Pack Security is disabled by configuration.

(system) closed #2

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