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

Unable to update or reinstall sourcetree

Hi,

today I noticed that SourceTree doesn't start. I have seen some suggestions here how to handle that but none of them was working for me.

Now I tried to reinstall SourceTree (deinstall/reboot/newversion). That fails now with the following log ...

2017-06-19 16:48:33> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC
2017-06-19 16:48:33> Program: Starting install, writing to C:\Users\trieck\AppData\Local\SquirrelTemp
2017-06-19 16:48:33> Program: About to install to: C:\Users\trieck\AppData\Local\SourceTree
2017-06-19 16:48:33> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\trieck\AppData\Local\SourceTree\packages\.betaId" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei 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)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
bei System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
bei System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
bei Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2017-06-19 16:48:33> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\trieck\AppData\Local\SourceTree\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei 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)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2017-06-19 16:48:33> CheckForUpdateImpl: Reading RELEASES file from C:\Users\trieck\AppData\Local\SquirrelTemp
2017-06-19 16:48:34> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-06-19 16:48:34> ApplyReleasesImpl: Writing files to app directory: C:\Users\trieck\AppData\Local\SourceTree\app-2.1.2.5
2017-06-19 16:48:37> ApplyReleasesImpl: Squirrel Enabled Apps: []
2017-06-19 16:48:37> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
2017-06-19 16:48:37> ApplyReleasesImpl: About to create shortcuts for SourceTree.exe, rootAppDir C:\Users\trieck\AppData\Local\SourceTree
2017-06-19 16:48:37> ApplyReleasesImpl: Creating shortcut for SourceTree.exe => C:\Users\trieck\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian\SourceTree.lnk
2017-06-19 16:48:37> ApplyReleasesImpl: About to save shortcut: C:\Users\trieck\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian\SourceTree.lnk (target C:\Users\trieck\AppData\Local\SourceTree\Update.exe, workingDir C:\Users\trieck\AppData\Local\SourceTree\app-2.1.2.5, args --processStart "SourceTree.exe")
2017-06-19 16:48:37> ApplyReleasesImpl: Creating shortcut for SourceTree.exe => C:\Users\trieck\Desktop\SourceTree.lnk
2017-06-19 16:48:37> ApplyReleasesImpl: About to save shortcut: C:\Users\trieck\Desktop\SourceTree.lnk (target C:\Users\trieck\AppData\Local\SourceTree\Update.exe, workingDir C:\Users\trieck\AppData\Local\SourceTree\app-2.1.2.5, args --processStart "SourceTree.exe")
2017-06-19 16:48:37> ApplyReleasesImpl: Examining Pin: Ad-Aware Browser.lnk
2017-06-19 16:48:372017-06-19 16:49:20> Program: Starting Squirrel Updater: --install .
2017-06-19 16:49:20> Program: Starting install, writing to C:\Users\trieck\AppData\Local\SquirrelTemp
2017-06-19 16:49:20> Program: About to install to: C:\Users\trieck\AppData\Local\SourceTree
2017-06-19 16:49:20> Program: Install path C:\Users\trieck\AppData\Local\SourceTree already exists, burning it to the ground
2017-06-19 16:49:21> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\trieck\AppData\Local\SourceTree\packages\.betaId" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei 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)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bei System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
bei System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
bei System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
bei System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
bei Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2017-06-19 16:49:21> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\Users\trieck\AppData\Local\SourceTree\packages\RELEASES" konnte nicht gefunden werden.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei 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)
bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
bei Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
bei Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2017-06-19 16:49:21> CheckForUpdateImpl: Reading RELEASES file from C:\Users\trieck\AppData\Local\SquirrelTemp
2017-06-19 16:49:21> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-06-19 16:49:21> ApplyReleasesImpl: Writing files to app directory: C:\Users\trieck\AppData\Local\SourceTree\app-2.1.2.5
2017-06-19 16:49:23> ApplyReleasesImpl: Squirrel Enabled Apps: []
2017-06-19 16:49:23> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
2017-06-19 16:49:23> ApplyReleasesImpl: About to create shortcuts for SourceTree.exe, rootAppDir C:\Users\trieck\AppData\Local\SourceTree
2017-06-19 16:49:23> ApplyReleasesImpl: Creating shortcut for SourceTree.exe => C:\Users\trieck\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian\SourceTree.lnk
2017-06-19 16:49:24> ApplyReleasesImpl: About to save shortcut: C:\Users\trieck\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Atlassian\SourceTree.lnk (target C:\Users\trieck\AppData\Local\SourceTree\Update.exe, workingDir C:\Users\trieck\AppData\Local\SourceTree\app-2.1.2.5, args --processStart "SourceTree.exe")
2017-06-19 16:49:24> ApplyReleasesImpl: Creating shortcut for SourceTree.exe => C:\Users\trieck\Desktop\SourceTree.lnk
2017-06-19 16:49:24> ApplyReleasesImpl: About to save shortcut: C:\Users\trieck\Desktop\SourceTree.lnk (target C:\Users\trieck\AppData\Local\SourceTree\Update.exe, workingDir C:\Users\trieck\AppData\Local\SourceTree\app-2.1.2.5, args --processStart "SourceTree.ex

Does someone has an idea what needs to be done ?

Thanks a lot ...

Thomas

3 answers

0 votes
Ana Retamal Atlassian Team Jun 20, 2017

Hi Thomas! That's a Squirrel installer error rather than a SourceTree error itself. Looking at the log it looks like it's been installed, can you check in %localappdata%\SourceTree\app-{version} ?

Can you also let us know which version of SourceTree and OS are you using?

Regards,

Ana

Hi Ana,

last try was with SourceTree version 2.1.2.5 on Windows 8.1.

best regards

Thomas 

What worked for me was uninstall .Net framework 4.6.2, then install .Net framework 4.7.

Btw I tried to put my log here, but I keep getting this message "Your reply was not accepted. Please check for inappropriate language or spam."

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