blob: 405e227d6369b9e3b6ae1982956083fc9c04d821 (
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
|
### Please describe the problem.
I am unable to copy files from my Android git annex repository into a remote repository on a Ubuntu machine.
It was previously working fine, but after recent upgrades, it throws odd errors and refuses to copy the files.
### What steps will reproduce the problem?
Run this command:
`git annex copy --to remote Path/To/File.txt`
### What version of git-annex are you using? On what operating system?
Souce Android Tablet
[[!format sh """
git-annex version: 5.20131221-gf8c928d
build flags: Assistant Webapp Testsuite S3 WebDAV Inotify XMPP DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav glacier hook
local repository version: 5
default repository version: 3
supported repository versions: 3 5
upgrade supported from repository versions: 0 1 2 4
"""]]
Destination Ubuntu server
[[!format sh """
git-annex version: 5.20131224-g692aa01
build flags: Assistant Webapp Pairing S3 WebDAV Inotify DBus 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 webdav glacier hook
"""]]
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
git annex copy --to gimli Books/Laravel/laravel.mobi
copy Books/Laravel/laravel.mobi (checking gimli...) git-annex: Not in a git repository.
(to gimli...) git-annex: unknown command recvkey
Usage: git-annex command [option ...]
Commonly used commands:
add [PATH ...] add files to annex
addurl URL ... add urls to annex
assistant automatically handle changes
copy [PATH ...] copy content of files to/from another repository
drop [PATH ...] indicate content of files not currently wanted
edit [PATH ...] same as unlock
get [PATH ...] make content of annexed files available
import [PATH ...] move and add files from outside git working copy
importfeed URL ... import files from podcast feeds
lock [PATH ...] undo unlock command
mirror [PATH ...] mirror content of files to/from another repository
move [PATH ...] move content of files to/from another repository
rmurl FILE URL record file is not available at url
status [PATH ...] show the working tree status
sync [REMOTE ...] synchronize local repository with remotes
unlock [PATH ...] unlock files for modification
watch watch for changes
webapp launch webapp
Repository setup commands:
dead REMOTE ... hide a lost repository
describe REMOTE DESC change description of a repository
direct switch repository to direct mode
enableremote NAME [K=V ...] enables use of an existing special remote
group REMOTE DESC add a repository to a group
indirect switch repository to indirect mode
init DESC initialize git-annex
initremote NAME [K=V ...] creates a special (non-git) remote
schedule REMOTE [EXPR] get or set scheduled jobs
semitrust REMOTE ... return repository to default trust level
trust REMOTE ... trust a repository
ungroup REMOTE DESC remove a repository from a group
untrust REMOTE ... do not trust a repository
vicfg edit git-annex's configuration
wanted REMOTE [EXPR] get or set preferred content expression
Repository maintenance commands:
addunused NUM|RANGE ... add back unused files
dropunused NUM|RANGE ... drop unused file content
fix [PATH ...] fix up symlinks to point to annexed content
forget prune git-annex branch history
fsck [PATH ...] check for problems
merge automatically merge changes from remotes
repair recover broken git repository
unused look for unused file content
upgrade upgrade repository layout
Query commands:
find [PATH ...] lists available files
help display help
info [PATH ...] shows general information about the annex
list [PATH ...] show which remotes contain files
log [PATH ...] shows location log
map generate map of repositories
version show version info
whereis [PATH ...] lists repositories that have file content
Utility commands:
migrate [PATH ...] switch data to different backend
reinject SRC DEST sets content of annexed file
unannex [PATH ...] undo accidential add command
uninit [PATH ...] de-initialize git-annex and clean out repository
Plumbing commands:
dropkey KEY ... drops annexed content for specified keys
examinekey KEY ... prints information from a key
fromkey KEY PATH adds a file using a specific key
lookupkey FILE ... looks up key used for file
pre-commit [PATH ...] run by git pre-commit hook
rekey [PATH KEY ...] change keys used for files
transferkey KEY transfers a key from or to a remote
transferkeys transfers keys
xmppgit git to XMPP relay
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(224) [sender=3.1.0dev]
rsync failed -- run git annex again to resume file transfer
failed
git-annex: copy: 1 failed
# End of transcript or log.
"""]]
> There was a bug in the linux standalone tarball distributed
> with 5.20131221 that made the `git-annex-shell` wrapper accidentially run
> `git-annex` instead of `git-annex-shell`. Which results in
> this error about recvkey, which is a git-annex-shell command, not a
> git-annex command.
>
> I think your ubuntu system must have git-annex installed from that tarball.
> This bug is fixed in the daily builds, and I have updated the
> tarballs for the release too, now. [[done]] --[[Joey]]
|