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

SourceTree requires registration at launch every time and crashes when closing

jaredhughestsd February 13, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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 

jaredhughestsd February 19, 2019

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
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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>

jaredhughestsd April 8, 2019

Hey Michael,

 

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

Like Heikki Leivo likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events