Upgrading HotDocs Hub to a later version

You can upgrade the HotDocs Hub to a later version by following the steps below.

In this Topic Hide

Prerequisites

1. Backup the Hub installation folders

2. Uninstall the Hub

3. Install the new version of Hub

4. (Optional) Configure HotDocsIdentityServer

5. Check Hub is configured to use HotDocs Web Services

Prerequisites

Before you begin the upgrade procedure, you should capture the pre-upgrade configuration settings of your existing Hub installation. You should also have a copy of the Invoke.ps1 you used for the initial Hub installation.

1. Backup the Hub installation folders

You should make a backup of the existing Hub installation folders before you upgrade Hub. This makes it easier to roll back the deployment if necessary. To backup the installation folders:

  1. Navigate to the Hub installation root directory; by default this is C:\inetpub\wwwroot
  2. Select the folders for the installed Hub applications.
  3. Copy and paste the folders into another folder on your hard drive; this should be a folder separate to the current Hub installation root directory

2. Uninstall the Hub

Next, you can uninstall the Hub:

  1. Open Control Panel.
  2. Navigate to Programs > Uninstall a Program.
  3. Select HotDocs Template Hub from the list.
  4. Click Uninstall.

3. Install the new version of Hub

Next, you must install the new version of Hub using the installation instructions for your specific configuration. From your previous installation of Hub, you should already have an Invoke.ps1 script populated with the required configuration settings.

To re-run the Invoke.ps1 configuration script:

  1. Run Powershell as an administrator.
  2. Change the directory to the Post-Installation Files > Scripts folder.
  3. Edit the Invoke.ps1 script in a text editor to check the installation parameters against your previous Hub configuration settings.
  4. (Optional) If you are using HotDocs Web Services, change the HdCoreServiceUrl value in Invoke.ps1 to the URL for your installed version of HotDocs Web Services, e.g. https://exampleserver/HDSWebAPI/api/hdcs/
  5. Run the Invoke.ps1 script in Powershell, using the following command with your own values replacing the {placeholder} values:
    .\Invoke.ps1 -EnableOAuth2 {enable-oauth2} -SqlServer "{sql-server-name}" -SqlUser {sql-username} -SqlPass {sql-password} -IisWebSite "{website-name}" -IisHostName "{host-name}" -IisAppRoot "{hub-application-root}"
    Where:

The new version of HotDocs Hub is now installed.

4. (Optional) Configure HotDocsIdentityServer

Note: You only need to configure IdentityServer if you configured Hub to use Active Directory.

You must configure the HotDocs Identity Server application with the location of the Windows Authentication application.

  1. Select the HotDocsIdentityServer application in IIS.
  2. Open Application Settings.
  3. Select the MetadataAddress key.
  4. Click Edit.
  5. Enter URL of the webhostwinauth application in the Value field; by default, this is https://localhost/webhostwinauth. You should use the full machine name of the server instead of localhost.
  6. Click OK.

5. Check Hub is configured to use HotDocs Web Services

If you are using HotDocs Web Services (rather than Cloud Services), check that the upgraded version of Hub is configured to use Web Services: