Menu

Scenario 2.2.2 to 3.0 and Pulse 9.1.2 to 9.2.1 Single Server Upgrade Guide

Overview

In this article, we provide step-by-step instructions to upgrade qTest Scenario from 2.2.2 to 3.0 and Pulse 9.1.2 to 9.2 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

Read the following:

Note: If you want to upgrade to qTest Scenario 3.0 and Pulse 9.2 on the same machine with other applications, e.g. qTest Manager, on Docker environment, refer to Manager 9.5.3 to 9.6.1 Single Server Upgrade Guide for Docker.

Upgrade qTest Scenario and Pulse

Shutdown your Previous Deployment

  1. Open Terminal.
  2. Access the directory where you extracted the previous docker deployment package 4.7, shut it down and create a backup.
    $ ./shutdown

Screenshot_from_2019-04-19_17-41-56.png

$ ./backup

Screenshot_from_2019-04-19_17-46-00.png

Download Deployment Package

1. Download docker-deployment-4.8 package.

$ wget <ENTER DOWNLOAD LINK HERE>

2.Extract the package.

$ tar -zxf <DOWNLOADED PACKAGE FILE NAME>

3. Access the docker-deployment-4.8 directory.

$ cd docker-deployment-4.8

Configure qTest Scenario

Choose one of the below options to configure qTest Scenario:

  1. Copy the configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.8 package.

$ cp -r /path/to/docker-deloyment-4.8/profiles/ .

  • The above command will copy the old configuration file at /docker-deployment-4.7/profiles/default.in to /docker-deployment-4.8/profiles/default.in
  • Next, open the file at /path/to/docker-deployment-4.8/profiles/default.in, locate and change the version value to 4.8, as below:

version = "4.8"

Screenshot_from_2019-04-19_17-50-31.png

2. Another option is to use ./configure command and specify the Scenario application that you want to configure.

  • For HTTP:
    $ ./configure --scenario-url "http://<public IP address of current machine>:<qTest Scenario port>" --scenario-http "<qTest Scenario port>"--pulse-url "http://<public IP address of current machine>:<qTest Pulse port>" --pulse-http "<qTest Pulse port>"

Screenshot_from_2019-04-19_17-58-48.png

  • For HTTPS:
    $ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --scenario-url "https://<public IP address of current machine>:<qTest Scenario https port>" --scenario-https "<qTest Scenario https port>"--pulse-url "https://<public IP address of current machine>:<qTest Pulse https port>" --scenario-https "<qTest Pulse https port>"

Start Deployment Process

Next, start the deployment process by executing the startup script which will download application images and qTest Scenario components to the Docker container. It may take a while to complete depending on your network connection.

$ ./startup

Screenshot_from_2019-04-19_15-45-44.png

Update File to Reflect 9.2.1

  1. Open file `.../docker-deployment-4.8/app.config.in`
  2. Find the line "pulse_version='9.2.0'" and change "9.2.0" to "9.2.1" for that line and the line below (2 occurrences.)
  3. Restart qTest service.

Confirmation

To make sure the patch has been applied successfully, we can check the version number at the bottom of Pulse's web UI

Troubleshooting 

If the steps above are not successful, perform the following steps to rollback to qTest Scenario 2.2.2 and Pulse 9.1.2 (docker, images, scenario, pulse)

Restore backup data:

# cd /path/to/docker-deployment-4.7
# ./restore

Screenshot_from_2019-04-19_18-01-02.png

Start qTest Scenario 2.2.2 and Pulse 9.1.2

# ./startup

docker_deployment_startup.png

When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Scenario.

Powered by Zendesk