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:
- Added
Name
. - Selected Hosting service as
None
. - Selected Repository type as
Git
. - Chose Path as
[email protected]:/localhome/gitusers/username/reponame.git
. - Left Mirror Path and Raw file URL mask empty.
- Entered Username and Password.
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?
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:
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.