Unable to upgrade X-Pack license

Hello,

I have been using 30 days trial for X-Pack, which now has expired. I have registered and downloaded the Basic License and tried to upgrade it through license API (like in the Docs), but I encountered a problem. The license does not get updated due to error:

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"failed to parse license source"}],"type":"illegal_argument_exception","reason":"failed to parse license source","caused_by":{"type":"json_parse_exception","reason":"Unrecognized token 'patricija': was expecting ('true', 'false' or 'null')\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@a011e6; line: 1, column: 11]"}},"statPatricijasPatriPatricijasPatricijasPatriPatriPatricijasPatriPatricijasPatricijasPatriPatricijasPatricijasPatriPatricijasPatriPatriPatricijasPatricijasPatricijas-MacBPatricijas-MacBook-Air:DoPatricijas-MacBook-APatricijas-MacBook-APatricijas-MacBook-APatricijas-MacBPatriPatricijasPatriPatricijasPatricijasPatricijas-MacBPatricijas-MacBPatricijasPatricijasPatricijasPatricijasPatricijasPatricijasPatriPatriPatriPatricijasPatricijas-MacBPatricijas-MacBPatricijasPatricijas-MacBook-Air:DoPatricijas-MacBook-APatricijas-MacBook-APatricijasPatricijasPatricijasPatricijasPatriPatricijas-MacBPatricijas-MacBook-APatricijas-MacBook-APatricijas-MacBook-APatricijasPatricijasPatriPatriPatriPatricijasPatricijas-MacBPatricijas-MacBPatricijas-MacBPatricijasPatricijasPatricijasPatriPatri

I am quite confused about what is going on here :confused:

2 Likes

What command did you use to upgrade the license?

I have used the one from the Docs:

curl -XPUT -u elastic 'http://localhost:9200/_xpack/license' -H "Content-Type: application/json" -d license_name.json

In order to send the contents off the file, the file name need to be preceded by a @: -d @license_name.json

Thank you!

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