Can not install readonlyrest_kbn_pro-1.18.5_es6.8.3

Hello

I have problem installing kibana pro plugin:

Attempting to transfer from file:///root/readonlyrest_kbn_pro-1.18.5_es6.8.3.zip
Transferring 7024179 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

its stuck on optimizing I have waited all day long retryed many times but without result
plz help
thnx

elasticsearch and kibana version 6.8.3

Hi @shota,

Yes there is a problem with 1.18.5 PRO builds. I will send you the fixed version in PM

Please send me it too.
We buy this plugin but can’t install it.

@alxx I sent you an email with the link!

Hello Simone,

new plugin is not installing like the old.

[[email protected] ~]# systemctl status kibana -l
● kibana.service - Kibana
Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2019-10-13 17:17:46 +04; 41s ago
Main PID: 1116 (node)
CGroup: /system.slice/kibana.service
└─1116 /usr/share/kibana/bin/…/node/bin/node --no-warnings --max-http-header-size=65536 /usr/share/kibana/bin/…/src/cli -c /etc/kibana/kibana.yml

Oct 13 17:17:46 esbalancertst.hq.tbc systemd[1]: Started Kibana.
[[email protected] ~]# NODE_OPTIONS="–max-old-space-size=4096" /usr/share/kibana/bin/kibana-plugin install file:///root/readonlyrest_kbn_pro-1.18.7_es6.8.3.zip
Attempting to transfer from file:///root/readonlyrest_kbn_pro-1.18.7_es6.8.3.zip
Transferring 7027588 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

(stacks here for long time)

[[email protected] ~]# free -h
total used free shared buff/cache available
Mem: 11G 2.8G 8.1G 8.8M 687M 8.5G
Swap: 4.0G 0B 4.0G

In this case, try to completely delete the current Kibana installation, and start over from a freshly unzipped installation. Sometimes when the optimisation is interrupted i.e. Ctrl+C, the cache files get corrupted.

I try.
I did completely remove kibana, delete all configs, dirs, even readonlyrest.yml from /etc/elasticsearch
then install it using yum install (we have local repo)
I did add all configs from backup, start kibana, try to install readonlyrest_kbn_pro-1.18.7 but it stacks on the same stage.
can i give you kibana.log and some configs so you could help me better?

@alxx strange. I will try myself locally. And see if I can make it work. Feel free to send logs.

I tried on my virtual machine and had zero issues:

[email protected]:~/tmp/kibana-6.8.3-linux-x86_64# bin/kibana-plugin install "https://readonlyrest-data.s3-eu-west-1.amazonaws.com/build/1.18.7/pro/readonlyrest_kbn_pro-1.18.7_es6.8.3.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEKIPNTOTIVGQ4EQ/20191019/eu-west-1/s3/aws4_request&X-Amz-Date=20191019T094255Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=80d8c72c6a8b86ab6226c559f34bedabf1edda9700c98f8ead14dcea15ea1d8a"
Attempting to transfer from https://readonlyrest-data.s3-eu-west-1.amazonaws.com/build/1.18.7/pro/readonlyrest_kbn_pro-1.18.7_es6.8.3.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJEKIPNTOTIVGQ4EQ/20191019/eu-west-1/s3/aws4_request&X-Amz-Date=20191019T094255Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=80d8c72c6a8b86ab6226c559f34bedabf1edda9700c98f8ead14dcea15ea1d8a
Transferring 7027588 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

[email protected]:~/tmp/kibana-6.8.3-linux-x86_64# free -h
              total        used        free      shared  buff/cache   available
Mem:           3.9G        131M        1.6G        8.1M        2.1G        3.4G
Swap:          979M        228K        979M

Hi Simone,
I send you logs with errors earlier.
did you see them?

@alxx is there any chance you can use docker? I mean, the docker images can be built somewhere else and are portable. Not sure what’s the issue, as I could not reproduce in macos or Linux vm either.

I talked with Kibana engineers at Elasticon, they promised the bug ridden optimisation process is going to be entirely removed very soon. They had similar problems many times with it, and they’re just giving up on it.

Hello Simone,

Thank you very much, that you are trying to help us
I cant install kibana on docker or kubernetes. It’s against bank standards
I still can’t install ROR plugin on my test env and because of this, I can’t update my production environment.
Did you find anything in my logs?
Please help me to install a plugin. We are using AD connection and we really need it.

Thank you.

1 Like

trying to install new version:

/usr/share/kibana/bin/kibana-plugin install file:///root/readonlyrest_kbn_pro-1.18.7_es6.8.3.zip
Attempting to transfer from file:///root/readonlyrest_kbn_pro-1.18.7_es6.8.3.zip
Transferring 7027588 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

still could not manage to install plugin
any idea?

1 Like

Ok guys, here is some fresher ideas that hopefully will get us a bit more information about the issue.

  1. Try to install the plugin it in another machine, and if it works, then zip the whole kibana folder and move it across to the destination. I’d make sure the absolute paths of the kibana folder are preserved from the origin to destination environment.

  2. Try to reproduce the issue with a newer version i.e. 7.4.0 and see if still happens. If it does, it’s more like an environmental issue, and if it doesn’t it’s more like a software issue.