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

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?

4 answers

1 vote
Ana Retamal Atlassian Team Oct 02, 2017

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

Ana Retamal Atlassian Team Oct 30, 2017

Glad I could help you! :)

0 votes

.

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

Estimados buen dia intente instalar el SourceTree en mi estacion de trabajo y no me deja el log es el siguiente:

2019-05-28 10:05:08> Program: Starting Squirrel Updater: --install .
2019-05-28 10:05:08> Program: Starting install, writing to C:\Users\wis1\AppData\Local\SquirrelTemp
2019-05-28 10:05:08> Program: About to install to: C:\Users\wis1\AppData\Local\SourceTree
2019-05-28 10:05:09> 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\wis1\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()
2019-05-28 10:05:09> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\wis1\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()
2019-05-28 10:05:09> CheckForUpdateImpl: Reading RELEASES file from C:\Users\wis1\AppData\Local\SquirrelTemp
2019-05-28 10:05:09> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2019-05-28 10:05:09> ApplyReleasesImpl: Writing files to app directory: C:\Users\wis1\AppData\Local\SourceTree\app-3.1.3
2019-05-28 10:05:11> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\wis1\AppData\Local\SourceTree\SourceTree.exe
2019-05-28 10:05:14> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\wis1\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe]
2019-05-28 10:05:22> ApplyReleasesImpl: Starting fixPinnedExecutables
2019-05-28 10:05:22> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2019-05-28 10:05:22> ApplyReleasesImpl: Examining Pin: Microsoft Word 2010.lnk
2019-05-28 10:05:22> ApplyReleasesImpl: Fixing up tray icons
2019-05-28 10:05:22> ApplyReleasesImpl: Failed to delete key: C:\Users\wis1\AppData\Local\SourceTree\SourceTree.exe: System.UnauthorizedAccessException: Cannot write to the registry key.
at System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.EnsureWriteable()
at Microsoft.Win32.RegistryKey.DeleteValue(String name)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass13_1.<unshimOurselves>b__3()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2019-05-28 10:05:22> ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.UnauthorizedAccessException: Cannot write to the registry key.
at System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.EnsureWriteable()
at Microsoft.Win32.RegistryKey.DeleteValue(String name)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass13_1.<unshimOurselves>b__3()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass13_0.<unshimOurselves>b__2(String x)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Squirrel.UpdateManager.ApplyReleasesImpl.<unshimOurselves>b__13_0(RegistryView view)
2019-05-28 10:05:22> ApplyReleasesImpl: Failed to delete key: C:\Users\wis1\AppData\Local\SourceTree\SourceTree.exe: System.UnauthorizedAccessException: Cannot write to the registry key.
at System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.EnsureWriteable()
at Microsoft.Win32.RegistryKey.DeleteValue(String name)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass13_1.<unshimOurselves>b__3()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
2019-05-28 10:05:22> ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.UnauthorizedAccessException: Cannot write to the registry key.
at System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.EnsureWriteable()
at Microsoft.Win32.RegistryKey.DeleteValue(String name)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass13_1.<unshimOurselves>b__3()
at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)
at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass13_0.<unshimOurselves>b__2(String x)
at System.Collections.Generic.List`1.ForEach(Action`1 action)
at Squirrel.UpdateManager.ApplyReleasesImpl.<unshimOurselves>b__13_0(RegistryView view)
2019-05-28 10:05:22> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3
2019-05-28 10:05:22> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3

Se realizó lo siguiente: Borrar Las carpetas en el LOCAL APPDATA, se reistaló cómo Administrador su gentíl ayuda a solucinarme mi inconveniente.

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,989 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