====== Troubleshooting N4V FOR WEBI installation and configuration issues ====== //Anonymised summary of support ticket #532219 (2024-03-27)// ===== Symptom ===== Issues during installation and configuration of N4V FOR WEBI extensions, including Node.js module paths, PM2 process manager, and missing custom element settings in SAP BusinessObjects Web Intelligence. ===== Environment ===== SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions, running on Linux with Node.js installed. Tomcat server used for Webi services. ===== Resolution ===== - %%Verify Node.js installation path and adjust module paths in configuration files to match the actual installation directory (e.g., replace '/home/need4viz/.nvm/versions/node/v12.8.1/lib/node_modules/' with '/lib/node_modules/' or '/.npm-global/lib/node_modules/').%% - Ensure the user account used for installation has proper permissions on all relevant directories, including the home directory and Node.js module directories. - %%Install PM2 globally using the correct user account to manage N4V processes: 'npm install pm2 --save -g'.%% - %%Use the full path to PM2 binary (e.g., '/.npm-global/bin/pm2') to execute commands if the binary is not in the system PATH.%% - %%Check and correct the 'config.js' file in the custom_element module, particularly the 'LocalCEPath' variable, ensuring proper path formatting (e.g., adding missing '/' characters).%% - %%Restart N4V services using PM2: 'pm2 start all' and verify the status with 'pm2 list'.%% - For missing custom element settings in Webi, convert the N4V element to a Webi table and back to the N4V element to refresh the configuration. ===== Other resolution ===== %%If Node.js is already installed on the server, it is not necessary to install NVM unless multiple Node.js versions are required. Specific versions of modules like 'node-fetch' and 'puppeteer' may be required depending on the Node.js version installed.%%