From owner-freebsd-elastic@freebsd.org Wed Sep 5 16:32:43 2018 Return-Path: Delivered-To: freebsd-elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D048FF5EFA for ; Wed, 5 Sep 2018 16:32:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BC73D89310 for ; Wed, 5 Sep 2018 16:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7E7CDFF5EF6; Wed, 5 Sep 2018 16:32:42 +0000 (UTC) Delivered-To: elastic@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CDF9FF5EF5 for ; Wed, 5 Sep 2018 16:32:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1A6489308 for ; Wed, 5 Sep 2018 16:32:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2C1111B13B for ; Wed, 5 Sep 2018 16:32:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w85GWfBi015896 for ; Wed, 5 Sep 2018 16:32:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w85GWfhV015895 for elastic@FreeBSD.org; Wed, 5 Sep 2018 16:32:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Wed, 05 Sep 2018 16:32:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: freebsd@onyphe.io X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: elastic@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 16:32:43 -0000 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 () 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.=