[DRE-maint] Bug#839137: obs-api: Search function does not work

Andrew Lee (=?UTF-8?Q?=E6=9D=8E=E5=81=A5=E7=A7=8B?=) ajqlee at debian.org
Thu Sep 29 10:57:40 UTC 2016


Package: obs-api
Version: 2.7.1-1
Severity: important

This is a known bug. I need help hands to fix this.

The search function does not work with ruby-* package, but works
with pure ruby 'gem install'.

 1. On Debian Sid, add the following repo to apt's sources.list:
    deb http://ftp.tw.debian.org/debian/ experimental main
 2. Install OBS:
    apt-get update
    apt-get install obs-server obs-utils obs-api obs-productconverter
 3. Log in through the web UI on port 443, username/password are
    Admin/opensuse.
 4. Click on search bar.
 5. Insert any text and press enter.

This should produce the error 500: Internal Server Error.

The error in production.log attached.

Best regards,
-Andrew
-------------- next part --------------
[e5cfc10d-efa1-4d0e-ba1e-508482345031] [18635:3064.13] Started GET "/search?utf8=%E2%9C%93&search_text=test&commit=%E6%8F%90%E4%BA%A4&issue_tracker=bnc&issue=&project=0&project=1&package=0&package=1&name=0&name=1&title=0&description=0&attrib_type_id=" for 192.168.56.1 at 2016-09-29 18:44:40 +0800
[e5cfc10d-efa1-4d0e-ba1e-508482345031] [18635:3064.13] Processing by Webui::SearchController#index as HTML
[e5cfc10d-efa1-4d0e-ba1e-508482345031] [18635:3064.13]   Parameters: {"utf8"=>"?", "search_text"=>"test", "commit"=>"??", "issue_tracker"=>"bnc", "issue"=>"", "project"=>"1", "package"=>"1", "name"=>"1", "title"=>"0", "description"=>"0", "attrib_type_id"=>""}
[e5cfc10d-efa1-4d0e-ba1e-508482345031] [18635:3064.15] Completed 500 Internal Server Error in 22ms (ActiveRecord: 3.8ms | Backend: 0.0ms | XML: 0.0ms)
[e5cfc10d-efa1-4d0e-ba1e-508482345031] [18635:3064.15] 
ThinkingSphinx::ConnectionError (Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '127.0.0.1' (111) - SELECT *, (weight() + 100 * linked_count + -1000 * links_to_other + 1000 * is_devel + 500 * (activity_index * POW( 2.3276, (updated_at - 1475145880) / 10000000))) as adjusted_weight FROM `package_core`, `project_core` WHERE MATCH('@(name) test') AND `sphinx_deleted` = 0 AND `project_id` NOT IN (0) ORDER BY `adjusted_weight` DESC LIMIT 0, 20 OPTION field_weights=(name=10, title=2, description=1), max_matches=15000, ranker=sph04; SHOW META):
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:93:in `rescue in query'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:96:in `query'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:77:in `query_all'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search/batch_inquirer.rb:17:in `block in results'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:39:in `block in take'
  /usr/lib/ruby/vendor_ruby/innertube.rb:138:in `take'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:37:in `take'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search/batch_inquirer.rb:16:in `results'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/inquirer.rb:9:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in `instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `instrument'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/logger.rb:3:in `log'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/inquirer.rb:8:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/geographer.rb:11:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/sphinxql.rb:14:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/stale_id_filter.rb:10:in `call'
  /usr/lib/ruby/vendor_ruby/middleware/runner.rb:31:in `call'
  /usr/lib/ruby/vendor_ruby/middleware/builder.rb:102:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:77:in `populate'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:56:in `meta'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/masks/pagination_mask.rb:43:in `total_entries'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:124:in `block in method_missing'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:123:in `each'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:123:in `method_missing'
  app/controllers/webui/search_controller.rb:82:in `search'
  app/controllers/webui/search_controller.rb:7:in `index'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/implicit_render.rb:4:in `send_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/base.rb:198:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rendering.rb:10:in `process_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/callbacks.rb:20:in `block in process_action'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:117:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:555:in `block (2 levels) in compile'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:505:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:92:in `__run_callbacks__'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/abstract_controller/callbacks.rb:19:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rescue.rb:29:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in `instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:30:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/params_wrapper.rb:250:in `process_action'
  /usr/lib/ruby/vendor_ruby/active_record/railties/controller_runtime.rb:18:in `process_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/base.rb:137:in `process'
  /usr/lib/ruby/vendor_ruby/action_view/rendering.rb:30:in `process'
  /usr/lib/ruby/vendor_ruby/action_controller/metal.rb:196:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/metal.rb:237:in `block in action'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:74:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:43:in `serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/mapper.rb:49:in `serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:43:in `block in serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:30:in `each'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:30:in `serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:817:in `call'
  config/initializers/wrap_parameters.rb:38:in `call'
  /usr/lib/ruby/vendor_ruby/rack/deflater.rb:35:in `call'
  /usr/lib/ruby/vendor_ruby/rack/etag.rb:24:in `call'
  /usr/lib/ruby/vendor_ruby/rack/conditionalget.rb:25:in `call'
  /usr/lib/ruby/vendor_ruby/rack/head.rb:13:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/flash.rb:260:in `call'
  /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
  /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/cookies.rb:560:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:36:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:88:in `__run_callbacks__'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:778:in `_run_call_callbacks'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:27:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/remote_ip.rb:78:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:38:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `block in tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:26:in `tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `tagged'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:22:in `call'
  /usr/lib/ruby/vendor_ruby/rack/runtime.rb:18:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  /usr/lib/ruby/vendor_ruby/rack/lock.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:113:in `call'
  /usr/lib/ruby/vendor_ruby/rails/engine.rb:518:in `call'
  /usr/lib/ruby/vendor_ruby/rails/application.rb:165:in `call'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `public_send'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `method_missing'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'


