Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get it working with redis #22

Open
GeminPatel opened this issue Jul 3, 2016 · 0 comments
Open

Unable to get it working with redis #22

GeminPatel opened this issue Jul 3, 2016 · 0 comments

Comments

@GeminPatel
Copy link

(36.8ms) ROLLBACK
Completed 500 Internal Server Error in 882ms (ActiveRecord: 533.4ms)

NoMethodError - undefined method hexists' for nil:NilClass Did you mean? exit: sunspot_index_queue (1.1.4) lib/sunspot/index_queue/entry/redis_impl.rb:120:inadd'
sunspot_index_queue (1.1.4) lib/sunspot/index_queue/entry.rb:92:in enqueue' sunspot_index_queue (1.1.4) lib/sunspot/index_queue.rb:83:inindex'
sunspot_index_queue (1.1.4) lib/sunspot/index_queue/session_proxy.rb:55:in block in index' sunspot_index_queue (1.1.4) lib/sunspot/index_queue/session_proxy.rb:54:inindex'
sunspot (2.2.5) lib/sunspot.rb:184:in index' sunspot_rails (2.2.5) lib/sunspot/rails/searchable.rb:434:insolr_index'
sunspot_rails (2.2.5) lib/sunspot/rails/searchable.rb:551:in perform_index_tasks' activesupport (4.2.5.1) lib/active_support/callbacks.rb:432:inblock in make_lambda'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:228:in block in halting_and_conditional' activesupport (4.2.5.1) lib/active_support/callbacks.rb:506:inblock in call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:506:in call' activesupport (4.2.5.1) lib/active_support/callbacks.rb:92:inrun_callbacks'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:778:in _run_save_callbacks' activerecord (4.2.5.1) lib/active_record/callbacks.rb:302:increate_or_update'
app/models/issue.rb:226:in create_or_update' activerecord (4.2.5.1) lib/active_record/persistence.rb:142:insave!'
activerecord (4.2.5.1) lib/active_record/validations.rb:43:in save!' activerecord (4.2.5.1) lib/active_record/attribute_methods/dirty.rb:29:insave!'
activerecord (4.2.5.1) lib/active_record/transactions.rb:291:in block in save!' activerecord (4.2.5.1) lib/active_record/transactions.rb:351:inblock in with_transaction_returning_status'
activerecord (4.2.5.1) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in block in transaction' activerecord (4.2.5.1) lib/active_record/connection_adapters/abstract/transaction.rb:184:inwithin_new_transaction'
activerecord (4.2.5.1) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in transaction' activerecord (4.2.5.1) lib/active_record/transactions.rb:220:intransaction'
activerecord (4.2.5.1) lib/active_record/transactions.rb:348:in with_transaction_returning_status' activerecord (4.2.5.1) lib/active_record/transactions.rb:291:insave!'
app/controllers/api/v1/tickets_controller.rb:32:in block in create' actionpack (4.2.5.1) lib/action_controller/metal/mime_responds.rb:212:inrespond_to'
app/controllers/api/v1/tickets_controller.rb:29:in create' actionpack (4.2.5.1) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (4.2.5.1) lib/abstract_controller/base.rb:198:in process_action' actionpack (4.2.5.1) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (4.2.5.1) lib/abstract_controller/callbacks.rb:20:in block in process_action' activesupport (4.2.5.1) lib/active_support/callbacks.rb:117:incall'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:555:in block (2 levels) in compile' activesupport (4.2.5.1) lib/active_support/callbacks.rb:505:incall'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:498:in block (2 levels) in around' activesupport (4.2.5.1) lib/active_support/callbacks.rb:313:inblock (2 levels) in halting'
lib/redmine/sudo_mode.rb:63:in sudo_mode' activesupport (4.2.5.1) lib/active_support/callbacks.rb:432:inblock in make_lambda'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:312:in block in halting' activesupport (4.2.5.1) lib/active_support/callbacks.rb:497:inblock in around'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:505:in call' activesupport (4.2.5.1) lib/active_support/callbacks.rb:92:inrun_callbacks'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:778:in _run_process_action_callbacks' activesupport (4.2.5.1) lib/active_support/callbacks.rb:81:inrun_callbacks'
actionpack (4.2.5.1) lib/abstract_controller/callbacks.rb:19:in process_action' actionpack (4.2.5.1) lib/action_controller/metal/rescue.rb:29:inprocess_action'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:32:in block in process_action' activesupport (4.2.5.1) lib/active_support/notifications.rb:164:inblock in instrument'
activesupport (4.2.5.1) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (4.2.5.1) lib/active_support/notifications.rb:164:ininstrument'
actionpack (4.2.5.1) lib/action_controller/metal/instrumentation.rb:30:in process_action' actionpack (4.2.5.1) lib/action_controller/metal/params_wrapper.rb:250:inprocess_action'
activerecord (4.2.5.1) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (4.2.5.1) lib/abstract_controller/base.rb:137:inprocess'
actionview (4.2.5.1) lib/action_view/rendering.rb:30:in process' rack-mini-profiler (0.10.1) lib/mini_profiler/profiling_methods.rb:102:inblock in profile_method'
actionpack (4.2.5.1) lib/action_controller/metal.rb:196:in dispatch' actionpack (4.2.5.1) lib/action_controller/metal/rack_delegation.rb:13:indispatch'
actionpack (4.2.5.1) lib/action_controller/metal.rb:237:in block in action' actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:74:indispatch'
actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:43:in serve' actionpack (4.2.5.1) lib/action_dispatch/journey/router.rb:43:inblock in serve'
actionpack (4.2.5.1) lib/action_dispatch/journey/router.rb:30:in serve' actionpack (4.2.5.1) lib/action_dispatch/routing/route_set.rb:815:incall'
omniauth (1.3.1) lib/omniauth/strategy.rb:186:in call!' omniauth (1.3.1) lib/omniauth/strategy.rb:164:incall'
omniauth (1.3.1) lib/omniauth/builder.rb:63:in call' rack-openid (1.4.2) lib/rack/openid.rb:98:incall'
request_store (1.0.5) lib/request_store/middleware.rb:9:in call' rack (1.6.4) lib/rack/content_length.rb:15:incall'
rack (1.6.4) lib/rack/etag.rb:24:in call' rack (1.6.4) lib/rack/conditionalget.rb:38:incall'
rack (1.6.4) lib/rack/head.rb:13:in call' actionpack-xml_parser (1.0.2) lib/action_dispatch/xml_params_parser.rb:16:incall'
actionpack (4.2.5.1) lib/action_dispatch/middleware/params_parser.rb:27:in call' actionpack (4.2.5.1) lib/action_dispatch/middleware/flash.rb:260:incall'
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:incall'
actionpack (4.2.5.1) lib/action_dispatch/middleware/cookies.rb:560:in call' activerecord (4.2.5.1) lib/active_record/query_cache.rb:36:incall'
activerecord (4.2.5.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in call' actionpack (4.2.5.1) lib/action_dispatch/middleware/callbacks.rb:29:inblock in call'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:88:in __run_callbacks__' activesupport (4.2.5.1) lib/active_support/callbacks.rb:778:in_run_call_callbacks'
activesupport (4.2.5.1) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (4.2.5.1) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (4.2.5.1) lib/action_dispatch/middleware/reloader.rb:73:in call' actionpack (4.2.5.1) lib/action_dispatch/middleware/remote_ip.rb:78:incall'
better_errors (2.1.1) lib/better_errors/middleware.rb:84:in protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:inbetter_errors_call'
better_errors (2.1.1) lib/better_errors/middleware.rb:57:in call' actionpack (4.2.5.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:incall'
actionpack (4.2.5.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in call' railties (4.2.5.1) lib/rails/rack/logger.rb:38:incall_app'
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in block in call' activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:inblock in tagged'
activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:26:in tagged' activesupport (4.2.5.1) lib/active_support/tagged_logging.rb:68:intagged'
railties (4.2.5.1) lib/rails/rack/logger.rb:20:in call' actionpack (4.2.5.1) lib/action_dispatch/middleware/request_id.rb:21:incall'
rack (1.6.4) lib/rack/methodoverride.rb:22:in call' rack (1.6.4) lib/rack/runtime.rb:18:incall'
rack (1.6.4) lib/rack/lock.rb:17:in call' actionpack (4.2.5.1) lib/action_dispatch/middleware/static.rb:116:incall'
rack (1.6.4) lib/rack/sendfile.rb:113:in call' rack-mini-profiler (0.10.1) lib/mini_profiler/profiler.rb:278:incall'
railties (4.2.5.1) lib/rails/engine.rb:518:in call' railties (4.2.5.1) lib/rails/application.rb:165:incall'
railties (4.2.5.1) lib/rails/railtie.rb:194:in method_missing' thin (1.7.0) lib/thin/connection.rb:86:inblock in pre_process'
thin (1.7.0) lib/thin/connection.rb:84:in pre_process' thin (1.7.0) lib/thin/connection.rb:50:inblock in process'
eventmachine (1.2.0.1) lib/eventmachine.rb:1076:in `block in spawn_threadpool'

This is the log if it helps. Thanks for the gem and the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant