sourcetree installation has failed
Asked by mi_Ani:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/91643iA515E72A68A05B60/image-size/large?v=v2&px=999 "image.png")  

<br />

2019-09-06 16:54:44\> Program: Starting Squirrel Updater: --install .  
2019-09-06 16:54:44\> Program: Starting install, writing to C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 16:54:44\> Program: About to install to: C:\\Users\\Administrator\\AppData\\Local\\SourceTree  
2019-09-06 16:54:44\> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\.betaId"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)  
? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)  
? System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)  
? System.IO.File.WriteAllText(String path, String contents, Encoding encoding)  
? Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()  
2019-09-06 16:54:44\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\RELEASES"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
? Squirrel.Utility.LoadLocalReleases(String localReleaseFile)  
? Squirrel.UpdateManager.CheckForUpdateImpl.\<CheckForUpdate\>d__2.MoveNext()  
2019-09-06 16:54:44\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 16:54:44\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2019-09-06 16:54:45\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3  
2019-09-06 16:54:45\> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\SourceTree.exe  
2019-09-06 16:54:46\> ApplyReleasesImpl: Squirrel Enabled Apps: \[C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3\\SourceTree.exe\]  
2019-09-06 16:55:03\> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3\\SourceTree.exe: System.OperationCanceledException: ???????  
? System.Threading.CancellationToken.ThrowOperationCanceledException()  
? Squirrel.Utility.\<\>c__DisplayClass11_0.\<InvokeProcessAsync\>b__0()  
? System.Threading.Tasks.Task.InnerInvoke()  
? System.Threading.Tasks.Task.Execute()  
--- ????????????????? ---  
? System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
? System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
? Squirrel.Utility.\<InvokeProcessAsync\>d__11.MoveNext()  
--- ????????????????? ---  
? System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
? System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
? Squirrel.UpdateManager.ApplyReleasesImpl.\<\>c__DisplayClass10_0.\<\<invokePostInstall\>b__0\>d.MoveNext()  
2019-09-06 16:55:03\> ApplyReleasesImpl: Starting fixPinnedExecutables  
2019-09-06 16:55:03\> ApplyReleasesImpl: Examining Pin: eclipse.lnk  
2019-09-06 16:55:03\> ApplyReleasesImpl: Examining Pin: SQL Server Management Studio.lnk  

2019-09-06 16:55:03\> ApplyReleasesImpl: Fixing up tray icons  
2019-09-06 16:55:03\> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3  
2019-09-06 16:55:03\> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3  
2019-09-06 16:55:22\> Program: Starting Squirrel Updater: --install .  
2019-09-06 16:55:22\> Program: Starting install, writing to C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 16:55:22\> Program: About to install to: C:\\Users\\Administrator\\AppData\\Local\\SourceTree  
2019-09-06 16:55:22\> Program: Install path C:\\Users\\Administrator\\AppData\\Local\\SourceTree already exists, burning it to the ground  
2019-09-06 16:55:23\> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\.betaId"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)  
? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)  
? System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)  
? System.IO.File.WriteAllText(String path, String contents, Encoding encoding)  
? Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()  
2019-09-06 16:55:23\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\RELEASES"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
? Squirrel.Utility.LoadLocalReleases(String localReleaseFile)  
? Squirrel.UpdateManager.CheckForUpdateImpl.\<CheckForUpdate\>d__2.MoveNext()  
2019-09-06 16:55:23\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 16:55:23\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2019-09-06 16:55:23\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3  
2019-09-06 16:55:27\> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\SourceTree.exe  
2019-09-06 16:55:29\> ApplyReleasesImpl: Squirrel Enabled Apps: \[C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3\\SourceTree.exe\]  
2019-09-06 16:55:45\> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3\\SourceTree.exe: System.OperationCanceledException: ???????  
? System.Threading.CancellationToken.ThrowOperationCanceledException()  
? Squirrel.Utility.\<\>c__DisplayClass11_0.\<InvokeProcessAsync\>b__0()  
? System.Threading.Tasks.Task.InnerInvoke()  
? System.Threading.Tasks.Task.Execute()  
--- ????????????????? ---  
? System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
? System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
? Squirrel.Utility.\<InvokeProcessAsync\>d__11.MoveNext()  
--- ????????????????? ---  
? System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)  
? System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)  
? Squirrel.UpdateManager.ApplyReleasesImpl.\<\>c__DisplayClass10_0.\<\<invokePostInstall\>b__0\>d.MoveNext()  
2019-09-06 16:55:46\> ApplyReleasesImpl: Fixing up tray icons  
2019-09-06 16:55:46\> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3  
2019-09-06 16:55:46\> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3  
2019-09-06 17:05:30\> Program: Starting Squirrel Updater: --install .  
2019-09-06 17:05:31\> Program: Starting install, writing to C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 17:05:31\> Program: About to install to: C:\\Users\\Administrator\\AppData\\Local\\SourceTree  
2019-09-06 17:05:31\> Program: Install path C:\\Users\\Administrator\\AppData\\Local\\SourceTree already exists, burning it to the ground  
2019-09-06 17:05:31\> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\.betaId"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)  
? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)  
? System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)  
? System.IO.File.WriteAllText(String path, String contents, Encoding encoding)  
? Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()  
2019-09-06 17:05:31\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\RELEASES"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
? Squirrel.Utility.LoadLocalReleases(String localReleaseFile)  
? Squirrel.UpdateManager.CheckForUpdateImpl.\<CheckForUpdate\>d__2.MoveNext()  
2019-09-06 17:05:31\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 17:05:31\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2019-09-06 17:05:31\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3  
2019-09-06 17:05:33\> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\SourceTree.exe  
2019-09-06 17:05:33\> ApplyReleasesImpl: Squirrel Enabled Apps: \[C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3\\SourceTree.exe\]  

