diff options
author | Greg Grossmeier <greg@grossmeier.net> | 2013-12-27 10:00:52 -0800 |
---|---|---|
committer | Greg Grossmeier <greg@grossmeier.net> | 2013-12-27 10:00:52 -0800 |
commit | 2ee87dcc2662e813ee3220e9d25cd337d2058f1b (patch) | |
tree | 8f226864537d15426c69953c175482b657347c3c /doc/bugs | |
parent | fca12149375a6189638dd5508d82bdbddcc01e95 (diff) |
more debugging info
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/unable_to_sync_complains_of_missing_git-upload_and_receive_pack.mdwn | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/bugs/unable_to_sync_complains_of_missing_git-upload_and_receive_pack.mdwn b/doc/bugs/unable_to_sync_complains_of_missing_git-upload_and_receive_pack.mdwn index fb642ece3..ed8904db4 100644 --- a/doc/bugs/unable_to_sync_complains_of_missing_git-upload_and_receive_pack.mdwn +++ b/doc/bugs/unable_to_sync_complains_of_missing_git-upload_and_receive_pack.mdwn @@ -163,3 +163,40 @@ git lib git-annex libdirs """]] + + + + +### After some debugging with Joey... +12:24 < joeyh> git does not use annex-ssh-options +12:24 < joeyh> the way the assistant sets this up is it makes up a new hostname, and in .ssh/config, makes that hostname use the real domain name, and the key +12:25 < joeyh> there's clearly a bug here.. the assistant only does that when there is no passwordless ssh key already set up. But in this wacky way of installing git and git-annex on a server, it needs to always do it +12:26 < joeyh> probably the assistant should probe if ssh server git-receive-pack works, and if not, always set up its special config +12:26 < joeyh> alternatively, the standalone tarball could have an actual installation step, rather than just being unpacked + +Based on that I added (on the amd64/rose machine): +[[!format sh """ +greg@rose:~/.ssh$ cat config +Host synology + HostName yep.org #obviously redacted + IdentityFile /home/greg/.ssh/annex.rose_rsa + +$ git remote show -n synology +* remote synology + Fetch URL: greg@synology:/volume1/photo/ + Push URL: greg@synology:/volume1/photo/ + HEAD branch: (not queried) + Local ref configured for 'git push' (status not queried): + (matching) pushes to (matching) +"""]] + +Now, to do a simple test with git: + +[[!format sh """ +$ git remote show synology +git-annex-shell: git-shell failed +fatal: Could not read from remote repository. + +Please make sure you have the correct access rights +and the repository exists. +"""]] |