Skip to content

Global Database Password Reset

Servers using global user config:

  • deploy1.shopfactory.io
  • /apps/deployer/.env
  • /apps/deployer/solution-resources/.env
  • codedeploy1.shopfactory.io
  • /home/smartweb/code/smartweb/core/.env
  • /home/smartweb/code/smartweb/install/.env
  • commander1.shopfactory.io
  • /apps/commander/docker-compose.yml

Naming convention

Currently we have no naming convention for the database user names. The following table shows the current state:

Server User
deploy1.shopfactory.io sfadmin
codedeploy1.shopfactory.io sfadmin
commander1.shopfactory.io sfadmin

Procedure

  1. Create a new password for the database user.
  2. Prepare the update to the .env files in the config repositories.
  3. Create a new branch
  4. Update the password in the .env files
  5. Commit the changes
  6. Create a merge request
  7. Merge the merge request
  8. Build deploy service images.
  9. Update the password in Netadmin and push to the servers.
  10. Merge and deploy the pull request in the config repositories.
  11. Restart the deploy services to use the new images.
  12. Test:
  13. Solution deployment.
  14. Admin.
  15. Storefront.