You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To install X-Pack on a DEB/RPM installation of the Elastic Stack, see DEB/RPM installation instructions.
And further detailing:
To install X-Pack on a DEB/RPM package installation, you need to run bin/plugin install from the /usr/share/elasticsearch directory with superuser permissions:
cd /usr/share/elasticsearch
sudo bin/elasticsearch-plugin install x-pack
The same seems to apply when Kibana is installed from deb package:
/usr/share/kibana $ bin/kibana-plugin install x-pack
fs.js:640
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES: permission denied, open '/usr/share/kibana/optimize/.babelcache.json'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.writeFileSync (fs.js:1333:33)
at save (/usr/share/kibana/node_modules/babel-core/lib/api/register/cache.js:35:19)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
But this worked:
/usr/share/kibana $ sudo bin/kibana-plugin install x-pack
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.3.0.zip
Transferring 109091475 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete
But I also realized that in /usr/share/kibana not all is owner by root:
I then ended up with some files in e.g. optimize/ being owner by kibana and some by root. I had a feeling this isn't good and changed the owner ship back for all files in pre-kibana owned directories:
@mfn you're on the right track, we have a short section here for plugins. The bug you ran into is filed at #8818. We'll leave this open for addressing plugin instructions in the x-pack docs.
Tested with Kibana 5.3.0
On https://www.elastic.co/downloads/x-pack there's a special section for elasticsearch, mentioning this:
And further detailing:
The same seems to apply when Kibana is installed from deb package:
But this worked:
But I also realized that in
/usr/share/kibana
not all is owner by root:I then ended up with some files in e.g.
optimize/
being owner by kibana and some by root. I had a feeling this isn't good and changed the owner ship back for all files in pre-kibana owned directories:Not sure if there's an official guide for this but would be nice if this can be clarified.
The text was updated successfully, but these errors were encountered: