X-pack license couldn't update

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!

Did you add that?

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"

still can't work
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"
Enter host password for user 'elastic':
No handler found for uri [/_xpack/license&acknowledge=true] and method [PUT]

? not &

Ahh, thanks for spotting that mistake :slight_smile:

ok done!

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