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

Automation Suite on Linux installation guide

Last updated Mar 26, 2026

Service upgrade fails during pre-service script execution

Description

While you upgrade from older versions to 2023.10.x, the service upgrade script can abruptly end with non-zero exit code. This issue occurs when one of the pre-upgrade script, namely scale-down-insights-looker-deployment.sh, fails in certain scenarios.

The termination output appears as follows:

[INFO] [2025-03-05T12:32:39+0000]: Syncing cronjobs in app argocd/webhook
[INFO] [2025-03-05T12:32:42+0000]: Removing maintenance label from the nodes
[INFO] [2025-03-05T12:32:43+0000]: Deprecating app of apps in upgrade hooks
[INFO] [2025-03-05T12:32:43+0000]: Disabling auto-sync for uipath...
The request is invalid: the server rejected our request due to an error in our request
[INFO] [2025-03-05T12:32:43+0000]: Stopping any running sync operation for uipath...

Name:               argocd/uipath
Project:            default
Server:             https://kubernetes.default.svc
Namespace:
URL:                https://alm.sfdev8263570-cluster.infra-sf-ea.infra.uipath-dev.com/applications/uipath
Repo:               sfbrdevhelmweacr.azurecr.io
Target:             2023.10.2
Path:
SyncWindow:         Sync Allowed
Sync Policy:        <none>
Sync Status:        Synced to 2023.10.2 (2023.10)
Health Status:      Healthy

Operation:          Sync
Sync Revision:      2022.10.4
Phase:              Succeeded
Start:              2025-03-05 10:20:36 +0000 UTC
Finished:           2025-03-05 10:20:38 +0000 UTC
Duration:           2s
Message:            successfully synced (all tasks run)
[INFO] [2025-03-05T12:32:43+0000]: Done. Will resume pruning after the upgrade.
[root@server0 UiPath_Installer]# echo $?
1
[INFO] [2025-03-05T12:32:39+0000]: Syncing cronjobs in app argocd/webhook
[INFO] [2025-03-05T12:32:42+0000]: Removing maintenance label from the nodes
[INFO] [2025-03-05T12:32:43+0000]: Deprecating app of apps in upgrade hooks
[INFO] [2025-03-05T12:32:43+0000]: Disabling auto-sync for uipath...
The request is invalid: the server rejected our request due to an error in our request
[INFO] [2025-03-05T12:32:43+0000]: Stopping any running sync operation for uipath...

Name:               argocd/uipath
Project:            default
Server:             https://kubernetes.default.svc
Namespace:
URL:                https://alm.sfdev8263570-cluster.infra-sf-ea.infra.uipath-dev.com/applications/uipath
Repo:               sfbrdevhelmweacr.azurecr.io
Target:             2023.10.2
Path:
SyncWindow:         Sync Allowed
Sync Policy:        <none>
Sync Status:        Synced to 2023.10.2 (2023.10)
Health Status:      Healthy

Operation:          Sync
Sync Revision:      2022.10.4
Phase:              Succeeded
Start:              2025-03-05 10:20:36 +0000 UTC
Finished:           2025-03-05 10:20:38 +0000 UTC
Duration:           2s
Message:            successfully synced (all tasks run)
[INFO] [2025-03-05T12:32:43+0000]: Done. Will resume pruning after the upgrade.
[root@server0 UiPath_Installer]# echo $?
1

Solution

To mitigate this, you must to modify the problematic script located in the installer directory. The script path is: Upgrade/scripts/scale-down-insights-looker-deployment.sh. You must remove line 41 from the script, and initiate the upgrade again. To remove the line, you must run this command:

sed -i '41d' Upgrade/scripts/scale-down-insights-looker-deployment.sh
sed -i '41d' Upgrade/scripts/scale-down-insights-looker-deployment.sh
  • Description
  • Solution

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated