Understanding and managing PuppeteerDataDir files in N4V for Webi

Anonymised summary of support ticket #936424 (2025-11-27)

Symptom

Large number of temporary files named PuppeteerDataDir_[hash] are generated during Web Intelligence report printing with N4V elements. These files are not automatically deleted after use.

Environment

N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence) running on a server with N4V services.

Resolution

  1. Verify that the CleanWorkingDir parameter in the N4V configuration file (nodejs/node_modules/custom_element/ce_libs/config.js) is set to true. This ensures automatic cleanup of temporary directories on each N4V service restart.
  2. Restart the N4V services to trigger the cleanup process.

Other resolution

If cleanup fails due to Chromium process locks, the files will be removed during the next service restart.