Project

General

Profile

Actions

Defect #10317

closed

Installation of Redmine 1.3.1 on Nginx via Mongrel using thin now

Added by Barry Krein over 12 years ago. Updated over 12 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,

i have tried all the given different solutions to that NoMethodError and send_cookies problem.

I still get the errors.

The redmine i use is : svn - Revision 8976: /branches/1.3-stable

==> log/mongrel.log <==
** Daemonized, any open files are closed.  Look at log/mongrel.pid and log/mongrel.log for info.
** Starting Mongrel listening at 0.0.0.0:9001
** Starting Rails with production environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload (without restart).  It might not work well.
** Mongrel 1.1.5 available at 0.0.0.0:9001
** Writing PID file to log/mongrel.pid
Fri Feb 24 16:46:36 +0100 2012: Error calling Dispatcher.dispatch #<NoMethodError: undefined method `[]' for nil:NilClass>
/usr/lib/ruby/1.8/mongrel/cgi.rb:108:in `send_cookies'
/usr/lib/ruby/1.8/mongrel/cgi.rb:136:in `out'
/usr/lib/ruby/1.8/mongrel/http_response.rb:65:in `start'
/usr/lib/ruby/1.8/mongrel/cgi.rb:135:in `out'
/usr/lib/ruby/1.8/mongrel/rails.rb:81:in `process'
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:282:in `run'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `each'
/usr/lib/ruby/1.8/mongrel/configurator.rb:281:in `run'
/usr/bin/mongrel_rails:129:in `run'
/usr/lib/ruby/1.8/mongrel/command.rb:212:in `run'
/usr/bin/mongrel_rails:282

==> log/mongrel.pid <==
2189
==> log/production.log <==
# Logfile created on Fri Feb 24 16:45:51 +0100 2012

Processing WelcomeController#index (for ******** at 2012-02-24 16:46:36) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
Completed in 27ms (View: 15, DB: 3) | 200 OK [http://***.***.***.***/redmine]

*** LOCAL GEMS ***

actionmailer (3.2.1, 2.3.14, 2.3.11)
actionpack (3.2.1, 2.3.14, 2.3.11)
activemodel (3.2.1)
activerecord (3.2.1, 2.3.14, 2.3.11)
activeresource (3.2.1, 2.3.14, 2.3.11)
activesupport (3.2.1, 2.3.14, 2.3.11)
arel (3.0.0)
builder (3.0.0)
bundler (1.0.22)
daemons (1.1.8)
erubis (2.7.0)
eventmachine (0.12.10)
hike (1.2.1)
i18n (0.4.2)
journey (1.0.1)
json (1.6.5)
mail (2.4.1)
mime-types (1.17.2)
multi_json (1.0.4)
polyglot (0.3.3)
rack (1.1.1)
rack-cache (1.1)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (2.3.14)
railties (3.2.1)
rake (0.8.7)
rdoc (3.12)
sprockets (2.1.2)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.31)

config/initializers/
-rw-r--r-- 1 redmine www-data 3411 Feb 12 01:58 10-patches.rb
-rw-r--r-- 1 redmine www-data  194 Feb 12 01:58 20-mime_types.rb
-rw-r--r-- 1 redmine www-data  168 Feb 12 01:58 30-redmine.rb
-rw-r--r-- 1 redmine www-data  405 Feb 12 01:58 backtrace_silencers.rb
-rw-r--r-- 1 redmine www-data 1232 Feb 12 01:58 bigdecimal-segfault-fix.rb
-rw-r--r-- 1 redmine www-data  377 Feb 12 01:58 inflections.rb
-rw-r--r-- 1 redmine www-data 2880 Feb 24 16:30 mongrel.rb
-rw-r--r-- 1 redmine www-data  973 Feb 12 02:23 session_store.rb

I am using thin now by this docu:
http://blog.posativ.org/2011/redmine-sqlite3-lighttpd-thin/

Works well.

Hope anyone helps this!

Actions #1

Updated by Etienne Massip over 12 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Not a Redmine defect, see #7688, #8524 (found in 3 seconds by using top search form).

Actions #2

Updated by Barry Krein over 12 years ago

As i said, i already looked for it but the solutions provided didn't work and i added info about my setup so maybe others have an a-ha effect or not or whatever.

I thought anyone cares, but as it seems you don't.

Anyway, no reason to get cynical lad.

Actions #3

Updated by Etienne Massip over 12 years ago

Barry Krein wrote:

As i said, i already looked for it but the solutions provided didn't work and i added info about my setup so maybe others have an a-ha effect or not or whatever.

I thought anyone cares, but as it seems you don't.

Anyway, no reason to get cynical lad.

Sorry for that, I have seen this issue so many times.

Did you check #7688#note-16 because the mongrel gem is not included in your gems list?

Actions #4

Updated by Barry Krein over 12 years ago

I added it as debian package.

dpkg -l |grep mongrel
ii  mongrel                                                1.1.5-5                      A small fast HTTP library and server for Ruby

I am running a debian squeeze

Actions #5

Updated by Barry Krein over 12 years ago

and my installed ruby packages

 dpkg -l |grep ruby
ii  libdaemons-ruby                                        1.0.10-2                     Ruby daemons library
ii  libdaemons-ruby1.8                                     1.0.10-2                     Ruby daemons library
ii  libeventmachine-ruby1.8                                0.12.10-1                    Event-driven I/O library for high-performance threaded network programming
ii  libgemplugin-ruby                                      0.2.3-2                      Gem Based Plugin System
ii  libgemplugin-ruby1.8                                   0.2.3-2                      Gem Based Plugin System
ii  libmysql-ruby1.8                                       2.8.2-1                      MySQL module for Ruby 1.8
ii  librack-ruby1.8                                        1.1.0-4                      A modular Ruby webserver interface (Ruby 1.8)
ii  libruby1.8                                             1.8.7.302-2squeeze1          Libraries necessary to run Ruby 1.8
rc  libsvn-ruby1.8                                         1.6.12dfsg-6                 Ruby bindings for Subversion
ii  rake                                                   0.8.7-2                      a ruby build program
ii  ruby                                                   4.5                          An interpreter of object-oriented scripting language Ruby
ii  ruby1.8                                                1.8.7.302-2squeeze1          Interpreter of object-oriented scripting language Ruby 1.8
ii  ruby1.8-dev                                            1.8.7.302-2squeeze1          Header files for compiling extension modules for the Ruby 1.8
ii  rubygems1.8                                            1.3.7-3                      package management framework for Ruby libraries/applications
ii  thin1.8                                                1.2.4-1.1                    fast and very simple Ruby web server (ruby 1.8 version)
Actions

Also available in: Atom PDF