Kibana 6.3.1 Optimizing and caching browser bundles hangs up

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1

  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

The webpack optimization step in Kibana always was and is PITA, but cannot be turned off as of now. And it got worse since 6.3.x because the default download now comes bundled with X-Pack. From our side, unfortunately, there is not much we can do. You can try to:

···

On Sunday, July 22, 2018 at 9:30:16 AM UTC+2, Günter Platzer wrote:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

FWIW Elastic have said they’re working on fixing the optimization delay - in the Canvas install docs, of all places:

https://canvas.elastic.co/stories/installing.html

“We’re working on getting rid of that loooooonnnng optimize time via some changes in Kibana. Stay tuned.”

···

On Sunday, 22 July 2018 19:30:16 UTC+12, Günter Platzer wrote:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

Hi,

i use the OSS Version of ELK 6.3.1.

Regards

Günter

···

Am Sonntag, 22. Juli 2018 10:45:29 UTC+2 schrieb Jochen Kressin:

The webpack optimization step in Kibana always was and is PITA, but cannot be turned off as of now. And it got worse since 6.3.x because the default download now comes bundled with X-Pack. From our side, unfortunately, there is not much we can do. You can try to:

  • download the OSS only version of Kibana that comes without X-Pack

On Sunday, July 22, 2018 at 9:30:16 AM UTC+2, Günter Platzer wrote:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

Hi,

I have the same issue with search guard. I tried to install search guard for kibana 6.3.0, 6.3.1 and 6.3.1 oss. Every time I run into the same issue. Plugin installation is getting stuck on Optimizing and caching browser bundles.

I prepared minimal Centos 7.5 installation only for Search Guard testing. To check what’s going on I also installed strace tool to check process from the inside and I see a lot of errors like this:

