Hi,
After reinstalling my laptop with the same GPG keys, I've got this error during re-syncing a remote crypted repo :
Internal Server Error
; expected Just (UUID "e7fc2bc8-b630-5eeb-a0b3-b4806d7ab064") but remote gitrepo has UUID "e2f02805-eae7-5bb8-875e-c901ba9929b1" (":id:SCPxErEQVlqp+Hl6Su0f")
Then, I can see the structure of the hard links in the local directory but pointing to nothing ?
FYI all sub directories in .git/annex/objects contain .map files only.
Could you please help me ? Those data are critical, thanks for your great app and your help!
Guillaume
It would help if you described what command you ran, or buttons you clicked on to get this to happen. Otherwise, I'm left making a lot of guesses..
It looks like you might be running
git-annex enableremote
of a gcrypt special remote that you set up earlier.It appears that the gcrypt remote has a gcrypt-id which is not the same as the one that was used when that special remote was originally initialized.
I don't know why this would happen, and without details about what you did, I can barely venture a guess. All I can say is that, gcrypt is supposed to pick a gcrypt-id the first time a gcrypt remote is used, and not change it afterwards.
... It might be that you did something that caused gcrypt to pick a new gcrypt-id.
... It might be that the special remote has been pointed at a different gcrypt repository than the one that it was initially set up to use.
It might help to look at both the local repository's
.git/config
, and the gcrypt git repositories git config, and see which of them have the wrong gcrypt-id value of ":id:SCPxErEQVlqp+Hl6Su0f". If only the local .git/config has that value and the gcrypt git repository has some other gcrypt-id, then the other one is probably the right one, and it might work to replace the wrong one with the right one.Dear Joey,
Thanks you so much for your quick response.
I did not use the command line for this but the web app. So I will retry the sync sequence in a shell after tweaking the gcrypt-id as you proposed and then give you some more feedback here.
Cheers, Guillaume
Hi joey,
After modifying the gcrypt-id as you proposed, I have finally managed to clone the repo with
git clone gcrypt::ssh://my.domain/home/admin/
But now I get only unresolved symbolic links for each files, that is .git/annex/objects directory only contains .map files.
Would you have an idea about the reason/source of this behavior?
Thank you so much, Guillaume