# Uninstalling X-Pack and error occurs

**URL:** <https://discuss.elastic.co/t/uninstalling-x-pack-and-error-occurs/137201>\
**Category:** Elasticsearch\
**Created:** [June 25, 2018, 7:15am UTC](https://discuss.elastic.co/t/uninstalling-x-pack-and-error-occurs/137201 "2018-06-25T07:15:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MD65](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@MD65](https://discuss.elastic.co/u/MD65)\
**Post date:** [June 25, 2018, 7:15am UTC](https://discuss.elastic.co/t/uninstalling-x-pack-and-error-occurs/137201/1 "2018-06-25T07:15:11Z")

</div>

Hello everyone,

I have uninstalled x-pack from my 26 nodes with `elasticsearch-plugin remove x-pack` and `elasticsearch-keystore remove bootstrap.password` , but I get back some errors.

```
[2018-06-19T10:33:35,507][ERROR][o.e.b.Bootstrap] Exception
[2018-06-19T10:33:35,529][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [SOCdata-16] uncaught exception in thread [main]

```

And

```
[2018-06-19T09:23:26,805][WARN][o.e.c.m.MetaData] Skipping unknown custom object with type licenses
[2018-06-19T09:23:26,806][WARN][o.e.c.m.MetaData] Skipping unknown custom object with type ml

```

So what is wrong ?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [June 26, 2018, 12:27am UTC](https://discuss.elastic.co/t/uninstalling-x-pack-and-error-occurs/137201/2 "2018-06-26T00:27:14Z")

</div>

You need to provide more information.

- What version are you running?
- What does the rest of the log say? You haven't provided any details of the exception that occurred.

Why are you trying to remove x-pack anyway? If you install a free "basic" license, you will be able to continue to use some of the features, and it will eliminate many of these problems.

---

<div class="post-metadata">

**Author:** ![MD65](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@MD65](https://discuss.elastic.co/u/MD65)\
**Post date:** [June 26, 2018, 6:34am UTC](https://discuss.elastic.co/t/uninstalling-x-pack-and-error-occurs/137201/3 "2018-06-26T06:34:43Z")

</div>

Elasticsearch version : 6.2

Plugins installed: vega (I have uninstalled x-pack with /usr/share/elasticsearch/bin/elasticsearch-plugin remove x-pack and elasticsearch-keystore remove bootstrap.password)

JVM version : java version "1.8.0\_161"

OS version : ubuntu

I am working on vega, a kibana plugin, and all my scripts are blocked in the plateform : becaude of the expired X-pack license, I could not access the platform anymore, so I unistalled X-pack and that errors occured.

---

<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:** [July 24, 2018, 6:34am UTC](https://discuss.elastic.co/t/uninstalling-x-pack-and-error-occurs/137201/4 "2018-07-24T06:34:46Z")

</div>

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