Install Kibana with Debian package | Kibana Guide [7.17] | Elastic - Error Index out of range

When we try to install Kibana 7.17.6 on ubuntu 16.04 machine we got the following error:

ubuntu@finn:~$ sudo apt-get install kibana
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 240 not upgraded.
Need to get 0 B/267 MB of archives.
After this operation, 679 MB of additional disk space will be used.
Selecting previously unselected package kibana.
(Reading database ... 142014 files and directories currently installed.)
Preparing to unpack .../kibana_7.17.6_amd64.deb ...
Unpacking kibana (7.17.6) ...
Processing triggers for systemd (229-4ubuntu21.27) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Setting up kibana (7.17.6) ...
Creating kibana group... OK
Creating kibana user... OK
    slice: (buf, start, end) => buf.utf8Slice(start, end),

RangeError: Index out of range
    at Object.slice (node:buffer:594:37)
    at Buffer.toString (node:buffer:812:14)
    at Object.readFileSync (node:fs:497:41)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1122:18)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'ERR_OUT_OF_RANGE'
dpkg: error processing package kibana (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu21.27) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you please help us to fix the problem?
Kind regards,

Can you please link us to the documentation page that you are using for your install process?

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