In this article, we provide step-by-step instructions to upgrade qTest Sessions 4.1 to 4.2 on a separate CentOS/Ubuntu machine using Docker. Please read the instructions thoroughly before starting your installations.
Before You Begin
- qTest Sessions 4.2 only works with qTest Manager 9.1.5 or later.
Read the following:
- Getting Started with qTest OnPremise Summer 2018
- If you are using an older version, you will need to upgrade to qTest Session 4.1 before proceeding to this version.
- It is important to review the Recommended Hardware Requirements article before you begin and Backup your Data before you upgrade.
Upgrade qTest Sessions to 4.2
Shutdown the Previous Deployment
- Open the Terminal.
- Access the directory where you extracted the previous docker deployment package 4.4, shut it down and create a backup.
Download the Deployment Package
- Download docker-deployment-4.5 package.
$ wget <ENTER DOWNLOAD LINK HERE>
- Extract the package.
$ tar -zxf <DOWNLOADED PACKAGE FILE NAME>
- Access the docker-deployment-4.5 directory.
$ cd docker-deployment-4.5
Configure qTest Sessions
Choose one of the two options below to configure qTest Sessions:
- Copy configuration of all applications in your previous docker deployment to the /profiles directory of docker-deployment-4.5 package.
$ cp -r /path/to/docker-deloyment-4.4/profiles/ /path/to/docker-deployment-4.5/
- Above command will copy the old configuration file at /docker-deployment-4.4/profiles/default.in to /docker-deployment-4.5/profiles/default.in
- Next, open the file at /path/to/docker-deployment-4.5/profiles/default.in, locate and change the version value to 4.5, as below:
version = "4.5"
- Another option is to use ./configure command and specify sessions application that you want to configure.
- For HTTP:
$ ./configure --sessions-url "http://<public IP address of current machine>:<qTest Sessions port>" --sessions-http "<qTest Sessions port>"
- For HTTPS:
$ ./configure --ssl-key "<SSL Key>" --ssl-cert "<SSL Cert>" --ssl-ca "<SSL Ca>" --sessions-url "https://<public IP address of current machine>:<qTest Sessions https port>" --sessions-https "<qTest Sessions https port>"
- For HTTP:
Upgrade qTest Sessions
Execute the command below to upgrade qTest Sessions:
Start Deployment Process
- Start the deployment process by executing startup script which will download application images and qTest Sessions components to the Docker container.
Note: It may take a while to complete depending on your network connection.
- When it's done, you can access qTest Sessions and verify the new version.
If the installation was not successful, perform the following steps to rollback to qTest Sessions 4.0.2 (docker, images, sessions, sessionslb)
- Restore backup data:
# cd /path/to/docker-deployment-4.4
- When the restore process is complete, contact Customer Support to troubleshoot the issue with upgrading qTest Sessions.