====== How to resolve PM2 service conflicts in N4V for Webi ====== //Anonymised summary of support ticket #714547 (2024-07-18)// ===== Symptom ===== Services related to N4V for Webi fail to start or behave unexpectedly due to leftover environment variables and files from previous installations. ===== Environment ===== N4V for Webi installed on a Windows system with Node.js and PM2 service manager. ===== Resolution ===== - %%Delete the following environment variables if they exist: SET_PM2_SERVICE_SCRIPTS, SET_PM2_SERVICE_PM2_DIR, SET_PM2_HOME, PM2_SERVICE_SCRIPTS, PM2_SERVICE_PM2_DIR.%% - %%Stop all PM2 processes using the commands: 'pm2 stop all' followed by 'pm2 kill'.%% - %%Delete the file 'dump.pm2' located in the Node.js directory.%% - %%Delete the 'daemon' folder inside 'node_modules\pm2-windows-service\src\'.%% - Recreate the PM2 service for N4V for Webi.