UiPath Documentation
automation-suite
2023.10
false
Linux の Automation Suite のインストール ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

サービス スクリプトの実行中にサービスのアップグレードが失敗する

Automation Suite で 2023.10.x にアップグレードする際に、アップグレード前のスクリプトがゼロ以外のコードで終了することが原因でサービスのアップグレードが失敗する。

説明​

古いバージョンから 2023.10.x にアップグレードする際に、サービス アップグレード スクリプトが 0 以外の終了コードで突然終了することがあります。この問題は、アップグレード前のスクリプトのいずれか、つまり scale-down-insights-looker-deployment.shが特定のシナリオで失敗した場合に発生します。

終了の出力は、次のように表示されます。

[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

解決策​

これを軽減するには、インストーラー ディレクトリにある問題のあるスクリプトを変更する必要があります。スクリプトのパスは Upgrade/scripts/scale-down-insights-looker-deployment.shです。スクリプトから 41 行目を削除し、アップグレードを再度開始する必要があります。行を削除するには、次のコマンドを実行する必要があります。

sed -i '41d' Upgrade/scripts/scale-down-insights-looker-deployment.sh
sed -i '41d' Upgrade/scripts/scale-down-insights-looker-deployment.sh
  • 説明​
  • 解決策​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得