Project

General

Profile

Actions

Defect #5788

closed

Problem upgrading from 0.8.x

Added by John Pataki almost 14 years ago. Updated almost 14 years ago.

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

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Ruby = 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
Rails = 2.3.5
Rack = 1.0.1
Passenger = 2.2.15
Apache: Server version: Apache/2.2.9 (Ubuntu)
Server built: Mar 9 2010 22:03:13

Redmine Revision: 3824

I followed the steps to upgrade... (via svn up)

When trying certain db write tasks (create or edit) in redmine I get an error message
white page with simply
Application error
Rails application failed to start properly

If I look at the production log at the same time the error occurs, I see nothing immediately. If I go BACK in the browser and continue with something else I see this in the production log:

/!\ FAILSAFE /!\  Wed Jun 30 11:06:59 -0700 2010
  Status: 500 Internal Server Error
  undefined method `rewind' for #<UNIXSocket:0x7f703ed1d340>
    /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/utils.rb:309:in `parse_multipart'
    /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/request.rb:133:in `POST'
    /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:15:in `call'

If I monitor the apache error log when the error shows up in the browser, I see this:

[ pid=17675 file=ext/apache2/Hooks.cpp:565 time=2010-06-30 11:29:17.333 ]:
  Unexpected error in mod_passenger: An error occured while sending the request body to the request handler: Broken pipe (32)
  Backtrace:
     in 'virtual void Passenger::Application::Session::sendBodyBlock(const char*, unsigned int)' (Application.h:159)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:490)

I updated passenger using gem to the 2.2.15, is there some other mod_passenger change that is required here?

Actions

Also available in: Atom PDF