Content
Problem with Start Server
Added by Douglas Leonardo over 10 years ago
I’m using version 4.14 of Ubuntu, I had many problems to arrive in time to start the server, now when I start, I have the following error:
require ‘rails/all’… 0.670s
Bundler.require… 1.880s
=> Booting Thin
=> Rails 3.2.18 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Application.initialize!… Exiting
/home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:45:in `resolve_hash_connection’: undefined method `symbolize_keys’ for #String:0x0000000516d550 (NoMethodError)
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.18/lib/active_record/connection_adapters/abstract/connection_specification.rb:130:in `establish_connection’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.18/lib/active_record/railtie.rb:88:in `block (2 levels) in class:Railtie’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:26:in `block in on_load’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:25:in `each’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/lazy_load_hooks.rb:25:in `on_load’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.18/lib/active_record/railtie.rb:80:in `block in class:Railtie’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/initializable.rb:30:in `instance_exec’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/initializable.rb:30:in `run’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/initializable.rb:55:in `block in run_initializers’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/initializable.rb:54:in `each’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/initializable.rb:54:in `run_initializers’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/application.rb:136:in `initialize!’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/railtie/configurable.rb:30:in `method_missing’
from /home/openproject/openproject/config/environment.rb:36:in `block in <top (required)>’
from /home/openproject/openproject/config/application.rb:44:in `block in bench’
from /home/openproject/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/benchmark.rb:279:in `measure’
from /home/openproject/openproject/config/application.rb:43:in `bench’
from /home/openproject/openproject/config/environment.rb:34:in `<top (required)>’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require’
from /home/openproject/openproject/config.ru:32:in `block in
’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize’
from /home/openproject/openproject/config.ru:in `new’
from /home/openproject/openproject/config.ru:in `
’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `eval’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:40:in `parse_file’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/server.rb:200:in `app’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/commands/server.rb:46:in `app’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/server.rb:304:in `wrapped_app’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/rack-1.4.5/lib/rack/server.rb:254:in `start’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/commands/server.rb:70:in `start’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/commands.rb:55:in `block in <top (required)>’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/commands.rb:50:in `tap’
from /home/openproject/.rvm/gems/ruby-2.1.0/gems/railties-3.2.18/lib/rails/commands.rb:50:in `<top (required)>’
from script/rails:6:in `require’
from script/rails:6:in `
’
Replies (1)
I was able to install OP on Ubuntu 14.04 without too much trouble using the PKGR method. I suggest you look at these two links:
https://pkgr.io/apps/tessi/openproject
https://www.openproject.org/topics/1044?r=1044
Regards,
Jim