In this article, we provide step-by-step instructions to upgrade qTest Parameters from 2.2.2 to 2.2.3 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.
Before You Begin
- qTest Parameters 2.2.3 only works with qTest Manager 9.6.1 or later.
Read the following:
Note: if you want to upgrade to qTest Parameters 2.2.3 on the same machine with other applications, e.g. qTest Manager, on Docker environment, follow this article Manager 9.5.3 to 9.6.1 Single Server Upgrade Guide for Docker
Shutdown your Previous Deployment
- Open Terminal.
- Access to the directory where you extracted the previous docker deployment package 4.7, shut it down and create a backup.
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 to docker-deployment-4.8 directory
$ cd docker-deployment-4.8
Configure qTest Parameters
Choose one of the below options to configure qTest Parameters:
- Copy configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.8 package.
$ cp -r /path/to/docker-deployment-4.7/profiles/ .
- 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"
2. Another option is to use ./configure command and specify parameters application that you want to configure.
- For HTTP:
$ ./configure --parameters-url "http://<public IP address of current machine>:<qTest Parameters port>" --parameters-http "<qTest Parameters port>" --cluster "<IP of Postgres docker server>"
- For HTTPS:
$ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --parameters-url "https://<public IP address of current machine>:<qTest Parameters https port>" --parameters-https "<qTest Parameters https port>" --cluster "<IP of Postgres docker server>"
Upgrade qTest Parameters
Execute the command below to upgrade qTest Parameters:
Start Deployment Process
Next, start deployment process by executing startup script which will download application images and qTest Parameters components to the Docker container. It may take a while to complete depending on your network connection.
When it's done, you can access qTest Parameters and verify the new version.
Set up qTest Applications
Please follow this guide: Configure qTest Applications to complete the remaining steps to activate your account.
If the steps above are not successful, perform the following steps to rollback to qTest Parameters 2.2.2 (docker, images, parameters, parameterslb)
Restore backup data
# cd /path/to/docker-deployment-4.7
Start qTest Parameters 2.2.2
When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Parameters.