This commit is contained in:
parent
32bf4d3457
commit
f06265dc8e
1 changed files with 77 additions and 0 deletions
77
doc/bugs/Failed_move__47__get_over_ssh_in_new_version.mdwn
Normal file
77
doc/bugs/Failed_move__47__get_over_ssh_in_new_version.mdwn
Normal file
|
@ -0,0 +1,77 @@
|
|||
### Please describe the problem.
|
||||
|
||||
Since a couple of days I can't move files to or get files from a remote over ssh.
|
||||
|
||||
I'm guessing that it has something to do with the new release 10.20220127 release that I'm using locally, as I haven't changed a single thing in the setup, and now it doesn't work anymore. I also have a different computer with version 6.20180227, and that one can access the remote without any problems.
|
||||
|
||||
Maybe it's also that I have an older git-annex version installed on it (again 6.20180227). The remote server is basically an old small ARM processor running on Ubuntu 18.04 using an SSD card, and that's the newest version that's available.
|
||||
|
||||
### What steps will reproduce the problem?
|
||||
|
||||
The same effect happens when I'm creating a new repository.
|
||||
Everything, including syncing works. But as soon as I'm moving files, errors pop up.
|
||||
|
||||
```shell
|
||||
$ git init
|
||||
$ git annex init
|
||||
$ echo 123 > file
|
||||
$ git annex add file
|
||||
$ git commit -m "added file"
|
||||
$ git remote add wd8ext ssh://rock64/mnt/wd8ext/remote-annex
|
||||
$ git annex sync
|
||||
$ git annex --verbose --debug move --to wd8ext file
|
||||
[2022-02-08 21:34:58.211337603] (Utility.Process) process [426973] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","show-ref","git-annex"]
|
||||
[2022-02-08 21:34:58.212514973] (Utility.Process) process [426973] done ExitSuccess
|
||||
[2022-02-08 21:34:58.212846926] (Utility.Process) process [426974] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","show-ref","--hash","refs/heads/git-annex"]
|
||||
[2022-02-08 21:34:58.21382918] (Utility.Process) process [426974] done ExitSuccess
|
||||
[2022-02-08 21:34:58.214613297] (Utility.Process) process [426975] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","log","refs/heads/git-annex..81758130587469be97e82c11cb4fc39ebcab2c35","--pretty=%H","-n1"]
|
||||
[2022-02-08 21:34:58.215981386] (Utility.Process) process [426975] done ExitSuccess
|
||||
[2022-02-08 21:34:58.217035304] (Utility.Process) process [426976] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch"]
|
||||
[2022-02-08 21:34:58.223715442] (Utility.Process) process [426977] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","symbolic-ref","-q","HEAD"]
|
||||
[2022-02-08 21:34:58.22483633] (Utility.Process) process [426977] done ExitSuccess
|
||||
[2022-02-08 21:34:58.225122771] (Utility.Process) process [426978] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","show-ref","refs/heads/master"]
|
||||
[2022-02-08 21:34:58.226399383] (Utility.Process) process [426978] done ExitSuccess
|
||||
[2022-02-08 21:34:58.226786503] (Utility.Process) process [426979] read: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","ls-files","--stage","-z","--","file"]
|
||||
[2022-02-08 21:34:58.22728136] (Utility.Process) process [426980] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch-check=%(objectname) %(objecttype) %(objectsize)","--buffer"]
|
||||
[2022-02-08 21:34:58.227992286] (Utility.Process) process [426981] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch=%(objectname) %(objecttype) %(objectsize)","--buffer"]
|
||||
[2022-02-08 21:34:58.228323732] (Utility.Process) process [426976] done ExitSuccess
|
||||
[2022-02-08 21:34:58.229063353] (Utility.Process) process [426982] chat: git ["--git-dir=.git","--work-tree=.","--literal-pathspecs","-c","annex.debug=true","cat-file","--batch=%(objectname) %(objecttype) %(objectsize)","--buffer"]
|
||||
move file
|
||||
You have enabled concurrency, but git-annex is not able to use ssh connection caching. This may result in multiple ssh processes prompting for passwords at the same time.
|
||||
|
||||
annex.sshcaching is not set to true
|
||||
[2022-02-08 21:34:58.232369632] (Utility.Process) process [426984] chat: ssh ["rock64","-T","git-annex-shell 'p2pstdio' '/mnt/wd8ext/remote-annex' '--debug' '73dd11e5-3911-4269-9ef9-5f2796f68dd4' --uuid eea8c03e-1fa2-4998-8c1b-a47fbad2e37e"]
|
||||
fatal: Run with no arguments or with -c cmd
|
||||
git-annex-shell: git-shell failed
|
||||
[2022-02-08 21:34:59.990281774] (Utility.Process) process [426984] done ExitFailure 1
|
||||
(unable to check wd8ext) failed
|
||||
[2022-02-08 21:34:59.990887594] (Utility.Process) process [426982] done ExitSuccess
|
||||
[2022-02-08 21:34:59.991067464] (Utility.Process) process [426981] done ExitSuccess
|
||||
[2022-02-08 21:34:59.991183308] (Utility.Process) process [426980] done ExitSuccess
|
||||
[2022-02-08 21:34:59.991280532] (Utility.Process) process [426979] done ExitSuccess
|
||||
move: 1 failed
|
||||
```
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
|
||||
Operating system: Manjaro Linux 21.2.3
|
||||
|
||||
```shell
|
||||
$ git annex version
|
||||
git-annex version: 10.20220127-ge6e60b644
|
||||
build flags: Assistant Webapp Pairing Inotify DBus DesktopNotify TorrentParser MagicMime Feeds Testsuite S3 WebDAV
|
||||
dependency versions: aws-0.22 bloomfilter-2.0.1.0 cryptonite-0.29 DAV-1.3.4 feed-1.3.2.0 ghc-9.0.2 http-client-0.7.10 persistent-sqlite-2.13.0.3 torrent-10000.1.1 uuid-1.3.15 yesod-1.6.1.2
|
||||
key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2BP512E BLAKE2BP512 BLAKE2S256E BLAKE2S256 BLAKE2S160E BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL X*
|
||||
remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav adb tahoe glacier ddar git-lfs httpalso borg hook external
|
||||
operating system: linux x86_64
|
||||
supported repository versions: 8 9 10
|
||||
upgrade supported from repository versions: 0 1 2 3 4 5 6 7 8 9 10
|
||||
local repository version: 8
|
||||
```
|
||||
|
||||
### Please provide any additional information below.
|
||||
|
||||
|
||||
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
|
||||
|
||||
Yes, everything worked perfectly (using git-annex since at least 2 years).
|
Loading…
Reference in a new issue