# Definition of plugin "uiActions" should be a function (/bundles/plugin/uiActions.bundle.js)

**URL:** <https://discuss.elastic.co/t/definition-of-plugin-uiactions-should-be-a-function-bundles-plugin-uiactions-bundle-js/239173>\
**Category:** Kibana\
**Created:** [June 29, 2020, 7:06pm UTC](https://discuss.elastic.co/t/definition-of-plugin-uiactions-should-be-a-function-bundles-plugin-uiactions-bundle-js/239173 "2020-06-29T19:06:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![j4sper](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@j4sper](https://discuss.elastic.co/u/j4sper)\
**Post date:** [June 29, 2020, 7:06pm UTC](https://discuss.elastic.co/t/definition-of-plugin-uiactions-should-be-a-function-bundles-plugin-uiactions-bundle-js/239173/1 "2020-06-29T19:06:34Z")

</div>

Fresh install of Kibana and Elastic on FreeBSD 12.1-RELEASE

When I open kibana in a browser, I get

`Definition of plugin "uiActions" should be a function (/bundles/plugin/uiActions.bundle.js).`

Kibana and Elastic were installed from packages: `pkg install kibana7 elasticsearch7`

The only warnings in the logs are:

```
rg warn out.log 
8:{"type":"log","@timestamp":"2020-06-29T11:59:36Z","tags":["warning","plugins","encryptedSavedObjects","config"],"pid":71323,"message":"Generating a random key for xpack.encryptedSavedObjects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml"}
16:{"type":"log","@timestamp":"2020-06-29T11:59:36Z","tags":["warning","plugins","security","config"],"pid":71323,"message":"Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml"}
17:{"type":"log","@timestamp":"2020-06-29T11:59:36Z","tags":["warning","plugins","security","config"],"pid":71323,"message":"Session cookies will be transmitted over insecure connections. This is not recommended."}
91:{"type":"log","@timestamp":"2020-06-29T11:59:39Z","tags":["reporting","warning"],"pid":71323,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml"}
97:{"type":"log","@timestamp":"2020-06-29T11:59:40Z","tags":["reporting","warning"],"pid":71323,"message":"See Chromium's log output at \"/usr/local/www/kibana7/data/headless_shell-darwin/chrome_debug.log\""}
98:{"type":"log","@timestamp":"2020-06-29T11:59:40Z","tags":["reporting","warning"],"pid":71323,"message":"Reporting plugin self-check generated a warning: Error: Could not close browser client handle!"}

```

[kibana.yml]

```
server.host: \<ip of host containing kibana and elastic>
server.port: 5601
elasticsearch.hosts: ["http://127.0.0.1:9200"]
elasticsearch.username: "kibana"
elasticsearch.password: \<mypassword>
```

---

<div class="post-metadata">

**Author:** ![j4sper](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@j4sper](https://discuss.elastic.co/u/j4sper)\
**Post date:** [July 13, 2020, 11:54pm UTC](https://discuss.elastic.co/t/definition-of-plugin-uiactions-should-be-a-function-bundles-plugin-uiactions-bundle-js/239173/2 "2020-07-13T23:54:01Z")

</div>

Bump

---

<div class="post-metadata">

**Author:** ![tiagocosta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tiagocosta/32/40045_2.png) [@tiagocosta](https://discuss.elastic.co/u/tiagocosta)\
**Post date:** [July 20, 2020, 8:44pm UTC](https://discuss.elastic.co/t/definition-of-plugin-uiactions-should-be-a-function-bundles-plugin-uiactions-bundle-js/239173/3 "2020-07-20T20:44:15Z")

</div>

@j4sper could you share the full log from Kibana please? What is the browser you're using to load kibana? Could you please delete the `optimize` folder and restart kibana?

Cheers

---

<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:** [August 17, 2020, 8:44pm UTC](https://discuss.elastic.co/t/definition-of-plugin-uiactions-should-be-a-function-bundles-plugin-uiactions-bundle-js/239173/4 "2020-08-17T20:44:19Z")

</div>

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