Kibana server is not ready yet in v 7.2

when I try to access kibana from the following URL I got "Kibana server is not ready yet"

http://172.24.36.204:5601/

kibana.log

{"type":"log","@timestamp":"2019-07-30T12:10:52Z","tags":["reporting","browser-driver","error"],"pid":97200,"message":"Error code EACCES: Insufficient permissions for extracting the browser archive. Make sure the Kibana data directory (path.data) is owned by the same user that is running Kibana."}
{"type":"log","@timestamp":"2019-07-30T12:10:52Z","tags":["fatal","root"],"pid":97200,"message":"{ ExtractError: Failed to extract the browser archive\n    at err (/usr/share/kibana/x-pack/plugins/reporting/server/browsers/extract/unzip.js:14:23)\n    at /usr/share/kibana/node_modules/extract-zip/index.js:52:20\n    at WriteStream.<anonymous> (/usr/share/kibana/node_modules/extract-zip/index.js:143:24)\n    at WriteStream.emit (events.js:194:15)\n    at lazyFs.open (internal/fs/streams.js:272:12)\n    at FSReqWrap.oncomplete (fs.js:141:20)\n  name: 'ExtractError',\n  cause:\n   { Error: EACCES: permission denied, open '/var/lib/kibana/headless_shell-linux/headless_shell'\n     errno: -13,\n     code: 'EACCES',\n     syscall: 'open',\n     path: '/var/lib/kibana/headless_shell-linux/headless_shell' },\n  isBoom: true,\n  isServer: true,\n  data: null,\n  output:\n   { statusCode: 500,\n     payload:\n      { statusCode: 500,\n        error: 'Internal Server Error',\n        message: 'An internal server error occurred' },\n     headers: {} },\n  reformat: [Function],\n  [Symbol(SavedObjectsClientErrorCode)]: 'SavedObjectsClient/generalError' }"}

The first line in the message seems to say that the linux userid running Kibana doesn't have the proper permissions to write to the kibana data directory.

Do a net search on:"Insufficient permissions for extracting the browser archive. Make sure the Kibana data directory (path.data) is owned by the same user that is running Kibana."}

There are several ideas

Kibana version: 7.2.0

Elasticsearch version: 7.2.0

Server OS version: Centos 7.4.1708

Original install method : yum from official repos

Kibana 7.2.0 installed from rpm package does not start with error:

"message":"Error code EACCES: Insufficient permissions for extracting the browser archive. Make sure the Kibana data directory (path.data) is owned by the same user that is running Kibana."}
"message":"{ ExtractError: Failed to extract the browser archive\n    at err (/usr/share/kibana/x-pack/plugins/reporting/server/browsers/extract/unzip.js:14:23)\n    at /usr/share/kibana/node_modules/extract-zip/index.js:52:20\n

It seems to be default data path directory missing in kibana-7.2.0-1 rpm package - /usr/share/kibana/data is not created when rpm is installed.

Manually creating folder /usr/share/kibana/data and setting appropriate rights resolves the issue:

mkdir  /usr/share/kibana/data
chown kibana:kibana /usr/share/kibana/data
systemctl restart kibana
1 Like

Thank you all issue fixed

Thank you mate . Appreciate your support

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.