Skip to main content

Reset Admin Password

In case you forget administrator password and are locked out of the system, you can run below command to reset administrator password (assume OneDev is installed in /opt/onedev)

/opt/onedev/bin/reset-admin-password.(sh|bat) <new-password>

Here <new-password> should be replaced with new password of the administrator