# Conflict of customized config for installing different Kibana plugins

**URL:** <https://discuss.elastic.co/t/conflict-of-customized-config-for-installing-different-kibana-plugins/202137>\
**Category:** Kibana\
**Created:** [October 3, 2019, 9:44am UTC](https://discuss.elastic.co/t/conflict-of-customized-config-for-installing-different-kibana-plugins/202137 "2019-10-03T09:44:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony21177](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony21177/32/56161_2.png) [@tony21177](https://discuss.elastic.co/u/tony21177)\
**Post date:** [October 3, 2019, 9:44am UTC](https://discuss.elastic.co/t/conflict-of-customized-config-for-installing-different-kibana-plugins/202137/1 "2019-10-03T09:44:50Z")

</div>

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

> feature1.uri: "[http://192.168.28.152:11213](http://192.168.28.152:11213)"  
> feature2.uri: "[http://192.168.28.152:11214](http://192.168.28.152:11214)"

index.js as below

> ```
> return new kibana.Plugin({
> require: ['elasticsearch'],
> name: 'feature1',
> uiExports: {
> app: {
> title: 'feature1',
> description: 'feature1',
> main: 'plugins/feature1/app',
> },
> hacks: [
> 'plugins/feature1/hack'
> ],
> styleSheetPaths: require('path').resolve(__dirname, 'public/app.scss'),
> },
> 
> config(Joi) {
> return Joi.object({
> uri: Joi.array().items(Joi.string().uri({ scheme: ['http', 'https'] })).single(),
> }).default();
> },
> 
> ```

And the install script are

> RUN bin/kibana-plugin install file:///usr/share/kibana/feature1-0.0.0.zip -d plugins  
> RUN bin/kibana-plugin install file:///usr/share/kibana/feature2-0.0.0.zip -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?

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [October 4, 2019, 5:50pm UTC](https://discuss.elastic.co/t/conflict-of-customized-config-for-installing-different-kibana-plugins/202137/2 "2019-10-04T17:50:15Z")

</div>

@tony21177

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

---

<div class="post-metadata">

**Author:** ![tony21177](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tony21177/32/56161_2.png) [@tony21177](https://discuss.elastic.co/u/tony21177)\
**Post date:** [October 15, 2019, 6:45am UTC](https://discuss.elastic.co/t/conflict-of-customized-config-for-installing-different-kibana-plugins/202137/3 "2019-10-15T06:45:01Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 12, 2019, 6:45am UTC](https://discuss.elastic.co/t/conflict-of-customized-config-for-installing-different-kibana-plugins/202137/4 "2019-11-12T06:45:02Z")

</div>

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