ogom / redmine_sidekiq

Sidekiq plugin for Redmine
21 stars 29 forks source link

Error "can't quote Rack::Session::SessionId" in Redmine 4.0.4 #15

Open koren85 opened 4 years ago

koren85 commented 4 years ago

Hi! I get next error in my Redmine

more details

/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/quoting.rb:179:in `_quote'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/quoting.rb:18:in `quote'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/collectors/substitute_binds.rb:16:in `add_bind'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:741:in `visit_Arel_Nodes_BindParam'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:670:in `visit_Arel_Nodes_Equality'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:822:in `block in inject_join'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `each_with_index'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `inject'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:820:in `inject_join'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:639:in `visit_Arel_Nodes_And'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:270:in `block in collect_nodes_for'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:269:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:269:in `each_with_index'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:269:in `collect_nodes_for'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:254:in `visit_Arel_Nodes_SelectCore'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/mysql.rb:51:in `visit_Arel_Nodes_SelectCore'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:217:in `block in visit_Arel_Nodes_SelectStatement'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:216:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:216:in `inject'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/to_sql.rb:216:in `visit_Arel_Nodes_SelectStatement'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/mysql.rb:46:in `visit_Arel_Nodes_SelectStatement'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:15:in `visit'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/arel-9.0.0/lib/arel/visitors/reduce.rb:8:in `accept'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/determine_if_preparable_visitor.rb:10:in `accept'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:34:in `to_sql_and_binds'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:98:in `select_all'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql/database_statements.rb:12:in `select_all'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/querying.rb:41:in `find_by_sql'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:560:in `block in exec_queries'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:584:in `skip_query_cache_if_necessary'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:547:in `exec_queries'
/home/redmine/redmine/plugins/a_common_libs/lib/acl/rails/rmp_sql_ext.rb:336:in `exec_queries'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:422:in `load'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:200:in `records'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation.rb:195:in `to_ary'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation/finder_methods.rb:532:in `find_nth_with_limit'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation/finder_methods.rb:517:in `find_nth'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-5.2.3/lib/active_record/relation/finder_methods.rb:125:in `first'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/active_record/session_store/session.rb:58:in `find_by_session_id'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/action_dispatch/session/active_record_store.rb:124:in `block in get_session_model'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/active_record/session_store/extension/logger_silencer.rb:47:in `silence_logger'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/action_dispatch/session/active_record_store.rb:123:in `get_session_model'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/action_dispatch/session/active_record_store.rb:83:in `block in write_session'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/active_record/session_store/extension/logger_silencer.rb:47:in `silence_logger'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activerecord-session_store-1.1.3/lib/action_dispatch/session/active_record_store.rb:82:in `write_session'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/session/abstract/id.rb:388:in `commit_session'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/session/abstract/id.rb:268:in `context'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/session/abstract/id.rb:260:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/cookies.rb:670:in `call'
/home/redmine/redmine/plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:68:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/railties-5.2.3/lib/rails/rack/logger.rb:38:in `call_app'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/railties-5.2.3/lib/rails/rack/logger.rb:26:in `block in call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/tagged_logging.rb:71:in `block in tagged'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/tagged_logging.rb:28:in `tagged'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/tagged_logging.rb:71:in `tagged'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/railties-5.2.3/lib/rails/rack/logger.rb:26:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/method_override.rb:24:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/runtime.rb:22:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/executor.rb:14:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/middleware/static.rb:127:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/content_length.rb:17:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/sendfile.rb:110:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/railties-5.2.3/lib/rails/engine.rb:524:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/tempfile_reaper.rb:15:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/lint.rb:50:in `_call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/lint.rb:38:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/show_exceptions.rb:23:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/common_logger.rb:38:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:231:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/chunked.rb:98:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rack-2.2.2/lib/rack/content_length.rb:17:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/unicorn-5.5.4/lib/unicorn/http_server.rb:605:in `process_client'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/unicorn-5.5.4/lib/unicorn/http_server.rb:700:in `worker_loop'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/unicorn-5.5.4/lib/unicorn/http_server.rb:548:in `spawn_missing_workers'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/unicorn-5.5.4/lib/unicorn/http_server.rb:144:in `start'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/gems/unicorn-5.5.4/bin/unicorn_rails:209:in `<top (required)>'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/bin/unicorn_rails:23:in `load'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/bin/unicorn_rails:23:in `<main>'