cryptomator icon indicating copy to clipboard operation
cryptomator copied to clipboard

Cannot clone git repo in a vault

Open Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue 1 year ago • 7 comments

Please agree to the following

Summary

Cannot clone git repo in a vault

What software is involved?

  • Operating System: Mac OS 13.3.1
  • Cryptomator: 1.8.0 dmg-4440 installed via brew with commands: brew tap macos-fuse-t/homebrew-cask brew install fuse-t brew install fuse-t-sshfs brew install cryptomator

Volume Type

None

Steps to Reproduce

Volume Type: automatic (not sure how to check which is actually in use?) Clone a repo (newly created with just the readme inside) into a vault

Expected Behavior

git clone should work

Actual Behavior

git throws error when cloning: ... Receiving objects: 100% (3/3), done. fatal: bad object fatal: remote did not send all necessary objects

Reproducibility

Always

Relevant Log Output

No response

Anything else?

No response

Tested on latest develop commit (532ffb1202a5888bd0eca52b6e464383a51da855), on macOS 13.3.1 (a) (22E772610a) and Git 2.40.1, and I cannot reproduce this. I've tried the macFUSE and WebDAV (AppleScript) volume types.

TheYsconator avatar May 08 '23 11:05 TheYsconator

for mac apple silicon, FUSE-T is recommended on cryptomator download page rather than macFUSE. Can you also try with FUSE-T?

brew tap macos-fuse-t/homebrew-cask
brew install fuse-t
brew install fuse-t-sshfs
brew install cryptomator

Not on a silicon mac, but still: FUSE-T is giving me the same error:

❯ git clone [email protected]:mvlabat/bevy_egui.git
Cloning into 'bevy_egui'...
remote: Enumerating objects: 1315, done.
remote: Counting objects: 100% (641/641), done.
remote: Compressing objects: 100% (208/208), done.
remote: Total 1315 (delta 526), reused 519 (delta 431), pack-reused 674
Receiving objects: 100% (1315/1315), 449.70 KiB | 1.27 MiB/s, done.
Resolving deltas: 100% (869/869), done.
fatal: bad object c51fc5640e2e431fa2169c98e6d252914c614904
fatal: remote did not send all necessary objects

(This is with the current stable version of Cryptomator.)

TheYsconator avatar May 08 '23 20:05 TheYsconator

Does this happen for all your repos or does it depend on the repo content?

overheadhunter avatar May 09 '23 05:05 overheadhunter

happens for all repos. even with freshly created with only the readme inside

also github desktop frezes several seconds, and eventually throws error: "fatal object " "fatal: remote did not send all necessary objects"

I have this same issue, but it only occurs when I use FUSE-T. In a volume mounted with FUSE-T, I get the same errors as OP if I call git clone, or if (after cloning elsewhere and copying the files in) I try to git pull, git commit, or git push. The problems go away if I re-mount using macFuse, or if I clone and work outside of the volume. This won't be an option on other machines (where I can't use recovery mode to enable the kernel extensions needed for macFuse), and macFuse is supposedly on the way out, so it would be great if we could get it resolved, as the FUSE-T mounting seemed great otherwise.

mcrotk avatar Jul 27 '24 04:07 mcrotk