General Troubleshooting Steps
How do I find GitHub Desktop log files?
How do I find GitHub Desktop log files?
~/Library/Application Support/GitHub Desktop/logs/- Organized by date:
YYYY-MM-DD.desktop.production.log
%APPDATA%\GitHub Desktop\logs\- Organized by date:
YYYY-MM-DD.desktop.production.log
Where are installer logs located?
Where are installer logs located?
~/Library/Caches/com.github.GitHubClient.ShipIt/ShipIt_stderr.log- Check the end of the file for recent activity
%LOCALAPPDATA%\GitHubDesktop\SquirrelSetup.log(for updates)%LOCALAPPDATA%\SquirrelSetup.log(for initial installation)
How do I completely uninstall and reinstall GitHub Desktop?
How do I completely uninstall and reinstall GitHub Desktop?
- Quit GitHub Desktop
- Delete the application from
/Applications - Remove data directory:
~/Library/Application Support/GitHub Desktop/ - Remove cache:
~/Library/Caches/com.github.GitHubClient.ShipIt/ - Download and reinstall from desktop.github.com
- Uninstall via Control Panel or Settings
- Delete
%LOCALAPPDATA%\GitHubDesktop\ - Delete
%APPDATA%\GitHub Desktop\ - Download and reinstall from desktop.github.com
macOS Issues
'The username or passphrase you entered is not correct' error after signing in
'The username or passphrase you entered is not correct' error after signing in
- Open
Keychain Access.app - Right-click on the
loginkeychain and lock it - Right-click on the
loginkeychain and unlock it - Sign into your GitHub account again in GitHub Desktop
'Could not create temporary directory: Permission denied' when checking for updates
'Could not create temporary directory: Permission denied' when checking for updates
- Close GitHub Desktop
- Open Finder and navigate to
~/Library/Caches/ - Right-click
com.github.GitHubClient.ShipItand select Get Info - Expand the Sharing & Permissions section
- If you don’t see “You can read and write”, add yourself with “Read & Write” permissions
- Restart GitHub Desktop and check for updates
GitHub Desktop repeatedly prompts for admin password to install helper tool
GitHub Desktop repeatedly prompts for admin password to install helper tool
root instead of your user account. This often happens after using macOS Migration Assistant.Solution:Run these commands in Terminal:Windows Issues
Window is hidden after detaching secondary monitor
Window is hidden after detaching secondary monitor
Certificate revocation check fails on corporate networks
Certificate revocation check fails on corporate networks
Black screen when launching GitHub Desktop
Black screen when launching GitHub Desktop
- Open PowerShell
- Run:
$env:GITHUB_DESKTOP_DISABLE_HARDWARE_ACCELERATION=1 - Launch GitHub Desktop
'Failed to open CA file' error after update
'Failed to open CA file' error after update
C:\ProgramData\Git\config contains an http.sslCAInfo entry that conflicts with GitHub Desktop’s Git installation.Solution:-
Verify the problem by running:
Look for:
file:"C:\ProgramData/Git/config" http.sslcainfo=[some value] -
Open
C:\ProgramData\Git\configwith administrator privileges -
Remove these lines:
Authentication errors due to modified registry entries
Authentication errors due to modified registry entries
Command Processor registry entries.Solution:- Open Registry Editor (regedit.exe)
- Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\
- Look for an
Autorunvalue in either location - Delete the
Autorunvalue if present - Restart GitHub Desktop
'Not enough resources' error when signing in
'Not enough resources' error when signing in
- Open Control Panel
- Go to Credential Manager
- Click on Windows Credentials
- Review and delete unnecessary credentials
- Try signing in again
Cygheap errors with Mandatory ASLR enabled
Cygheap errors with Mandatory ASLR enabled
- Disable Mandatory ASLR in Windows Defender Exploit Protection settings, or
- Add explicit exceptions for all executables under
<Git>\usr\bin
Both Platforms
Repositories configured with Windows Folder Redirection don't work
Repositories configured with Windows Folder Redirection don't work
Getting More Help
Still need help?
- Search open issues and closed issues
- If you can’t find a match, open a new issue
- Provide:
- GitHub Desktop version
- Operating system and version
- Steps to reproduce the issue
- Relevant log files
- Screenshots if applicable