# Update fail... Marvel from Trial to basic

**URL:** <https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [August 5, 2016, 3:24pm UTC](https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363 "2016-08-05T15:24:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangc819](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhangc819/32/11234_2.png) [@zhangc819](https://discuss.elastic.co/u/zhangc819)\
**Post date:** [August 5, 2016, 3:24pm UTC](https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363/1 "2016-08-05T15:24:06Z")

</div>

hi  
today i want to update my marvel license from Trial to basic.  
#curl -XPUT '[http://localhost/\_license](http://localhost/_license)' -d @mylic.json  
#{"statusCode":400,"error":"Bad Request","message":"Missing kbn-version header"

then i modify elasticsearch.yml,append the follow lines:

marvel.agent.exporters:  
id1:  
type: local  
host: ["[http://es.test.com](http://es.test.com)" ]  
auth:  
username: admin  
password: Q1W2E3R4

when i restart Elasticsearch,i also do not update,and return:  
#{"statusCode":400,"error":"Bad Request","message":"Missing kbn-version header"

could you help me ? thank you!

I forgot my username and password.

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [August 5, 2016, 4:51pm UTC](https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363/2 "2016-08-05T16:51:57Z")

</div>

Hello,

It looks like the error may be as simple as the fact that you are not specifying the port for your Elasticsearch node. It appears that port 80 is being used by Kibana on that server, so you probably want to send:

```auto
curl -XPUT 'http://localhost:9200/_license' -d @mylic.json

```

Note the `:9200` in there. **9200** is the default HTTP port for Elasticsearch; if you changed it, as Kibana was changed, then simply fill in the appropriate number there.

Hope that helps,  
Chris

---

<div class="post-metadata">

**Author:** ![zhangc819](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zhangc819/32/11234_2.png) [@zhangc819](https://discuss.elastic.co/u/zhangc819)\
**Post date:** [August 7, 2016, 8:52am UTC](https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363/3 "2016-08-07T08:52:22Z")

</div>

Okey! thank you!  
update successful!

---

<div class="post-metadata">

**Author:** ![rajesh.govindan](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@rajesh.govindan](https://discuss.elastic.co/u/rajesh.govindan)\
**Post date:** [September 3, 2016, 2:13pm UTC](https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363/5 "2016-09-03T14:13:31Z")

</div>

what is the equivalent command to upgrade Trial version to basic using SENSE plugin

---

<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 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/update-fail-marvel-from-trial-to-basic/57363/6 "2017-07-06T13:42:06Z")

</div>


