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

Automation Suite on Linux installation guide

Last updated Oct 13, 2025

AI Center skills sync failure during side-by-side upgrade

Description

During a side-by-side upgrade, you can encounter an issue where the script for syncing and checking the ML skills in AI Center fails while using the registry.uipath.com/aicenter/aicenter-jobs image. The issue results in an error message that highlights a problem with the shorthand flag -c.

Solution

To solve this problem, you must adjust the syntax of the script to include --command before -- /bin/bash, as shown in the following example:
kubectl -n uipath run "$podName" \
  --image="$aicJobsImage" \
  --restart=Never \
  --labels="app.kubernetes.io/component=aicenter" \
  --overrides='{ "metadata": { "annotations": {"sidecar.istio.io/inject": "false"}}}' \
  --command -- /bin/bash -c "curl -sSL -XPOST -H 'Content-Type: application/json' 'ai-deployer-svc.uipath.svc.cluster.local/ai-deployer/v1/system/mlskills:restore-all' -d '[12345]'; exit"kubectl -n uipath run "$podName" \
  --image="$aicJobsImage" \
  --restart=Never \
  --labels="app.kubernetes.io/component=aicenter" \
  --overrides='{ "metadata": { "annotations": {"sidecar.istio.io/inject": "false"}}}' \
  --command -- /bin/bash -c "curl -sSL -XPOST -H 'Content-Type: application/json' 'ai-deployer-svc.uipath.svc.cluster.local/ai-deployer/v1/system/mlskills:restore-all' -d '[12345]'; exit"
  • Description
  • Solution

Was this page helpful?

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