Important!
If you have not previously done so (e.g. upgrading from
v2019.10
), ensure that you have created the app services for:
Important!
Before running the
Publish-Orchestrator.ps1
script, make sure you remove the AzureRM PowerShell module. We recommend using Az as an alternative. Having both AzureRM and Az modules installed at the same time is not supported.If the desired Az version is not detected, and AzureRM is present when running the script, you are prompted to confirm the AzureRM removal even on unattended installations.
Upgrading to Az v6.0.0 when any previous version of the module is in use causes the following message to pop up:
WARNING: The version 'x.x.x' of module 'Az.<Name>' is currently in use. Retry the operation after closing the applications.
In order to solve this problem, make sure to executePublish-Orchestrator.ps1
in a new PowerShell session.
- Download the latest available
UiPathOrchestrator.zip
archive. - Unblock the
UiPathOrchestrator.zip
file using the PowerShell commandUnblock-File
. For example,Unblock-File .\UiPathOrchestrator.zip
. - Unarchive
UiPathOrchestrator.zip
. - Run the
Publish-Orchestrator.ps1
script in PowerShell on the Orchestrator instance you want to update. Take into account that yourUiPath.Orchestrator.dll.config
(formerlyweb.config
) settings are persisted if not explicitly specified as script parameters. Check out these examples or the entire list of parameter values that are persisted on updates. - Run the
Publish-IdentityServer.ps1
script in PowerShell on your Identity Server instance, as shown below. See the parameter descriptions here for more details. - Run the
Publish-Webhooks.ps1
script in PowerShell on your Webhooks Service instance, as shown below. See the parameter descriptions here for more details. - If you are updating a multi-node Orchestrator instance, flush all Redis cache keys, using the
FLUSHALL
orFLUSHDB
command. More info on them is available here or here. - Open the web app in the Azure Portal, then navigate to Configuration > General settings and check the following settings:
Stack
should be set to.NET Core
.Platform
should be set to64 Bit
.Web sockets
should be set toOn
if you are not using the Azure SignalR Service (see the configuration for the Azure SignalR Service).
- Start the Orchestrator app service. Enjoy using Orchestrator on your Azure Portal.
- Restart the UiPath Robot service on all Robot machines you have connected to Orchestrator.
Publish-IdentityServer.ps1
Update
Publish-IdentityServer.ps1
UpdateImportant!
If you have not previously done so (e.g. upgrading from
v2019.10
), ensure that you have created the app service for Identity Server. Make sure thePublish-IdentityServer.ps1
script targets the Identity Server app service.
After you have downloaded the latest Publish-IdentityServer.ps1
script to your local machine, run the script as follows to update the Identity Server Azure web app:
.\Publish-IdentityServer.ps1 `
-action Update `
-azureSubscriptionId "<subscription_id>" `
-azureAccountTenantId "<azure_tenant_id>" `
-azureAccountApplicationId "<azure_application_id>" `
-azureAccountPassword "<azure_account_password>" `
-orchestratorURL "https://<orchestratorURL>" `
-identityServerUrl "https://<IdentityServerURL>/identity" `
-orchDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production" } `
-identityServerDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production" } `
-package "UiPath.IdentityServer.Web.zip" `
-cliPackage "UiPath.IdentityServer.Migrator.Cli.zip" `
-stopApplicationBeforePublish `
-unattended
Publish-Webhooks.ps1
Update
Publish-Webhooks.ps1
UpdateImportant!
If you have not previously done so (e.g. upgrading from
v2019.10
), ensure that you have created the app service for the Webhooks Service. Make sure thePublish-Webhooks.ps1
script targets the Webhooks app service.
After you have downloaded and extracted the latest UiPathWebhooks.zip
archive to your local machine, run the Publish-Webhooks.ps1
script as follows to update the Webhooks Service Azure web app:
.\Publish-Webhooks.ps1 `
-action Update `
-package "UiPath.WebhookService.zip" `
-azureAccountApplicationId "<azure_application_id>" `
-azureAccountPassword "<azure_account_password>" `
-azureSubscriptionId "<subscription_id>" `
-azureAccountTenantId "<azure_tenant_id>" `
-resourceGroupName "<resourcegroup_name>" `
-appServiceName "<appservice_name>" `
-stopApplicationBeforePublish
Updated about a year ago