# Is there any upgrade guide to version 2.12.0+ from earlier version with default admin password?

**URL:** <https://forum.opensearch.org/t/is-there-any-upgrade-guide-to-version-2-12-0-from-earlier-version-with-default-admin-password/19229>\
**Category:** OpenSearch\
**Tags:** upgrade\
**Created:** [May 7, 2024, 8:26am UTC](https://forum.opensearch.org/t/is-there-any-upgrade-guide-to-version-2-12-0-from-earlier-version-with-default-admin-password/19229 "2024-05-07T08:26:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![atez](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@atez](https://forum.opensearch.org/u/atez)\
**Post date:** [May 7, 2024, 8:26am UTC](https://forum.opensearch.org/t/is-there-any-upgrade-guide-to-version-2-12-0-from-earlier-version-with-default-admin-password/19229/1 "2024-05-07T08:26:53Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
Opensearch 2.13.0 (Helm chart 2.19.0)

**Describe the issue** :  
I am using opensearch in k8s clsuter.

I installed opensearch cluster with chart version 2.19.0 - same version opensearch 2.13.0

I tried to set environment variable with helm value `extraEnvs` to set default admin user password, I met this error.

```auto
Enabling OpenSearch Security Plugin
Enabling execution of install_demo_configuration.sh for OpenSearch Security Plugin 
OpenSearch 2.12.0 onwards, the OpenSearch Security Plugin a change that requires an initial password for 'admin' user. 
Please define an environment variable 'OPENSEARCH_INITIAL_ADMIN_PASSWORD' with a strong password string. 
If a password is not provided, the setup will quit. 
 For more details, please visit: https://opensearch.org/docs/latest/install-and-configure/install-opensearch/docker/
### OpenSearch Security Demo Installer
### **Warning: Do not use on production or public reachable systems**
OpenSearch install type: rpm/deb on Linux 5.10.210-201.852.amzn2.x86_64 amd64
OpenSearch config dir: /usr/share/opensearch/config/
OpenSearch config file: /usr/share/opensearch/config/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.13.0
Detected OpenSearch Security Version: 2.13.0.0
Exception updating the admin password : Unable to update the internal users file with the hashed password.
Stream closed EOF for dev/test-master-1 (opensearchmaster)

```

Can anyone give me a guide for setting or skipping to set this default password?  
or compatible method with hashed password for initialization?

- I don’t want to disable securityConfig because I touched internal\_user.yml and security\_config.yml to set SAML authentication.

**Configuration** :

- Statefulset configuration (master, data node same)

```auto
env:
  - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD
    value: vfcc77*ViAYt7FGFdzz2

```

**Relevant Logs or Screenshots** :
