====== How to handle config.js modifications during N4V FOR WEBI updates ====== //Anonymised summary of support ticket #816571 (2024-01-10)// ===== Symptom ===== %%After updating N4V FOR WEBI, node.exe processes consume 100% CPU in a loop, with errors in n4v_circular_err.log such as 'ReferenceError: URLNodeJSServer is not defined' and 'ReferenceError: PORTTomcat is not defined'. The config.js file shows commented lines (// or /* */) for critical variables.%% ===== Environment ===== N4V FOR WEBI, Web Intelligence, Tomcat, Node.js, Windows environment. Issue occurs during version upgrade. ===== Resolution ===== - Do not manually comment or uncomment lines in config.js before or during the update process. - %%If the config.js file contains commented lines for critical variables (e.g., URLNodeJSServer, PORTTomcat, upload_limit), remove these comments only after the update is complete and services are stopped.%% - Restart services manually after verifying the config.js file to ensure no commented lines remain for critical variables. - If the issue persists, compare the old and new config.js files to identify discrepancies in variable definitions. ===== Other resolution ===== The setup process during an upgrade may incorrectly reuse commented lines from the old config.js file, leading to runtime errors. Always review the config.js file after an upgrade before restarting services.