Project

General

Profile

Redmine via passenger running with Development settings

Added by David Higgins about 13 years ago

I am running Redmine on a Debian box with an up-to-date lenny installation.

I have installed Ruby and all dependencies, ran passenger-install-apache2-module, which completed successfully, and have executed the RAILS_ENV=production rake db:migrate
RAILS_ENV=production rake redmine:load_default_data
commands successfully.

Redmine runs successfully under webrick.

When I try and view the page under Apache I get the standard error 500, and in my logs I get "action_controller/cgi_process.rb:22:in `__send__': undefined method `env_table' for nil:NilClass (NoMethodError)"

I get the same error if I try and run /redmine/public/dispatch.cgi in a shell

http://www.redmine.org/issues/4610 suggests running with passenger. I have tried this and have the same issue.

Can anyone suggest a course of action?


Replies (3)

RE: Redmine via passenger running with Development settings - Added by David Higgins about 13 years ago

Sorry, title is misleading. Solved one problem and posted about another.

RE: Redmine via passenger running with Development settings - Added by Dennis H about 13 years ago

David Higgins wrote:

I am running Redmine on a Debian box with an up-to-date lenny installation.

...

When I try and view the page under Apache I get the standard error 500, and in my logs I get "action_controller/cgi_process.rb:22:in `__send__': undefined method `env_table' for nil:NilClass (NoMethodError)"

Hi David, how did you resolve this issue?

Thanks,
Dennis

RE: Redmine via passenger running with Development settings - Added by David Higgins about 13 years ago

Dennis,
My passenger/rails configuration wasn't working correctly with my Apache server. When you view a default Apache 404 page with the ServerSignature enabled you should see Passenger on there.

Sorry I can't be more specific, I had so many issues getting everything working many of them have melded into one big glob.
-Hig

    (1-3/3)