Project

General

Profile

Actions

Defect #4993

closed

FastCGI no more supported for Redmine >= 0.9.0 and Rails >= 2.3.5

Added by Anthony Groyer almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-03-05
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

The script dispatch.fcgi does not work anymore with official Redmine releases >= 0.9.0 and Rails >= 2.3.5
Here is my environment:
$ RAILS_ENV=production ruby script/about
About your application's environment
Ruby version 1.8.6 (i486-linux)
RubyGems version 1.3.6
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /soft/redmine-0.9.0
Environment production
Database adapter sqlite3
Database schema version 20091227112908

Here what I do after initializing Redmine:
$ cp public/dispatch.fcgi.example public/dispatch.fcgi
$ chmod +x public/dispatch.fcgi
$ dos2unix public/dispatch.fcgi (this should be nice to avoid to do this)
$ public/dispatch.fcgi

This does nothing. On other platforms, it outputs the HTML contents.

I try also to use an apache2 fcgi configuration but this does not work as well.
I tried 0.9.1 and 0.9.2 and it does not work either.

FastCGI works well with the Redmine debian package 0.9.1-1 (squeeze-testing) and 0.9.3-1 (sid-unstable) that uses Rails 2.2.3.

  1. RAILS_ENV=production ruby script/about

About your application's environment
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.5
Rails version 2.2.3
Active Record version 2.2.3
Action Pack version 2.2.3
Active Resource version 2.2.3
Action Mailer version 2.2.3
Active Support version 2.2.3
Edge Rails revision unknown
Application root /usr/share/redmine
Environment production
Database adapter sqlite3
Database schema version 20091227112908

I suspect Rails 2.3.5 to be the cause of this issue.

Actions

Also available in: Atom PDF