It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree requires registration at launch every time and crashes when closing

My SourceTree is requiring me to go through the registration process every time I launch it, it also crashes when I close the application.

Not sure if there are settings to avoid the registration process every time or if the crashing is just a known bug.

Version: 3.0.17

 

1 answer

1 accepted

2 votes
Answer accepted
minnsey Atlassian Team Feb 18, 2019

Hi

Sourcetree should not be re-running the registration process on every re-start.

Can I check a couple of things. Where are you running Sourcetree from? It should essentially be by running %localappdata%/Sourcetree/Sourcetree.exe. 

After you run the registration process it should create a file %localappdata%/Atlassian/Sourcetree/accounts.json, this should include details, not passwords, of the registration account. Does that exist?

Additionally Sourcetree should update two settings in the %localappdata%/Atlassian/Sourcetree.exe_url_{hash}/3.0.17/user.config

AgreedToEULA = true
AgreedToEULAVersion = 20160201

If both the accounts.json and the 2 user.config settings are there, then the welcome wizard should not run again 

So my accounts.json has details however I have three different %localappdata%/Atlassian/Sourcetree.exe_url_{hash}/3.0.17/user.config files and none of them have these as settings. Is this something i should add to all three or just the 3.17.2659 user.config?

I'm guessing they will also be strings?

AgreedToEULA = true
AgreedToEULAVersion = 20160201

minnsey Atlassian Team Feb 19, 2019

Hmm they should be written automatically and there should only be one per Sourcetree version.

However the simplest way would be to delete all the %localappdata%/Atlassian/Sourcetree.exe_url_{hash} folders then Sourcetree it will recreate the missing folder and then there will only be one user.config

They would need to be set in the following format

<setting name="AgreedToEULA" serializeAs="String">
<value>True</value>
</setting>
<setting name="AgreedToEULAVersion" serializeAs="String">
<value>20160201</value>
</setting>

Hey Michael,

 

Just had time to try this and it worked perfectly!!! Thank you so much for the help

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,910 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you