How to resolve display issues after upgrading N4V for Webi to version 2023.2.x

Anonymised summary of support ticket #699423 (2023-11-09)

Symptom

After upgrading N4V for Webi to version 2023.2.x, the following issues may occur: 1) N4V service is running but unusable with a message indicating a license key issue, 2) The displayed version in N4V remains incorrect (e.g., 2023.2.0 instead of 2023.2.1).

Environment

N4V for Webi installed on Linux, upgraded from version 2022.1.1 or earlier to 2023.2.x. SAP BusinessObjects Web Intelligence environment upgraded from version 4.2 to 4.3.

Resolution

  1. Copy the original key.js file to the folder containing the custom_element node module (e.g., /Need4Viz/nodejs/node_modules/custom_element/ce_libs/ or /usr/local/lib/node_modules/custom_element/ce_libs/). If the key.js file is missing, download it from the official support portal.
  2. Update the version number in the config.js file located in the same folder as key.js. Change the line 'var N4V_ver = "2023.2.0";' to match the installed version (e.g., 'var N4V_ver = "2023.2.1";').
  3. Restart the N4V services using the command 'pm2 start all' to apply changes.
  4. Verify that the custom_element services are running from the correct folder. If multiple node_modules folders exist, ensure the key.js and config.js files are updated in the folder used by the active services.

Other resolution

After upgrading SAP BusinessObjects Web Intelligence from version 4.2 to 4.3, update the SAPBI_ver parameter in the N4V config.js file from '42' to '43' and restart N4V services.