# Error at first launch Kibana 7.9.2

**URL:** <https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848>\
**Category:** Kibana\
**Created:** [October 21, 2020, 1:55pm UTC](https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848 "2020-10-21T13:55:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toontje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toontje/32/16100_2.png) [@Toontje](https://discuss.elastic.co/u/Toontje)\
**Post date:** [October 21, 2020, 1:55pm UTC](https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848/1 "2020-10-21T13:55:53Z")

</div>

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

```auto
      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.

---

<div class="post-metadata">

**Author:** ![monfera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/monfera/32/26467_2.png) [@monfera](https://discuss.elastic.co/u/monfera)\
**Post date:** [October 22, 2020, 2:41pm UTC](https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848/2 "2020-10-22T14:41:26Z")

</div>

Is this [thread](https://discuss.elastic.co/t/error-unable-to-install-kibana-plugin/223943/4) 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.

---

<div class="post-metadata">

**Author:** ![Toontje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toontje/32/16100_2.png) [@Toontje](https://discuss.elastic.co/u/Toontje)\
**Post date:** [October 28, 2020, 9:14am UTC](https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848/3 "2020-10-28T09:14:43Z")

</div>

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.

```auto
[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.

---

<div class="post-metadata">

**Author:** ![Toontje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toontje/32/16100_2.png) [@Toontje](https://discuss.elastic.co/u/Toontje)\
**Post date:** [October 28, 2020, 11:58am UTC](https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848/4 "2020-10-28T11:58:11Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 25, 2020, 11:58am UTC](https://discuss.elastic.co/t/error-at-first-launch-kibana-7-9-2/252848/5 "2020-11-25T11:58:45Z")

</div>

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