Subscribe

UiPath Installation and Upgrade

The UiPath Installation and Upgrade Guide

Updating Using the Azure Script

🚧

Important!

If you have not previously done so (e.g. upgrading from v2019.10), ensure that you have created the app services for:

  1. Identity Server.
  2. Webhooks Service.
  1. Download the latest available UiPathOrchestrator.zip archive.
  2. Unblock the UiPathOrchestrator.zip file using the PowerShell command Unblock-File. For example, Unblock-File .\UiPathOrchestrator.zip.
  3. Unarchive UiPathOrchestrator.zip.
  4. Run the Publish-Orchestrator.ps1 script in PowerShell on the Orchestrator instance you want to update. Take into account that your web.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.
  5. Run the Publish-IdentityServer.ps1 script in PowerShell on your Identity Server instance, as shown below. See the parameter descriptions here for more details.
  6. Run the Publish-Webhooks.ps1 script in PowerShell on your Webhooks Service instance, as shown below. See the parameter descriptions here for more details.
  7. If you are updating a multi-node Orchestrator instance, flush all Redis cache keys, using the FLUSHALL or FLUSHDB command. More info on them is available here or here.
  8. Start the Orchestrator app service. Enjoy using Orchestrator on your Azure Portal.
  9. Restart the UiPath Robot service on all Robot machines you have connected to Orchestrator.

Publish-IdentityServer.ps1 Update

🚧

Important!

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 the Publish-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>" `
    -package "UiPath.IdentityServer.Web.zip" `
    -cliPackage "UiPath.IdentityServer.Migrator.Cli.zip" `
    -stopApplicationBeforePublish `
    -resourceGroupName "<resourcegroup_name>" `
    -appServiceName "<appservice_name>" `
    -unattended

Publish-Webhooks.ps1 Update

🚧

Important!

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 the Publish-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 2 years ago


Updating Using the Azure Script


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.