Not able to sign in to sourcetree. Edited

Not able to sign in to sourcetree. It shows some kind of white screen when I try to login.

1 answer

0 vote

Hi Yashu, this issue was reported in our bug tracker at  SRCTREEWIN-7244. It was fixed already, but if you haven't upgraded yet you can use the following workaround:

From a working install collect the accounts.json and passwd files.

Delete the Atlassian folder from the AppData/Local directory for your user. Run the installer for 2.3.1, close it when you get the blank login window. Place the account.json and passwd files into the Atlassian/SourceTree folder. Rerun the installer. It should detect the account and password from those files and bypass the request for a login.

Note that in order to be in compliance with the Atlassian EULA you must ensure the email address used in the file is valid, yours and associated with a valid Atlassian account.

For the future keep in mind that if you do a search within the Atlassian Community first you might be able to find the solution to your problem much faster, as it might have already been asked. This question for example has been asked in the Community repeatedly :)

Let us know if you need any further assistance!

Cheers,

Ana

Yes. I did read the question, already created on the Atlassian community, but I didn't find the question, which solves my problem.

So that's why I raised a new question. By the way, what to write in account.json file.

Hi Yashu, you can find an example in this comment.

Let us know if it worked for you!

Best regards,

Ana

I have done creating two files accounts.json and passwd, but nothing happening.

 

When I click on "Use an Existing Account"

Capture.PNG

and when I click on "Go to my Atlassian". It opens up this page

Capture.PNG

Have you set them to the right location? Make sure that the accounts.json file is located at:

Users/yourUser/AppData/Local/SourceTree.

Follow the steps as below:

  1. Delete the Atlassian folder from the AppData/Local directory for your user. 
  2. Run the installer for and close it when you get the blank login window. 
  3. Place the account.json and passwd files into the Atlassian/SourceTree folder. 
  4. Rerun the installer. 
  5. Sourcetree should detect the account and password from those files and bypass the request for  a login.

If this doesn't work, you'll need to check the following:

  • make compatibility changes to IE (manual)
  • set IE to default internet browser
  • Proceed with a clean install:
    1. Wipe Sourcetree preferences.
    2. Uninstall Sourcetree.
    3. Navigate to C:\Users\<UserName>\AppData\Local and delete Sourcetree & Sourcetree-Settings folder and Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all Sourcetree Files/ folder.
    4. Download SourceTree and install it.

If after these steps you're still having trouble, let us know which Sourcetree and OS version are you using, your Internet Explorer version, and if you're in any kind of unusual environment (corporate , behind a proxy, etc)

 

Regards!

Ana

Capture.PNG

When tried running in internet explorer.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

572 views 1 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you