Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,275
Community Members
 
Community Events
176
Community Groups

Where is the default username stored? (crashed on launch)

Edited

This issue has been posted before, and I've read the answers, which aren't working for me.

I was trying to set up Sourcetree for the first time, and fumbling around a little bit. I went to relaunch it and ever since, it has crashed on launch with the typical:

> Insufficient authentication credentials

> Failed to list teams for user [<wrong username>]

There is nothing in Windows Credential Manager for that, specifically. If I use Git CLI and put in my working credentials, they are saved in Windows Credential Manager, and I can remove them, but this doesn't affect Sourcetree.

I have completely wiped out C:\Users\<username>\AppData\Local\Atlassian\ and that did not help.

I have searched all of the Windows Registry Keys for "Sourcetree" and "Git" and found no reference to my wrong username.

Where is it hiding this saved username?

EDIT WITH ANSWER:

C:\Users\<yourname>\AppData\Roaming\Atlassian\SourceTree\accounts.json

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg Community Leader Aug 28, 2020

Hi @jeff.posey,

Welcome to Atlassian Community!

Sourcetee have three directories under AppData\Local. Besides the Atlassian one you should have a sourctree-settings and sourcetree. Remove those too and then reinstall Sourcetree and see if that helps.

P.S. I moved your question into the right collection.

Thank you Mikael.

I found the Sourcetree directory that is a sibling of the Atlassian one under Local. I did not find a "sourctree-settings" or "sourcetree-settings" directory or anything like that.

So I kept looking. I just found it. It's under "Roaming" and the file that has the bad username is called "accounts.json".

So it looks like removing the directories under Roaming seems to do the trick!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events