Defect #14205
closedundefined method `default_projects_tracker_ids' on new subproject
0%
Description
I wanted to create new subproject and I received Internal error 500. I'm using latest svn build (2.3.1.stable.11918
) on openSUSE 12.2
with Apache
and Passenger
. Here's the relevant log:
Started GET "/projects/new?parent_id=main" for my_ip at 2013-06-04 14:19:52 +0200 Processing by ProjectsController#new as HTML Parameters: {"parent_id"=>"main"} Current user: my_username (id=3) Completed 500 Internal Server Error in 42ms NoMethodError (undefined method `default_projects_tracker_ids' for #<Class:0xb2f2168>): app/models/project.rb:129:in `initialize' app/controllers/projects_controller.rb:73:in `new' app/controllers/projects_controller.rb:73:in `new'
If this helps anyhow, my redmine installation is also affected by #13903 - I did a fresh installation from svn sources and I migrated database from previuos installation (2.1.2; I upgraded the db without any problems).
Files
Related issues
Updated by Jean-Philippe Lang over 11 years ago
Just to make sure, did you properly restart the application after upgrading? Also, could you attach your config/settings.yml
and the full output of the following command (run it from your Redmine directory):
ruby script/rails r -e production 'puts Setting.methods.sort'
Thanks.
Updated by Jean-Philippe Lang over 11 years ago
- Related to Defect #13903: undefined method `jsonp_enabled?' for added
Updated by Cezary Błajszczak over 11 years ago
- File settings.yml settings.yml added
- File script.output script.output added
I attach settings.yml
- they are different than my actual redmine settings (which are read from the upgraded db). I couldn't change them, because I encountered #13903.
I also attach script.output
- full output of the given command.
I restarted the apache
server several times, I also restarted the server itself.
Updated by Jean-Philippe Lang over 11 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Your settings.yml
is not the one provided with Redmine 2.3.1. Please, replace it with the one provided with Redmine 2.3.1 WIHTOUT MAKING ANY CHANGES, then restart.
Updated by Cezary Błajszczak over 11 years ago
It worked, thanks! I updated from svn
to revision 11954 and switched settings.yml
with the one from redmine package downloaded from RubyForge. I also no longer experience #13903.