GitJournal / git-auto-sync

Automatically Sync Git Repos
Apache License 2.0
140 stars 13 forks source link

Sync started failing on macOS Monterey #13

Open TuggyNE opened 1 year ago

TuggyNE commented 1 year ago

I set up auto-sync a few months ago (for some shared Org mode files) and it seemed to be running well since then. However, late last month it seems to have silently stopped working, perhaps due to some sort of software update. git auto-sync daemon add . and all other daemon commands seem to work fine, indicating that the repo is registered to synchronize and the daemon is running, but it doesn't actually make commits or push them. git auto-sync sync . fails with the cryptic error 2022/11/17 16:07:08 invalid checksum. I vaguely remember having some minor difficulties recently getting gpg and git to work correctly again after some changes, but AFAIK that's all working fine now (and manually committing and pushing from the synchronized directory has no problems).

Where would I find more troubleshooting information?

vHanda commented 1 year ago

Hmm, i can't remember now, but this doesn't yet support encrypted keys or gpg.

Regardless, silently failing sucks. Let me see if I can at minimum at least add proper error messages.

TuggyNE commented 1 year ago

Strange, because when I set it up originally I'd been using git with signed tags by default for quite a while. And commits in this repo still aren't signed, even the manual ones. Maybe that's a red herring. There have doubtless been other updates as well.

Thanks for looking into this!