...
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
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 language powershell linenumbers true cd C:\GetSmart\mongodb\bin mongo.exe --port 27017 -u MyAdminUser -p MyAdminPassword --authenticationDatabase "admin"
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 language js linenumbers true 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' )
- Repeat the previous step for the ServiceEngine, PortalSecurity, and CaptureWorkflow databases. To do this, replace "use WorkflowEngine" with "use ServiceEngine", etc.
- Restart the ssBatchPortal, S9GlobalAction, and GlobalCapture_1 services.
Mongo Database GUI (i.e., Robo3T or MongoDB Compass)
Open your MongoDB visualizer of choice and sign in with the Mongo admin username and password you created.
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.
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.
Repeat the previous step for the ServiceEngine, PortalSecurity, and CaptureWorkflow databases. To do this, replace "use WorkflowEngine" with "use ServiceEngine", etc.Code Block language js linenumbers true 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' )
- Restart the ssBatchPortal, S9GlobalAction, and GlobalCapture_1 services.
...