Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the event that you need to reset your SSAdministrator password, you will need to update the Mongo database users. You should first make sure that you have updated your SSAdministrator password using the instructions above.

Then, take the following steps:

This update can be performed one of two ways listed below:

Mongo Shell

  1. Open an authenticated Mongo shell by running the following commands using an administrative command prompt. Replace "MyAdminUser" and "MyAdminPassword" with the Mongo admin username and password you created.

    Code Block
    languagepowershell
    linenumberstrue
    cd C:\GetSmart\mongodb\bin
    mongo.exe --port 27017 -u MyAdminUser -p MyAdminPassword --authenticationDatabase "admin"


  2. In the Mongo shell, run the following commands. Replace "SSAdministrator" and "MySSAdministratorPassword" with the username and password (respectively) for your Square 9 service account.

    Code Block
    languagejs
    linenumberstrue
    use WorkflowEngine
    db.updateUser("SSAdministrator",{pwd:"MySSAdministratorPassword"})


    Warning

    This SSAdministrator user is case sensitive and will need not just the password, but also the username to match exactly to the user set up to run services in the Service Console (i.e., 'SSAdministrator' is not the same as 'ssadministrator' )


  3. Repeat the previous step for the ServiceEngine, PortalSecurity, and CaptureWorkflow databases. To do this, replace "use WorkflowEngine" with "use ServiceEngine", etc.
  4. Restart the ssBatchPortal, S9GlobalAction, and GlobalCapture_1 services.

Mongo Database GUI (i.e., Robo3T or MongoDB Compass)

  1. Open your MongoDB visualizer of choice and sign in with the Mongo admin username and password you created.

  2. In the Mongo shell, run the following commands. Replace your MongoDB visualizer, you should see all your databases in the Object Explorer, and expanding each will show you a Users object containing your SSAdministrator user.
    Image Added

  3. For each database (ServiceEngine, PortalSecurity, CaptureWorkflow, etc.) you will want to open a shell by right-clicking on the database. Run the query below replacing "SSAdministrator" and "MySSAdministratorPassword" with the username and password (respectively) for your Square 9 service account.

    Code Block
    languagejs
    linenumberstrue
    use WorkflowEngine
    db.updateUser("SSAdministrator",{pwd:"MySSAdministratorPassword"})
    Repeat the previous step for the ServiceEngine, PortalSecurity, and CaptureWorkflow databases. To do this, replace "use WorkflowEngine" with "use ServiceEngine", etc.


    Warning

    This SSAdministrator user is case sensitive and will need not just the password, but also the username to match exactly to the user set up to run services in the Service Console (i.e., 'SSAdministrator' is not the same as 'ssadministrator' )


  4. Restart the ssBatchPortal, S9GlobalAction, and GlobalCapture_1 services.

...