When configuring the SSH public key of the personal center, when the client pulls the replacement code, the following error is indicated:
Cloning into ' comix-b2m ' ... Gogs:internal errorfatal:could not read from remote repository. Please make sure the correct access rightsand the repository exists.
Once considered SSH public key configuration problem
Back-end Serv log error as follows;
EXEC: "Git-upload-pack": Executable file not found in $PATH
The original is gogs default value under/bin find Binary command, decisively made a soft link,
sudo ln-s /usr/local/bin/git-upload-pack/bin/git-upload-pack
Similar to this you may also encounter the following related, you can refer to the resolution: (Below the first half of the path refer to your actual git command path)
Ln-s/usr/local/git/bin/git-cvsserver/bin/git--s/usr/local/git/bin/gitk/bin/-s/usr/local/git/ bin/git-receive-pack/bin/git-receive--s/usr/local/git/bin/git-shell/bin/git--s/usr/local/git /bin/git-upload-archive/bin/git-upload-archive
After the addition, the client can gracefully down the project, everything is OK.
Cloning into'comix-b2m'... remote:counting objects:4178, done.remote:Compressing objects: -% (2939/2939), Done.remote:Total4178(Delta2328), reused2332(Delta1045) Receiving objects: -% (4178/4178),347.71MiB |1.08mib/s, done. Resolving deltas: -% (2328/2328), done. Checking outFiles -% (1487/1487), done.
Gogs Warehouse management software exec: "git-upload-pack": Executable file not found in $PATH