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 ShowHide
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:
- Navigate to the Hub installation root directory; by default this
is C:\inetpub\wwwroot
- Select the folders for the installed
Hub applications.
- 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:
- Open Control Panel.
- Navigate to Programs >
Uninstall a Program.
- Select HotDocs Template
Hub from the list.
- 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:
- Run Powershell as an administrator.
- Change the directory to the Post-Installation
Files > Scripts
folder.
- Edit the Invoke.ps1 script
in a text editor to check the installation parameters against your
previous
Hub configuration settings.
- 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:
- enable-oauth2 –
must be:
- sql-server-name –
name of the SQL Server
where the Hub databases are installed; e.g. .\sqlexpress.
- sql-username –
name of SQL user that
has read and write permissions to the Hub databases.
- sql-password – password associated with the SQL
user above.
- website-name –
name of the website under
which HotDocs Hub is installed; e.g. Default Web
Site.
- host-name –
name of the server on
which the HotDocs Hub is installed, e.g. exampleserver01; the name must be the same as the
one used by your security certificate.
- hub-application-root –
path to root installation
directory containing the HotDocs Hub applications; e.g.
C:\inetpub\wwwroot.
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.
- Select the HotDocsIdentityServer
application in IIS.
- Open Application
Settings.
- Select the MetadataAddress
key.
- Click Edit.
- 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.
- Click OK.