Hello Pavel, ports,
contacting you as a maintainer of kibana, logstash and elasticsearch;
Does kibana still work for you in OpenBSD 7.1?
I was able to get it running on OpenBSD 7.0 by hardcoding node version
(10.x->12.22.6) in /usr/local/kibana/package.json, but same trick stopped
working in 7.1, where system node is at 16.16.0.
Kibana starts, but in web browser, it just shows loading animation and
eventually ends up with cryptic error.
# rcctl -d start kibana
doing _rc_parse_conf
doing _rc_quirks
kibana_flags empty, using default ><
doing rc_check
kibana
doing rc_start
doing _rc_wait_for_start
doing rc_check
No home directory /nonexistent!
Logging in with home = "/".
doing rc_check
Alarm clock
doing _rc_write_runfile
(ok)
...
Kibana does not support the current Node.js version v16.16.0. Please use
Node.js v12.16.1.
Elastic runs on same host at localhost:9200
The error is:
NetworkError when attempting to fetch resource.
Version: 7.10.0
Build: 35949
Error: NetworkError when attempting to fetch resource.
_construct@http://localhost:5601/35949/bundles/core/core.entry.js:6:4859
Wrapper@http://localhost:5601/35949/bundles/core/core.entry.js:6:4249
_createSuperInternal@http://localhost:5601/35949/bundles/core/core.entry.js:6:3388
HttpFetchError@http://localhost:5601/35949/bundles/core/core.entry.js:6:6016
_callee3$@http://localhost:5601/35949/bundles/core/core.entry.js:6:58583
l@http://localhost:5601/35949/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1740519
s/o._invoke</<@http://localhost:5601/35949/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1740273
_/</e[t]@http://localhost:5601/35949/bundles/kbn-ui-shared-deps/kbn-ui-shared-deps.js:380:1740876
fetch_asyncGeneratorStep@http://localhost:5601/35949/bundles/core/core.entry.js:6:52652
_throw@http://localhost:5601/35949/bundles/core/core.entry.js:6:53084
What would be the best approach to getting this fixed? Trying to bundle node-12
again (seems to be EOL though)? Trying to port over the Amazon opensource
flavor that forked from 7.10?
What do you think?
Thank you,
JV