Reset CouchDB Credentials

Procedure

  1. You must define your configuration in the silentinstaller.yml file. Update the following parameter in the silentinstaller.yml file:
    Parameter Description
    WEBCLIENT_INSTALLATION_PATH: "" Enter the Web Client Installation path in which you want to install. For example, WEBCLIENT_INSTALLATION_PATH: "/home/ administrator/install/"
    COUCHDB_SERVER: "" Enter the Plant Applications CouchDB host name or IP address.
    COUCHDB_USERNAME: "" Enter the CouchDB username.
    COUCHDB_PASSWORD: "" Enter the CouchDB password.
  2. Access the utility.sh file in the plantapps-enterprise-webclient-<buildno> folder.
  3. Provide execution permissions to utility.sh file by running the following command: sudo chmod +x your/pathto/installer/plantapps-enterprise-webclient-<buildno>/utility.sh
  4. Run the utility.sh file by running one of the following commands:
    • If you are running this utility directly on the Enterprise Edition Web Client node: <installer path>/plantapps-enterprise-webclient-<buildno>/sudo ./utility.sh -l -couch reset
    • If you are running this utility remotely on the Enterprise Edition Web Client node: <installer path>/plantapps-enterprise-webclient-<buildno>/sudo ./utility.sh -r -couch reset
    Docker secrets are created based on the values you entered, and the Docker stacks are redeployed so that the containers use the new credentials.