Error at first launch Kibana 7.9.2

Installed Kibana 7.9.2 from Homebrew. On first launch i get the following errors:

      log   [12:22:24.215] [info][plugins][reporting] Extracting [/usr/local/Cellar/kibana-full/7.9.2/libexec/.chromium/chromium-312d84c-darwin.zip] to [/usr/local/Cellar/kibana-full/7.9.2/libexec/x-pack/plugins/reporting/chromium/headless_shell-darwin/headless_shell]
     error  [12:22:24.225] [warning][process] UnhandledPromiseRejectionWarning: Error: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.
    at safeCheck (/usr/local/Cellar/kibana-full/7.9.2/libexec/node_modules/del/index.js:37:9)
    at mapper (/usr/local/Cellar/kibana-full/7.9.2/libexec/node_modules/del/index.js:73:4)
    at /usr/local/Cellar/kibana-full/7.9.2/libexec/node_modules/p-map/index.js:57:21
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at emitWarning (internal/process/promises.js:97:15)
    at emitPromiseRejectionWarnings (internal/process/promises.js:143:7)
    at process._tickCallback (internal/process/next_tick.js:69:34)
     error  [12:22:24.226] [warning][process] Error: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.
    at safeCheck (/usr/local/Cellar/kibana-full/7.9.2/libexec/node_modules/del/index.js:37:9)
    at mapper (/usr/local/Cellar/kibana-full/7.9.2/libexec/node_modules/del/index.js:73:4)
    at /usr/local/Cellar/kibana-full/7.9.2/libexec/node_modules/p-map/index.js:57:21
    at process._tickCallback (internal/process/next_tick.js:68:7)
      log   [12:22:24.215] [info][plugins][reporting] Extracting [/usr/local/Cellar/kibana-full/7.9.2/libexec/.chromium/chromium-312d84c-darwin.zip] to [/usr/local/Cellar/kibana-full/7.9.2/libexec/x-pack/plugins/reporting/chromium/headless_shell-darwin/headless_shell]
     error  [12:22:24.225] [warning][process] UnhandledPromiseRejectionWarning: Error: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.

Kibana interface loads correctly.

Is this thread relevant for you? If not, even then it'd be useful to share the command log of where you are and what command(s) you issue.

Not really. I have installed Kibana using Homebrew. Homebrew drops a bash file in /usr/local/bin which gets launched when you launch Kibana from your home directory.

[tmachielsen@Laptop:~] which kibana
/usr/local/bin/kibana
[tmachielsen@Laptop:~] cat /usr/local/bin/kibana
#!/bin/bash
KIBANA_PATH_CONF="/usr/local/etc/kibana" DATA_PATH="/usr/local/var/lib/kibana/data" exec "/usr/local/Cellar/kibana-full/7.9.2/libexec/bin/kibana"  "$@"

So either permissions are set wrongly when Homebrew installs Kibana or something else is going wrong.

Homebrew maintainer tells me that "this seems like a kibana issue more than a brew issue where it seems to install some non-free components after brew explicitly removing them."

Any ideas?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.