Update the Nerdio Manager Application

Nerdio releases regular updates for Nerdio Manager, but it does not automatically update itself. Instead, it gives version control to the administrators. There are several methods that can be used to update Nerdio Manager to the latest version. Due to possible restrictions in some environments, alternative methods may be required.

Nerdio Manager Updates FAQs

Will updating Nerdio Manager interrupt currently active sessions or kick off users?

No. The update process only affects the Nerdio Manager App Service. User sessions are handled by the AVD service, which is managed and hosted separately by Microsoft. The only interruptions that occur affect the Nerdio management console. In addition, the auto-scale automation is unable to perform actions during the update process. Auto-scale automation safely continues automatically after the update process is completed.

How long does the update process take?

Using the Automation Account, the process generally takes ~3-7 minutes, as all actions are performed in Azure. When done manually, using the standalone installer through PowerShell, this time is affected by local variables such as the internet connection and client machine's hardware. The data files are roughly 120-160MB in size.

It may take several minutes for Nerdio Manager to complete processing background updates and the portal to be available again after the update has been successfully applied.

Can I skip over versions when updating?

Yes. All updates are cumulative, and it is recommended that you skip intermediate versions and go directly to the latest Generally Available release. For example, you can update directly from 2.2.0 to 2.10.1.

Can I rollback to a previous version?

Starting with version 6.3, you can rollback to a previous version, but you can only rollback to 6.2 or later. For example, 6.4 can be rolled back to 6.3 or 6.2, but not earlier. See Rollback to a Previous Version for details.

Method 1: Deploy Button

The simplest method for updating Nerdio Manager is to use the Deploy button.

Note: This process must be done as a user with Contributor or Automation Operator rights to the Azure automation account deployed by Nerdio Manager.

To update using the Deploy button:

  1. Navigate to Updates.

  2. Locate the latest version and select Deploy.

  3. Monitor the Azure automation job, under the Output tab, and watch until the Status is reported as Completed.

Method 2: Use Azure Cloud Shell (v2.10+)

You may use Azure Cloud Shell to update Nerdio Manager.

Note: This process must be done as a user with Contributor rights to the Nerdio Manager App Service.

To update using Azure Cloud Shell:

  1. Navigate to Updates.

  2. Locate the latest version and from the action menu select Azure Cloud Shell.

  3. Select the copy script icon to copy the script to the clipboard.

  4. Select Launch Azure Cloud Shell.

  5. In Azure Cloud Shell, paste the script and press Enter.

  6. When the script completes, refresh the Updates page.

Method 3: Standalone PowerShell Update

You may use PowerShell to update Nerdio Manager.

Note: This process must be done as a user with Contributor rights to Nerdio Manager’s deployment resource group.

To update using PowerShell:

  1. Navigate to Updates.

  2. Locate the latest version and from the action menu select Download Installer.

    The installer is downloaded as a zip file to your browser's default download folder.

  3. Right-click on the downloaded zip file and select Properties.

  4. At the bottom of the General tab, select Unblock and then select OK.

  5. Extract the zip file to a location on the C: drive.

  6. Open PowerShell.

  7. Change the directory to the folder with the extracted installer.

  8. Run DeployUpdate.ps1 and follow the instructions.

  9. When the install completes, refresh the Updates page.

Method 4: Manual "Zip Push" Deployment

You may use the Zip Push tool in the Azure portal to update Nerdio Manager.

Note: This process must be done as a user with Contributor rights to Nerdio Manager App Service.

