Um 19:49 Uhr am 28.09.20 schrieb Kern Sibbald: > Can you tell me why the version at xdocs.git works and > the one at docs.git does not work. Note: the one at xdocs.git > was deleted a few days ago by me since it was out of date. > > I believe that I have now fixed the web interface to the three > repos (bacula.git, docs.git, and libs3.git) but only bacula.git > can be checked out. I still do not know why the other two > fail.
Adding some tracing to git shows this: oweh@host:/tmp$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone http://git.bacula.org/docs.git 20:55:19.999684 git.c:444 trace: built-in: git clone http://git.bacula.org/docs.git Cloning into 'docs'... 20:55:20.001167 run-command.c:663 trace: run_command: git-remote-http origin http://git.bacula.org/docs.git 20:55:20.009944 http.c:756 == Info: Couldn't find host git.bacula.org in the .netrc file; using defaults 20:55:20.012961 http.c:756 == Info: Trying 80.244.178.6:80... 20:55:20.047773 http.c:756 == Info: Connected to git.bacula.org (80.244.178.6) port 80 (#0) 20:55:20.047882 http.c:703 => Send header, 0000000206 bytes (0x000000ce) 20:55:20.047893 http.c:715 => Send header: GET /docs.git/info/refs?service=git-upload-pack HTTP/1.1 20:55:20.047912 http.c:715 => Send header: Host: git.bacula.org 20:55:20.047923 http.c:715 => Send header: User-Agent: git/2.28.0 20:55:20.047934 http.c:715 => Send header: Accept: */* 20:55:20.047944 http.c:715 => Send header: Accept-Encoding: deflate, gzip, br 20:55:20.047953 http.c:715 => Send header: Accept-Language: en-US, *;q=0.9 20:55:20.047962 http.c:715 => Send header: Pragma: no-cache 20:55:20.047972 http.c:715 => Send header: 20:55:20.076289 http.c:756 == Info: Mark bundle as not supporting multiuse 20:55:20.076320 http.c:703 <= Recv header, 0000000024 bytes (0x00000018) 20:55:20.076331 http.c:715 <= Recv header: HTTP/1.1 404 Not Found 20:55:20.076340 http.c:703 <= Recv header, 0000000037 bytes (0x00000025) 20:55:20.076346 http.c:715 <= Recv header: Date: Mon, 28 Sep 2020 18:55:20 GMT 20:55:20.076353 http.c:703 <= Recv header, 0000000032 bytes (0x00000020) 20:55:20.076360 http.c:715 <= Recv header: Server: Apache/2.4.18 (Ubuntu) 20:55:20.076369 http.c:703 <= Recv header, 0000000021 bytes (0x00000015) 20:55:20.076375 http.c:715 <= Recv header: Content-Length: 276 20:55:20.076383 http.c:703 <= Recv header, 0000000019 bytes (0x00000013) 20:55:20.076389 http.c:715 <= Recv header: Connection: close 20:55:20.076397 http.c:703 <= Recv header, 0000000045 bytes (0x0000002d) 20:55:20.076403 http.c:715 <= Recv header: Content-Type: text/html; charset=iso-8859-1 20:55:20.076411 http.c:703 <= Recv header, 0000000002 bytes (0x00000002) 20:55:20.076417 http.c:715 <= Recv header: 20:55:20.076437 http.c:756 == Info: Closing connection 0 fatal: repository 'http://git.bacula.org/docs.git/' not found Which is correct, there is no http://git.bacula.org/docs.git/info/refs, while it *is* present in the bacula.git repository: oweh@host:/tmp$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone http://git.bacula.org/bacula.git 20:54:16.295863 git.c:444 trace: built-in: git clone http://git.bacula.org/bacula.git Cloning into 'bacula'... 20:54:16.298342 run-command.c:663 trace: run_command: git-remote-http origin http://git.bacula.org/bacula.git 20:54:16.306929 http.c:756 == Info: Couldn't find host git.bacula.org in the .netrc file; using defaults 20:54:16.309534 http.c:756 == Info: Trying 80.244.178.6:80... 20:54:16.336949 http.c:756 == Info: Connected to git.bacula.org (80.244.178.6) port 80 (#0) 20:54:16.337081 http.c:703 => Send header, 0000000208 bytes (0x000000d0) 20:54:16.337105 http.c:715 => Send header: GET /bacula.git/info/refs?service=git-upload-pack HTTP/1.1 20:54:16.337129 http.c:715 => Send header: Host: git.bacula.org 20:54:16.337137 http.c:715 => Send header: User-Agent: git/2.28.0 20:54:16.337144 http.c:715 => Send header: Accept: */* 20:54:16.337151 http.c:715 => Send header: Accept-Encoding: deflate, gzip, br 20:54:16.337157 http.c:715 => Send header: Accept-Language: en-US, *;q=0.9 20:54:16.337164 http.c:715 => Send header: Pragma: no-cache 20:54:16.337168 http.c:715 => Send header: 20:54:16.367859 http.c:756 == Info: Mark bundle as not supporting multiuse 20:54:16.367897 http.c:703 <= Recv header, 0000000017 bytes (0x00000011) 20:54:16.367912 http.c:715 <= Recv header: HTTP/1.1 200 OK 20:54:16.367925 http.c:703 <= Recv header, 0000000037 bytes (0x00000025) 20:54:16.367934 http.c:715 <= Recv header: Date: Mon, 28 Sep 2020 18:54:16 GMT 20:54:16.367944 http.c:703 <= Recv header, 0000000032 bytes (0x00000020) 20:54:16.367952 http.c:715 <= Recv header: Server: Apache/2.4.18 (Ubuntu) 20:54:16.367972 http.c:703 <= Recv header, 0000000046 bytes (0x0000002e) 20:54:16.367980 http.c:715 <= Recv header: Last-Modified: Mon, 28 Sep 2020 13:08:17 GMT 20:54:16.367987 http.c:703 <= Recv header, 0000000028 bytes (0x0000001c) 20:54:16.367993 http.c:715 <= Recv header: ETag: "272b-5b05f5c222d22" 20:54:16.368000 http.c:703 <= Recv header, 0000000022 bytes (0x00000016) 20:54:16.368007 http.c:715 <= Recv header: Accept-Ranges: bytes 20:54:16.368013 http.c:703 <= Recv header, 0000000023 bytes (0x00000017) 20:54:16.368018 http.c:715 <= Recv header: Content-Length: 10027 20:54:16.368024 http.c:703 <= Recv header, 0000000019 bytes (0x00000013) 20:54:16.368031 http.c:715 <= Recv header: Connection: close 20:54:16.368038 http.c:703 <= Recv header, 0000000002 bytes (0x00000002) 20:54:16.368045 http.c:715 <= Recv header: 20:54:16.368242 http.c:756 == Info: Closing connection 0 20:54:16.368500 http.c:756 == Info: Couldn't find host git.bacula.org in the .netrc file; using defaults 20:54:16.368528 http.c:756 == Info: Hostname git.bacula.org was found in DNS cache 20:54:16.368557 http.c:756 == Info: Trying 80.244.178.6:80... 20:54:16.398674 http.c:756 == Info: Connected to git.bacula.org (80.244.178.6) port 80 (#1) 20:54:16.398856 http.c:703 => Send header, 0000000179 bytes (0x000000b3) 20:54:16.398892 http.c:715 => Send header: GET /bacula.git/HEAD HTTP/1.1 20:54:16.398900 http.c:715 => Send header: Host: git.bacula.org 20:54:16.398906 http.c:715 => Send header: User-Agent: git/2.28.0 20:54:16.398912 http.c:715 => Send header: Accept: */* 20:54:16.398918 http.c:715 => Send header: Accept-Encoding: deflate, gzip, br 20:54:16.398926 http.c:715 => Send header: Accept-Language: en-US, *;q=0.9 20:54:16.398932 http.c:715 => Send header: Pragma: no-cache 20:54:16.398939 http.c:715 => Send header: 20:54:16.430775 http.c:756 == Info: Mark bundle as not supporting multiuse 20:54:16.430853 http.c:703 <= Recv header, 0000000017 bytes (0x00000011) 20:54:16.430865 http.c:715 <= Recv header: HTTP/1.1 200 OK [... etc. etc. etc. ...] Grüße, Sven. _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel