Error: No custom admin password found. Please provide a password via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD.
This is my first time trying to install. I’ve ran into an issue trying to install OpenSearch via Graylog installation instructions. To confirm this is a requirement for my Graylog installation. It looks like OpenSearch has installed partially
It says to check a specified log. This what I’m seeing (last line which I assume is the issue) I’m stuck at how to correctly perform this step. Any suggestions? Thank you in advance!
### OpenSearch Security Demo Installer
### ** Warning: Do not use on production or public reachable systems **
OpenSearch install type: rpm/deb on Linux 6.5.0-1014-aws amd64
OpenSearch config dir: /etc/opensearch/
OpenSearch config file: /etc/opensearch/opensearch.yml
OpenSearch bin dir: /usr/share/opensearch/bin/
OpenSearch plugins dir: /usr/share/opensearch/plugins/
OpenSearch lib dir: /usr/share/opensearch/lib/
Detected OpenSearch Version: 2.12.0
Detected OpenSearch Security Version: 2.12.0.0
No custom admin password found. Please provide a password via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD.
@OP1 As per the logs you must provide initial admin password by setting env variable OPENSEARCH_INITIAL_ADMIN_PASSWORD.
This has been introduced in 2.12.0