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 2.5.5 not Launching, Windows 10

Hi,

After updating to last version of SourceTree (to 2.5.5) the application is not launching.  I have tested some of the solutions from similar post in this forum with not luck. Even unistall and re-install, reboot, etc...

 

I think that there is problem with installation. It´s seem that the issue has to do do with ".betaId" file, here is the log from SquirrelSetup

 

2018-05-15 19:25:37> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso 'C:\Users\Usuario\AppData\Local\SourceTree\packages\.betaId'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
en System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
en System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
en System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
en System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
en Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2018-05-15 19:25:37> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso 'C:\Users\Usuario\AppData\Local\SourceTree\packages\RELEASES'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
en Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
en Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2018-05-15 19:25:37> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Usuario\AppData\Local\SquirrelTemp
2018-05-15 19:25:37> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2018-05-15 19:25:37> ApplyReleasesImpl: Writing files to app directory: C:\Users\Usuario\AppData\Local\SourceTree\app-2.5.5
2018-05-15 19:25:38> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\Usuario\AppData\Local\SourceTree\SourceTree.exe
2018-05-15 19:25:38> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Usuario\AppData\Local\SourceTree\app-2.5.5\SourceTree.exe]
2018-05-15 19:25:40> ApplyReleasesImpl: Starting fixPinnedExecutables
2018-05-15 19:25:40> ApplyReleasesImpl: Fixing up tray icons
2018-05-15 19:25:40> ApplyReleasesImpl: cleanDeadVersions: for version 2.5.5
2018-05-15 19:25:40> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-2.5.5
2018-05-15 19:29:55> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC
2018-05-15 19:29:55> Program: Starting install, writing to C:\Users\Usuario\AppData\Local\SquirrelTemp
2018-05-15 19:29:55> Program: About to install to: C:\Users\Usuario\AppData\Local\SourceTree
2018-05-15 19:29:55> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso 'C:\Users\Usuario\AppData\Local\SourceTree\packages\.betaId'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
en System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
en System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
en System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
en System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
en Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2018-05-15 19:29:55> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: No se puede encontrar una parte de la ruta de acceso 'C:\Users\Usuario\AppData\Local\SourceTree\packages\RELEASES'.
en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
en 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)
en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
en Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
en Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2018-05-15 19:29:55> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Usuario\AppData\Local\SquirrelTemp
2018-05-15 19:29:55> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2018-05-15 19:29:55> ApplyReleasesImpl: Writing files to app directory: C:\Users\Usuario\AppData\Local\SourceTree\app-2.5.5
2018-05-15 19:29:56> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\Usuario\AppData\Local\SourceTree\SourceTree.exe
2018-05-15 19:29:56> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Usuario\AppData\Local\SourceTree\app-2.5.5\SourceTree.exe]
2018-05-15 19:29:57> ApplyReleasesImpl: Starting fixPinnedExecutables
2018-05-15 19:29:57> ApplyReleasesImpl: Fixing up tray icons
2018-05-15 19:29:57> ApplyReleasesImpl: cleanDeadVersions: for version 2.5.5
2018-05-15 19:29:57> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-2.5.5

 

Any solution for this?

 

Thanks in advance !

David

 

 

 

 

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
minnsey Atlassian Team May 16, 2018

Hi

That error should not effect running Sourcetree.

Can you confirm if Sourcetree has installed in to the %localappdata%\Sourcetree folder?

It should contain a Sourcetree.exe file in that folder, actually a shortcut, and then in an %localappdata%\Sourcetree\app-2.5.5 the main installation.

What actually happens if you try to run %localappdata%\Sourcetree\app-2.5.5\Sourcetree.exe?

If Sourcetree cannot start at all there should be an entry in the Event Viewer, if Sourcetree can start but fails to successfully initialize there should be something in %localappdata%\Atlassian\Sourcetree\Sourcetree.log




Hi Michael,

After cleaning local folders, reboot and reinstall the application finally works.

Many thanks for your support on this 

 

Best 

David

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