aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/remote_files_appear_but_are_unreadable_because_their_symlink_targets_don__39__t_exist.mdwn
blob: 3bfdf9e1d92e679a7aaf861f346270bb0182c2b0 (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
### Please describe the problem.

I created somelargefile on host1. A file with that name appears in the right place on host2 but I can't use it:


    host2:~/annex% cat somelargefile
    cat: somelargefile: No such file or directory


### What steps will reproduce the problem?

I am running http://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz and I connected two hosts with the 'Local computer' workflow. I run assistant on both sides.

I make a file on either side, wait a minute for it to sync, and then observe this on the remote side:

    lrwxrwxrwx 1 drewp drewp 178 Jul  9 23:58 somelargefile -> .git/annex/objects/Pw/vw/SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed/SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed

    host2:~/annex% ls -l .git/annex/objects/Pw/vw/SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed/              
    total 4                                                                                                                            
    -rw------- 1 drewp drewp 14 Jul  9 23:58 SHA256E-s8--bf87165d313027621936809a01da1994f9bd20ff9580c1380e7636e2443fe4ed.map

My "large file" is in fact 8 bytes long. The .map file contains the string "somelargefile\n"


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

git-annex version: 4.20130709-g339d1e0
build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP
local repository version: 3
default repository version: 3
supported repository versions: 3 4
upgrade supported from repository versions: 0 1 2

ubuntu 12.10 64-bit


### 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

New lines in .git/annex/daemon.log when I add another new file:


    (merging synced/git-annex into git-annex...)

    Updating bac8b65..0422d27
    Fast-forward
     newfile2 |    1 +
     1 file changed, 1 insertion(+)
     create mode 120000 newfile2
    [2013-07-10 00:08:38 PDT] Committer: Committing changes to git
    (Recording state in git...)
    [2013-07-10 00:08:38 PDT] Pusher: Syncing with host1.local_annex 
    To ssh://drewp@git-annex-host1.local-drewp_annex/~/annex/
       a80b6f5..72c0865  git-annex -> synced/git-annex

    Already up-to-date.


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

[[!meta title="local pairing git-annex-shell issue when using standalone tarball"]]

[[!tag moreinfo]]