# No such file kbn\_canvas.js

**URL:** <https://discuss.elastic.co/t/no-such-file-kbn-canvas-js/323455>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [January 18, 2023, 8:23pm UTC](https://discuss.elastic.co/t/no-such-file-kbn-canvas-js/323455 "2023-01-18T20:23:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![learningelastic](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Post date:** [January 18, 2023, 8:23pm UTC](https://discuss.elastic.co/t/no-such-file-kbn-canvas-js/323455/1 "2023-01-18T20:23:18Z")

</div>

I clicked on the link `Download runtime` as shown in this image:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/5/257b0904aec01dc1e54bd6028f99b0334fe31143.png)

This brought me to a page:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/4/f4880204a781a2c43180d4ce9d6859a2004ccb9b.png)

When I look in my `/var/log/kibana/kibana.log`, I see this error:

```auto
"ENOENT: no such file or directory, open '/usr/share/kibana/x-pack/plugins/canvas/shareable_runtime/build/kbn_canvas.js'","error":{"message":"ENOENT: no such file or directory, open '/usr/share/kibana/x-pack/plugins/canvas/shareable_runtime/build/kbn_canvas.js'

```

Is there something else I'm supposed to do to get the `kbn_canvas.js`?

I am using elastic and kibana version 8.5

---

<div class="post-metadata">

**Author:** ![Marco\_Liberati](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marco_liberati/32/82953_2.png) [@Marco\_Liberati](https://discuss.elastic.co/u/Marco_Liberati)\
**Post date:** [January 19, 2023, 11:02am UTC](https://discuss.elastic.co/t/no-such-file-kbn-canvas-js/323455/2 "2023-01-19T11:02:35Z")

</div>

Hi @learningelastic ,

I've managed to reproduce this bug and reopened the relative issue here: [[Canvas] Share on a website - Download runtime returns server error · Issue #92673 · elastic/kibana · GitHub](https://github.com/elastic/kibana/issues/92673)

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [January 19, 2023, 11:25am UTC](https://discuss.elastic.co/t/no-such-file-kbn-canvas-js/323455/3 "2023-01-19T11:25:50Z")

</div>

Until the issue is addressed, you may want to grab the last release of the runtime from 8.4.3 release

Download for example the [`tar.gz` release](https://artifacts.elastic.co/downloads/kibana/kibana-8.4.3-linux-x86_64.tar.gz), extract the file and grab the `kbn_canvas.js` file from `kibana-8.4.3/x-pack/plugins/canvas/shareable_runtime/build`

---

<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:** [February 16, 2023, 11:26am UTC](https://discuss.elastic.co/t/no-such-file-kbn-canvas-js/323455/4 "2023-02-16T11:26:29Z")

</div>

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