Object Storage

Configure Storagegrid via JSON

Fabian1993
3,542 Views

Connecting to https://XXX.XXX.XXX.XXX ("primary-admin-api-address" from config.json)
Connection verified (received 200)
2020/10/01 12:37:02: Performing PUT on grid-details... Received 422
Error: Received unexpected return code from the API: 422
Validation failed. Please check the values you entered for errors.
License is invalid.

 

I downloaded the License from the Portal. The File is a txt File. I copied the Signature String, but this won't work..

 Expecting "grid-details": {"license": } to be a string.

"grid-details": {
"name": "StorageGRID Deployment",
"license": "<Base64 encoded license text here>"

1 ACCEPTED SOLUTION

elementx
3,516 Views

> The File is a txt File. I copied the Signature String, but this won't work..

 

> "license": "<Base64 encoded license text here>"

 

Like the error says, the value must be a base64-encoded license string. Take your license string (I don't know if that is "Signature String", I've only ever used the free license included in SG archive package) and use your Google Fu to find how to convert it to Base64 (best to do that offline rather than use any online Web service).

View solution in original post

2 REPLIES 2

elementx
3,517 Views

> The File is a txt File. I copied the Signature String, but this won't work..

 

> "license": "<Base64 encoded license text here>"

 

Like the error says, the value must be a base64-encoded license string. Take your license string (I don't know if that is "Signature String", I've only ever used the free license included in SG archive package) and use your Google Fu to find how to convert it to Base64 (best to do that offline rather than use any online Web service).

Fabian1993
3,490 Views

more complicated that we thought..

Linux as an embedded Base64 encoder. Just base64 license.txt and you got it 😁

Public