dougal / acts_as_indexed

Acts As Indexed is a plugin which provides a pain-free way to add fulltext search to your Ruby on Rails app
http://douglasfshearer.com/blog/rails-plugin-acts_as_indexed
MIT License
211 stars 49 forks source link

"end of file reached" issue #38

Closed pfcfernandez closed 1 year ago

pfcfernandez commented 11 years ago

Hello I started to notice this last night.. and cant seem to be able to log in now..

from rails production log:

Started POST "/refinery/users/login?fromsite=1" for 204.16.153.250 at 2012-11-15 13:22:04 -0800 Completed 500 Internal Server Error in 10786ms

EOFError (end of file reached): app/controllers/refinery/sessions_controller.rb:22:in `create'

from my log server: From: cms Date: 2012-11-15 13:22:12 -0800 Severity: Debug Facility: graylog2_exceptions File: /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:87 Full message: /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:87:in load' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:87:inblock (3 levels) in operate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:86:in open' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:86:inopen' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:86:in block (2 levels) in operate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:180:inblock in lock_file' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:177:in open' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:177:inopen' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:177:in lock_file' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:83:inblock in operate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:80:in each' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:80:inoperate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/storage.rb:30:in remove' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/search_index.rb:50:inremove_record' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/search_index.rb:54:in update_record' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/class_methods.rb:87:inindex_update' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/acts_as_indexed-0.7.8/lib/acts_as_indexed/instance_methods.rb:28:in update_index' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:407:in_run243750755060159493update692564817154729579callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in __run_callback' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in_run_update_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in run_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/callbacks.rb:272:inupdate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/persistence.rb:347:in create_or_update' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/callbacks.rb:264:inblock in create_or_update' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:425:in _run__243750755060159493__save__692564817154729579__callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:inrun_callback' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in _run_save_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:inrun_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/callbacks.rb:264:in create_or_update' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/persistence.rb:84:insave' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/validations.rb:50:in save' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/attribute_methods/dirty.rb:22:insave' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:241:in block (2 levels) in save' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:295:inblock in with_transaction_returning_status' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in transaction' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:208:intransaction' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:293:in with_transaction_returning_status' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:241:inblock in save' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:252:in rollback_active_record_state!' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/transactions.rb:240:insave' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/devise-2.0.4/lib/devise/models/trackable.rb:26:in update_tracked_fields!' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/devise-2.0.4/lib/devise/hooks/trackable.rb:7:inblock in <top (required)>' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/hooks.rb:14:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/hooks.rb:14:inblock in _run_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/hooks.rb:9:in each' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/hooks.rb:9:in_run_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/manager.rb:53:in _run_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/proxy.rb:165:inset_user' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/devise-2.0.4/lib/devise/controllers/helpers.rb:124:in sign_in' /var/www/playfirst_cms/app/controllers/refinery/sessions_controller.rb:22:increate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in send_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:inprocess_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in process_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:18:inblock in process_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:491:in `_run4547756213461430065process_action3619842155605981004callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in`run_callback' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:inrun_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/abstract_controller/callbacks.rb:17:in process_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/rescue.rb:29:inprocess_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:30:in block in process_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:inblock in instrument' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/notifications/instrumenter.rb:20:in instrument' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/notifications.rb:123:ininstrument' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/instrumentation.rb:29:in process_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/params_wrapper.rb:207:inprocess_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/railties/controller_runtime.rb:18:in process_action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:inprocess' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in process' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal.rb:203:indispatch' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal/rack_delegation.rb:14:in dispatch' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_controller/metal.rb:246:inblock in action' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:73:indispatch' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:36:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:42:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/journey-1.0.4/lib/journey/router.rb:56:ineach' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/journey-1.0.4/lib/journey/router.rb:56:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/engine.rb:479:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/journey-1.0.4/lib/journey/router.rb:56:ineach' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/journey-1.0.4/lib/journey/router.rb:56:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/routing/route_set.rb:600:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/graylog2_exceptions-1.3.0/lib/graylog2_exceptions.rb:30:in _call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/graylog2_exceptions-1.3.0/lib/graylog2_exceptions.rb:24:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/manager.rb:35:in block in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/manager.rb:34:incatch' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/warden-1.1.1/lib/warden/manager.rb:34:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/etag.rb:23:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/conditionalget.rb:35:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:incontext' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/dragonfly-0.9.12/lib/dragonfly/cookie_monster.rb:9:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in _run__2493813651070428835__call__692564817154729579__callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in__run_callback' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in _run_call_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:inrun_callbacks' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/dragonfly-0.9.12/lib/dragonfly/middleware.rb:13:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/dragonfly-0.9.12/lib/dragonfly/middleware.rb:13:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in pass' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:ininvalidate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in call!' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:inpass' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in invalidate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:incall!' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in call_app' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/runtime.rb:17:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-1.4.1/lib/rack/lock.rb:15:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:inpass' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in invalidate' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:incall!' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/engine.rb:479:incall' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/application.rb:223:in call' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:inmethod_missing' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/rack/request_handler.rb:96:in process_request' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb:516:inaccept_and_process_next_request' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:206:instart_request_handler' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:171:in block in handle_spawn_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/utils.rb:470:insafe_fork' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:166:in handle_spawn_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:206:in start_synchronously' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:180:instart' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:129:in start' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:253:inblock (2 levels) in spawn_rack_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb:132:in lookup_or_add' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:246:inblock in spawn_rack_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'

:10:in`synchronize' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:244:in`spawn_rack_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:275:in`handle_spawn_application' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:206:in`start_synchronously' /home/playfirst/.rvm/gems/ruby-1.9.3-p286/gems/passenger-3.0.18/helper-scripts/passenger-spawn-server:99:in `
'
dougal commented 11 years ago

