Skip to main content
Contributor III
April 10, 2020

Technical Note: CSTN 00003 - Notes for customers who have changed their DB passwords and who want to upgrade to CyOPs 4.11.1 or earlier

  • April 10, 2020
  • 0 replies
  • 922 views
Description

If customers have changed their DB passwords and they are trying to upgrade their environment to CyOPsâ„¢ 4.11.1 or earlier, then they must take care of the following to ensure that their CyOPsâ„¢ instance is running post-upgrade:

  1. Update the Mongo password with the previously set password in the parameter_prod.yml file, which is located at /opt/cyops-api/app/config/parameters_prod.yml.
    You require to update the mongodb_password parameter.
  2. Update the Postgres password with the previously set password in the parameter_prod.yml file, which is located at /opt/cyops-api/app/config/parameters_prod.yml.
    You require to update the database_password parameter.
  3. Run the following commands as a root user:
    1. cd /opt/cyops-api/
    2. sudo -u nginx php app/console cache:clear --env=prod --no-interaction
    3. sudo -u nginx php app/console cybersponse:system:update -la --env=prod
    4. sudo -u nginx php app/console mongodb:migrations:migrate --no-interaction --env=prod
    5. sudo -u nginx php app/console cybersponse:system:update -la --env=prod
    6. sudo -u nginx php /opt/cyops-api/app/console cybersponse:elastic:create --env=prod
    7. sh /opt/cyops/configs/scripts/services.sh restart

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!