-> I opened new terminal and check kibana.log, I see the task finished after 8 minutes, but still running on first terminal:
{"type":"log","@timestamp":"2018-09-04T13:58:35Z","tags":["warning","config","deprecation"],"pid":22259,"message":"uiSettings.enabled is deprecated and is no longer used"}
{"type":"log","@timestamp":"2018-09-04T13:59:02Z","tags":["plugin","warning"],"pid":22259,"path":"/usr/share/kibana/plugins/wazuh-logs","message":"Skipping non-plugin directory at /usr/share/kibana/plugins/wazuh-logs"}
{"type":"log","@timestamp":"2018-09-04T13:59:02Z","tags":["plugin","warning"],"pid":22259,"path":"/usr/share/kibana/src/core_plugins/spy_modes","message":"Skipping non-plugin directory at /usr/share/kibana/src/core_plugins/spy_modes"}
{"type":"log","@timestamp":"2018-09-04T13:59:04Z","tags":["info","optimize"],"pid":22259,"message":"Optimizing and caching bundles for graph, monitoring, login, logout, ml, dashboardViewer, apm, wazuh, kibana, stateSessionStorageRedirect, status_page and timelion. This may take a few minutes"}
{"type":"log","@timestamp":"2018-09-04T14:07:15Z","tags":["info","optimize"],"pid":22259,"message":"Optimization of bundles for graph, monitoring, login, logout, ml, dashboardViewer, apm, wazuh, kibana, stateSessionStorageRedirect, status_page and timelion complete in 491.43 seconds"}
{"type":"log","@timestamp":"2018-09-04T14:07:15Z","tags":["info"],"pid":22259,"message":"Plugin initialization disabled."}
Checking again for plugins installed:
# /usr/share/kibana/bin/kibana-plugin list
wa...@3.6.0
/usr/share/kibana/src/cli_plugin/list/list.js:41
throw new Error('Unable to read package.json file for plugin ' + filename);
^
Error: Unable to read package.json file for plugin wazuh-logs
at forEach.filename (/usr/share/kibana/src/cli_plugin/list/list.js:41:15)
at Array.forEach (<anonymous>)
at list (/usr/share/kibana/src/cli_plugin/list/list.js:32:44)
at Command.processCommand (/usr/share/kibana/src/cli_plugin/list/index.js:61:22)
at Command.<anonymous> (/usr/share/kibana/src/cli/command.js:116:20)
at Command.listener (/usr/share/kibana/node_modules/commander/index.js:301:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/usr/share/kibana/node_modules/commander/index.js:610:12)
at Command.parse (/usr/share/kibana/node_modules/commander/index.js:458:21)
at Object.<anonymous> (/usr/share/kibana/src/cli_plugin/cli.js:71:9)
at Module._compile (module.js:652:30)
at Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .js] (/usr/share/kibana/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
Abort the optimization on first terminal and start all services, all working, but not with the correct way :(