Reputation: 77
I am trying to setup Review Board (1.7.13). I want to add a Git repository which resides on a remote machine. I went to Manage -> Repositories -> Add and did the following steps:
Name
.None
.Git
.[email protected]:/localhome/gitusers/username/reponame.git
.After saving, I get the following error:
A repository was not found at the specified path.
I looked at the logs, it shows as:
2013-08-27 14:07:18,035 - INFO - - Authentication (publickey) failed.
2013-08-27 14:07:18,046 - DEBUG - - userauth is OK
2013-08-27 14:07:23,062 - INFO - - Authentication (password) successful!
2013-08-27 14:07:23,161 - DEBUG - - EOF in transport thread
2013-08-27 14:07:23,187 - ERROR - - Git: Failed to find valid repository ssh://[email protected]/localhome/gitusers/username/reponame.git: error: cannot spawn rbssh: No such file or directory
fatal: unable to fork
I noticed in the log above that the :
behind the IP address is no longer there (See ERROR line). How to resolve the issue?
Upvotes: 0
Views: 2798
Reputation: 122
I've got this working. In addition to what you did, I also enabled ssh keys between review board and git. To do this I did the following:
I also set the raw file url mask to:
http://[ipaddr]/cgi-bin/gitweb/gitweb.cgi?p=reponame.git;a=blob_plain;f=<filename>;h=<revision>
If that doesn't work, you'll probably have better luck asking on the review board support forum (https://groups.google.com/forum/#!forum/reviewboard) some of the maintainers seems to reply to problems there regularly.
Upvotes: 1