Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Source tree application doesn't open on Windows machine

I have tried re-installing it thrice in the past week. It works fine after the installation but after I close the app and try to open it again then it never opens up.

1 answer

2 votes

Hi @Aayush Chachan ,

I had the same problem in the past and it was caused by user.config file.

Try to delete C:\Users\<username>\AppData\Local\Atlassian\SourceTree.exe<random_string>\<version_number>\user.config file and restart SourceTree.

Hope this helps,


Thanks @Fabio Racobaldo _Herzum_ for replying to question. But this didn't help.

Hi @Aayush Chachan , please provide your SourceTree version in order to check if there's some bug.

@Fabio Racobaldo _Herzum_ When I posted this question I was using 3.4.1 but today I installed 3.4.5
And I am observing the same issue in the latest version too.

Hi @Aayush Chachan ,

try to perform a new clean installation. The steps are as follows:

  1. Wipe SourceTree preferences
  2. Uninstall SourceTree (if it shows on the App&Features list)
  3. Backup then delete the directory below before proceeding with next step
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree & SourceTree-Settings folder
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree Files/Folder.
  4. Download SourceTree and install it.

Let me know if it helped.


@Fabio Racobaldo _Herzum_ ,

I followed all the steps mentioned by you but still no luck.

@Aayush Chachan , could you check C:\Users\<username>\AppData\Local\Atlassian\SourceTree\sourcetree.log file in order to figure out your current issue?

@Fabio Racobaldo _Herzum_ ,

Sourcetree.log file data:

2021-11-29T20:07:30: LogHost: Initializing to normal mode
ERROR [2021-11-29 20:08:41,107] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent


That's all

@Fabio Racobaldo _Herzum_ ,

I observed one more file: "<some_string>sourcetree.log" which get created every time I try to open sourcetree app.

The content of that file is like:

2021-11-29T20:20:46: LogHost: Initializing to normal mode
2021-11-29T20:20:48: LogHost: SuppressChangeNotifications was called (perhaps via AddRange), yet you do not
2021-11-29T20:20:48: LogHost: have a subscription to ShouldReset. This probably isn't what you want, as ItemsAdded
2021-11-29T20:20:48: LogHost: and friends will appear to 'miss' items
2021-11-29T20:20:48: Could not obtain git dir, is not a git repo.

Based on this thread it seems that there's a corrupted file in your repo

Try that approach.



Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,237 views 5 14
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