UiPath Documentation
automation-suite
2023.10
false
Guía de instalación de Automation Suite en Linux
Importante :
La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

La actualización del servicio falla durante la ejecución del script previo al servicio

Fallo de actualización del servicio causado por el script previo a la actualización que sale con un código distinto de cero al actualizar a 2023.10.x en Automation Suite.

Descripción​

Mientras actualizas desde versiones anteriores a 2023.10.x, el script de actualización del servicio puede finalizar abruptamente con un código de salida distinto de cero. Este problema se produce cuando uno de los scripts previos a la actualización, a saber, scale-down-insights-looker-deployment.sh, falla en determinados escenarios.

La salida de terminación aparece de la siguiente manera:

[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

Solución​

Para mitigar esto, debes modificar el script problemático ubicado en el directorio del instalador. La ruta del script es: Upgrade/scripts/scale-down-insights-looker-deployment.sh. Debe eliminar la línea 41 del script e iniciar la actualización de nuevo. Para eliminar la línea, debes ejecutar este comando:

sed -i '41d' Upgrade/scripts/scale-down-insights-looker-deployment.sh
sed -i '41d' Upgrade/scripts/scale-down-insights-looker-deployment.sh
  • Descripción​
  • Solución​

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado