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.

[root@esbalancertst ~]# 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.
[root@esbalancertst ~]# 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)

[root@esbalancertst ~]# 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:

root@vagrant:~/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

root@vagrant:~/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.

when I install plugin literally everything goes crazy
and I am not interested in 7th version

P.S. here is my configuration:

readonlyrest:
 enable: true
 prompt_for_basic_auth: false
 ssl:
      # put the keystore in the same dir with elasticsearch.yml 
      keystore_file: "XXX"
      keystore_pass: XXX
      key_pass: XXX
      allowed_protocols: [TLSv1.2]

 response_if_req_forbidden: Access denied!!!

 access_control_rules:

  - name: "XXX"
    auth_key: XXX:XXX
    indices: ["*", ".*"]
    actions: ["*"]
    type: allow

  - name: "Accept requests from users in group XXX"
    ldap_authentication:
      name: "ldap1"
      cache_ttl_in_sec: 60
    ldap_authorization:
      name: "ldap1"
      groups: ["XXX"]
      cache_ttl_in_sec: 60
    indices: ["*"]

  - name: "Accept requests from users in group XXX"
    ldap_authentication:
      name: "ldap1"
      cache_ttl_in_sec: 60
    ldap_authorization:
      name: "ldap1"
      groups: ["XXX"]
      cache_ttl_in_sec: 60
    indices: ["*"]
    kibana_hide_apps: ["readonlyrest_kbn"]

  - name: "Accept requests from users in group XXX"
    ldap_authentication:
      name: "ldap1"
      cache_ttl_in_sec: 60
    ldap_authorization:
      name: "ldap1"
      groups: ["XXX"]
      cache_ttl_in_sec: 60
    indices: ["*"]
    kibana_hide_apps: ["readonlyrest_kbn"]
    kibana_access: ro
        
 ldaps:
  - name: "ldap1"
    host: "XXX"
    port: 389
    ssl_enabled: false
    ssl_trust_all_certs: true
    bind_dn: "XXX"
    bind_password: "XXX"
    search_user_base_DN: "XXX"
    user_id_attribute: "XXX"
    search_groups_base_DN: "XXX"
    unique_member_attribute: "XXX"
    connection_pool_size: 10
    connection_timeout_in_sec: 10
    request_timeout_in_sec: 10
    cache_ttl_in_sec: 60

How is this related to the topic? This topic is about people not managing to install the Kibana plugin.
Also, what version are you using of Kibana and ROR? and what does it mean go crazy?

Hello go crazy mean that many different thing stops working, for example elastic does not show indices or kibana says that it is not ready yet
I upgraded es and kibana to the latest 6.8.5 version I will try new plugin when it releases

We will release a new version during this weekend.

ROR 1.18.9 is already released.

hello all
thanks for reply
please let us know when we expect plugin release for 6.8.5 version
we have serious obstacles