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
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:
- Update the Mongo password with the previously set password in the
parameter_prod.ymlfile, which is located at/opt/cyops-api/app/config/parameters_prod.yml.
You require to update themongodb_passwordparameter. - Update the Postgres password with the previously set password in the
parameter_prod.ymlfile, which is located at/opt/cyops-api/app/config/parameters_prod.yml.
You require to update thedatabase_passwordparameter. - Run the following commands as a
rootuser:cd /opt/cyops-api/sudo -u nginx php app/console cache:clear --env=prod --no-interactionsudo -u nginx php app/console cybersponse:system:update -la --env=prodsudo -u nginx php app/console mongodb:migrations:migrate --no-interaction --env=prodsudo -u nginx php app/console cybersponse:system:update -la --env=prodsudo -u nginx php /opt/cyops-api/app/console cybersponse:elastic:create --env=prodsh /opt/cyops/configs/scripts/services.sh restart
