Upgrade Analytics Hub
This article walks you through the steps to upgrade Analytics Hub. Only follow these steps if you are upgrading. For the initial installation, see the Install and Configure article.
Download the Installer
Download the Analytics Hub installer from the Alteryx Downloads and Licenses portal. Follow these steps:
- Go to the Alteryx Downloads and Licenses portal at licenses.alteryx.com.
- Sign in or select Don’t have an account? Create one now. If you’re creating a new account, register with the email address associated with your Alteryx License.
- Under Product Downloads, select Alteryx Analytics Hub.
- On the Download Products page, select the version of the product you want to download. The latest version is available on the New Versions tab. Access previous versions on the Previous Versions tab.
- To download the file, select the link for Analytics Hub in the File Name column.
Before You Install
LDAPS:// is not checking for certificates in 20.2 or 20.2.1. Without proper certs in place, it will revert to LDAP://. If you're using LDAPS://, make sure to have a local (non-LDAP) platform admin account set up before you upgrade in case LDAP authentication fails after upgrade due to the certificate issue.
Make sure that there are no users currently using the platform or schedules running. Follow these steps to back up some of your files. If you’d like to do a full backup, see the Backup and Restore article.
- Open File Explorer.
- Copy the following files to a safe location:
- SslCertificates folder (Default Location: C:\Program Files\Alteryx)
- CutlassSettings.yml (Default Location: C:\Program Files\Alteryx\Alteryx Analytics Hub)
- Settings.yml (Default Location: C:\Program Files\Alteryx\Alteryx Analytics Hub)
- Move vfs folder (Default Location: C:\Program Files\Alteryx) to a safe location.
- Open Windows Command Prompt and select Run as administrator.
- Use this xcopy command to back up your Postgres folder:
xcopy "<InstallLocation>\Alteryx Analytics Hub\Postgres\data" "C:\moved\data" /O /X /E /H /K
- When prompted Does C:\moved\data specify a file name or directory name on the target (F = file, D = directory), select D on your keyboard to create a directory.
- Open regedit (Windows Registry Editor).
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Alteryx Inc.\Alteryx Analytics Hub\HubInstallKey.
- Double-click InstallKey and copy the key in the Value Data field. Save the key as a text file in a safe location.
- Uninstall Analytics Hub:
- In Windows, go to Settings > Apps & features.
- Find Alteryx Analytics Hub and select Uninstall.
- When the Alteryx Analytics Hub window opens, select Uninstall.
- Select Finish.
- Some files remain after uninstalling. Open File Explorer.
- Go to <InstallLocation>
- Delete everything in the <InstallLocation> folder (Default Location: C:\Program Files\Alteryx). Your folder might be named something else. Note that this removes Alteryx Intelligence Suite, YXI tools, and Predictive and R tools.
Install
- Run the Analytics Hub installer as an administrator.
- Enter the installation path where Analytics Hub was previously installed (Default Location: C:\Program Files\Alteryx).
- Select Next.
- Enter the Username and Password for your database. This is the same username and password that you created for the Postgres admin during the initial installation of Analytics Hub.
- Select Next.
- Enter the same credentials that you used for your original Platform Admin.
- Select Next.
- Select Finish.
After Installation
- Open Services and stop these services:
- AAHBackend
- AAHFrontend
- Alteryx Engine Worker
- Alteryx License Service
- AlteryxPostgreSql
- Open regedit (Windows Registry Editor).
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Alteryx Inc.\Alteryx Analytics Hub\HubInstallKey and replace the value of InstallKey with the key you saved.
- Return the files you copied or moved to the original locations:
- SslCertificates folder (Default Location: C:\Program Files\Alteryx)
- CutlassSettings.yml (Default Location: C:\Program Files\Alteryx\Alteryx Analytics Hub)
- Settings.yml (Default Location: C:\Program Files\Alteryx\Alteryx Analytics Hub)
- vfs folder (Default Location: C:\Program Files\Alteryx)
- Open Windows Command Prompt and select Run as administrator.
- Use this xcopy command to copy your Postgres data folder back:
xcopy "C:\moved\data" "<InstallLocation>\Alteryx Analytics Hub\Postgres\data" /O /X /E /H /K
- Copy pg_hba.conf from <InstallLocation>\Alteryx Analytics Hub\pg_hba.conf to <InstallLocation>\Alteryx Analytics Hub\Postgres\data\pg_hba.conf.
- Open Services and restart these services:
- AAHBackend
- AAHFrontend
- Alteryx Engine Worker
- Alteryx License Service
- AlteryxPostgreSql
- (Optional) Reinstall Alteryx Intelligence Suite, YXI tools, and Predictive and R tools.