I have read about having seperate public and developer repositories
and I suggested this; however, I have been told they do not wish to
put up a public Subversion repository.

For testing purposes, I created a user account solely to run apache on
the ReviewBoard server which has access to ssh and can check out from
the repository.  I also tried setting up an SSH key from that user to
the subversion server.  Both of these have ended up giving me the same
error.

On Apr 3, 5:21 pm, Christian Hammond <chip...@chipx86.com> wrote:
> This looks like the web server itself doesn't have permissions to run ssh.
> Maybe try to sudo as the server's user and run ssh, see what happens.
>
> For SVN, I typically recommend you have an anonymous HTTP URL and a
> developer SSH URL. You'd then set the HTTP URL as the repository path, and
> the developer one as the Mirror Path. This gets around these issues nicely.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.review-board.org
> VMware, Inc. -http://www.vmware.com
>
> On Fri, Apr 3, 2009 at 9:00 AM, Chris Moore <chry...@gmail.com> wrote:
>
> > Hello,
>
> > I have just set up ReviewBoard for the developers at my company.  We
> > can create Review Requests, but whenever someone attempts to "View
> > Diff" we get the following error:
>
> > Error in child process: exec of 'ssh' failed: Permission denied
>
> > Traceback (most recent call last):
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/views.py", line 145, in view_diff
> >    interdiffset, highlighting, True)[0]
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 619, in
> > get_diff_files
> >    large_data=True)
> >  File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha3-py2.4.egg/
> > djblets/util/misc.py", line 143, in cache_memoize
> >    data = lookup_callable()
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 618, in <lambda>
> >    enable_syntax_highlighting),
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in
> > get_chunks
> >    old = get_original_file(filediff)
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in
> > get_original_file
> >    large_data=True)[0]
> >  File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha3-py2.4.egg/
> > djblets/util/misc.py", line 143, in cache_memoize
> >    data = lookup_callable()
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in <lambda>
> >    data = cache_memoize(key, lambda: [fetch_file(file, revision)],
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in
> > fetch_file
> >    data = tool.get_file(file, revision)
> >  File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha4-
> > py2.4.egg/reviewboard/scmtools/svn.py", line 117, in get_file
> >    raise SCMError(e)
> > SCMError: Error in child process: exec of 'ssh' failed: Permission
> > denied
>
> > Apache is set to run as a ReviewBoard-specific user and this user has
> > an SSH key to the subversion server so that a password is not
> > required.  I have confirmed that this user can checkout the repository
> > without a password on the command line.
>
> > Does anyone have any suggestions?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to