Overview
In this article, we provide step-by-step instructions to upgrade qTest Scenario from 2.0 to 2.0.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
Read the following:
- Getting Started with qTest OnPremise Spring 2018
- Prerequisite Software for Manager 9.0 Installation Guide for Windows
- Recommended Hardware Requirements
Note: if you want to upgrade to qTest Scenario 2.0.1 on the same machine with other applications, e.g. qTest Manager, on Docker environment, follow this article Manager 8.7.3 to 9.0 Single Server Upgrade Guide for Docker.
Upgrade qTest Scenario to 2.0.1
Shutdown your Previous Deployment
- Open Terminal.
- Access to the directory where you extracted the previous docker deployment package 4.4, shut it down and create a backup.
$ ./shutdown
$ ./backup
Download Deployment Package
1. Download docker-deployment-4.4.1 package.
$ wget <ENTER DOWNLOAD LINK HERE>
2.Extract the package
$ tar -zxf <DOWNLOADED PACKAGE FILE NAME>
3. Access the docker-deployment-4.4.1 directory.
$ cd docker-deployment-4.4.1
Configure qTest Scenario
Choose one of the below options to configure qTest Scenario:
- Copy the configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.4.1 package.
$ cp -r /path/to/docker-deloyment-4.4/profiles/ .
- Above command will copy the old configuration file at /docker-deployment-4.4/profiles/default.in to /docker-deployment-4.4.1/profiles/default.in
- Next, open the file at /path/to/docker-deployment-4.4.1/profiles/default.in, locate and change the version value to 4.4.1, as below:
version = "4.4.1"
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>"
- 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>"
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
When it's done, you can access qTest Scenario and verify the new version.
Troubleshooting
If the steps above are not successful, perform the following steps to rollback to qTest Scenario 2.0 (docker, images, scenario)
Restore backup data:
# cd /path/to/docker-deployment-4.4
# ./restore
Start qTest Scenario 2.0.1
# ./startup
When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Scenario.