# Custom plugins not working anymore

**URL:** <https://discuss.elastic.co/t/custom-plugins-not-working-anymore/339826>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [August 1, 2023, 3:45pm UTC](https://discuss.elastic.co/t/custom-plugins-not-working-anymore/339826 "2023-08-01T15:45:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pchakour](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@pchakour](https://discuss.elastic.co/u/pchakour)\
**Post date:** [August 1, 2023, 3:45pm UTC](https://discuss.elastic.co/t/custom-plugins-not-working-anymore/339826/1 "2023-08-01T15:45:18Z")

</div>

Hello everyone,

I'm working on custom plugins migration and I'm facing a problem. My problem is also encountered and explained by somebody else in this thread : [Kibana plugin development: Error when creating plugin in Kibana 8.6](https://discuss.elastic.co/t/kibana-plugin-development-error-when-creating-plugin-in-kibana-8-6/329264)

The issue actually occured since Kibana 8.8. By reading the code, I found that a migration of kibana.json files was did into kibana.jsonc . The script that handle plugins optimization seems to ignore custom plugins based on a package-map.json file built at the bootstrap time. To build this file, the script use a git command excluding all paths under /plugins/ because of the gitignore.

May be I'm wrong but for me it seems to be a real issue or you have at least to update the plugin generator to generate a compatible plugin.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [August 4, 2023, 3:59pm UTC](https://discuss.elastic.co/t/custom-plugins-not-working-anymore/339826/2 "2023-08-04T15:59:44Z")

</div>

Hi @pchakour. Can you see if [this similar issue](https://github.com/elastic/kibana/issues/157440) is affecting you?

---

<div class="post-metadata">

**Author:** ![pchakour](https://avatars.discourse-cdn.com/v4/letter/p/e36b37/32.png) [@pchakour](https://discuss.elastic.co/u/pchakour)\
**Post date:** [August 7, 2023, 12:20pm UTC](https://discuss.elastic.co/t/custom-plugins-not-working-anymore/339826/3 "2023-08-07T12:20:30Z")

</div>

Oh my god !!! Yes this is exactly my issue. Thank you for your help 🙂

I subscribe to the thread in order to follow evolutions but I'm in the same configuration than **desean1625** with a plugin that work like x-pack.

---

<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:** [September 4, 2023, 12:21pm UTC](https://discuss.elastic.co/t/custom-plugins-not-working-anymore/339826/4 "2023-09-04T12:21:04Z")

</div>

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