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