How to update the license?


(Raj) #1

Hi ALL,

curl -XPUT -u elastic 'http://localhost:9200/_xpack/license' @/tmp/license.json
Enter host password for user 'elastic':
{"error":{"root_cause":[{"type":"parse_exception","reason":"Failed to derive xcontent"}],"type":"parse_exception","reason":"Failed to derive xcontent"},"status":400}curl: (6) Could not resolve host:

Please help me to update the license

Thanks,
Raj


(Mark Harwood) #2

Is the file valid JSON?
The error suggests an issue parsing it as such.


(system) #3

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