maintainer-feedback requested: [Bug 231179] textproc/kibana6: version 6.3.2 fails to start from missing phantomjs-2.1.1-macosx.zip file
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 5 16:32:42 UTC 2018
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-elastic mailing
list <elastic at FreeBSD.org> for maintainer-feedback:
Bug 231179: textproc/kibana6: version 6.3.2 fails to start from missing
phantomjs-2.1.1-macosx.zip file
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231179
--- Description ---
Dear maintainer,
After upgrading kibana5 to kibana6-6.3.2 and updating the kibana.yml
configuration, the service still refuses to start.
>From kibana.log:
# tail -f /var/log/kibana.log
{"type":"log","@timestamp":"2018-09-05T16:24:12Z","tags":["reporting","error"],
"pid":27630,"message":"Failed
to install browser. See kibana logs for more details."}
We have more details when we start manually the service with the following
command:
# /usr/local/bin/node --no-warnings /usr/local/www/kibana6/src/cli serve
--config /usr/local/etc/kibana/kibana.yml --log-file /var/log/kibana.log
FATAL CLI ERROR YAMLException: the stream contains non-printable characters at
line 1, column 1:
P^
^
at generateError
(/usr/local/www/kibana6/node_modules/js-yaml/lib/js-yaml/loader.js:160:10)
at throwError
(/usr/local/www/kibana6/node_modules/js-yaml/lib/js-yaml/loader.js:166:9)
at loadDocuments
(/usr/local/www/kibana6/node_modules/js-yaml/lib/js-yaml/loader.js:1526:5)
at load
(/usr/local/www/kibana6/node_modules/js-yaml/lib/js-yaml/loader.js:1555:19)
at safeLoad
(/usr/local/www/kibana6/node_modules/js-yaml/lib/js-yaml/loader.js:1573:10)
at files.map.path
(/usr/local/www/kibana6/src/cli/serve/read_yaml_config.js:52:56)
at Array.map (<anonymous>)
at readYamlConfig
(/usr/local/www/kibana6/src/cli/serve/read_yaml_config.js:52:23)
at readServerSettings
(/usr/local/www/kibana6/src/cli/serve/serve.js:150:57)
at getCurrentSettings (/usr/local/www/kibana6/src/cli/serve/serve.js:32:38)
root at kibana:/usr/local/packages/All # /etc/kibana/kibana.yml --log-file
/var/log/kibana.log
root at kibana:/usr/local/packages/All # /usr/local/bin/node --no-warnings
/usr/local/www/kibana6/src/cli serve --config /usr/local/etc/kibana/kibana.yml
--log-file /var/log/kibana.log
FATAL { ExtractError: Failed to extract the phantom.js archive
at err
(/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/server/browsers/e
xtract/unzip.js:14:23)
at /usr/local/www/kibana6/node_modules/extract-zip/index.js:20:23
at
/usr/local/www/kibana6/node_modules/extract-zip/node_modules/yauzl/index.js:29:
21
at FSReqWrap.oncomplete (fs.js:145:20)
name: 'ExtractError',
cause:
{ Error: ENOENT: no such file or directory, open
'/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phantomj
s-2.1.1-macosx.zip'
errno: -2,
code: 'ENOENT',
syscall: 'open',
path:
'/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phantomj
s-2.1.1-macosx.zip'
} }
The problem appears to come from the attemped extraction of the file:
/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phantomjs
-2.1.1-macosx.zip
This file doesn't exists:
# ls -l
/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phantomjs
-2.1.1-macosx.zip
ls:
/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phantomjs
-2.1.1-macosx.zip:
No such file or directory
Thanks for some insights on how to fix the issue.
Regards,
More information about the freebsd-elastic
mailing list