Updating the Deployment Manager

Updating to the latest version of the Deployment Manager should be simple if you use the update utility. It helps you to find and apply updated versions.

The update utility was introduced in version 4.0.0 of the Deployment Manager. If you are updating from an earlier version you need to contact us before proceeding.

Prerequisites

Start by signing in to your Azure Portal with an account that has access to the subscription where the Deployment Manager resources resides.

If there are more than one subscription, find the one where the Deployment Manager is deployed.

Open the Azure Cloud Shell (see screenshot below).

If you have not used the Azure Cloud Shell before, you will be prompted to create a new Azure file share for persisting files.

Maximize the window and select Bash in the shell language selector.

First, make sure your active subscription is the same as the one that contains the Deployment Manager. Execute the following line in the terminal to show the active subscription:

az account show

If your active subscription is not the correct one, change the active subscription by issuing the command below and entering the correct subscription id:

az account set --subscription <subscription id>

Now is a good time time to backup the Deployment Manager database.

Execute the Tool

Execute the following line in the terminal:

curl https://weavy.blob.core.windows.net/releases/wdm/update.sh > update.sh

This downloads a copy of the Bash script used to search for and deploy updated versions.

Issue the following command to set execute permissions for the update.sh file:

chmod +x ./update.sh

Then execute the script file by issuing:

./update.sh

The tool will try to locate the web app that is running the Deployment Manager. Verify that the app name is correct and continue by entering y.

During the next step, the tool will verify the current version of your Deployment Manager and determine if there is a update available. If not, you will get a message saying that you are already using the latest version. Feel free to close the terminal at this point.

If there is an update available you will be prompted to take a backup of the database before performing the update. Please make sure to do that if you did not before.

Again, continue the update by pressing y. This will start the download and deployment of the updated package.

When the update is done you will be notified, and after that you can close the terminal.

Navigate to your Deployment Manager in a browser to make sure everything is running normally.