Below are the steps to be followed to upgrade your existing QMetry installation:
You can generate a request on the QMetry Support Portal, to get the latest version of QMetry Upgrade Installer.
Download the QMetry8713.zip to your QMetry Application Server once you receive it.
Take the backup of your existing “qmetry” database. You can replace the username, password, location of the backup file (currently default /opt).
Syntax : docker exec qmetry_rds_1 sh -c 'exec mysqldump -uroot -p<password> --triggers --routines --hex-blob --single-transaction --lock-tables --no-create-db qmetry' > /opt/qmetry_backup_<date>.sql
For example: docker exec qmetry_rds_1 sh -c 'exec mysqldump -uroot -pqmetry --triggers --routines --hex-blob --single-transaction --lock-tables --no-create-db qmetry' > /opt/qmetry_backup_2021-01-01.sql
Verify that your database has been backed up properly and is available for later use in case of any emergency.
1. Check the running containers using the following command. The dockers must be running to ensure a successful upgrade.
2. Go to the directory where the QMetry8713.zip file is downloaded.
3. Copy QMetry8713.zip file inside the docker container using the following command
4. Log in to the docker container, using the following command
5. Go to /opt directory where the QMetry8713.zip file is copied using the command
6. Unzip the file under the /opt directory separate from your current installation path /home/qmetry/QMetry
7. Go to QMetry directory:
8. Give permission to qmetry.sh file through the following command
chmod +x qmetry.sh
sh -x qmetry.sh
10. Utility will confirm if you want to upgrade, type Yes, and then specify the path of the existing QMetry installation.
Options | Type | Default Value | Comments/ Example |
---|---|---|---|
Do you want to upgrade the Existing version of QMetry? | Mandatory | [No] | type - yes |
Specify path of existing version of QMetry | Mandatory | - | type - /home/qmetry/QMetry |
Wait for the process to complete.
11. Exit from docker container once the process is completed, use the following command:
QMetry is installed with a default configuration of minimum and maximum heap memory utilization. You should modify these settings depending on your hardware configuration. Refer Additional Configuration for more details.
Note: It is important to have the correct version of the Jira add-on installed in Jira based on your upgraded and current QMetry version. Refer to the below table for the right version of "Jira Integration - QMetry Enterprise".
QMetry Version | Jira-addon version required |
---|---|
8.7.1 and above | 2.1.1 |
8.7 | 2.1.0 |
8.6.4 | 2.0.9 |
8.6.2.2 | 2.0.7 |
Upgrade your Jira add-on as per the above compatibility matrix. In case you have not installed the Jira Integration - QMetry Enterprise add-on for integration, follow the Steps to Install and Configure the Jira Integration - QMetry Enterprise add-on, if it is not installed.
If you are having any issues during the upgrade process, write to us at qtmprofessional@qmetrysupport.atlassian.net. This will automatically open a ticket with our support team and help you follow the progress.