How do I restore my root password?

To restore the password for the root account, run YouTrack with the -Djetbrains.charisma.restoreRootPassword=true JVM option. For example:

java -Djetbrains.charisma.restoreRootPassword=true -jar youtrack-6.0.jar 8080

When YouTrack starts, the root user password and permissions are reset to their default values. You can then log in with the default credentials (root/root) and set a new password for the account.

The exact procedure for restoring the root account varies by installation type. For details, see Change or Restore Password and Permissions for Root.

2 comments

Tried this on youtrack-6.5.16433.msi, had no effect. Searching HDD for youtrack.jvmoptions and potentially related conf/ folders or youtrack.jvmoptions.dist, in order to apply the above JVM option, found multiple, none had the effect of resetting the root password:

C:\YouTrack\conf\youtrack.jvmoptions
C:\ProgramData\JetBrains\YouTrack\conf\youtrack.jvmoptions
C:\ProgramData\JetBrains\YouTrack\conf\youtrack\youtrack.jvmoptions

0

For msi distribution the vmoptions from 'C:/ProgramData/JetBrains/YouTrack/conf' should work. If the issue is still relevant, please let me know, what was the exact line that you've added?

0

Please sign in to leave a comment.

Have more questions?

Submit a request