Manual activation of license on package-based Instana backend

Applicable on package-based installations, concluding with version 164.

In case you see this from UI when clicking on the LICENSE tab:

mceclip0.png

And clicking on "Activate license", you are getting this:

HTTP ERROR 404 Not Found
URI:    /onprem/license
STATUS:    404
MESSAGE:    Not Found
SERVLET:    jersey

 

Steps to activate the license manually:

1. Download the license using:

wget "https://instana.io/onprem/license/download?salesId={License id}" -O license.txt   

​- PLEASE NOTE that you need to replace {License id} with the ID of your license.

2. Activate the license:

curl --request POST 'http://localhost:8280/license' --data '{the content of the license.txt}' --header 'Content-Type:text/plain'

- PLEASE NOTE that you need to replace {the content of the license.txt} with the content of the downloaded file.

OR try with PUT

curl --request PUT 'http://localhost:8280/license' --data '{the content of the license.txt}' --header 'Content-Type:text/plain' 

 

Have more questions? Submit a request

Comments