Help with bounce - Sonatype Nexus Repository - Sonatype Community

Help with bounce

post by x.sam.nickerson on Aug 23, 2022

Sam Nickerson

x.sam.nickerson

Aug 2022

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.:

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

Maybe the only way to truly bounce Nexus is to restart the EC2 instance? That doesnt sound right.

1.0k views