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

This widget could not be displayed.

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

This widget could not be displayed.

Hi Ana,

last try was with SourceTree version 2.1.2.5 on Windows 8.1.

best regards

Thomas 

This widget could not be displayed.

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
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

870 views 2 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