upgrade to 8.1
Added by L Philbrook over 15 years ago
I upgraded to 8.1 today. In retrospect, I should have created a dev table and tested out 8.1 there, but I didn't. Now, I can't seem to get mongrel to run from cPanel. During my search to solve this problem, I've found some great information about debugging ROR apps, but nothing specific to this issue. I should also say that this is an SVN checkout of trunk, I am running rails 2.2.2 and mongrel 1.1.5. Here is the output from 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:12004
- Starting Rails with production environment...
/home/wdev/redmine/app/controllers/issue_categories_controller.rb:19: undefined method `menu_item' for IssueCatego
riesController:Class (NoMethodError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:262:in `require_or
load_without_engine_additions'
from /home/wdev/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:124:in `requir
e_or_load'
from /home/wdev/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:101:in `each'
from /home/wdev/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:101:in `requir
e_or_load'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:221:in `depend_on'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:133:in `require_de
pendency'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:368:in `load_application_classes'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:367:in `each'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:367:in `load_application_classes'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:365:in `each'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:365:in `load_application_classes'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:185:in `process'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `send'
from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:112:in `run'
from /home/wdev/redmine/config/environment.rb:13
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:147:in `rails'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `call'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:149:in `listener'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `call'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/configurator.rb:50:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /usr/bin/mongrel_rails:19:in `load'
from /usr/bin/mongrel_rails:19
I looked up the undefined method `menu_item', but couldn't find anything specific. I can debug a php script with my eyes closed (maybe peaking a little), but ROR is pretty foreign to me. If someone could point me in the right direction, I'd be more then appreciative.
Replies (4)
RE: upgrade to 8.1
-
Added by Jean-Baptiste Barth over 15 years ago
Have you seen this news ? There are specific actions to perform when you checkout trunk now. Please provide the output of "ruby script/about" and your precise revision of redmine. (moreover I believe that 0.8.2 does not exist for the moment)
RE: upgrade to 8.1
-
Added by L Philbrook over 15 years ago
Jean,
Redmine is a great piece of software. I can't thank you enough.
I migrated back to 0.8.0. It took a little bit of screwing around with the DB's, but otherwise all is working. As far as 0.8.1 is concerned, I got it running on another vm host. The issue above was due to a repo checkout issue. I resolved it by updating the working copy. Thanks again for all your great work and sorry for the stupid questions.
RE: upgrade to 8.1
-
Added by Defferrari Suporte Suporte over 15 years ago
I have a similar problem:
- 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:12004
- Starting Rails with production environment...
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- action_web_service/support/class_inheritable_options (MissingSourceFile)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
from /data/home/redmine2/public_html/redmine2/vendor/plugins/actionwebservice/lib/action_web_service.rb:37
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:510:in `require'
... 26 levels...
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/command.rb:212:in `run'
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /usr/bin/mongrel_rails:19:in `load'
from /usr/bin/mongrel_rails:19
Any suggestion?