Submitted by Hal9000 on Wed, 04/14/2010 - 01:57
Hi there! I installed redmine 0.9.3 via the scripts installer, afer apt-getting a required package which i found about in an existing issue here, so it installed fine. However, the rails server does not start. When I click on "start rails server" in the script options, virtualmin says "done" but actually it remains down. Looking at the logs/redmine.3001.log i see this:
** Starting Mongrel listening at 0.0.0.0:3001 ** Starting Rails with production environment... ** Mounting Rails at /redmine... /home/mydomain.tld/public_html/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement /home/mydomain.tld/public_html/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant ActionController::AbstractRequest (NameError) from /home/mydomain.tld/public_html/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:151: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
What could the problem be?
Status:
Closed (fixed)
Comments
Submitted by Hal9000 on Wed, 04/14/2010 - 09:52 Comment #1
looks like there is some compatibility issue with mongrel... i added the file config/initializers/00-fix-mongrel.rb with the following contents
redmine now starts fine
Submitted by JamieCameron on Wed, 04/14/2010 - 13:34 Comment #2
Thanks for that patch - I will include it in the next Virtualmin release!
Most users install redmine in the root directory where this isn't needed, which is why it hasn't been noticed before..
Submitted by Issues on Wed, 04/28/2010 - 20:20 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.