UiPath Documentation
automation-suite
2023.10
false
Guide d'installation d'Automation Suite sur Linux
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

La mise à niveau du service échoue lors de l'exécution du script de pré-service

Échec de la mise à niveau du service causée par la sortie du script de mise à niveau avec un code non nul lors de la mise à niveau vers 2023.10.x dans Automation Suite.

Description​

Lors de la mise à niveau des anciennes versions vers 2023.10.x, le script de mise à niveau du service peut brusquement se terminer avec un code de sortie non nul. Ce problème se produit lorsque l’un des scripts de pré-mise à niveau, à savoir scale-down-insights-looker-deployment.sh, échoue dans certains scénarios.

La sortie de fin s'affiche comme suit :

[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​

Pour atténuer ce problème, vous devez modifier le script problématique situé dans le répertoire du programme d’installation. Le chemin du script est : Upgrade/scripts/scale-down-insights-looker-deployment.sh. Vous devez supprimer la ligne 41 du script et relancer la mise à niveau. Pour supprimer la ligne, vous devez exécuter cette commande :

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

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour