# Canvas not working with kibana 6.1.1

**URL:** <https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498>\
**Category:** Kibana\
**Created:** [December 28, 2017, 7:22pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498 "2017-12-28T19:22:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [December 28, 2017, 7:22pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/1 "2017-12-28T19:22:15Z")

</div>

Just tried to install canvas in my test env, receiving this error:

Incorrect Kibana version in plugin [canvas]. Expected [6.0.0]; found [6.1.1]

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [December 28, 2017, 11:15pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/2 "2017-12-28T23:15:31Z")

</div>

Did you follow the installation instructions [here](http://canvas.elastic.co/stories/installing.html)?

---

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [December 28, 2017, 11:52pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/3 "2017-12-28T23:52:12Z")

</div>

Those are the instructions I used, however I'm using a platinum license so I left this part off:

xpack.license.self\_generated.type: basic

I just tried it with the above line, and I still receive the same error, and no machine learning/graph in kibana.

```
NODE_OPTIONS="--max-old-space-size=4096" /usr/share/kibana/bin/kibana-plugin install 
file:///home/speer/kibana-canvas-0.1.1736.zip
Attempting to transfer from file:///home/speer/kibana-canvas-0.1.1736.zip
Transferring 16023012 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation was unsuccessful due to error "Incorrect Kibana version in plugin [canvas]. Expected 
[6.0.0]; found [6.1.1]"
```

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [December 29, 2017, 7:35pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/4 "2017-12-29T19:35:34Z")

</div>

It appears you're using 6.0.0 - The Canvas preview requires the latest GA versions of Elasticsearch, Kibana, and X-Pack which is currently 6.1.1.

---

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [December 29, 2017, 8:06pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/5 "2017-12-29T20:06:37Z")

</div>

You are correct, I'm running 6.0.0. I didn't read that error message correctly. I took it to mean that it wanted 6.0.0 installed, but was seeing something identifying as 6.1.1. I'm in the process of upgrading them now.

Thanks!

---

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [January 2, 2018, 9:33pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/6 "2018-01-02T21:33:55Z")

</div>

I've upgraded elasticsearch, kibana, and x-pack to the latest version. When I try to start kibana, I receive this message:

```
log [21:11:15.479] [info][optimize] Optimizing and caching bundles for canvas, graph, monitoring, ml, apm, kibana, stateSessionStorageRedirect, timelion, login, logout, dashboardViewer and status_page. This may take a few minutes

<--- Last few GCs --->

  740374 ms: Mark-sweep 1176.6 (1434.2) -> 1170.9 (1434.2) MB, 1375.3 / 0.0 ms [allocation failure] [GC in old space requested].
  741824 ms: Mark-sweep 1170.9 (1434.2) -> 1170.9 (1434.2) MB, 1449.2 / 0.0 ms [allocation failure] [GC in old space requested].
  743234 ms: Mark-sweep 1170.9 (1434.2) -> 1180.8 (1403.2) MB, 1409.9 / 0.0 ms [last resort gc].
  744717 ms: Mark-sweep 1180.8 (1403.2) -> 1190.7 (1403.2) MB, 1483.3 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x189e834cf781 <JS Object>
    2: _visit [0x189e83404381 <undefined>:1339] [pc=0x32574f4ec0d2] (this=0x1d5aa190da29 <a TreeWalker with map 0x2e6358121cb9>,node=0x1bfa6b74c079 <an AST_SymbolRef with map 0x3e850cf7a239>,descend=0x189e83404381 <undefined>)
    3: arguments adaptor frame: 1->2
    4: _walk [0x189e83404381 <undefined>:480] [pc=0x32574f4eb713] (this=0x1bfa6b74c079 <an AST_SymbolRef with map 0x3e850cf7a239>,vis...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/usr/share/kibana/bin/../node/bin/node]
 2: 0x10a03bc [/usr/share/kibana/bin/../node/bin/node]
 3: v8::Utils::ReportApiFailure(char const*, char const*) [/usr/share/kibana/bin/../node/bin/node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/share/kibana/bin/../node/bin/node]
 5: v8::internal::Factory::NewCode(v8::internal::CodeDesc const&, unsigned int, v8::internal::Handle<v8::internal::Object>, bool, bool, int, bool) [/usr/share/kibana/bin/../node/bin/node]
 6: v8::internal::CodeGenerator::MakeCodeEpilogue(v8::internal::MacroAssembler*, v8::internal::CompilationInfo*) [/usr/share/kibana/bin/../node/bin/node]
 7: v8::internal::FullCodeGenerator::MakeCode(v8::internal::CompilationInfo*) [/usr/share/kibana/bin/../node/bin/node]
 8: v8::internal::Compiler::EnsureDeoptimizationSupport(v8::internal::CompilationInfo*) [/usr/share/kibana/bin/../node/bin/node]
 9: 0xb56147 [/usr/share/kibana/bin/../node/bin/node]
10: 0xb575bd [/usr/share/kibana/bin/../node/bin/node]
11: v8::internal::Compiler::CompileOptimized(v8::internal::Handle<v8::internal::JSFunction>, v8::internal::Compiler::ConcurrencyMode) [/usr/share/kibana/bin/../node/bin/node]
12: v8::internal::Runtime_CompileOptimized_Concurrent(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/share/kibana/bin/../node/bin/node]
13: 0x3257494092a7
Aborted

```

I still have 6GB free RAM.

---

<div class="post-metadata">

**Author:** ![jspeer](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jspeer](https://discuss.elastic.co/u/jspeer)\
**Post date:** [January 2, 2018, 10:34pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/7 "2018-01-02T22:34:40Z")

</div>

I remove x-pack and canvas, then installed both plugins using:

```
NODE_OPTIONS="--max-old-space-size=4096" 

```

It's now working.

---

<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:** [January 30, 2018, 10:34pm UTC](https://discuss.elastic.co/t/canvas-not-working-with-kibana-6-1-1/113498/8 "2018-01-30T22:34:46Z")

</div>

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