In this article :
Issue description
Prerequisites
Possible causes
Resolution
Related topics and articles
How to reach support
Issue description
When trying to upgrade ADAudit Plus specifically from build 8500, 8511, or 8512, the following error message may appear:
"Please note that support for PostgreSQL 9.4.X has been discontinued as of ADAudit Plus build 8500. We strongly recommend that you migrate to the latest PostgreSQL version or MS SQL to avoid disruptions. For more details, contact support@adauditplus.com."
This occurs because ADAudit Plus no longer supports PostgreSQL 9.4.x and earlier starting from build 8520.
If you are using PostgreSQL version 9.4.x or earlier, you must upgrade the database to PostgreSQL 17.5 before applying the ADAudit Plus service pack or upgrading to later builds.
How to check your database type and PostgreSQL version
Check database type
Log in to the ADAudit Plus web console, and click the Support tab.
On the Support Info tile, click More.
Under Basic Check, expand the Machine Details section.
The Database and Build Number will be displayed at the bottom.
Check PostgreSQL version
Open Command Prompt as an administrator in the <product_home>\pgsql\bin> directory.
Run the command:
postgres.exe -V
The installed PostgreSQL version will be displayed.
Important note
If you are using PostgreSQL version 10.x, the steps below do not apply. We can directly proceed with the service pack upgrade.
Prerequisites
Storage
Ensure at least twice the size of the current <product_home>\pgsql folder is available before upgrading.
Product build
These steps apply only to builds 8500 and above.
If you are on a build earlier than 8500, upgrade to build 8500 first, and then follow the steps below.
Required files
Download and extract the required component files prior to beginning the PostgreSQL upgrade.
Files | SHA256 Checksum hash value |
Note: Files included in the above folder:
| 73AC5F3B87129BEA62F97B86BDE8A8BD54645DC96339B74D06787832F6643CD2 |
Possible causes
PostgreSQL 9.4.x support has been discontinued from ADAudit Plus build 8500.
Attempting to upgrade ADAudit Plus without upgrading PostgreSQL results in compatibility errors.
Resolution
Backup and initial setup
Stop the product.
From the <product_home>\lib folder, move the existing AdvTools.jar and AdventnetADAPCmdUtil.jar to a safe location.
Place the newly downloaded AdventnetADAPCmdUtil.jar file into the <product_home>\lib folder.
Place the newly downloaded patched AdvTools.jar into the <product_home>\lib folder.
From the <product_home>\bin folder, open Command Prompt as an administrator and start the database by running:
startDB.bat
Run a database backup using backupDB.bat from the <product_home>\bin folder, specifying your preferred backup location and password.
backupDB.bat
Note:
The backup file will be saved by default in <product_home>\backUp folder as OfflineBackup_<timestamp>.ezip
An EventData back up folder will also be created under <product_home>\backUp\EventData\<timestamped-folder>.
Once the backup is complete, stop the database by running:
stopDB.bat
Configure database parameters
Back up the <product_home>\conf\database_params.conf file by copying it to a safe location.
Open Command Prompt as an administrator from the <product_home>\bin folder, and set the product to standalone mode by running:
cmdUtil.bat
Sign in with the default product admin Username and Password.
Once you see the message "Welcome admin!", retrieve your PostgreSQL database password by running:
servicepack getting-db-password postgres
Note down the password in a text editor.
Stop the Command Utility (cmdUtil.bat) by pressing: Ctrl + C
Open the <product_home>\conf\database_params.conf file in a text editor and add:
superuser_pass=<Noted password>
Save and close the file.
Replace the pgsql folder
Rename the existing pgsql folder in <product_home> to pgsql_old.
Copy the newly downloaded pgsql folder and place it into the <product_home> folder.
Navigate to the <product_home>\bin folder, open Command Prompt as an administrator, and run the command:
startADAP.bat
After verifying that the product starts successfully, stop the service by pressing: Ctrl + C.
Restore the database
Restore the database using the previously saved backup by running:
RestoreDB.bat <product_home>\backUp\OfflineBackup_<timestamp>.ezip -p Backup@123$.
Note: When backupDB.bat is run, the backup zip file is secured with the default password: Backup@123$ for restoration.
From the <product_home>\bin folder, open Command Prompt as an administrator and start the database by running:
startDB.bat
Restore event data using the previously saved backup by running:
RestoreEventTables.bat <product_home>\backUp\EventData<timestamped-folder>
Stop the database again by running:
StopDB.bat
Related topics and articles
How to upgrade ADAudit Plus to the latest build
How to reach support
If the issue persists, contact our support team here.