Azure上のOrchestratorをバージョンアップする時にPublish-Orchestrator.ps1を実行すると「file could not be downloaded 操作がタイムアウトしました。」エラーが発生する

:grey_question: Question

Azure上に構築したOrchestratorをバージョンアップするためPublish-Orchestrator.ps1を実行したところ、以下のエラーが発生します。

エラーメッセージ:

詳細: Downloading file from URL ftp://{URL}/UiPath.Orchestrator.dll.config to {ファイルパス}\Web.config
file could not be downloaded
操作がタイムアウトしました。

詳細: Downloading file from URL ftp://{URL}/UiPath.Orchestrator.WebCore.Host.exe.config to {ファイルパス}\Web.config
file could not be downloaded
操作がタイムアウトしました。

詳細: Downloading file from URL ftp://{URL}/Web.config to {ファイルパス}\Web.config
file could not be downloaded
操作がタイムアウトしました。

:bulb: Answer

原因

Azure上のOrchestratorのAPP SERVICE > 構成 > 全般設定にある「FTPの状態」の設定が「FTPS のみ」に設定されていることが原因です。

Publish-Orchestrator.ps1はFTPSに対応しておらず、FTPにのみ対応しています。

解決策

「FTPの状態」を「すべて許可」に設定してから、再度スクリプトを実行します。