How do I restore my root password?

To restore root password, 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 will be reset to default values. Log in with the default credentials (root/root) and then set the new root password.

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