automation-suite
2022.10
false
UiPath logo, featuring letters U and I in white
Automation Suite Installation Guide
Last updated Nov 21, 2024

Step 1: Removing old Identity cache keys

To remove the old Identity cache keys, take the following steps:

  1. To retrieve the Redis password, run the following command:
    kubectl --kubeconfig kubeconfig get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.password }}'kubectl --kubeconfig kubeconfig get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.password }}'
  2. To retrieve the Redis port, run the following command:
    kubectl --kubeconfig kubeconfig get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.port }}'kubectl --kubeconfig kubeconfig get secrets/redb-redis-cluster-db -n uipath --template '{{ .data.port }}'
  3. To access the Redis node, run the following commnad:
    kubectl --kubeconfig kubeconfig exec -i -t -n redis-system redis-master-0 -c redis "--" sh -c "clear; (bash || ash || sh)"kubectl --kubeconfig kubeconfig exec -i -t -n redis-system redis-master-0 -c redis "--" sh -c "clear; (bash || ash || sh)"
  4. To delete the old keys, use the retrieved password and port and run the following command:
    redis-cli -p <Port number> -a <Password> --scan --pattern is:* | while read key; do redis-cli -p <Port number> -a <Password> del "$key"; doneredis-cli -p <Port number> -a <Password> --scan --pattern is:* | while read key; do redis-cli -p <Port number> -a <Password> del "$key"; done
  5. To end the session, run the exit command.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.