1.5.1. Update Steps for 1.2.5

The 1.2.5 release requires additional update steps to ensure compatibility. Execute the actions described below for a smooth upgrade:

Note

If there are any errors in the Update process for 1.2.5, please refer to the section: Update Troubleshooting for 1.2.5.

1. Clean DNF cache:

dnf clean all

2. Install the opennac-common package:

dnf install -y opennac-common

3. Update to the PHP 8.2 version:

dnf module switch-to -y php:8.2

Warning

It is possible that an error may occur when upgrading to PHP8.2, please refer to the section: Upgrading from PHP 8.1 to 8.2.

4. Perform a system update:

dnf update -y

5. Perform a database update (only for the Principal node):

/usr/share/opennac/api/scripts/updatedb.php

6. Update all OpenNAC Enterprise services (only for Principal and Workers nodes):

/usr/share/opennac/utils/scripts/restartOpenNACServices.sh