[36fe7fa8-08b0-4f57-b287-9bc999b77362] [18635:3064.56] Started GET "/favicon.ico" for 192.168.56.1 at 2016-09-29 18:44:41 +0800
[36fe7fa8-08b0-4f57-b287-9bc999b77362] [18635:3064.56] 
ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:38:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `block in tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:26:in `tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `tagged'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:22:in `call'
  /usr/lib/ruby/vendor_ruby/rack/runtime.rb:18:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  /usr/lib/ruby/vendor_ruby/rack/lock.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:113:in `call'
  /usr/lib/ruby/vendor_ruby/rails/engine.rb:518:in `call'
  /usr/lib/ruby/vendor_ruby/rails/application.rb:165:in `call'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `public_send'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `method_missing'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'


[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3490.99] Started GET "/search" for 192.168.56.1 at 2016-09-29 18:51:47 +0800
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3490.99] Processing by Webui::SearchController#index as HTML
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.01]   Rendered webui/search/_tabs.html.erb (0.4ms)
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.01]   Rendered webui/search/index.html.erb within layouts/webui/webui (1.9ms)
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.02]   Rendered layouts/webui/_watch_and_search.html.erb (1.2ms)
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.02]   Rendered layouts/webui/_header.html.erb (1.6ms)
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.06]   Rendered layouts/webui/_personal_navigation.html.erb (48.0ms)
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.06]   Rendered layouts/webui/_flash.html.erb (0.0ms)
[570ec2c6-c513-4f77-95da-bba2b61c934d] [18635:3491.07] Completed 200 OK in 80ms (Views: 53.8ms | ActiveRecord: 11.5ms | Backend: 0.0ms | XML: 0.0ms)
[468202ee-2bd5-4436-8697-bbe19f42f335] [18635:3588.31] Started GET "/search?utf8=%E2%9C%93&search_text=test&commit=%E6%8F%90%E4%BA%A4&issue_tracker=bnc&issue=&project=0&project=1&package=0&package=1&name=0&name=1&title=0&description=0&attrib_type_id=" for 192.168.56.1 at 2016-09-29 18:53:25 +0800
[468202ee-2bd5-4436-8697-bbe19f42f335] [18635:3588.31] Processing by Webui::SearchController#index as HTML
[468202ee-2bd5-4436-8697-bbe19f42f335] [18635:3588.31]   Parameters: {"utf8"=>"?", "search_text"=>"test", "commit"=>"??", "issue_tracker"=>"bnc", "issue"=>"", "project"=>"1", "package"=>"1", "name"=>"1", "title"=>"0", "description"=>"0", "attrib_type_id"=>""}
[468202ee-2bd5-4436-8697-bbe19f42f335] [18635:3588.33] Completed 500 Internal Server Error in 19ms (ActiveRecord: 5.1ms | Backend: 0.0ms | XML: 0.0ms)
[468202ee-2bd5-4436-8697-bbe19f42f335] [18635:3588.33] 
ThinkingSphinx::ConnectionError (Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '127.0.0.1' (111) - SELECT *, (weight() + 100 * linked_count + -1000 * links_to_other + 1000 * is_devel + 500 * (activity_index * POW( 2.3276, (updated_at - 1475146405) / 10000000))) as adjusted_weight FROM `package_core`, `project_core` WHERE MATCH('@(name) test') AND `sphinx_deleted` = 0 AND `project_id` NOT IN (0) ORDER BY `adjusted_weight` DESC LIMIT 0, 20 OPTION field_weights=(name=10, title=2, description=1), max_matches=15000, ranker=sph04; SHOW META):
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:93:in `rescue in query'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:96:in `query'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:77:in `query_all'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search/batch_inquirer.rb:17:in `block in results'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:39:in `block in take'
  /usr/lib/ruby/vendor_ruby/innertube.rb:138:in `take'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/connection.rb:37:in `take'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search/batch_inquirer.rb:16:in `results'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/inquirer.rb:9:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in `instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `instrument'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/logger.rb:3:in `log'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/inquirer.rb:8:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/geographer.rb:11:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/sphinxql.rb:14:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/middlewares/stale_id_filter.rb:10:in `call'
  /usr/lib/ruby/vendor_ruby/middleware/runner.rb:31:in `call'
  /usr/lib/ruby/vendor_ruby/middleware/builder.rb:102:in `call'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:77:in `populate'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:56:in `meta'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/masks/pagination_mask.rb:43:in `total_entries'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:124:in `block in method_missing'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:123:in `each'
  /usr/lib/ruby/vendor_ruby/thinking_sphinx/search.rb:123:in `method_missing'
  app/controllers/webui/search_controller.rb:82:in `search'
  app/controllers/webui/search_controller.rb:7:in `index'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/implicit_render.rb:4:in `send_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/base.rb:198:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rendering.rb:10:in `process_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/callbacks.rb:20:in `block in process_action'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:117:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:555:in `block (2 levels) in compile'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:505:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:92:in `__run_callbacks__'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/abstract_controller/callbacks.rb:19:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rescue.rb:29:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `block in instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications/instrumenter.rb:20:in `instrument'
  /usr/lib/ruby/vendor_ruby/active_support/notifications.rb:164:in `instrument'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/instrumentation.rb:30:in `process_action'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/params_wrapper.rb:250:in `process_action'
  /usr/lib/ruby/vendor_ruby/active_record/railties/controller_runtime.rb:18:in `process_action'
  /usr/lib/ruby/vendor_ruby/abstract_controller/base.rb:137:in `process'
  /usr/lib/ruby/vendor_ruby/action_view/rendering.rb:30:in `process'
  /usr/lib/ruby/vendor_ruby/action_controller/metal.rb:196:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_controller/metal.rb:237:in `block in action'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:74:in `dispatch'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:43:in `serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/mapper.rb:49:in `serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:43:in `block in serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:30:in `each'
  /usr/lib/ruby/vendor_ruby/action_dispatch/journey/router.rb:30:in `serve'
  /usr/lib/ruby/vendor_ruby/action_dispatch/routing/route_set.rb:817:in `call'
  config/initializers/wrap_parameters.rb:38:in `call'
  /usr/lib/ruby/vendor_ruby/rack/deflater.rb:35:in `call'
  /usr/lib/ruby/vendor_ruby/rack/etag.rb:24:in `call'
  /usr/lib/ruby/vendor_ruby/rack/conditionalget.rb:25:in `call'
  /usr/lib/ruby/vendor_ruby/rack/head.rb:13:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/flash.rb:260:in `call'
  /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
  /usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/cookies.rb:560:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:36:in `call'
  /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:88:in `__run_callbacks__'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:778:in `_run_call_callbacks'
  /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in `run_callbacks'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:27:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/remote_ip.rb:78:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:38:in `call_app'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `block in call'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `block in tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:26:in `tagged'
  /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:68:in `tagged'
  /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:20:in `call'
  /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:21:in `call'
  /usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:22:in `call'
  /usr/lib/ruby/vendor_ruby/rack/runtime.rb:18:in `call'
  /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
  /usr/lib/ruby/vendor_ruby/rack/lock.rb:17:in `call'
  /usr/lib/ruby/vendor_ruby/rack/sendfile.rb:113:in `call'
  /usr/lib/ruby/vendor_ruby/rails/engine.rb:518:in `call'
  /usr/lib/ruby/vendor_ruby/rails/application.rb:165:in `call'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `public_send'
  /usr/lib/ruby/vendor_ruby/rails/railtie.rb:194:in `method_missing'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'




More information about the Pkg-ruby-extras-maintainers mailing list