2019-09-06 17:05:38\> ApplyReleasesImpl: Fixing up tray icons  
2019-09-06 17:05:38\> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3  
2019-09-06 17:05:38\> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3  
2019-09-06 17:10:47\> Program: Starting Squirrel Updater: --install .  
2019-09-06 17:10:48\> Program: Starting install, writing to C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 17:10:48\> Program: About to install to: C:\\Users\\Administrator\\AppData\\Local\\SourceTree  
2019-09-06 17:10:48\> Program: Install path C:\\Users\\Administrator\\AppData\\Local\\SourceTree already exists, burning it to the ground  
2019-09-06 17:10:49\> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\.betaId"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)  
? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)  
? System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)  
? System.IO.File.WriteAllText(String path, String contents, Encoding encoding)  
? Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()  
2019-09-06 17:10:49\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\RELEASES"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
? Squirrel.Utility.LoadLocalReleases(String localReleaseFile)  
? Squirrel.UpdateManager.CheckForUpdateImpl.\<CheckForUpdate\>d__2.MoveNext()  
2019-09-06 17:10:49\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-06 17:10:49\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2019-09-06 17:10:49\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3  
2019-09-06 17:10:50\> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\SourceTree.exe  
2019-09-06 17:10:50\> ApplyReleasesImpl: Squirrel Enabled Apps: \[C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\app-3.1.3\\SourceTree.exe\]  
2019-09-06 17:11:02\> ApplyReleasesImpl: Starting fixPinnedExecutables  
2019-09-06 17:11:02\> ApplyReleasesImpl: Examining Pin: eclipse.lnk  
2019-09-06 17:11:02\> ApplyReleasesImpl: Examining Pin: SQL Server Management Studio.lnk  

2019-09-06 17:11:02\> ApplyReleasesImpl: Fixing up tray icons  
2019-09-06 17:11:02\> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3  
2019-09-06 17:11:02\> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3  
2019-09-25 10:59:45\> Program: Starting Squirrel Updater: --install .  
2019-09-25 10:59:45\> Program: Starting install, writing to C:\\Users\\Administrator\\AppData\\Local\\SquirrelTemp  
2019-09-25 10:59:45\> Program: About to install to: C:\\Users\\Administrator\\AppData\\Local\\SourceTree  
2019-09-25 10:59:45\> Program: Install path C:\\Users\\Administrator\\AppData\\Local\\SourceTree already exists, burning it to the ground  
2019-09-25 10:59:46\> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\.betaId"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
? System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)  
? System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)  
? System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)  
? System.IO.File.WriteAllText(String path, String contents, Encoding encoding)  
? Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()  
2019-09-25 10:59:46\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: ??????"C:\\Users\\Administrator\\AppData\\Local\\SourceTree\\packages\\RELEASES"?????  
? System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)  
? 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)  
? System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)  
..................  


Answers:
author: rachidis
body: i'm having the same error. did you solve yours?