Update marvel basic license failed

monitoring

(Jiunjiun Ma) #1

Hi, I tried to update the marvel basic license, but got this obscure error message while running:

curl -XPUT 'http://host:port/_license' -d @mylicense.json

(Note I don't have shield installed so I didn't use the -u option)

{"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:","marvel":["basic"]}}


(Mark Walkom) #2

Try curl -XPUT 'http://host:port/_license&acknowledge=true' -d @mylicense.json?


#3

Hi, did you ever solve this? I'm having the same issue


#4

I actually solved the issue, the previous suggestion was very close curl -XPUT 'http://host:port/_license?acknowledge=true' -d @license.json


(Chris Earle) #5

To be explicit for anyone else that comes across this post:

curl -XPUT 'http://host:port/_license?acknowledge=true' -d @license.json

The above cURL request is just a PUT request that sends the license.json file as the body of the request. As the file extension implies, the file contains a JSON data structure. @license.json is used instead of license.json as a way to tip off the cURL command that it needs to dump the contents of that arbitrarily named file as the body of the request.


(system) #6