You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Attlasian,
My source tree did not start in my windows 10 local and so I troubleshooted by deleting the attlasian folder in the ......./Local/AppData directory,uninstalled sourcetree and then I tried installing the Sourcetree again but while installing the source tree icons visible for 10 seconds and the application does not start,I have tried multiple versions but could not start my sourcetree application
In my Source tree folder(Local\Atlassian\SourceTree) I am only having
analytics_gas_upload Folder and
sourctree.log file which is empty
Solutions are appreciated.
For me SourceTree didn't start after an update. I looked into the %AppData/Local/SourceTree folder and tried running SourceTree.exe and Update.exe, and then again as admin. Every time it didn't work.
I saw I had two folders, app-3.4.9 and app-3.4.10. The second folder was empty. I deleted it, and suddenly SourceTree worked again. I think it was a faulty update, but I'm not sure.
Yeah, I did the same thing and then it worked. This isn't the first time I've had trouble on an update with this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exact same scenario and solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ran into same problem, proposed solution saved the day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same for me, but with 3.4.11 folder .. Seems to be a bug ..?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved my issue! Removing the folder "app-3.4.11" fixed it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solved my issue as well, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This fix worked for me, thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This fix worked for me too.
I believe the problem is caused by a failed update. Running the update 3.4.11 from the yellow flag top left in window fails with:
Method not found: 'Void SharpCompress.Readers.IReaderExtensions.WriteEntryToFile(SharpCompress.Readers.IReader, System.String, SharpCompress.Readers.ExtractionOptions)'.
Then Sourcetree fails to launch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Sourcetree, the application, installs in the to %localappdata%/Sourcetree folder, its configuration files go in %localappdata%/Atlassian/Sourcetree.
inside %localappdata%/Sourcetree there should be a Sourcetree.exe and a versioned folder like app-3.0.17.
The Sourcetree.exe is actually a wrapper to the real .exe which is app-3.0.17/Sourcetree.exe.
Can you try running each of the two Sourcetree.exe files?
If neither work can you provide any Event Viewer errors or probably more useful is anything in the %locaappdata%/Atlassian/Sourcetree/Sourcetree.log ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
None of this works and also my sourcetree.log file is empty
Actually what I did was before uninstalling, I deleted the atlassian folder in my %localappdata% and tried installing again.
Now while installing the source tree icon is visible for 10 seconds and does not start after that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does the %localappdata%/Sourcetree folder exist?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So there are Sourcetree.exe files, but double clicking them appears to do nothing and there is nothing in the Event Viewer or in the %locaappdata%/Atlassian/Sourcetree/Sourcetree.log ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To be honest I'm not sure what to suggest.
When you do try starting Sourcetree.exe can you confirm that it is not running in the Task Viewer? Just in case it is running but is off screen etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@minnsey I got these logs while installing the sourcetree .
CheckForUpdateImpl: Reading RELEASES file from .......\AppData\Local\SquirrelTemp
CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
ApplyReleasesImpl: Writing files to app directory: ..........\AppData\Local\SourceTree\app-2.3.1
LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to ........\AppData\Local\SourceTree\SourceTree.exe
ApplyReleasesImpl: Squirrel Enabled Apps: [........\AppData\Local\SourceTree\app-2.3.1\SourceTree.exe]
ApplyReleasesImpl: Starting fixPinnedExecutables
ApplyReleasesImpl: Examining Pin: Command Prompt.lnk
ApplyReleasesImpl: Examining Pin: File Explorer.lnk
ApplyReleasesImpl: Examining Pin: Google Chrome.lnk
ApplyReleasesImpl: Fixing up tray icons
ApplyReleasesImpl: cleanDeadVersions: for version 2.3.1
ApplyReleasesImpl: cleanDeadVersions: exclude folder app-2.3.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That all looks fine.
Can you check permissions on the folder, we have seen odd behavior occasionally because of that, but because it installs into your user folder it is unlikely.
Can you also try the latest 3.0.17 installer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
These are the logs while I tried installing sourcetree
3.0.17.
Program: Starting Squirrel Updater: --install .
Program: Starting install, writing to .....\AppData\Local\SquirrelTemp
Program: About to install to: .....\AppData\Local\SourceTree
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 '.......\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()
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path '.......\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()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Unfortunately they aren't really errors, just over enthusiastic logging by Squirrel.Windows that essentially must indicates it hasn't found a previous install.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@minnsey I found few logs in my event viewer,is there anything you could do with this.
Log 1:
Faulting application name: SourceTree.exe, version: 2.3.5.0, time stamp: 0x59d5304e
Faulting module name: KERNELBASE.dll, version: 10.0.17134.753, time stamp: 0xcdfe5b92
Exception code: 0xe0434352
Fault offset: 0x000000000003a388
Faulting process id: 0x1f00
Faulting application start time: 0x01d519e80c94162c
Faulting application path: ........\AppData\Local\SourceTree\app-2.3.5\SourceTree.exe
Faulting module path: ...\Windows\System32\KERNELBASE.dll
Report Id: 333104cd-04f9-4673-ae49-768fba6a954a
Faulting package full name:
Faulting package-relative application ID:
Log 2:
Application: SourceTree.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Management.ManagementException
at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus)
at System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext()
at SourceTree.Utils.WindowsOSHelper.GetWindowsVersion()
at SourceTree.App..ctor()
at SourceTree.App.Main()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, my starting assumption would be there is an issue with the .NET installation.
Can you try re-installing .NET 4.7.2 and updating Sourcetree to 3.1.3 or higher?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@minnsey Hello, I know it's a bit too late but just wanted to let you know that I had an identical problem and neither reinstalling Sourcetree or .NET fixed it.
Finally it turns out the problem was I had the Windows Management Instrumentation service stopped and disabled. Restarting that service solved it.
Maybe you could change something so at least it gives a little more of info when this happens, because currently to find the cause is quite hard.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Finally it turns out the problem was I had the Windows Management Instrumentation service stopped and disabled. Restarting that service solved it.
can confim that!
@Javier Dominguezthanks alot for sharing your knowledge.
> Maybe you could change something so at least it gives a little more of info when this happens, because currently to find the cause is quite hard.
This is really needed!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was having exactly the same problem.
@Javier Dominguez pointed the way to solution.
For me, it was not enough to just restart the windows service!
I was forced to remove the files from the "C:\Windows\System32\wbem\Repository" folder and restart the computer for the OS to recreate the files.
I followed this tutorial: https://support.captureone.com/hc/en-us/articles/360002430638-How-can-I-repair-WMI-Windows-Management-Instrumentation-service-
SourceTree needs an urgent indication for this issue, because it was pretty boring to find out what was going on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.