UiPath Documentation
automation-suite
2023.10
false
Automation Suite on Linux installation guide

Longhorn REST API endpoint upgrade/reinstall error

Resolve the Longhorn REST API endpoint error that occurs during upgrades or reinstalls from versions earlier than 23.10.0 in Automation Suite.

Description​

During an upgrade or reinstall process from a version earlier than Automation Suite 23.10.0, a Failed to set Longhorn RestApi Endpoint error can occur.

Solution​

To fix this issue, take the following steps:

  1. Remove the outdated Longhorn storageclass, by running the following command:
          for sc in $(kubectl get sc -o json | jq -r '.items[] | select(.provisioner=="driver.longhorn.io") | .metadata.name'); do
            kubectl delete sc "${sc}" --timeout=30s || true
          done
          for sc in $(kubectl get sc -o json | jq -r '.items[] | select(.provisioner=="driver.longhorn.io") | .metadata.name'); do
            kubectl delete sc "${sc}" --timeout=30s || true
          done
    
  2. Restart the upgrade (or reinstall) process.
  • Description​
  • Solution​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated