Nexus updated from 3.14 to 3.18 stuck in setup wizard

On page 2 of 3 of the setup wizard, the “Please choose a password for the admin user” dialog. After I enter and the confirm password, when I click next, I got a “Danger” box with “Uncaught ReferenceError: response is not defined (”

Hi, can definitely see the bug in the code that you are referencing here, when an error comes back from the server on the change admin password request, the error handling in the UI is itself failing, i’d be curious to see what the initial error is, if anything gives clues in the nexus.log or request.log. Could you please open up a ticket at in the ‘Dev - Nexus Repo (NEXUS)’ project, with those files attached, and any other pertinent details.

In the meantime, can also use the rest api to set this password, if you are currently blocked, i.e.

send a PUT request to http://localhost:8081/service/rest/beta/security/users/admin/change-password using your admin user credentials (as listed in the file in your (basedir)/sonatype-work/nexus3/admin.password file) for authentication, and passing in the new password in the body of the request

Hope that helps,


Just to clarify, the credentials from admin.password file would only apply for new installs, as this is an upgrade, can ignore that part, so just enter the admin user’s current credentials as the authentication params for the request.

I didn’t post the original message but got the error too and open an issue, see