[solved] Premature end of script headers: dispatch.fcgi
Added by Tobias Fischer about 11 years ago
Just wanted to upgrade my 2.3.x installation to 2.4.4 and got the following error in my apache log:
[Mon Mar 10 20:08:12 2014] [warn] [client xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Mon Mar 10 20:08:12 2014] [error] [client xxx] Premature end of script headers: dispatch.fcgi
This was somehow familiar to me so I checked older redmine error logs and found the same error for the date I updated to 2.3.
Unfortunately I didn't remember how I fixed this last year... What an embarassing moment :-(
So I spent 90min now to google for a solution and diff old 2.3 and new 2.4 directory.
In the end, the only thing I forgot to copy to my redmine 2.4 folder was the file Gemfile.local
in the redmine root directory besides Gemfile
which I obviously created last year with the following content:
gem 'fcgi'
Apache restart and everything worked smoth... :-/
Just want to post this as a help for others...