No such file kbn_canvas.js

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

This brought me to a page:
image

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

"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

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

1 Like

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, extract the file and grab the kbn_canvas.js file from kibana-8.4.3/x-pack/plugins/canvas/shareable_runtime/build