QMetry 8.25.2 Upgrade Guide

QMetry 8.25.2 Upgrade Guide

Overview

Starting with QMetry 8.25.2, all QMetry components for installation and upgrades are bundled into a single zip file. Use:

  • install.sh — for fresh installations

  • upgrade.sh — for upgrading from an older version to 8.25.2

Pre-Upgrade: Backup Your Database

Before proceeding, take a fresh database backup and store it in a safe location:

podman exec qmetryapp_db sh -c 'exec mysqldump -uroot -p<password> --triggers --routines --hex-blob --single-transaction --lock-tables --no-create-db qmetry' > /opt/qmetry_backup_<date>.sql

Replace <password> with your MySQL root password and <date> with the current date.

Upgrade Steps

1. Transfer and Extract the Installer

# Copy QMetry_RHEL_Installer.zip to your server, then: unzip QMetry_RHEL_Installer.zip cd QMetry_RHEL_Installer ls -ltr

2. Run the Upgrade Script

chmod +x upgrade.sh sh upgrade.sh

3. Select Online Upgrade

When prompted:

Do you want to make an online upgrade (Y/N)?

Type Y and press Enter.

4. Navigate the Upgrade Menu

You will see the following menu:

========== QMetry Upgrade Menu ========== 1. QMetryApp DB 2. QMetryApp 3. QMetry Report 4. QMetry Redis 5. QMetry ActiveMQ 6. QMetry BDD 7. QMetry Automation 0. Exit ========================================= Enter your choice:

5. Upgrade Components in Sequence

Upgrade each component one at a time in the following order:

Step/Order

Enter

Component

Notes

Step/Order

Enter

Component

Notes

1

1

QMetryApp DB

Upgrades MySQL App DB to version 8.4.8

2

2

QMetryApp

Upgrades the main application container

3

4

QMetry Redis

Upgrades Redis

4

5

QMetry ActiveMQ

Upgrades ActiveMQ

5

7

QMetry Automation

Upgrades the Automation component

Important: After each component finishes upgrading, the menu will reappear. Enter the next number in the sequence above.

6. Exit

Once all components are upgraded, enter 0 to exit the upgrade menu.