summaryrefslogtreecommitdiff
path: root/doc/bugs/ssh_remote_sync_only_metadata___40__git-annex-shell_not_found__41__.mdwn
blob: b6b7646c481822c606ad82a210510c621f9c447f (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
### Please describe the problem.

- Add remote ssh repository (from add more repositories menu)
- Repos sync even files, but remote repo is marked (metadata only) - there is Fail on sync with this repository.

The actual issue is that UUID was not found. I checked the logs and it's obvious that git-annex-shell was not found on the remote.

### What steps will reproduce the problem?

I have
Linux box with (ZSH as a primary shell) where ~/.zshrc contains "export PATH=/path/to/annex:$PATH)
MacOSX box with (ZSH as a primary shell) where ~/.zshrc and ~/.bash contains  "export PATH=/path/to/annex:$PATH)

The issue appears both directions.
When I use ssh to connect remote host git-annex-shell is on PATH and works.

I guess you don't have full shell context of the user.
Worth to mention, that add remote repo (using a discovery - local computer) works well in the same repo.

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

git-annex version 5.20140420-ga25b8bb

### Please provide any additional information below.


Can't find the original original log, but once repo created it contains "zsh:1: git-annex-shell not found" so it later switch repository to (metadata only) mode.

This frequently repeat in the log:


[[!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


Please make sure you have the correct access rights
and the repository exists.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password).
fatal: Could not read from remote repository.

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

> [[done]]; user fixed their problem and I have 
> [[bugs/standalone_tarball_symlink_to_PATH_broken]] 
> for the general problem. I have also improved the message git-annex
> prints in this situation.