Menu

Insights 1.16.10.2 to Insights 1.19.1 Single Server Upgrade Guide for Docker

Overview

In this article, we provide step-by-step instructions to upgrade qTest Insights 1.16.10.2 to qTest Insights 1.19.1 on a single CentOS/ Ubuntu machine using Docker. Please read the instructions thoroughly before starting your installations.

To request assistance with upgrading or obtain the self-upgrade links, complete the Upgrade Request Form and reference the OnPremise Upgrades Guide.

Note: If you are performing a fresh install, use the OnPremise New Install Form and reference the OnPremise Install Guide.

Before You Begin

  • qTest Insights 1.19.1 only works with qTest Manager 9.3 or later.

Read the following:

Note: if you want to upgrade to qTest Insights 1.19.1 on the same machine with other applications, e.g. qTest Manager, on Docker environment, follow this article Manager 9.1.5 to 9.3 Single Server Upgrade Guide for Docker.

 

Upgrade qTest Insights

Shutdown and Backup your Current Deployment

  1. Open the Terminal.
  2. Access the directory where you've extracted the docker deployment package of qTest Insights 1.16.10.2, shut it down and create a backup.
    $ ./shutdown
    $ ./backup

Download the Deployment Package

  1. Download docker-deployment-4.6 package.
    $ wget <ENTER DOWNLOAD LINK HERE>
  2. Extract the package.
    $ tar -zxf <DOWNLOADED PACKAGE FILE NAME>
  3. Access the docker-deployment-4.6 directory.
    $ cd docker-deployment-4.6

Configure qTest Insights

Choose one of the two options below to configure qTest Insights:

  1. To keep all applications in your previous deployment from being upgradedoverride the /profiles directory of docker-deployment-4.6 with the directory of docker-deployment-4.5
    $ cp -r /<path to your docker-deployment-4.5 package>/docker-deloyment-4.5/profiles/ /<path to your docker-deployment-4.6 package>/docker-deloyment-4.6/profiles/
    • Above command will copy the old configuration file at /docker-deployment-4.5/profiles/default.in to /docker-deployment-4.6/profiles/default.in
    • Next, open the file at /path/to/docker-deployment-4.6/profiles/default.inlocate and ensure the version value of 4.6, is as below:
      version = "4.6"
  2. After copying, please open file default.in and remove insightscheduler (since 1.16.7, Insights discontinues the old scheduler, the new scheduler is packed inside the insightsetl)
  3. Another option is to use ./configure command and specify the Insights application that you want to configure.
    • For HTTP:
      $ ./configure --insights-url "http://<IP of current machine>:<insights port>" --insights-http "<insights port>" --cluster "<IP address of qTest machine>"
    • For HTTPS:
      $ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --insights-url "https://<IP of current machine>:<insights https port>" --insights-https "<insights https port>" --cluster "<IP address of qTest machine>"

Upgrade

Upgrading will keep all current data of upgraded applications.

 $ ./upgrade

Start the Deployment Process

  1. Start the deployment process by executing a startup script which will download application images and qTest Insights components to the Docker container. 
    Note: It may take a while to complete depending on your network connection.
    $ ./startup
  2. When it's done, you can access qTest Insights and verify the new version.
Powered by Zendesk