How to upgrade N4V for Webi from version 6.1.4 to 8.1

Anonymised summary of support ticket #272092 (2020-09-07)

Symptom

Upgrade from N4V for Webi version 6.1.4 to 8.1 fails due to file access rights, requiring manual intervention or full reinstallation.

Environment

N4V for Webi 6.1.4 installed on a server (Tomcat or similar application server).

Resolution

  1. Stop all N4V services before applying the upgrade.
  2. Deploy the patch for version 8.1 instead of performing a full installation.
  3. Replace the key.js file in the target directory (Need4Viz\nodejs\node_modules\custom_element\ce_libs) after the patch is installed.
  4. Restart the services and verify functionality.
  5. If file access rights issues persist, perform a complete uninstallation (including manual removal of remaining files) followed by a fresh installation of version 8.1.

Other resolution

File access rights issues during upgrade may occur if services are not fully stopped, as some files may remain in use by processes like pm2.