If the RabbitMQ password is lost, we can use the following instructions to reset the password.
1) Reset the RabbitMQ password in the $XRAY_HOME/app/bin/rabbitmq/rabbitmq.conf directory. The rabbitmq.conf password can be updated by modifying the <default_password> value. Below is an example.
loopback_users.guest = false listeners.tcp.default = 5672 hipe_compile = false management.listener.port = 15672 management.listener.ssl = false cluster_partition_handling = autoheal default_user = guest default_pass = newRabbitmqPassword2) Once this has been updated. The rabbitMQ password in the $XRAY_HOME/var/etc/system.yaml will need to be updated with this new password.
shared: database: password: <databasepassword> rabbitMq: password: newRabbitmqPassword jfrogUrl: http://<artifactory_hostname>:8082 security: joinKey: <artifactory join key> node: ip: <node_ip>Once this has been configured, a restart of Xray will be required and it should now use the updated passwords.