OPDK 18.01 reset sys admin password

mrios
New Member

I'm following these steps to reset the system admin password for our 18.01 Edge.

The command that updates the management-server seems to be working fine, though not sure how to make sure that is taking the right password.

Then, when I try to update the edge-ui component with the silent config file I got the following error.

Error: cannot read config
[2018-06-28 06:11:47 PM] Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
[2018-06-28 06:12:01 PM] Using defaults from config
[2018-06-28 06:12:01 PM] setup.sh: Info: Check for system requirements is not enabled.
[2018-06-28 06:12:01 PM] setup.sh: Info: Enable system requirements check by setting ENABLE_SYSTEM_CHECK=y
[2018-06-28 06:12:01 PM] setup.sh: Info: To run system requirements check without installing the profile use -t option
[2018-06-28 06:12:01 PM]
[2018-06-28 06:12:01 PM] setup.sh: Proceeding with HOSTIP 10.10.10.10
[2018-06-28 06:12:01 PM]
Service setup edge-ui


Error: cannot read config

I don't see any useful information to help to troubleshoot the issue. The config file has the changes that are described in the post + the same configuration for the SMTP that we had when we created the cluster.

Some questions:

1) The documentation says that procedure is for 17.09. Has the documentation changed for 18.01 or is it the same?

2) In the step:

/opt/apigee/apigee-service/bin/apigee-service edge-management-server change_sysadmin_password -o currentPW -n newPW

should we provide the currentPW and newPW around single quotes or shouldn't it be necessary? I had some problems if the passwd had the $ symbol. The error that I was seeing was

No NEWPWD (new password) set
Please pass with the command line option -n <new password>
Change Apigee Edge system admin password
  /opt/apigee/apigee-service/bin/apigee-service edge-management-server change_sysadmin_password -o old_password -n new_password [ -H MSIP ] [ -p MS PORT ] [ -u ADMIN_EMAIL ]

Any help will be appreciated.

0 2 301
2 REPLIES 2

This seems like a thing you should contact Apigee support about.

I did that this morning.