Conflict of customized config for installing different Kibana plugins

I develope two different plugin.
In the kibana.yml,I configure the customized config as below

feature1.uri: ""
feature2.uri: ""

index.js as below

return new kibana.Plugin({
    require: ['elasticsearch'],
    name: 'feature1',
    uiExports: {
      app: {
        title: 'feature1',
        description: 'feature1',
        main: 'plugins/feature1/app',
      hacks: [
      styleSheetPaths: require('path').resolve(__dirname, 'public/app.scss'),

    config(Joi) {
      return Joi.object({
        uri: Joi.array().items(Joi.string().uri({ scheme: ['http', 'https'] })).single(),

And the install script are

RUN bin/kibana-plugin install file:///usr/share/kibana/ -d plugins
RUN bin/kibana-plugin install file:///usr/share/kibana/ -d plugins

but It occur the following error

FATAL Error: "feature2.feature2.uri" settings was not applied. Check for spelling errors and ensure that expected plugins are installed.

But when I just install feature1 plugin and config feature1 config,It works well.
It seems like that when I simultaneously install two plugins,and then it would fail when checked another config for another plugin.

How can I solve this problem?


Do you have a similar success if you only install feature2 as you do with feature1?

Hi,Matthew Kime

Sorry for my late reply.
After I arrange the order of commands in Dockerfile
which is "Copy kibana.yml command" behind the "install plugins command"
,It works!
Thank you!

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