bndabbs/docket-plugin

Cannot find module '@elastic/elasticsearch'

Closed this issue · 1 comments

-- Subject: Unit kibana.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit kibana.service has finished starting up.
--
-- The start-up result is done.
May 20 16:10:49 rock polkitd[3248]: Unregistered Authentication Agent for unix-process:7718:207814 (system bus name :1.70, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
May 20 16:10:53 rock filebeat[3890]: 2020-05-20T16:10:53.099Z        INFO        [monitoring]        log/log.go:145        Non-zero metrics in the last 30s        {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":10100,"time":{"ms":21}},"total":{"ticks":155790,
May 20 16:10:55 rock kibana[7724]: {"type":"log","@timestamp":"2020-05-20T16:10:55Z","tags":["warning","plugins-discovery"],"pid":7724,"message":"Expect plugin \"id\" in camelCase, but found: apm_oss"}
May 20 16:10:55 rock kibana[7724]: {"type":"log","@timestamp":"2020-05-20T16:10:55Z","tags":["warning","plugins-discovery"],"pid":7724,"message":"Expect plugin \"id\" in camelCase, but found: file_upload"}
May 20 16:10:55 rock kibana[7724]: {"type":"log","@timestamp":"2020-05-20T16:10:55Z","tags":["warning","plugins-discovery"],"pid":7724,"message":"Expect plugin \"id\" in camelCase, but found: triggers_actions_ui"}
May 20 16:11:01 rock kibana[7724]: {"type":"log","@timestamp":"2020-05-20T16:11:01Z","tags":["fatal","root"],"pid":7724,"message":"{ Error: Cannot find module '@elastic/elasticsearch'\n    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)\n    at
May 20 16:11:01 rock kibana[7724]: FATAL  Error: Cannot find module '@elastic/elasticsearch'
May 20 16:11:03 rock systemd[1]: kibana.service: main process exited, code=exited, status=1/FAILURE
May 20 16:11:03 rock systemd[1]: Unit kibana.service entered failed state.
May 20 16:11:03 rock systemd[1]: kibana.service failed.

Looks like it’s this

May 20 16:11:01 rock kibana[7724]: FATAL  Error: Cannot find module '@elastic/elasticsearch'

Elastic 7.7.0

Is there a plugin “install” that is needed?

I have this bundled as an actual plugin now under releases, but it turns out that the new platform plugin style isn't fully compatible with 7.7 yet.

Hopefully 7.8 will include the necessary updates.