New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH Desktop stopped working after update to MacOS 13 Ventura #15539
Comments
Hi @MarcPinnell ! 👋 Could you open a terminal in your repository folder and run any of those commands like Also, could you upload the log file from GitHub Desktop so that I could get some more information about this error? To access the log files go to the file menu in GitHub Desktop and select Help > Show Logs. |
Tried to run the command you sent over and got a "Bus Error".
Logs attached. |
@MarcPinnell that looks like a problem unrelated to Desktop. What I mean is it doesn't look like a bug 🤔 It's more something that I'd expect to get fixed by rebooting Could you check if any of those fix the issue? |
I have reinstalled the app multiple times over the past couple days. Including, at one point, switching to the beta version (I switched back after that didn't solve the issue). Command failed: /Applications/GitHub Desktop.app/Contents/Resources/app/git/bin/git commit -F - What's interesting is that it appears to have actually done the commit as it is now reporting "nothing to commit". I cannot push from GHD though. I fired up the Nova editor (which has GH built in) and was able to do the push from there. While I was typing this I got a series of error messages from GHD that match the stuff in the initial report above. Attached is the current log. |
Super weird! But it seems like there is wrong with your setup, I have no idea what could be 😕 Do you have anything installed that could affect how other apps work? (like an antivirus or firewall) From your logs I see your Other than that, the only ideas I have to narrow down the issue are:
|
The only difference on my machine from last week until now is the install of Ventura. Prior to Ventura, GHD worked flawlessly with these same repos (there are 4 or 5) on the networked volume. During one of the reinstalls of GHD I deleted all the app settings as well as the app itself. I currently only have the one repo connected to GHD because of that. I just tried to add a second one (cattle) from the network volume and GHD is telling me it isn't a Repo! Yikes. I opened up the Nova editor and opened the Cattle project, made a change and was able to commit and push it to the GitHub server. I can continue working this way if I have to, but Nova is a bit slower in committing than GHD for some reason (I think it is related to the network volume), which is why I had switched to GHD a year ago. |
Then I'd assume something changed in macOS Ventura regarding network volumes 😞 I don't think there is anything GitHub Desktop can do for this as it only interfaces with The last suggestion I'd made is to try the very same And see if that makes a difference, in case the |
Thanks for working through this with me. I have no idea why Nova works, but GHD doesn't. Very odd. I think you are right in that it has to be tied to Ventura. Maybe Nova bundles their own commands and doesn't rely on the system? I ran the command you gave me - actually I ran both the direct command and the GHD command - and got basically the same results:
|
Anyway, something I just noticed in your last comment is that those If that's correct, can we somehow ignore the Another idea I just had: if you have a custom |
Thanks for following the idea of Nova using something different. So odd that it works fine... Tried the echo:
Checked the .zshrc file and found one line: eval "$(rbenv init - zsh)" Renamed and reran the commands (restarted terminal first), doesn't appear it helped unfortunately:
|
Also you asked about the output of the command. Not sure what you mean by "what you would expect". sorry not familiar with CLI git. That line does show the commit/push that I was able to get completed through Nova after trying to commit with GHD, getting and error and not being able to go any further. When I opened Nova, it showed one push waiting, which I did. According to Nova the commit had completed. |
Thank you! Yeah with "expected output" I meant a complete list of commits , but seems like only one commit is displayed. And the If your Sorry I can't be of more help! |
Appreciate you doing what you have. It's a real head scratcher! |
I had the same issue but things seem to work as normal after I cloned my repo to my macs HD instead of the Google Drive virtual one |
Interesting. Pointing more and more to Apple maybe breaking something with remote drives? Unfortunately I am not in a situation where I can move the project off the remote drive. |
I was having the same issue, running all my projects from a Google Drive. I moved them all to my Mac then "found" the folders in Desktop and everything started working again with no errors. Just FYI. |
What's interesting is that I can commit/push from Nova without issue. But CLI or GH Desktop will not work with these remote volumes. Unfortunately, whatever code Nova uses is really slow (takes 2-3 minutes to commit the simplest of changes), but at least it works. |
Maybe that's because of the same reason and before macOS Ventura it was as fast as one would expect? 🤔 |
No. Nova has been very slow for some time now. Ever since I moved my development/repositories to an external SMB volume it has been slow in doing commits. I have worked with their support but not found a solution as of yet. I eventually gave up and switched to GH Desktop. Unfortunately whatever Apple appears to have done in Ventura breaks Git on external volumes and therefore GH Desktop is no longer an option. Not sure why Nova still works - at least well enough to keep working. |
This issue is also present when mounting a share with mount_smbfs and using GIT within a IDE like PHPstorm (GIT crashing). Please fill a feedback/bug report through https://developer.apple.com/bug-reporting/ if you haven't already so this issue can get fixed quicker by Apple. |
Saw there is a new version of Desktop, but don't see a fix for this in the Release Notes. Any ETA? |
@MarcPinnell we have some git engineers looking into this, although it looks like a problem on Apple's side. Definitely no ETA, sorry! |
This comment was marked as off-topic.
This comment was marked as off-topic.
My only hesitation to think this is an Apple problem is that Panic's Nova code editor is still working fine (thank goodness as that is keeping me working). If it were an Apple problem, you would think it would be across the board and not just some apps that were broken. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This problem also exists in sourcetree, I think it is a bug of Apple about external storage, this problem is still not fixed in macOS 13.2 |
It's been almost 4 months since this was opened. Any updates on when it will be fixed? |
Nope, sorry 😞 Again, this seems something external to Desktop 😕 The difference with Nova is that Nova seems to use libgit2 instead of invoking the git executable. I think this is something either git or Apple have to fix 😕 The git engineers I mentioned in a previous comment weren't able to reproduce the issue so we're kind of stuck… 😞 |
All. Updated my mac to Ventura 13.2.1 just now and was able to run GH Desktop without issue. I was able to load multiple repositories and even committed/pushed a change to GH. Fixed? |
Well, shoot. Just after posting the previous message I went back into GH Desktop and the same old error was sitting there. Odd that I was able to work with it for 5ish minutes before the error popped up. Before I never got that far as the error would pop up shortly after connecting.
|
Having similar issues. Thanks for working on this! |
Fingers crossed for Mac OS 13.3 which has a reported SMB fix.... https://www.macrumors.com/2023/03/23/macos-13-3-fixes-network-file-sharing/ |
Thanks for the update!
…On Sat, Mar 25, 2023 at 10:06 AM Marc Pinnell ***@***.***> wrote:
Fingers crossed for Mac OS 13.3 which has a reported SMB fix....
https://www.macrumors.com/2023/03/23/macos-13-3-fixes-network-file-sharing/
—
Reply to this email directly, view it on GitHub
<#15539 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEGB333ORBO4BZUCSSWBT3W533XFANCNFSM6AAAAAARR6BBDU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@xaveervanderlaan it looks like Github desktop has an Apple Silicon version and this seems to work on my Apple laptop M1 chip: https://central.github.com/deployments/desktop/desktop/latest/darwin-arm64 |
What version of GH Desktop are you running. I am running on an M1 with the AS version of GH Desktop and it doesn't work (per the posts above). |
I am experiencing the same problem with GitHub Desktop 3.2.9 when the local repository is on a SMB share (Windows Server 2022).
|
Any brave soul willing to test if the problem got fixed in the Mac OS Sonoma Beta? Also as a reminder please report this problem with the Apple Developer feedback tool: https://developer.apple.com/bug-reporting/ |
Unfortunately Sonoma has not solved this issue. |
It seems that Sonoma 14.2 has fixed this bug :) |
Holy s@#$ they actually did! Just tested it, seems to be working just fine. I'll go read 14.2 release notes to see how they did this. |
That's great to hear! ✨ I'll close this issue out, but let us know if this appears again. |
I am taking this error when I want to connect started rtsp server as a client. Can you help me how it solved?./test-launch "( videotestsrc ! videoconvert ! timeoverlay font-desc='Sans, 120' ! tee name=t t. ! queue ! autovideosink sync=false name=source t. ! x264enc speed-preset=ultrafast tune=zerolatency ! rtph264pay name=pay0 pt=96 )" stream ready at rtsp://127.0.0.1:8554/test |
The problem
After upgrading to Ventura, GH Desktop stopped working on my M1 MacMini. No issues before with the 5-6 connected repo prior to upgrade. After launching it will go through its normal startup and while sitting there will start throwing errors after 10 seconds or so. I am assuming that the errors are being caused by GHD starting its scan of the current repo.
If you dismiss the errors and wait another 10 seconds or so, the errors will pop back up. At no point can I try to commit or publish.
I have tried removing the GHD directory from ~/Library/Application Support/ and removing GHD.app and then reinstalling with a fresh download from the website.
I have also made sure that my XCode CLI tools are up to date.
Release version
3.1.2 (arm64)
Operating system
MacOS 13.0 Ventura
Steps to reproduce the behavior
Log files
No response
Screenshots
Additional context
Errors messages I am seeing (one right after the other):
Command failed: /Applications/GitHub Desktop.app/Contents/Resources/app/git/bin/git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 --
Command failed: /Applications/GitHub Desktop.app/Contents/Resources/app/git/bin/git for-each-ref --format=%00%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(symref)%00 refs/heads refs/remotes
Command failed: /Applications/GitHub Desktop.app/Contents/Resources/app/git/bin/git log HEAD --date=raw --max-count=100 --skip=0 -z --format=%H%x00%h%x00%s%x00%b%x00%an <%ae> %ad%x00%cn <%ce> %cd%x00%P%x00%(trailers:unfold,only)%x00%D --no-show-signature --no-color --
The text was updated successfully, but these errors were encountered: