Project

General

Profile

After Migration: "passenger-spawn-server:61" / "500 Internal Server Error"

Added by Martin Neubauer almost 14 years ago

Hi,

i have changed the Redmine-Files with the actual one from the svn: Redmine 1.1.0.devel.4765

everything i had tested works fine. But i can not change User-Settings:

Processing UsersController#update (for 93.199.182.147 at 2011-01-29 12:37:03) [PUT]
  Parameters: {"commit"=>"Speichern", "action"=>"update", "_method"=>"put", "authenticity_token"=>"qU2jxxxxEW968jUhU3D8F7TsS/ThxorOnOOrPA=", "id"=>"52", "pref"=>{"hide_mail"=>"1", "comments_sorting"=>"asc", "time_zone"=>""}, "controller"=>"users", "user"=>{"password_confirmation"=>"[FILTERED]", "admin"=>"0", "language"=>"", "mail"=>"xxx@gmx.de", "lastname"=>"please-enter-", "firstname"=>"xxx", "mail_notification"=>"all", "password"=>"[FILTERED]", "login"=>"xxx"}}

TypeError (can't dup NilClass):
  app/models/user_preference.rb:45:in `dup'
  app/models/user_preference.rb:45:in `[]='
  app/models/user_preference.rb:53:in `comments_sorting='
  app/controllers/users_controller.rb:145:in `update'
  /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:95:in `process_request'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/phusion_passenger/passenger-spawn-server:61

Rendering /usr/share/redmine/public/500.html (500 Internal Server Error)

i have done:
gem install -v=0.4.2 i18n
gem install -v=2.3.5 rails
./script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git
rake generate_session_store

and i have done and the rest of the upgrade docu ...
I would be happy about an hint. (Do i have to use this ? http://httpd.apache.org/mod_fcgid/)


Replies (5)

RE: After Migration: "passenger-spawn-server:61" / "500 Internal Server Error" - Added by Felix Schäfer almost 14 years ago

That looks like a bug, please look in the tracker if there's already one for that, open a new one if not.

RE: After Migration: "passenger-spawn-server:61" / "500 Internal Server Error" - Added by Martin Neubauer almost 14 years ago

Im not sure if i have made an error at the migration (configfiles / etc...)
Oh and what i have to tell you is, that i tried to configure a git connection in a project. But this action was not succesful, an i can't change this in the Webfrontend...

Now i have installed the 1.1 Stable Version and have the same issue.
I really can open a bug, but i fear the error is on my side (?)

CU

RE: After Migration: "passenger-spawn-server:61" / "500 Internal Server Error" - Added by Martin Neubauer almost 14 years ago

Sine Yesterday i have installed: Redmine 1.1.0.stable.4765 , Ruby 1.8.7, Rails 2.3.5

This should fit the requirements:

current trunk     ruby 1.8.6, 1.8.7     Rails 2.3.5

Normally the Log Files have been in /var/log/redmine/default . Now nothing will be logged...

Would it be a solution if i try to make a complete new installation on another Ubuntu Host with Redmine 1.1-Stable and a Database restore ?

Or, is there a docu/link in the net, how i can get a new fresh Installation of Ruby, Rails,GEM, Redmine an so on ?
-Sorry i have no rails experience...

I think the error is not in Redmine, but in my installation (or database)...
I would be happy for any hints

RE: After Migration: "passenger-spawn-server:61" / "500 Internal Server Error" - Added by Felix Schäfer almost 14 years ago

If you have installed from source, the log files are in the log directory of your redmine directory, not in /var/log (only installations from the deb packages do that to my knowledge). if you think your database is at fault, point to a new one in your config file (conf/database.yml in your redmine directory) and re-do all necessary installation steps from creation of the database up and see if it works.

RE: After Migration: "passenger-spawn-server:61" / "500 Internal Server Error" - Added by Martin Neubauer almost 14 years ago

Thank you. Its running with a new Database.

At this time i gave no problem using a complete new DB.

    (1-5/5)