Update instructions
First rule: Always make a backup before updating an existing installation.
There are two cases of updating:
- Upgrading from an older main version (1.1x or 1.2x to 1.3x)
- Updating the sub version (1.3x to 1.3x)
Updating from NagVis 1.2 or lower
There have been many changes to the internal structure of NagVis and the configuration values. The best way upgrading to the newest NagVis version is to set up the new version as new installation and migrate your maps/icons/configurations etc. manually.
You should take a look at the following things:
- Maps (etc/maps)
Just copy all map configuration files
- Background-Images (nagvis/images/maps)
Just copy all map background images
- Iconsets (nagvis/images/iconsets)
Just copy everything which is not named "std_*"
- Shapes (nagvis/images/shapes)
Just copy everything
- Templates (nagvis/templates/hover and nagvis/templates/header)
Just copy all your custom templates. Be aware: Don't replace the default templates.
Maybe you need to update your pre 1.3 templates to 1.3 version. For more information take a look at the template download page.
- Template-Images (nagvis/images/templates/hover and nagvis/images/templates/header)
Just copy everything
- Main configuration (etc/nagvis.inc.php)
You should not copy that file. The best way is to copy the sample configuration of the new NagVis version to etc/nagvis.inc.php and merge the settings of your old installation manually to that file
Updating from NagVis 1.3x
Until you didn't change anything in the NagVis code of your installation you can easily copy the contents of the new package into the existing installation.
The configuration files do not get replaced by the packages.
After the update, check your permissions.