To update using manual "zip push" on the app service:

  1. Navigate to Updates.

  2. Locate the latest version and from the action menu select Download Installer.

    The installer is downloaded as a zip file to your browser's default download folder.

  3. Right-click on the downloaded zip file and select Properties.

  4. At the bottom of the General tab, select Unblock and then select OK.

  5. Extract the zip file to a location on the C: drive.

  6. Within the folder, locate the site.zip file.

    Note: Do not extract or unzip the site.zip file.

  7. In the Azure portal, find the nmw-app-xxxxxxx App Service(xxxxxxx is the unique ID).

  8. Within the menu on the left-hand side of the App Service blade, scroll down to the Development Tools section.

  9. Select Advanced Tools.

  10. Select Go to open the Kudu service console.

  11. In the top toolbar, select ToolsZip Push Deploy.

  12. In the file explorer dialog, drag the site.zip file obtained above into this folder.

    Warning: It is very important to only drag the site.zip file. Do NOT drag the package.standalone*.zip file because that causes Nerdio Manager to not run successfully.

    The file explorer dialog changes like this:

  13. The lower section of the page updates to reflect the package uploading and deploying. Wait until the final task shows "Deployment successful."

  14. In the Azure portal, return to the App Service blade.,

  15. On the left menu, scroll down to find WebJobs in the Settings section.

  16. Select the Provision job and make sure that its status is Running. If it is Stopped, right-click the job and select Start.

    Note: If the WebJob named provision is missing, the wrong zip file was uploaded to Nerdio Manager's app service. Verify and re-upload the site.zip file only (do not upload the full package.standalone*.zip file).

  17. Return to the Nerdio Manager site and refresh your browser to confirm the site is online and accessible.

Method 5: Manual Azure Cloud Shell Deployment

You can use Azure Cloud Shell to update Nerdio Manager.

Note: This process must be done as a user with Contributor rights to Nerdio Manager App Service.

To update using Azure Cloud Shell:

  1. Open Azure Cloud Shell.

  2. Customize and run the script below.

  3. When the script finishes running, return to the Nerdio Manager site and refresh your browser to confirm the site is online and accessible.

$sourceUri = "Obtain URL from Nerdio support (nme.support@getnerdio.com)"

$subscriptionId = "Your Subscription ID containing the NMW app service"

$resourceGroupName = "Resource Group name that contains NMW app service"

$webAppName = "WebApp Name (e.g. nwm-app-xxxxxxxxxxxx)"

$version = "App version to update to (e.g. 2.10.0)"

$webjobName = "Provision"

Set-PSDebug -Strict

$ErrorActionPreference = "stop"

Write-Output "Downloading package"

$folderName = (New-Guid).ToString()

$packageZipPath = Join-Path -Path $Home -ChildPath ($folderName + ".zip")

$packageDestPath = Join-Path -Path $Home -ChildPath ($folderName)

$packageDestVersionPath = Join-Path -Path $packageDestPath -ChildPath "version.txt"

$packageDestAppPath = Join-Path -Path $packageDestPath -ChildPath "app.zip"

Write-Output "Destanation: $packageZipPath"

Invoke-WebRequest -Uri $sourceUri -OutFile $packageZipPath

Expand-Archive -Path $packageZipPath -DestinationPath $packageDestPath

az account set -s $subscriptionId

az configure --defaults group=$resourceGroupName web=$webAppName

Write-Output "Stop web job"

az webapp webjob continuous stop --webjob-name $webjobName

Start-Sleep -Seconds 10

Write-Output "Stop web app"

az webapp stop

Start-Sleep -Seconds 10

Write-Output "Deploy package"

az webapp deployment source config-zip --src $packageDestAppPath

Start-Sleep -Seconds 10

Write-Output "Start web app"

az webapp start

Start-Sleep -Seconds 10

Write-Output "Start web job"

az webapp webjob continuous start --webjob-name $webjobName

Start-Sleep -Seconds 10

Write-Output "Remove temp files"

Remove-Item -Path $packageZipPath

Remove-Item -Path $packageDestPath -Recurse

Write-Output "Version $version completed successfully. Return to https://$webAppName.azurewebsites.net and refresh the browser page."

Rollback to a Previous Version

Starting with version 6.3, you can rollback to a previous version, but you can only rollback to 6.2 or later. For example, 6.4 can be rolled back to 6.3 or 6.2, but not earlier.

To rollback to a previous version:

  1. Navigate to Updates.

  2. Locate the version you wish to rollback to and select Deploy.

  3. Monitor the Azure automation job, under the Output tab, and watch until the Status is reported as Completed.