You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I manually try to push from the working directory, I see the same error:
.git/hooks/pre-push: line 2: 6884 Killed: 9 env GIT_SSH_COMMAND='ssh -i /Users/omason/.config/org.sparkleshare.SparkleShare/ssh/2020-04-13_11h12.key -o UserKnownHostsFile=/Users/omason/.config/org.sparkleshare.SparkleShare/ssh/known_hosts -o IdentitiesOnly=yes -o PasswordAuthentication=no -F /dev/null' /Users/omason/.config/org.sparkleshare.SparkleShare/bin/git-lfs pre-push "$@"
error: failed to push some refs to 'ssh://git@gitrepo/path/dotfiles.git'
Changing the git hook to another git-lfs or removing it allows for manual push. However I can't simply leave the git hook amended, as it gets reverted. For completeness:
syncing with a different remote doesn't make any difference.
there are no objects in this repo > 100MB, even in history (purged).
Running git-lfs from that path on its own even to see version also crashes.
$ /usr/local/bin/git-lfs --version
git-lfs/3.3.0 (GitHub; darwin amd64; go 1.19.3)
$ /Users/omason/.config/org.sparkleshare.SparkleShare/bin/git-lfs --version
Killed: 9
There is no addon security software active that might be killing git-lfs, but there does appear to be some system security guarding against inappropriate resource usage by this executable. System crash log attached (not of that same instance, that appears to have aged out), but it's a bit beyond me to diagnose. git-lfs-2022-12-11-012103.txt
This is happening to me, too, on an intel macOS 13.1. Interestingly, my ARM64 macOS 13.0.1 computer (which I'm about to upgrade) is not having the same problem. Let me know if there's anything I can do to help diagnose the problem. Attaching full log, FWIW. log_2022-12-23.1.txt
OK, fixed by updating the git-lfs binary in ~/.config/org.sparkleshare.SparkleShare by doing the following:
brew install git-lfs # download latest version of binary cd ~/.config/org.sparkleshare.SparkleShare mv git-lfs git-lfs~ # move old binary out of way ln -s /usr/local/bin/git-lfs # symlink to binary
Reacted by Brandon Sarà, mabordas and Dorance Martinez
I had to replace the binary in /Applications/SparkleShare.app/Contents/Resources/git/libexec/git-core/, cause SparkleShare tries to replace git-lfs in ~/.config/org.sparkleshare.SparkleShare/bin. That leeds to this error:
[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/Applications/SparkleShare.app/Contents/Resources/git/libexec/git-core/git-lfs" or "/Users/funkyusername/.config/org.sparkleshare.SparkleShare/bin/git-lfs" is denied.
Activity
dabrahams commentedon Dec 24, 2022
This is happening to me, too, on an intel macOS 13.1. Interestingly, my ARM64 macOS 13.0.1 computer (which I'm about to upgrade) is not having the same problem. Let me know if there's anything I can do to help diagnose the problem. Attaching full log, FWIW.
log_2022-12-23.1.txt
sdondley commentedon Dec 28, 2022
Same issue. Intel macos running Ventura 13.1
UPDATE: I managed to get version 3.38 of SparkleShare installed but I'm having the same problem.
sdondley commentedon Dec 28, 2022
OK, fixed by updating the git-lfs binary in
~/.config/org.sparkleshare.SparkleShareby doing the following:brew install git-lfs# download latest version of binarycd ~/.config/org.sparkleshare.SparkleSharemv git-lfs git-lfs~# move old binary out of wayln -s /usr/local/bin/git-lfs# symlink to binaryandibraeu commentedon Mar 4, 2023
I had to replace the binary in
/Applications/SparkleShare.app/Contents/Resources/git/libexec/git-core/, cause SparkleShare tries to replacegit-lfsin~/.config/org.sparkleshare.SparkleShare/bin. That leeds to this error:[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/Applications/SparkleShare.app/Contents/Resources/git/libexec/git-core/git-lfs" or "/Users/funkyusername/.config/org.sparkleshare.SparkleShare/bin/git-lfs" is denied.hbons commentedon Aug 14, 2023
Is this on M1? It could be that Git LFS isn't compiled for the platform...
andibraeu commentedon Sep 11, 2023
nope, in my case it's Intel. It happens since the update to Ventura