UiPath Documentation
automation-suite
2024.10
false
UiPath logo, featuring letters U and I in white

Automation Suite on Linux installation guide

Last updated Mar 26, 2026

Upgrade failure during posthook import

Description

The Automation Suite upgrade may fail when you run the uipathctl rke2 upgrade command in a chained upgrade scenario.

This issue occurs due to the posthook secret and configmap import operation not being idempotent. When existing Kubernetes objects have mismatched UIDs, the import process fails and prevents the upgrade from completing.

Solution

To address the issue, delete the secrets and configmaps that were previously imported and causing UID conflicts, and then rerun the upgrade command.

Run the following commands before retrying the upgrade:

kubectl delete configmap -n uipath identity-service-customconfig orchestrator-customconfig

kubectl delete secret -n uipath \
  asrobots-generated-secrets \
  automationhub-generated-secrets \
  orchestrator-generated-secrets \
  identity-generated-secrets \
  testmanager-generated-secrets \
  processmining-apppublishing-kv-signing-key \
  robotube-generated-secrets \
  process-mining-settings-secret-static \
  process-mining-pipeline-settings-secret-static \
  datapipeline-settings-secret-userinputs \
  datapipeline-settings-secret-encryption-key \
  datapipeline-settings-secret-airflowinputs

kubectl delete secret -n monitoring alertmanager-config
kubectl delete configmap -n uipath identity-service-customconfig orchestrator-customconfig

kubectl delete secret -n uipath \
  asrobots-generated-secrets \
  automationhub-generated-secrets \
  orchestrator-generated-secrets \
  identity-generated-secrets \
  testmanager-generated-secrets \
  processmining-apppublishing-kv-signing-key \
  robotube-generated-secrets \
  process-mining-settings-secret-static \
  process-mining-pipeline-settings-secret-static \
  datapipeline-settings-secret-userinputs \
  datapipeline-settings-secret-encryption-key \
  datapipeline-settings-secret-airflowinputs

kubectl delete secret -n monitoring alertmanager-config
  • Description
  • Solution

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated