Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Sep 2018 16:32:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        elastic@FreeBSD.org
Subject:   [Bug 231179] textproc/kibana6: version 6.3.2 fails to start from missing phantomjs-2.1.1-macosx.zip file
Message-ID:  <bug-231179-37421@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231179

            Bug ID: 231179
           Summary: textproc/kibana6: version 6.3.2 fails to start from
                    missing phantomjs-2.1.1-macosx.zip file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: elastic@FreeBSD.org
          Reporter: freebsd@onyphe.io
          Assignee: elastic@FreeBSD.org
             Flags: maintainer-feedback?(elastic@FreeBSD.org)

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","erro=
r"],"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=C2=A0CLI ERROR YAMLException: the stream contains non-printable chara=
cters 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@kibana:/usr/local/packages/All # /etc/kibana/kibana.yml --log-file
/var/log/kibana.log
root@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/browse=
rs/extract/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/phan=
tomjs-2.1.1-macosx.zip'
     errno: -2,
     code: 'ENOENT',
     syscall: 'open',
     path:
=20=20=20=20=20
'/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phan=
tomjs-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/phant=
omjs-2.1.1-macosx.zip

This file doesn't exists:

# ls -l
/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phant=
omjs-2.1.1-macosx.zip
ls:
/usr/local/www/kibana6/node_modules/x-pack/plugins/reporting/.phantom/phant=
omjs-2.1.1-macosx.zip:
No such file or directory

Thanks for some insights on how to fix the issue.

Regards,

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231179-37421>