# Unable to update X-pack licensing (Elastic version 5.0)

**URL:** https://discuss.elastic.co/t/unable-to-update-x-pack-licensing-elastic-version-5-0/103804
**Category:** Elasticsearch
**Created:** [October 13, 2017, 12:44am UTC](https://discuss.elastic.co/t/unable-to-update-x-pack-licensing-elastic-version-5-0/103804 "2017-10-13T00:44:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rboorugu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rboorugu/32/34358_2.png) [@rboorugu](https://discuss.elastic.co/u/rboorugu)
#### Post date: [October 13, 2017, 12:44am UTC](https://discuss.elastic.co/t/unable-to-update-x-pack-licensing-elastic-version-5-0/103804/1 "2017-10-13T00:44:25Z")

</div>

I issue a command below to update xpack license (security, graph, watcher are disabled - i am just using monitoring)  
curl -XPUT '[http://localhost:9200/\_xpack/license?acknowledge=true](http://localhost:9200/_xpack/license?acknowledge=true)' -H 'Content-Type: application/json' -d @/etc/x-pack/license.json

I get the error below  
{"error":{"root\_cause":[{"type":"action\_not\_found\_transport\_exception","reason":"No handler for action [cluster:admin/xpack/license/put]"}],"type":"action\_not\_found\_transport\_exception","reason":"No handler for action [cluster:admin/xpack/license/put]"},"status":500}

xpack is installed i verified it by going to [http://localhost:9200](http://localhost:9200) (security, graph, watcher are disabled)

{  
"build": {  
"hash": "7763f8e",  
"date": "2016-10-26T04:51:59.202Z"  
},  
"license": null,  
"features": {  
"graph": {  
"description": "Graph Data Exploration for the Elastic Stack",  
"available": true,  
"enabled": false  
},  
"monitoring": {  
"description": "Monitoring for the Elastic Stack",  
"available": true,  
"enabled": true  
},  
"security": {  
"description": "Security for the Elastic Stack",  
"available": true,  
"enabled": false  
},  
"watcher": {  
"description": "Alerting, Notification and Automation for the Elastic Stack",  
"available": true,  
"enabled": false  
}  
},  
"tagline": "You know, for X"  
}

---

<div class="post-metadata">

### Author: ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)
#### Post date: [October 13, 2017, 1:06am UTC](https://discuss.elastic.co/t/unable-to-update-x-pack-licensing-elastic-version-5-0/103804/2 "2017-10-13T01:06:03Z")

</div>

2.x license no same ass 5.x.

---

<div class="post-metadata">

### Author: ![rboorugu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rboorugu/32/34358_2.png) [@rboorugu](https://discuss.elastic.co/u/rboorugu)
#### Post date: [October 13, 2017, 12:11pm UTC](https://discuss.elastic.co/t/unable-to-update-x-pack-licensing-elastic-version-5-0/103804/3 "2017-10-13T12:11:29Z")

</div>

i am using 5.x license only not 2.x - might not be related to this.

---

<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 10, 2017, 12:11pm UTC](https://discuss.elastic.co/t/unable-to-update-x-pack-licensing-elastic-version-5-0/103804/4 "2017-11-10T12:11:52Z")

</div>

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