Skip to content

Instantly share code, notes, and snippets.

@ZogStriP
Created February 13, 2014 09:05
Show Gist options
  • Save ZogStriP/8972027 to your computer and use it in GitHub Desktop.
Save ZogStriP/8972027 to your computer and use it in GitHub Desktop.
[2014-02-13 01:05:01] EXCEPTION: Tried to use a connection from a child process without reconnecting. You need to reconnect to Redis after forking.
[2014-02-13 01:05:01] /home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis/client.rb:287:in `ensure_connected'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis/client.rb:179:in `block in process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis/client.rb:258:in `logging'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis/client.rb:178:in `process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis/client.rb:84:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis.rb:675:in `block in set'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis.rb:36:in `block in synchronize'
/home/regis/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis.rb:36:in `synchronize'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-3.0.6/lib/redis.rb:671:in `set'
/home/regis/.rvm/gems/ruby-2.1.0/gems/redis-namespace-1.3.2/lib/redis/namespace.rb:330:in `method_missing'
/home/regis/Poetry/discourse/lib/sidekiq/pausable.rb:4:in `block in pause!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/connection_pool-1.2.0/lib/connection_pool.rb:55:in `with'
/home/regis/.rvm/gems/ruby-2.1.0/gems/sidekiq-2.15.1/lib/sidekiq.rb:67:in `redis'
/home/regis/Poetry/discourse/lib/sidekiq/pausable.rb:4:in `pause!'
/home/regis/Poetry/discourse/lib/export/exporter.rb:98:in `pause_sidekiq'
/home/regis/Poetry/discourse/lib/export/exporter.rb:24:in `run'
/home/regis/Poetry/discourse/lib/backup_restore.rb:103:in `block in start!'
/home/regis/Poetry/discourse/lib/backup_restore.rb:100:in `fork'
/home/regis/Poetry/discourse/lib/backup_restore.rb:100:in `start!'
/home/regis/Poetry/discourse/lib/backup_restore.rb:13:in `backup!'
/home/regis/Poetry/discourse/app/controllers/admin/backups_controller.rb:25:in `create'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:189:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:503:in `_run__4536415203667491948__process_action__callbacks'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `block in instrument'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/notifications.rb:159:in `instrument'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/base.rb:136:in `process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/abstract_controller/rendering.rb:44:in `process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-mini-profiler-0.9.0/lib/mini_profiler/profiling_methods.rb:108:in `block in profile_method'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:195:in `dispatch'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_controller/metal.rb:231:in `block in action'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:48:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/mapper.rb:44:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:71:in `block in call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `each'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/journey/router.rb:59:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:680:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-protection-1.5.1/lib/rack/protection/frame_options.rb:31:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/omniauth-1.1.4/lib/omniauth/builder.rb:49:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/flash.rb:241:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/cookies.rb:486:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/message_bus-0.9.4/lib/message_bus/rack/middleware.rb:55:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/query_cache.rb:36:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activerecord-4.0.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:373:in `_run__2669486803556702788__call__callbacks'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/callbacks.rb:80:in `run_callbacks'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/reloader.rb:64:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/better_errors-1.0.1/lib/better_errors/middleware.rb:84:in `protected_app_call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/better_errors-1.0.1/lib/better_errors/middleware.rb:79:in `better_errors_call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/better_errors-1.0.1/lib/better_errors/middleware.rb:56:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:38:in `call_app'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `block in call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `block in tagged'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:25:in `tagged'
/home/regis/.rvm/gems/ruby-2.1.0/gems/activesupport-4.0.2/lib/active_support/tagged_logging.rb:67:in `tagged'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/rack/logger.rb:20:in `call'
/home/regis/Poetry/discourse/config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
/home/regis/Poetry/discourse/config/initializers/silence_logger.rb:19:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/actionpack-4.0.2/lib/action_dispatch/middleware/static.rb:64:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
/home/regis/Poetry/discourse/lib/middleware/missing_avatars.rb:21:in `call'
/home/regis/Poetry/discourse/lib/middleware/turbo_dev.rb:32:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-mini-profiler-0.9.0/lib/mini_profiler/profiler.rb:298:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/engine.rb:511:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/application.rb:97:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/urlmap.rb:65:in `block in call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `each'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/urlmap.rb:50:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
/home/regis/.rvm/gems/ruby-2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
/home/regis/.rvm/gems/ruby-2.1.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
/home/regis/.rvm/gems/ruby-2.1.0/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/handler/thin.rb:16:in `run'
/home/regis/.rvm/gems/ruby-2.1.0/gems/rack-1.5.2/lib/rack/server.rb:264:in `start'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/commands/server.rb:84:in `start'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/commands.rb:76:in `block in <top (required)>'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in `tap'
/home/regis/.rvm/gems/ruby-2.1.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in `<top (required)>'
bin/rails:4:in `require'
bin/rails:4:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment