Re: when adding Repository: "Unable to retrieve information from local Git repository"

2013-01-21 Thread Matthew Woehlke

On 2013-01-18 19:08, Jonathan Mastin wrote:

Solved.  The server is running with SELinux "enforcing" and so the git
command couldn't be started by apache.  The repository can be added by
disabling SELinux, or running the two below commands
audit2allow -a -M reviewboard
semodule -i reviewboard.pp


Nuts. Now that you mention it, I think I ran into something similar.

Do you still have your human-readable selinux rule? If so, would you 
mind sharing? (We might want to push some of this upstream or at least 
have it in the Fedora RB packages. I'd share mine, but I deleted the 
'source' version and don't know how to recreate it from the 'compiled' 
version.)


--
Matthew

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
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




Re: when adding Repository: "Unable to retrieve information from local Git repository"

2013-01-18 Thread Jonathan Mastin
Solved.  The server is running with SELinux "enforcing" and so the git 
command couldn't be started by apache.  The repository can be added by 
disabling SELinux, or running the two below commands
audit2allow -a -M reviewboard
semodule -i reviewboard.pp



On Friday, January 18, 2013 12:05:18 PM UTC-8, Jonathan Mastin wrote:
>
> Thanks Matthew.  Yes, I have tried with and without the .git
>
> On Friday, January 18, 2013 12:02:16 PM UTC-8, Matthew Woehlke wrote:
>>
>> On 2013-01-16 19:53, Jonathan Mastin wrote: 
>> > I'm having trouble when I go to the Add Repository webpage 
>> > http:///reviews/admin/db/scmtools/repository/add/ and choose to 
>> add 
>> > the path to my repository (/var/git/Intent/.git) and save changes, I 
>> get 
>> > the following error: Unable to retrieve information from local Git 
>> > repository 
>>
>> (Possibly) silly question... have you tried without the .git? (I would 
>> have guessed that is not wanted, although I could be wrong.) 
>>
>> -- 
>> Matthew 
>>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
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




Re: when adding Repository: "Unable to retrieve information from local Git repository"

2013-01-18 Thread Jonathan Mastin
Thanks Matthew.  Yes, I have tried with and without the .git

On Friday, January 18, 2013 12:02:16 PM UTC-8, Matthew Woehlke wrote:
>
> On 2013-01-16 19:53, Jonathan Mastin wrote: 
> > I'm having trouble when I go to the Add Repository webpage 
> > http:///reviews/admin/db/scmtools/repository/add/ and choose to 
> add 
> > the path to my repository (/var/git/Intent/.git) and save changes, I get 
> > the following error: Unable to retrieve information from local Git 
> > repository 
>
> (Possibly) silly question... have you tried without the .git? (I would 
> have guessed that is not wanted, although I could be wrong.) 
>
> -- 
> Matthew 
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
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




Re: when adding Repository: "Unable to retrieve information from local Git repository"

2013-01-18 Thread Matthew Woehlke

On 2013-01-16 19:53, Jonathan Mastin wrote:

I'm having trouble when I go to the Add Repository webpage
http:///reviews/admin/db/scmtools/repository/add/ and choose to add
the path to my repository (/var/git/Intent/.git) and save changes, I get
the following error: Unable to retrieve information from local Git
repository


(Possibly) silly question... have you tried without the .git? (I would 
have guessed that is not wanted, although I could be wrong.)


--
Matthew

--
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
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




Re: when adding Repository: "Unable to retrieve information from local Git repository"

2013-01-18 Thread Jonathan Mastin
I still haven't made progress on this.  Would appreciate anyone's thoughts 
on debugging!
Jonathan


On Wednesday, January 16, 2013 4:53:58 PM UTC-8, Jonathan Mastin wrote:
>
> Hi.  Thanks for ReviewBoard!  And thanks in advance for any time or help 
> you can offer...
>
> I'm trying to set up my own instance of ReviewBoard for the first time, 
> and I've got the reviewboard site running now (version 1.7.1), and a local 
> git repository.
>
> But I'm having trouble when I go to the Add Repository webpage 
> http:///reviews/admin/db/scmtools/repository/add/ and choose to add 
> the path to my repository (/var/git/Intent/.git) and save changes, I get 
> the following error: Unable to retrieve information from local Git 
> repository
>
> I have double checked permissions, and am able, as the apache user (which 
> runs the website) to execute the command "git --git-dir=/var/git/Intent.git 
> config core.repositoryformatversion" it returns a result of 0, which seems 
> good.
>
> Can you help figure out what's causing this error or provide debugging 
> suggestions?
>
> Thank you,
> Jonathan
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
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