summaryrefslogtreecommitdiff
path: root/doc/bugs/problems_with_enableremote_on_gcrypt_remote___40__hosted_with_gitolite__41__.mdwn
blob: 4d6e041bb5fa4440cf866ec5172c9c478922f251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
### Please describe the problem.

cannot enable an exiting gcrypt special remote after successfully having cloned the git repository; I get this error: "git-annex: uuid mismatch ..." at the end of the enableremote command (see transcript for details)

maybe my fault but cannot understand what I'm doing wrong

### What steps will reproduce the problem?

1. cloned the encrypted repository with: "git clone gcrypt::git.myserver.net:myrepo TEST-myrepo.annex"

2. enabled the special remote with: "git annex enableremote backup type=gcrypt encryption=hybrid gitrepo=git.myserver.net:myrepo"

### What version of git-annex are you using? On what operating system?

[[!format sh """
git-annex version: 5.20140927~bpo70+2
build flags: Assistant Pairing S3 Inotify XMPP Feeds Quvi TDFA
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL
remote types: git gcrypt S3 bup directory rsync web tahoe glacier ddar hook external
local repository version: 5
supported repository version: 5
upgrade supported from repository versions: 0 1 2 4
"""]]

### Please provide any additional information below.

[[!format sh """

# transcript of commands and results

(cloning)
g@renaissance:~$ git clone gcrypt::git.myserver.net:DMS-myrepo TEST-myrepo.annex
Cloning into 'TEST-myrepo.annex'...
gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: Signature made Thu 16 Oct 2014 12:58:33 CEST
[...]
gcrypt: Remote ID is :id:8sucFsBZIGQKXFv5ecSW
Receiving objects: 100% (3531/3531), 245.40 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1382/1382), done.
[...]
Receiving objects: 100% (636/636), 66.78 KiB | 0 bytes/s, done.
Resolving deltas: 100% (209/209), done.
Checking connectivity... done.


(annex info)
g@renaissance:~/TEST-myrepo.annex$ git annex info
repository mode: indirect
trusted repositories: (merging origin/git-annex origin/synced/git-annex into git-annex...)
(Recording state in git...)
0
semitrusted repositories: 5
	 -- here
 	00000000-0000-0000-0000-000000000001 -- web
 	622362eb-3882-4429-829b-1ec0f299f5a7 -- [omissis]
 	69b848ef-dd29-43e4-ae1b-73ec6a01f2f6 -- [omissis]
 	ffc5c5d1-6166-4753-a2e4-88727d0f8c7b -- backup
untrusted repositories: 1
	b185b2ed-c024-43ac-9049-3bc12a87dacc -- [omissis]
transfers in progress: none
available local disk space: 51.53 gigabytes (+1 megabyte reserved)
local annex keys: 0
local annex size: 0 bytes
annexed files in working tree: 212
size of annexed files in working tree: 210.56 megabytes
bloom filter size: 16 mebibytes (0% full)
backend usage: 
	SHA256E: 212


(list of remotes)
g@renaissance:~/TEST-myrepo.annex$ git annex enableremote
git-annex: Specify the name of the special remote to enable.
Known special remotes: backup


(enabling remote)
g@renaissance:~/TEST-myrepo.annex$ git annex enableremote backup type=gcrypt encryption=hybrid gitrepo=git.myserver.net:myrepo
enableremote backup (encryption update) (hybrid cipher with gpg key [omissis]) gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: Signature made Thu 16 Oct 2014 12:58:33 CEST
[omissis]
gcrypt: Remote ID is :id:8sucFsBZIGQKXFv5ecSW
From gcrypt::git.myserver.net:myrepo
 * [new branch]      synced/master -> backup/synced/master
 * [new branch]      master     -> backup/master
 * [new branch]      synced/git-annex -> backup/synced/git-annex
 * [new branch]      git-annex  -> backup/git-annex
gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: Signature made Thu 16 Oct 2014 12:58:33 CEST
[omissis]
Counting objects: 3, done.
Compressing objects: 100% (2/2), done.
Total 3 (delta 0), reused 1 (delta 0)
gcrypt: Encrypting to:  -r [omissis]
gcrypt: Requesting manifest signature
gpg: [omissis]: skipped: public key already present
To gcrypt::git.myserver.net:myserver
   1195dda..3254af7  git-annex -> git-annex
git-annex: uuid mismatch (UUID "78104a6f-16a9-504b-8e8a-d8a3c59351e8",Just (UUID "984e0333-3327-5f21-87a1-35d30f37f337"),":id:8sucFsBZIGQKXFv5ecSW")

# End of transcript or log.
"""]]

> [[done]]; see comments. --[[Joey]]