Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
redmine git repository browsing problem with passenger
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
rb  
View profile  
 More options Jul 18 2008, 7:50 am
From: rb <raphi...@gmail.com>
Date: Fri, 18 Jul 2008 04:50:11 -0700 (PDT)
Local: Fri, Jul 18 2008 7:50 am
Subject: redmine git repository browsing problem with passenger
Hi!

I have installed redmine to handle a git project. I have alredy
deployed several redmines in this config, but ran the app with mongrel
or even webrick.
Now I try to run it with passenger/mod_rails and encounter a problem:
the url /repositories/show/myproject lists the last commits, but
doesn't show the repository browser.

Running the same installation with webrick, under the user redmine
used by passenger to run the app, I get the repository browser
displayed.

Anyone encountered this problem? Any hint as to which settings I
should take a look for directory access from Apache? (though the
redmine user has full access to the directory. It seems to come from
Apache)

Thanks in advance for your help

Raph

PS: I also sent a message to the redmien forum:
http://www.redmine.org/boards/2/topics/show/1713


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rhett Sutphin  
View profile  
 More options Jul 18 2008, 8:48 am
From: Rhett Sutphin <rhett.sutp...@gmail.com>
Date: Fri, 18 Jul 2008 07:48:04 -0500
Local: Fri, Jul 18 2008 8:48 am
Subject: Re: redmine git repository browsing problem with passenger
Hi,

On Jul 18, 2008, at 6:50 AM, rb wrote:

> Hi!

> I have installed redmine to handle a git project. I have alredy
> deployed several redmines in this config, but ran the app with mongrel
> or even webrick.
> Now I try to run it with passenger/mod_rails and encounter a problem:
> the url /repositories/show/myproject lists the last commits, but
> doesn't show the repository browser.

> Running the same installation with webrick, under the user redmine
> used by passenger to run the app, I get the repository browser
> displayed.

I can't quite tell from your description, but just in case -- have you  
considered this?

http://modrails.com/documentation/Users%20guide.html#user_switching

That is, does the redmine user own redmine's config/environment.rb?

Rhett


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rb  
View profile  
 More options Jul 18 2008, 9:32 am
From: rb <raphi...@gmail.com>
Date: Fri, 18 Jul 2008 06:32:57 -0700 (PDT)
Local: Fri, Jul 18 2008 9:32 am
Subject: Re: redmine git repository browsing problem with passenger

On Jul 18, 2:48 pm, Rhett Sutphin <rhett.sutp...@gmail.com> wrote:

Hi Rhett,

thanks for the hint, but I had already looked at it:
ls -l config/environment.rb
-rw-r--r-- 1 redmine redmine 3683 2008-07-17 17:17 config/
environment.rb

I agree my description is rather vague, because I don't see where the
problem is coming from :(

Will update you if I get infor from redmine devs.

Cheers

RAph


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rb  
View profile  
 More options Jul 31 2008, 5:24 am
From: rb <raphi...@gmail.com>
Date: Thu, 31 Jul 2008 02:24:29 -0700 (PDT)
Local: Thurs, Jul 31 2008 5:24 am
Subject: Re: redmine git repository browsing problem with passenger
FYI, the problem was that redmine didn't find the git executable. I
have installed git in /usr/local/git.
The git module for redmine has a variable GIT_BIN with value 'git.
Setting the value to /usr/local/git/bin/git solved the problem.
This var is in lib/redmine/scm/adapters/git_adapter.rb

In the hope it can be useful to others.

Raph

On Jul 18, 3:32 pm, rb <raphi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »