From 42b8a23be49e8880b29fb6b6c7137e96933d7368 Mon Sep 17 00:00:00 2001 From: "aaron@784fd85903b38afc8a44d117ba95e3dcce0bd230" Date: Mon, 7 Jan 2019 21:54:10 +0000 Subject: [PATCH] Format post with code blocks for readability --- doc/forum/Cannot_get_file_with_git-annex.mdwn | 150 ++++++++++-------- 1 file changed, 80 insertions(+), 70 deletions(-) diff --git a/doc/forum/Cannot_get_file_with_git-annex.mdwn b/doc/forum/Cannot_get_file_with_git-annex.mdwn index 6206ec4bcc..f2419ef83e 100644 --- a/doc/forum/Cannot_get_file_with_git-annex.mdwn +++ b/doc/forum/Cannot_get_file_with_git-annex.mdwn @@ -1,85 +1,95 @@ I recently noticed that a file I thought I had on one of my repositories was missing, so I decided to get it: -chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram -get 20151226_112356_4012_1_7/2/pulseprogram (from data0...) -git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data0/ni_data; perhaps this repository is not set up correctly or has moved -rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] -rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] + chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram + get 20151226_112356_4012_1_7/2/pulseprogram (from data0...) + git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data0/ni_data; perhaps this repository is not set up correctly or has moved + rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] + rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] - rsync failed -- run git annex again to resume file transfer -(from data1...) -git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data1/ni_data; perhaps this repository is not set up correctly or has moved -rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] -rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] + rsync failed -- run git annex again to resume file transfer + (from data1...) + git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data1/ni_data; perhaps this repository is not set up correctly or has moved + rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] + rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] - rsync failed -- run git annex again to resume file transfer -(from quiethost...) -ssh: connect to host localhost port 2225: Connection refused -rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] -rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3] + rsync failed -- run git annex again to resume file transfer + (from quiethost...) + ssh: connect to host localhost port 2225: Connection refused + rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] + rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3] - rsync failed -- run git annex again to resume file transfer -(from zenhost...) -SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 - 32,243 100% 7.69MB/s 0:00:00 (xfr#1, to-chk=0/1) -(checksum...) ok -(recording state in git...) -chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pdata/1/ -total 468K -drwxr-sr-x 2 chymera wheel 4.0K Nov 2 2017 . -drwxr-sr-x 3 chymera wheel 4.0K Mar 20 2017 .. --rw-r-Sr-- 1 chymera wheel 422K Mar 20 2017 2dseq --rw-r-Sr-- 1 chymera wheel 356 Mar 20 2017 id --rw-r-Sr-- 1 chymera wheel 420 Mar 20 2017 methreco --rw-r-Sr-- 1 chymera wheel 349 Mar 20 2017 procs --rw-r-Sr-- 1 chymera wheel 9.1K Mar 20 2017 reco --rw-r-Sr-- 1 chymera wheel 8.3K Nov 2 2017 visu_pars -chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram -lrwxrwxrwx 1 chymera wheel 195 Dec 25 22:01 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 -chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram -chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pdata/1/^C -chymera@clusterhost ~/ni_data/ofM.dr $ git annex direct -chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram -chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram -lrwxrwxrwx 1 chymera wheel 195 Dec 25 22:01 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 -chymera@clusterhost ~/ni_data/ofM.dr $ git annex drop 20151226_112356_4012_1_7/2/pulseprogram -drop 20151226_112356_4012_1_7/2/pulseprogram (locking data0...) (lockcontent failed) (checking data0...) git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data0/ni_data; perhaps this repository is not set up correctly or has moved -(locking data1...) (lockcontent failed) (checking data1...) git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data1/ni_data; perhaps this repository is not set up correctly or has moved -(locking quiethost...) (lockcontent failed) (checking quiethost...) ssh: connect to host localhost port 2225: Connection refused -(locking zenhost...) ok -(recording state in git...) -chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram -get 20151226_112356_4012_1_7/2/pulseprogram (from data0...) -git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data0/ni_data; perhaps this repository is not set up correctly or has moved -rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] -rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] + rsync failed -- run git annex again to resume file transfer + (from zenhost...) + SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 + 32,243 100% 7.69MB/s 0:00:00 (xfr#1, to-chk=0/1) + (checksum...) ok + (recording state in git...) - rsync failed -- run git annex again to resume file transfer -(from data1...) -git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data1/ni_data; perhaps this repository is not set up correctly or has moved -rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] -rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] - rsync failed -- run git annex again to resume file transfer -(from quiethost...) -ssh: connect to host localhost port 2225: Connection refused -rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] -rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3] + chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pdata/1/ + total 468K + drwxr-sr-x 2 chymera wheel 4.0K Nov 2 2017 . + drwxr-sr-x 3 chymera wheel 4.0K Mar 20 2017 .. + -rw-r-Sr-- 1 chymera wheel 422K Mar 20 2017 2dseq + -rw-r-Sr-- 1 chymera wheel 356 Mar 20 2017 id + -rw-r-Sr-- 1 chymera wheel 420 Mar 20 2017 methreco + -rw-r-Sr-- 1 chymera wheel 349 Mar 20 2017 procs + -rw-r-Sr-- 1 chymera wheel 9.1K Mar 20 2017 reco + -rw-r-Sr-- 1 chymera wheel 8.3K Nov 2 2017 visu_pars - rsync failed -- run git annex again to resume file transfer -(from zenhost...) -SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 - 32,243 100% 30.75MB/s 0:00:00 (xfr#1, to-chk=0/1) -(checksum...) ok -(recording state in git...) -chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram -lrwxrwxrwx 1 chymera wheel 195 Dec 25 22:01 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 + + chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram + lrwxrwxrwx 1 chymera wheel 195 Dec 25 22:01 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 + chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram + chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pdata/1/^C + chymera@clusterhost ~/ni_data/ofM.dr $ git annex direct + chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram + chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram + lrwxrwxrwx 1 chymera wheel 195 Dec 25 22:01 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 + + + chymera@clusterhost ~/ni_data/ofM.dr $ git annex drop 20151226_112356_4012_1_7/2/pulseprogram + drop 20151226_112356_4012_1_7/2/pulseprogram (locking data0...) (lockcontent failed) (checking data0...) git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data0/ni_data; perhaps this repository is not set up correctly or has moved + (locking data1...) (lockcontent failed) (checking data1...) git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data1/ni_data; perhaps this repository is not set up correctly or has moved + (locking quiethost...) (lockcontent failed) (checking quiethost...) ssh: connect to host localhost port 2225: Connection refused + (locking zenhost...) ok + (recording state in git...) + + + chymera@clusterhost ~/ni_data/ofM.dr $ git annex get 20151226_112356_4012_1_7/2/pulseprogram + get 20151226_112356_4012_1_7/2/pulseprogram (from data0...) + git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data0/ni_data; perhaps this repository is not set up correctly or has moved + rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] + rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] + + rsync failed -- run git annex again to resume file transfer + (from data1...) + git-annex-shell: failed to read git config of git repository in zenhost on /run/media/chymera/data1/ni_data; perhaps this repository is not set up correctly or has moved + rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] + rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.3] + + rsync failed -- run git annex again to resume file transfer + (from quiethost...) + ssh: connect to host localhost port 2225: Connection refused + rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] + rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3] + + rsync failed -- run git annex again to resume file transfer + (from zenhost...) + SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 + 32,243 100% 30.75MB/s 0:00:00 (xfr#1, to-chk=0/1) + (checksum...) ok + (recording state in git...) + + chymera@clusterhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram + lrwxrwxrwx 1 chymera wheel 195 Dec 25 22:01 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 Even after git-annex states it fetched it, the symlink is still broken. On my other remote, however, it's perfectly fine: -chymera@zenhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram -lrwxrwxrwx 1 chymera wheel 195 May 23 2018 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 + chymera@zenhost ~/ni_data/ofM.dr $ ls -lah 20151226_112356_4012_1_7/2/pulseprogram + lrwxrwxrwx 1 chymera wheel 195 May 23 2018 20151226_112356_4012_1_7/2/pulseprogram -> ../../../.git/annex/objects/vz/WW/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624/SHA256E-s32243--feae20d26c487947f9ad30019459464ba5a206a4ae6149a9d10fa4100c64f624 +