New to Nexus, and the company purchased a Pro license. The license is now applied, but requires a bounce. There is no bounce button in the Admin console, and I read that the only way is thru the lifecycle API, which doesnt work. Need a spot of help.
The call I put together is:
curl -v -u admin:fakepass -X PUT “https:/company.com/service/rest/v1/lifecycle/bounce” -H “accept: application/json” -H “Content-Type: text/plain” -d “TASKS”
Which seems to work and the verbose output seems to say ok, but the service never bounced.:
- Using Stream ID: 1 (easy handle 0x7fd45780ce00)
PUT /service/rest/v1/lifecycle/bounce HTTP/2
Host: company.com
authorization: Basic YWRtaW46OTk5Njg2ZjMtNmQ4ZS00ZjVlLWJhZjYtMmQ1ZmRiZTliZTEwYWY5NDY2YWYtOWMyMi00N2ZlLWJhMzAtOTkwNmFlMjdhNzA3
user-agent: curl/7.79.1
accept: application/json
content-type: text/plain
content-length: 5
- Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
- We are completely uploaded and fine
Maybe the only way to truly bounce Nexus is to restart the EC2 instance? That doesnt sound right.