stat("/usr/share/kibana/src/utils/streams/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/utils/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.json", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.jsx", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es6", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.handlebars", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.hbs", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/babel-preset/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.json", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.jsx", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es6", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.handlebars", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.hbs", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.json", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.jsx", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es6", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.handlebars", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.hbs", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

I guess it’s getting stuck at some point due to infinite loop trying to find those files that doesn’t exist. I see that path’s were doubled at some point.

Kind regards,

Paweł

W dniu niedziela, 22 lipca 2018 09:30:16 UTC+2 użytkownik Günter Platzer napisał:

···

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

That’s interesting and also a bit weird. Is this also happening without the SG plugin?

Clearly, this path:

/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js

should be:

/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js

···

On Wednesday, July 25, 2018 at 9:16:08 AM UTC+2, Benom b wrote:

Hi,

I have the same issue with search guard. I tried to install search guard for kibana 6.3.0, 6.3.1 and 6.3.1 oss. Every time I run into the same issue. Plugin installation is getting stuck on Optimizing and caching browser bundles.

I prepared minimal Centos 7.5 installation only for Search Guard testing. To check what’s going on I also installed strace tool to check process from the inside and I see a lot of errors like this:

stat("/usr/share/kibana/src/utils/streams/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/utils/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.json", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.jsx", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es6", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.handlebars", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.hbs", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/babel-preset/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.json", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.jsx", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es6", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.handlebars", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.hbs", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.json", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.jsx", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es6", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.handlebars", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.hbs", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

I guess it’s getting stuck at some point due to infinite loop trying to find those files that doesn’t exist. I see that path’s were doubled at some point.

Kind regards,

Paweł

W dniu niedziela, 22 lipca 2018 09:30:16 UTC+2 użytkownik Günter Platzer napisał:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

in ELK-Stack 6.3.2 i don’t get this error.
i get following error

Plugin installation was unsuccessful due to error “Incorrect Kibana version in plugin [searchguard]. Expected [6.3.2]; found [6.3.1]”

Regards

Günter

···

Am Sonntag, 22. Juli 2018 09:30:16 UTC+2 schrieb Günter Platzer:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

Hi Jochen,

Without SG plugin Kibana is working perfectly fine. This cluster was installed only to test SG so I haven’t tried any other plugins yet.

During installation it’s trying to refer to the wrong paths a lot of times and finally it’s getting stuck at epoll_wait(3,

When it get’s stuck kibana plugin installer cpu usage in top falls from 99% to 0.0-0.03%, also it releases all the reserved memory - about 1200mb.

My testing server is CentOS 7.5.1804 virtual machine build on Hyper-V.

It have 19434 mb mem and 4 cpu’s. I have only installed latest java, filebeat 6.3.1, logstash 6.3.1, elasticsearch 6.3.1 and kibana 6.3.1 on the server for testing purposes so there aren’t any packages that may impact installation.

I’m not sure why plugin installer is adding 2 path’s into one. I will try to install some different plugin and see what happen.

Kind regards,

Paweł

W dniu sobota, 28 lipca 2018 00:09:45 UTC+2 użytkownik Jochen Kressin napisał:

···

That’s interesting and also a bit weird. Is this also happening without the SG plugin?

Clearly, this path:

/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js

should be:

/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js

On Wednesday, July 25, 2018 at 9:16:08 AM UTC+2, Benom b wrote:

Hi,

I have the same issue with search guard. I tried to install search guard for kibana 6.3.0, 6.3.1 and 6.3.1 oss. Every time I run into the same issue. Plugin installation is getting stuck on Optimizing and caching browser bundles.

I prepared minimal Centos 7.5 installation only for Search Guard testing. To check what’s going on I also installed strace tool to check process from the inside and I see a lot of errors like this:

stat("/usr/share/kibana/src/utils/streams/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/utils/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.json", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.jsx", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es6", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.handlebars", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.hbs", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/babel-preset/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.json", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.jsx", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es6", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.handlebars", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.hbs", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.json", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.jsx", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es6", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.handlebars", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.hbs", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

I guess it’s getting stuck at some point due to infinite loop trying to find those files that doesn’t exist. I see that path’s were doubled at some point.

Kind regards,

Paweł

W dniu niedziela, 22 lipca 2018 09:30:16 UTC+2 użytkownik Günter Platzer napisał:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

This just means that you installed the wrong version of the plugin. Due to strict version checks in Elasticsearch and Kibana, the versions of SG and the Kibana plugin need to match the ES/KI versions exactly. Kibana will not let you install a plugin for 6.3.1 on 6.3.2 and vice versa. That’s why we need to publish separate SG and Kibana plugin versions for every ES/KI version, even if there are no changes.

···

On Saturday, July 28, 2018 at 3:30:43 PM UTC+2, Günter Platzer wrote:

in ELK-Stack 6.3.2 i don’t get this error.
i get following error

Plugin installation was unsuccessful due to error “Incorrect Kibana version in plugin [searchguard]. Expected [6.3.2]; found [6.3.1]”

Regards

Günter

Am Sonntag, 22. Juli 2018 09:30:16 UTC+2 schrieb Günter Platzer:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter

Thanks, that would be very helpful. We run out integration and performance tests on AWS and in Docker with limited resources. While in Docker it sometimes takes around 8 minutes for the optimization process to finish we did not have a situation where the install would fail completely. So any insights you get are highly appreciated!

···

On Monday, July 30, 2018 at 10:05:01 AM UTC+2, Benom b wrote:

Hi Jochen,

Without SG plugin Kibana is working perfectly fine. This cluster was installed only to test SG so I haven’t tried any other plugins yet.

During installation it’s trying to refer to the wrong paths a lot of times and finally it’s getting stuck at epoll_wait(3,

When it get’s stuck kibana plugin installer cpu usage in top falls from 99% to 0.0-0.03%, also it releases all the reserved memory - about 1200mb.

My testing server is CentOS 7.5.1804 virtual machine build on Hyper-V.

It have 19434 mb mem and 4 cpu’s. I have only installed latest java, filebeat 6.3.1, logstash 6.3.1, elasticsearch 6.3.1 and kibana 6.3.1 on the server for testing purposes so there aren’t any packages that may impact installation.

I’m not sure why plugin installer is adding 2 path’s into one. I will try to install some different plugin and see what happen.

Kind regards,

Paweł

W dniu sobota, 28 lipca 2018 00:09:45 UTC+2 użytkownik Jochen Kressin napisał:

That’s interesting and also a bit weird. Is this also happening without the SG plugin?

Clearly, this path:

/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js

should be:

/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js

On Wednesday, July 25, 2018 at 9:16:08 AM UTC+2, Benom b wrote:

Hi,

I have the same issue with search guard. I tried to install search guard for kibana 6.3.0, 6.3.1 and 6.3.1 oss. Every time I run into the same issue. Plugin installation is getting stuck on Optimizing and caching browser bundles.

I prepared minimal Centos 7.5 installation only for Search Guard testing. To check what’s going on I also installed strace tool to check process from the inside and I see a lot of errors like this:

stat("/usr/share/kibana/src/utils/streams/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/utils/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/src/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.js", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.json", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.jsx", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es6", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.es", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.handlebars", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/@kbn/babel-preset/webpack_preset.js.hbs", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0b80) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/babel-preset/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/@kbn/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.js", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.json", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.jsx", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es6", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.es", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.handlebars", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-env/lib/index.js.hbs", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0780) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/browserslist-stats.json", 0x7fffd9af01c0) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-add-module-exports/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-async-generator-functions/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-object-rest-spread/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.js", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.json", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.jsx", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es6", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.es", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.handlebars", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-plugin-/usr/share/kibana/node_modules/babel-plugin-transform-class-properties/lib/index.js.hbs", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0440) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules", {st_mode=S_IFDIR|0755, st_size=32768, …}) = 0

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.js", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.json", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.jsx", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es6", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.es", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.handlebars", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node_modules/babel-preset-/usr/share/kibana/node_modules/babel-preset-react/lib/index.js.hbs", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_modules", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/root/.node_libraries", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

stat("/usr/share/kibana/node/lib/node", 0x7fffd9af0380) = -1 ENOENT (No such file or directory)

I guess it’s getting stuck at some point due to infinite loop trying to find those files that doesn’t exist. I see that path’s were doubled at some point.

Kind regards,

Paweł

W dniu niedziela, 22 lipca 2018 09:30:16 UTC+2 użytkownik Günter Platzer napisał:

Hi,
i use ELK-Stack 6.3.1 with

  • search-guard-kibana-plugin-6.3.1-14-beta-1
  • search-guard-6:6.3.1-22.3

when i install search-guard it hangs up,

in 6.2.4 it works correctly

/global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/bin/kibana-plugin install file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Attempting to transfer from file:///global/zebra/elkstack/oem/kibana-6.3.1-linux-x86_64/searchguard-kibana.zip
Transferring 3122365 bytes…
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles…

Thanks

Regards
Günter