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 installationsupgrade.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>.sqlReplace
<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 -ltr2. Run the Upgrade Script
chmod +x upgrade.sh
sh upgrade.sh3. 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 |
|---|---|---|---|
1 |
| QMetryApp DB | Upgrades MySQL App DB to version 8.4.8 |
2 |
| QMetryApp | Upgrades the main application container |
3 |
| QMetry Redis | Upgrades Redis |
4 |
| QMetry ActiveMQ | Upgrades ActiveMQ |
5 |
| 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.