Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page is no longer used.

Please see:

Linux - Installing (old pre v1.3.1)

Linux - Upgrading (old pre v1.3.1)

Windows - Installing

Windows - Upgrading

Upgrading on Linux

Backup your database

mysqldump -u root -pPASSWORD DATABASE_NAME > BACKUP_FILE_NAME.sql

...

Linux - copy your existing files to a backup directory. The old install directory was /usr/share/oav2/other the new install directory is /usr/local/open-audit. Comment out the line "mysql -u root -popenauditrootuserpassword openaudit < /usr/local/open-audit/other/openaudit_mysql.sql" in the install script.

Install

The install scripts assume a freshly installed system with no MySQL password. Adjust if necessary. Install as per the installation script in the 'open-audit\other' directory.

...

Run the following and populate a new database with your backup from earlier.
mysql -u root -popenauditrootuserpassword openaudit < BACKUP_FILE_NAME.sql

...

If you have any custom files, copy them to the new location from your backup.

...

Log on to the web interface as admin and go to Help -> About. Upgrade the database.

 

Finalising

The audit scripts have changed their XML schema. Ensure you update your exiting scheduled tasks, group policy, login scripts, etc with the new scripts.