====== Troubleshooting N4V FOR WEBI services and dependencies on SAP BusinessObjects Web Intelligence ====== //Anonymised summary of support ticket #725249 (2023-03-10)// ===== Symptom ===== %%N4V services fail to start or respond correctly, with specific errors observed: port 8201 (n4v_maps) inaccessible, CMC tests failing with 'Connection refused' or JSON parsing errors, and Puppeteer installation failing due to permission issues or missing Chromium.%% ===== Environment ===== N4V FOR WEBI 2023.0.1 installed on the same server as SAP BusinessObjects BI4.3 SP2 Patch 9 with Tomcat. Node.js 16.19.0 is used for N4V services. Offline environment (no internet access). ===== Resolution ===== - %%Stop all N4V services using 'pm2 stop all'.%% - %%Fix the node-fetch dependency for n4v_maps by removing the existing module and installing version 2.6.0: 'rm -rf node-fetch' followed by 'npm install node-fetch@2.6.0 --save -g'.%% - For CMC test failures, ensure a valid license key is installed. If missing, obtain a temporary trial key from the support download area and apply it. - %%For Puppeteer installation issues, download the provided Puppeteer module (tar.gz) from the support download area and place it in the Node.js modules directory. Alternatively, set the environment variable 'PUPPETEER_SKIP_DOWNLOAD=true' before installation to skip Chromium download.%% - %%Restart all N4V services using 'pm2 start all'.%% ===== Other resolution ===== %%Offline environments require manual provisioning of dependencies (node-fetch, Puppeteer) as automatic downloads are not possible. Ensure proper permissions are set for Node.js module directories to avoid installation failures.%%