# X-pack license couldn't update

**URL:** https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844
**Category:** Elasticsearch
**Created:** [October 31, 2017, 7:19am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844 "2017-10-31T07:19:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)
#### Post date: [October 31, 2017, 7:19am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/1 "2017-10-31T07:19:11Z")

</div>

`C:\Users\infoblox\Downloads\curl>curl -XPUT -u elastic "http://localhost:9200/_xpack/license" -H "Content-Type: application/json" -d "@C:\Users\infoblox\Downloads\license.json"`

Enter host password for user 'elastic':  
{"acknowledged":false,"license\_status":"valid","acknowledge":{"message":"This license update requires acknowledgement. To acknowledge the license, please read the following messages and update the license again, this time with the "acknowledge=true" parameter:","watcher":["Watcher will be disabled"],"security":["The following X-Pack security functionality will be disabled: authentication, authorization, ip filtering, and auditing. Please restart your node after applying the license.","Field and document level access control will be disabled.","Custom realms will be ignored."],"monitoring":["Multi-cluster support is disabled for clusters with [BASIC] license. If you are\nrunning multiple clusters, users won't be able to access the clusters with\n[BASIC] licenses from within a single X-Pack Kibana instance. You will have to deploy a\nseparate and dedicated X-pack Kibana instance for each [BASIC] cluster you wish to monitor.","Automatic index cleanup is locked to 7 days for clusters with [BASIC] license."],"graph":["Graph will be disabled"],"ml":["Machine learning will be disabled"]}}

thank you in advance!

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 31, 2017, 7:50am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/2 "2017-10-31T07:50:19Z")

</div>

> [@f26227279](#):
>
> To acknowledge the license, please read the following messages and update the license again, this time with the "acknowledge=true" parameter:"

Did you add that?

```auto
C:\Users\infoblox\Downloads\curl>curl -XPUT -u elastic "http://localhost:9200/_xpack/license&acknowledge=true" -H "Content-Type: application/json" -d "@C:\Users\infoblox\Downloads\license.json"

```

---

<div class="post-metadata">

### Author: ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)
#### Post date: [October 31, 2017, 8:45am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/3 "2017-10-31T08:45:10Z")

</div>

still can't work  
C:\Users\infoblox\Downloads\curl\>curl -XPUT -u elastic "[http://localhost:9200/\_xpack/license&acknowledge=true](http://localhost:9200/_xpack/license&acknowledge=true)" -H "Content-Type: application/json" -d "@C:\Users\infoblox\Downloads\license.json"  
Enter host password for user 'elastic':  
No handler found for uri [/\_xpack/license&acknowledge=true] and method [PUT]

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [October 31, 2017, 8:48am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/4 "2017-10-31T08:48:32Z")

</div>

? not &

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 31, 2017, 8:55am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/5 "2017-10-31T08:55:14Z")

</div>

Ahh, thanks for spotting that mistake 🙂

---

<div class="post-metadata">

### Author: ![f26227279](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/f26227279/32/21296_2.png) [@f26227279](https://discuss.elastic.co/u/f26227279)
#### Post date: [October 31, 2017, 8:58am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/6 "2017-10-31T08:58:16Z")

</div>

ok done!

---

<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 28, 2017, 8:58am UTC](https://discuss.elastic.co/t/x-pack-license-couldnt-update/105844/7 "2017-11-28T08:58:16Z")

</div>

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