SouceTree doesn't start

So I installed SourceTree on my Windows 10 PC and I wanted to start it, but for some reason it doesn't start. When I try to start it, it appears in the task manager for like 3 seconds then it just disappears. I tried to start it as admin and reinstalled it but it sill doesn't work. How can I fix this?

3 answers

1 vote

Hi Markus! This is a known issue, they were talking about it on this thread. To solve it, please navigate to the config file location (C:\Users\{USERNAME}\AppData\Local\Atlassian\SourceTree.exe_{RANDOM_GUID}\2.3.1.0\user.config) and find the following line:

<setting name="AutomaticallyCleanUpDictionaryFiles" serializeAs="String"> <value>True</value> </setting>

Make sure that value is set to True.

Let us know if that worked for you! If it doesn’t, please send us the log so we can have a look.

Cheers,

Ana

Thank you, that worked, it wasn't in the file, so I added it, now SourceTree is working

Thank you, that worked, it wasn't in the file, so I added it, now SourceTree is working

Glad I could help you! :)

Edite: this is not an answer.

Windows 10: I am having the same issue.  I have added the AutomaticallyCleanUpDictionaryFiles setting to my existing installation without success.  I uninstalled and deleted my Atlassian, SourceTree, and Squirrel folder from my AppData/Local folder, I even deleted all registry keys and values that are related to SourceTree.exe, and attempted to install, no success.  The installer will display the little blue SourceTree window for a few seconds before disappearing, the AppData/Local folders get created, but still without success.  Below are the latest entries in my SquirrelSetup.log file running the setup file as Administrator, any help would be greatly appreciated.

2017-10-02 10:35:43> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC
2017-10-02 10:35:43> Program: Starting install, writing to C:\Users\john\AppData\Local\SquirrelTemp
2017-10-02 10:35:43> Program: About to install to: C:\Users\john\AppData\Local\SourceTree
2017-10-02 10:35:43> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\john\AppData\Local\SourceTree\packages\.betaId'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2017-10-02 10:35:43> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\john\AppData\Local\SourceTree\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2017-10-02 10:35:43> CheckForUpdateImpl: Reading RELEASES file from C:\Users\john\AppData\Local\SquirrelTemp
2017-10-02 10:35:43> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-10-02 10:35:43> ApplyReleasesImpl: Writing files to app directory: C:\Users\john\AppData\Local\SourceTree\app-2.3.1
2017-10-02 10:35:44> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\john\AppData\Local\SourceTree\SourceTree.exe
2017-10-02 10:35:44> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\john\AppData\Local\SourceTree\app-2.3.1\SourceTree.exe]
2017-10-02 10:35:50> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-10-02 10:35:50> ApplyReleasesImpl: Examining Pin: Chrome App Launcher.lnk
2017-10-02 10:35:50> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2017-10-02 10:35:50> ApplyReleasesImpl: Fixing up tray icons
2017-10-02 10:35:50> ApplyReleasesImpl: cleanDeadVersions: for version 2.3.1
2017-10-02 10:35:50> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-2.3.1

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot