gitlabhq/gitlabhq — Issue #371: busy_timeout=': can't convert String into Integer (TypeError)
Author: jessearmand
Created: 2012-02-04 07:47:56+00:00
State: open

I'm using thin to start the gitlabhq. Then, I'm really confused about why there's an error about string to integer conversion on sqlite3 adapter?

rake db migration also fails with the same error:

bundle exec rake RAILS_ENV=production db:migrate

From thin.0.log:

:public is no longer used to avoid overloading Module#public, use :public_folder instead
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/resque-1.19.0/lib/resque/server.rb:12:in `'
>> Exiting!
/home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite3_adapter.rb:31:in `busy_timeout=': can't convert String into Integer (TypeError)
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/sqlite3_adapter.rb:31:in `sqlite3_connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:304:in `new_connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:323:in `checkout_new_connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block (2 levels) in checkout'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:261:in `loop'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:261:in `block in checkout'
from /home/gitlabhq/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:260:in `checkout'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:162:in `connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in `retrieve_connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:107:in `retrieve_connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:89:in `connection'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activerecord-3.1.1/lib/active_record/base.rb:703:in `table_exists?'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/acts_as_taggable_on/cache.rb:5:in `included'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/acts_as_taggable_on.rb:56:in `include'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/acts_as_taggable_on.rb:56:in `block in acts_as_taggable_on'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/acts_as_taggable_on.rb:45:in `class_eval'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/acts_as_taggable_on.rb:45:in `acts_as_taggable_on'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/acts-as-taggable-on-2.1.1/lib/acts_as_taggable_on/acts_as_taggable_on.rb:15:in `acts_as_taggable'
from /home/gitlabhq/public_html/gitlabhq/releases/20120204071812/app/models/project.rb:20:in `'
from /home/gitlabhq/public_html/gitlabhq/releases/20120204071812/app/models/project.rb:3:in `'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:348:in `require_or_load'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:489:in `load_missing_constant'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:181:in `block in const_missing'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `each'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `const_missing'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:501:in `load_missing_constant'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:181:in `block in const_missing'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `each'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:179:in `const_missing'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/inflector/methods.rb:124:in `block in constantize'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/inflector/methods.rb:123:in `each'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/inflector/methods.rb:123:in `constantize'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/core_ext/string/inflections.rb:43:in `constantize'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:148:in `_default_wrap_model'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:167:in `_set_wrapper_defaults'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/metal/params_wrapper.rb:128:in `inherited'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
from /home/gitlabhq/public_html/gitlabhq/releases/20120204071812/app/controllers/admin/projects_controller.rb:1:in `'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:225:in `load_dependency'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:348:in `require_or_load'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:302:in `depend_on'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:214:in `require_dependency'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:417:in `block (2 levels) in eager_load!'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:416:in `each'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:416:in `block in eager_load!'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:414:in `each'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/engine.rb:414:in `eager_load!'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/application/finisher.rb:51:in `block in '
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `instance_exec'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:30:in `run'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `each'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/initializable.rb:54:in `run_initializers'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/application.rb:96:in `initialize!'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/railties-3.1.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/gitlabhq/public_html/gitlabhq/current/config/environment.rb:5:in `'
from /home/gitlabhq/public_html/gitlabhq/current/config.ru:3:in `require'
from /home/gitlabhq/public_html/gitlabhq/current/config.ru:3:in `block in

'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
from /home/gitlabhq/public_html/gitlabhq/current/config.ru:1:in `new'
from /home/gitlabhq/public_html/gitlabhq/current/config.ru:1:in `

'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/rack/adapter/loader.rb:36:in `eval'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/rack/adapter/loader.rb:36:in `load'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/rack/adapter/loader.rb:45:in `for'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/controllers/controller.rb:169:in `load_adapter'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/controllers/controller.rb:73:in `start'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/gems/thin-1.3.1/bin/thin:6:in `'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/bin/thin:19:in `load'
from /home/gitlabhq/public_html/gitlabhq/shared/bundle/ruby/1.9.1/bin/thin:19:in `

'