summaryrefslogtreecommitdiff
path: root/doc/bugs/Repository_in_manual_mode_does_not_hold_files.mdwn
blob: 9572487dd8f110131c1f8e3f0c576ce80af7cbe3 (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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
### Please describe the problem.

I have two repositories in my local network which are locally paired and synced using git-annex assistant (setup using webapp, both in direct mode). The one (master) has all files and is in mode "full backup". The second one (slave) is in "manual" mode and should therefore only contain the file content it already has. But it also should not loose any content it has until I explicitely drop it but this is exactly what happens! Files are getting dropped (I think it happens during git-annex startup of the slave repository, but I am not sure).

### What steps will reproduce the problem?

1. Setup two repositories using git-annex webapp in local network
2. Set one to "full backup" mode, the second to "manual" mode
3. Add files to the master repository
4. Pair both repositories over webapp
5. Call git-annex get folderA on slave system to transfer some file contents to it.

=> After some time the file contents from folderA seem to disappear on slave system.

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

* Master (full backup) repository is running on Ubuntu Server 12.04 and git-annex 5.20140117.1 from PPA. Git version 1.7.9.5
* Slave (manual) repository is running on Gentoo Linux with 5.20140116, created from own ebuild. Git version 1.8.4.5

### Please provide any additional information below.

[[!format sh """
[2014-01-29 09:14:15 CET] main: starting assistant version 5.20140116
[2014-01-29 09:19:33 CET] TransferScanner: Syncing with Eifel.fritz.box__mnt_raid_Media 
Already up-to-date.

(scanning...) [2014-01-29 09:19:34 CET] Watcher: Performing startup scan
Already up-to-date.
Already up-to-date.
[2014-01-29 09:35:31 CET] Committer: Committing changes to git
[2014-01-29 09:35:31 CET] Pusher: Syncing with Eifel.fritz.box__mnt_raid_Media 
[2014-01-29 09:40:37 CET] Committer: Committing changes to git
[2014-01-29 09:44:15 CET] Committer: Committing changes to git
Von ssh://git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media
   390c764..7775ce1  annex/direct/master -> Eifel.fritz.box__mnt_raid_Media/annex/direct/master
   eca59d1..59db343  git-annex  -> Eifel.fritz.box__mnt_raid_Media/git-annex
 + a1f3176...7775ce1 synced/master -> Eifel.fritz.box__mnt_raid_Media/synced/master  (Aktualisierung erzwungen)
Already up-to-date.
error: Ref refs/heads/synced/master is at a1f3176ff3821cdd9aa74bfa310dfdccb8452247 but expected 7775ce196da4561367ee231ce116fe5849827c51
remote: error: failed to lock refs/heads/synced/master        
To ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/
   98219eb..3d2b713  git-annex -> synced/git-annex
 ! [remote rejected] annex/direct/master -> synced/master (failed to lock)
error: Fehler beim Versenden einiger Referenzen nach 'ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/'
Von ssh://git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media
   7775ce1..a1f3176  annex/direct/master -> Eifel.fritz.box__mnt_raid_Media/annex/direct/master
   59db343..6e39b5b  git-annex  -> Eifel.fritz.box__mnt_raid_Media/git-annex
   7775ce1..a1f3176  synced/master -> Eifel.fritz.box__mnt_raid_Media/synced/master
Already up-to-date.
[2014-01-29 09:51:41 CET] Committer: Committing changes to git
error: Ref refs/heads/synced/git-annex is at 3d2b7131d39c78fc56f67e29617e72b177807449 but expected 98219eb545d5dc51da9984ede4b4c5c41ec188d0
remote: error: failed to lock refs/heads/synced/git-annex        
To ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/
 ! [remote rejected] git-annex -> synced/git-annex (failed to lock)
error: Fehler beim Versenden einiger Referenzen nach 'ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/'
To ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/
   3d2b713..5bd0d7e  git-annex -> synced/git-annex
[2014-01-29 09:51:51 CET] Pusher: Syncing with Eifel.fritz.box__mnt_raid_Media 
Everything up-to-date
Everything up-to-date
[2014-01-29 09:53:01 CET] Committer: Committing changes to git
[2014-01-29 09:53:01 CET] Pusher: Syncing with Eifel.fritz.box__mnt_raid_Media 
Everything up-to-date


(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(merging synced/git-annex into git-annex...)
(Recording state in git...)
(merging synced/git-annex into git-annex...)
(Recording state in git...)


(Recording state in git...)
(Recording state in git...)
(started...) [2014-01-29 09:53:48 CET] Committer: Committing changes to git
[2014-01-29 09:53:48 CET] Pusher: Syncing with Eifel.fritz.box__mnt_raid_Media 
Everything up-to-date
[2014-01-29 10:19:33 CET] NetWatcherFallback: Syncing with Eifel.fritz.box__mnt_raid_Media 
Von ssh://git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media
   6e39b5b..5bd0d7e  git-annex  -> Eifel.fritz.box__mnt_raid_Media/git-annex
Everything up-to-date
[2014-01-29 10:39:49 CET] Committer: Committing changes to git
[2014-01-29 10:39:49 CET] Pusher: Syncing with Eifel.fritz.box__mnt_raid_Media 
[2014-01-29 10:39:50 CET] Committer: Committing changes to git
[2014-01-29 10:39:51 CET] Committer: Committing changes to git
[2014-01-29 10:39:53 CET] Committer: Committing changes to git
[2014-01-29 10:39:54 CET] Committer: Committing changes to git
[2014-01-29 10:39:55 CET] Committer: Committing changes to git
[2014-01-29 10:39:56 CET] Committer: Committing changes to git
[2014-01-29 10:39:57 CET] Committer: Committing changes to git
[2014-01-29 10:39:59 CET] Committer: Committing changes to git
[2014-01-29 10:40:00 CET] Committer: Committing changes to git
[2014-01-29 10:40:01 CET] Committer: Committing changes to git
[2014-01-29 10:40:02 CET] Committer: Committing changes to git
[2014-01-29 10:40:03 CET] Committer: Committing changes to git
[2014-01-29 10:40:05 CET] Committer: Committing changes to git
[2014-01-29 10:40:07 CET] Committer: Adding AlbumArtSmall.jpg Folder.jpg

(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
add Audio/Musik/2raumwohnung/2002 - In Wirklich/AlbumArtSmall.jpg ok
add Audio/Musik/2raumwohnung/2002 - In Wirklich/Folder.jpg [2014-01-29 10:40:07 CET] Committer: Committing changes to git
[2014-01-29 10:40:08 CET] Committer: Committing changes to git
[2014-01-29 10:40:09 CET] Committer: Committing changes to git
[2014-01-29 10:40:11 CET] Committer: Committing changes to git
[2014-01-29 10:40:12 CET] Committer: Committing changes to git
[2014-01-29 10:40:13 CET] Committer: Committing changes to git
[2014-01-29 10:40:14 CET] Committer: Committing changes to git
[2014-01-29 10:40:16 CET] Committer: Committing changes to git
[2014-01-29 10:40:17 CET] Committer: Committing changes to git
[2014-01-29 10:40:18 CET] Committer: Committing changes to git
[2014-01-29 10:40:19 CET] Committer: Committing changes to git
[2014-01-29 10:40:20 CET] Committer: Committing changes to git
[2014-01-29 10:40:21 CET] Committer: Committing changes to git
[2014-01-29 10:40:23 CET] Committer: Committing changes to git
[2014-01-29 10:40:24 CET] Committer: Committing changes to git
[2014-01-29 10:40:26 CET] Committer: Committing changes to git
[2014-01-29 10:40:27 CET] Committer: Committing changes to git
[2014-01-29 10:40:28 CET] Committer: Committing changes to git
[2014-01-29 10:40:29 CET] Committer: Committing changes to git
[2014-01-29 10:40:30 CET] Committer: Committing changes to git
[2014-01-29 10:40:31 CET] Committer: Committing changes to git
[2014-01-29 10:40:32 CET] Committer: Committing changes to git
[2014-01-29 10:40:34 CET] Committer: Committing changes to git
[2014-01-29 10:40:35 CET] Committer: Committing changes to git
[2014-01-29 10:40:36 CET] Committer: Committing changes to git
[2014-01-29 10:40:37 CET] Committer: Committing changes to git
[2014-01-29 10:40:39 CET] Committer: Committing changes to git
[2014-01-29 10:40:40 CET] Committer: Committing changes to git
[2014-01-29 10:40:41 CET] Committer: Committing changes to git
[2014-01-29 10:40:42 CET] Committer: Committing changes to git
[2014-01-29 10:40:44 CET] Committer: Committing changes to git
[2014-01-29 10:40:45 CET] Committer: Committing changes to git
[2014-01-29 10:40:46 CET] Committer: Committing changes to git
[2014-01-29 10:40:47 CET] Committer: Committing changes to git
[2014-01-29 10:40:48 CET] Committer: Committing changes to git
[2014-01-29 10:40:50 CET] Committer: Committing changes to git
[2014-01-29 10:40:51 CET] Committer: Committing changes to git
[2014-01-29 10:40:52 CET] Committer: Committing changes to git
[2014-01-29 10:40:53 CET] Committer: Committing changes to git
[2014-01-29 10:40:54 CET] Committer: Committing changes to git
[2014-01-29 10:40:55 CET] Committer: Committing changes to git
[2014-01-29 10:40:57 CET] Committer: Committing changes to git
[2014-01-29 10:40:58 CET] Committer: Committing changes to git
[2014-01-29 10:40:59 CET] Committer: Committing changes to git
[2014-01-29 10:41:00 CET] Committer: Committing changes to git
[2014-01-29 10:41:02 CET] Committer: Committing changes to git
[2014-01-29 10:41:03 CET] Committer: Committing changes to git
[2014-01-29 10:41:04 CET] Committer: Committing changes to git
[2014-01-29 10:41:05 CET] Committer: Committing changes to git
[2014-01-29 10:41:06 CET] Committer: Committing changes to git
[2014-01-29 10:41:07 CET] Committer: Committing changes to git
[2014-01-29 10:41:09 CET] Committer: Committing changes to git
[2014-01-29 10:41:10 CET] Committer: Committing changes to git
[2014-01-29 10:41:11 CET] Committer: Committing changes to git
[2014-01-29 10:41:12 CET] Committer: Committing changes to git
[2014-01-29 10:41:23 CET] Committer: Committing changes to git
[2014-01-29 10:41:24 CET] Committer: Committing changes to git
[2014-01-29 10:41:29 CET] Committer: Committing changes to git
[2014-01-29 10:41:30 CET] Committer: Committing changes to git
[2014-01-29 10:41:32 CET] Committer: Committing changes to git
[2014-01-29 10:41:33 CET] Committer: Committing changes to git
[2014-01-29 10:41:34 CET] Committer: Committing changes to git
[2014-01-29 10:41:35 CET] Committer: Committing changes to git
[2014-01-29 10:41:36 CET] Committer: Committing changes to git
[2014-01-29 10:41:38 CET] Committer: Adding AlbumArt_..Small.jpg Folder.jpg
ok
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
(Recording state in git...)
add Audio/Musik/Alanis Morissette/1995 - Jagged Little Pill/AlbumArt_{79951A99-BD71-4029-80F6-C3705D930871}_Small.jpg ok
add Audio/Musik/Alanis Morissette/1995 - Jagged Little Pill/Folder.jpg [2014-01-29 10:41:38 CET] Committer: Committing changes to git
[2014-01-29 10:41:39 CET] Committer: Committing changes to git
[2014-01-29 10:41:41 CET] Committer: Committing changes to git
[2014-01-29 10:41:42 CET] Committer: Committing changes to git
[2014-01-29 10:41:44 CET] Committer: Committing changes to git
[2014-01-29 10:41:45 CET] Committer: Committing changes to git
[2014-01-29 10:41:46 CET] Committer: Committing changes to git
[2014-01-29 10:41:47 CET] Committer: Committing changes to git
[2014-01-29 10:41:48 CET] Committer: Committing changes to git
[2014-01-29 10:41:49 CET] Committer: Committing changes to git
[2014-01-29 10:41:51 CET] Committer: Committing changes to git
[2014-01-29 10:41:52 CET] Committer: Committing changes to git
[2014-01-29 10:41:54 CET] Committer: Committing changes to git
[2014-01-29 10:41:55 CET] Committer: Committing changes to git
[2014-01-29 10:41:56 CET] Committer: Committing changes to git
[2014-01-29 10:41:58 CET] Committer: Committing changes to git
[2014-01-29 10:41:59 CET] Committer: Committing changes to git
[2014-01-29 10:42:00 CET] Committer: Committing changes to git
[2014-01-29 10:42:01 CET] Committer: Committing changes to git
[2014-01-29 10:42:02 CET] Committer: Committing changes to git
[2014-01-29 10:42:04 CET] Committer: Committing changes to git
[2014-01-29 10:42:05 CET] Committer: Committing changes to git
[2014-01-29 10:42:06 CET] Committer: Committing changes to git
[2014-01-29 10:42:07 CET] Committer: Committing changes to git
[2014-01-29 10:42:08 CET] Committer: Committing changes to git
[2014-01-29 10:42:10 CET] Committer: Committing changes to git
[2014-01-29 10:42:11 CET] Committer: Committing changes to git
[2014-01-29 10:42:12 CET] Committer: Committing changes to git
[2014-01-29 10:42:13 CET] Committer: Committing changes to git
[2014-01-29 10:42:14 CET] Committer: Committing changes to git
[2014-01-29 10:42:15 CET] Committer: Committing changes to git
[2014-01-29 10:42:17 CET] Committer: Committing changes to git
[2014-01-29 10:42:18 CET] Committer: Committing changes to git
[2014-01-29 10:42:19 CET] Committer: Committing changes to git
[2014-01-29 10:42:20 CET] Committer: Committing changes to git
[2014-01-29 10:42:21 CET] Committer: Committing changes to git
[2014-01-29 10:42:23 CET] Committer: Committing changes to git
[2014-01-29 10:42:24 CET] Committer: Committing changes to git
[2014-01-29 10:42:25 CET] Committer: Committing changes to git
[2014-01-29 10:42:26 CET] Committer: Committing changes to git
[2014-01-29 10:42:27 CET] Committer: Committing changes to git
[2014-01-29 10:42:28 CET] Committer: Committing changes to git
To ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/
   5bd0d7e..1eda3be  git-annex -> synced/git-annex
[2014-01-29 10:43:43 CET] Pusher: Syncing with Eifel.fritz.box__mnt_raid_Media 
To ssh://fabian@git-annex-Eifel.fritz.box-fabian_.2Fmnt.2Fraid.2FMedia/mnt/raid/Media/
   1eda3be..4c70ad2  git-annex -> synced/git-annex
"""]]

> The only way a repository can become "unwanted" is if you
> tell git-annex to start deleting it (or perhaps set its group to unwanted
> manually). This will cause git-annex to try to move all files away from
> that repository. 
> 
> So, AFAICS, this must have been a case of operator error. [[done]]
> --[[Joey]]