Files
raven/docs/8.0/ayanova/docs/ops-config-report-render-browser-path.md

1.5 KiB

Report render browser path setting

This optional setting sets the full path to the Chrome web browser executable that is used by AyaNova to render reports.

If not set, AyaNova will attempt to automatically download a copy of Chrome to Chrome and ChromeHeadlessShell folders inside a report-browser folder under the data path on first report rendering. The data folder must allow programs to run from it (on Linux it must not be on a noexec mount).

Versions before 8.3.0 downloaded Chrome to the AyaNova program folder instead. Those Chrome and ChromeHeadlessShell folders in the program folder are no longer used and can be deleted.

This setting is typically not required to be set.

Default

Default is empty / not set.

Overriding

AyaNova expects the report rendering browser path to be provided by a config.json property, environment variable or command line parameter named

AYANOVA_REPORT_RENDER_BROWSER_PATH

The value specified should be a string containing a fully qualified file path to the Chrome browser.

Example config.json entry

{
  ...other properties...
  "AYANOVA_REPORT_RENDER_BROWSER_PATH": "/usr/bin/Chrome"
}

Example command line parameter

ayanova.exe --AYANOVA_REPORT_RENDER_BROWSER_PATH="/usr/bin/Chrome" )

Example environment variable

Windows

set "AYANOVA_REPORT_RENDER_BROWSER_PATH=o C:\Program Files\Chrome\chrome.exe"

Linux

export AYANOVA_REPORT_RENDER_BROWSER_PATH="/usr/bin/Chrome"