Plugin installation under different folder


(Vilas Reddy Podduturi) #1

Hi,

I installed head plugin in a different folder and modified the elasticsearch.yml accordingly. But head is not loading.

elasticsearch.yml

path.plugins: ${ELASTIC}/plugins

plugins folder structure

${ELASTIC}/plugins/_site/head/

And I restarted the elasticsearch cluster. I don't see head plugin is picked up by elasticsearch.

What could be the issue?


(Mark Walkom) #2

Is that what you have in the config file? If so do you have that defined as a variable?


(Vilas Reddy Podduturi) #3

Yes @warkolm.
That is defined as environment variable.


(Vilas Reddy Podduturi) #4

Yes. I have that added in config file. The variable is working correctly for others like config, data, and logs.
But it is not working for plugins.
So need help here to resolve this.


(Vilas Reddy Podduturi) #5

@magnusbaeck @warkolm
Waiting for your response.. :bow:


(Jörg Prante) #6

Try

${ELASTIC}/plugins//head/_site


(Vilas Reddy Podduturi) #7

[quote="jprante, post:6, topic:26666"]
${ELASTIC}/plugins//head/_site
[/quote]Thanks @jprante . Let my try that and report back immediately.


(Vilas Reddy Podduturi) #8

Thanks once again @jprante. It is working now.
I made a mistake from by putting head inside _site folder rather than other way around.


(Mark Walkom) #9

FYI we're volunteers here (yes, even though I am an Elastic employee I do this on my own time).

While we're happy to help out when we can, please do not expect a response.


(Vilas Reddy Podduturi) #10

I understand @warkolm, yours and others kind contribution here.I have always waited for your response and you people never disappointed.
I have struck badly on this issue in the production for last few days, so I had to push an extra yard here.

Thanks once again to you all for all the help here.


(system) #11