HI there.

I've released 0.8.0. Please try this and see if it resolves your issue. I'd recommend you delete your index before testing this again.

Thanks.

parndt commented 11 years ago

@pfcfernandez did this fix your issue? :smile:

pfcfernandez commented 11 years ago

hey hello, sorry this email was on my spam folder... Im going to try to implement 0.8 and I let you know.. can I gem install it?

On Wed, Feb 27, 2013 at 1:41 PM, Philip Arndt notifications@github.comwrote:

@pfcfernandez https://github.com/pfcfernandez did this fix your issue? [image: :smile:]

— Reply to this email directly or view it on GitHubhttps://github.com/dougal/acts_as_indexed/issues/38#issuecomment-14201928 .

Chris Fernandez PlayFirst Operations/DevOps Cloud/Migration Team

dougal commented 11 years ago

Hi Chris.

Yes, the gem for 0.8.2 is the latest available release.

chunkiat82 commented 10 years ago

Hi @dougal

i am still facing this issue

Backtrace:
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:85:in `load'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:85:in `block (3 levels) in operate'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:84:in `open'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:84:in `open'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:84:in `block (2 levels) in operate'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:182:in `block (2 levels) in lock_file'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:179:in `open'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:179:in `open'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:179:in `block in lock_file'
    <internal:prelude>:10:in `synchronize'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:175:in `lock_file'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:81:in `block in operate'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:78:in `each'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:78:in `operate'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/storage.rb:21:in `add'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/search_index.rb:23:in `add_record'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/class_methods.rb:59:in `index_add'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/acts_as_indexed-0.8.3/lib/acts_as_indexed/instance_methods.rb:11:in `add_to_index'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:429:in `_run__2559348626618556051__create__3812236601901629479__callbacks'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_create_callbacks'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/callbacks.rb:268:in `create'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/persistence.rb:348:in `create_or_update'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/callbacks.rb:264:in `block in create_or_update'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:469:in `_run__2559348626618556051__save__3812236601901629479__callbacks'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/callbacks.rb:264:in `create_or_update'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/persistence.rb:104:in `save!'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/validations.rb:56:in `save!'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/transactions.rb:264:in `block in save!'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/transactions.rb:208:in `transaction'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
    /var/cache/ruby-rvm/rubies/ruby-1.9.3-p194/lib/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/transactions.rb:264:in `save!'
    /data/vhosts/tradelinkmedia.biz/httpdocs/app/controllers/refinery/subscribers_controller.rb:25:in `create'

can you help here?

is there a command to delete the index or i have to delete it manually?

Thanks!

dougal commented 10 years ago

Hi @chunkiat82.

What operation(s) are you carrying out when this happens?

chunkiat82 commented 10 years ago

i was trying to save a user in where i have the below index in my User model

currently i have commented it, it works fine in production.

acts_as_indexed :fields => [:email, :first_name, :last_name, :username]

i will try to delete my indexes and add this line back to see if it works

ryankopf commented 1 year ago

Going to assume this is fixed or no longer relevant, as it's been 10 years.