Mongo::OperationFailure - Database command 'update' failed: BSON field 'update.multi' is an unknown field.
venkateshwarant opened this issue · 1 comments
Is ABBA still working? I got this basic issue when I try to set up.
2020-07-21 08:01:58 - Mongo::OperationFailure - Database command 'update' failed: BSON field 'update.multi' is an unknown field.: /home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/db.rb:610:in
rescue in command'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/db.rb:606:incommand' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/collection_writer.rb:314:in
block in send_write_command'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:55:inblock in instrument' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:20:in
instrument'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:54:ininstrument' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/collection_writer.rb:313:in
send_write_command'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/collection.rb:1104:insend_write' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo-1.12.5/lib/mongo/collection.rb:497:in
update'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo_mapper-0.13.1/lib/mongo_mapper/plugins/modifiers.rb:85:inmodifier_update' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo_mapper-0.13.1/lib/mongo_mapper/plugins/modifiers.rb:9:in
increment'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/mongo_mapper-0.13.1/lib/mongo_mapper/plugins/modifiers.rb:117:inincrement' /home/vagrant/abba/app/models/variant.rb:22:in
start!'
/home/vagrant/abba/app.rb:54:inblock in <top (required)>' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:inblock in compile!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in
[]'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:inblock (3 levels) in route!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in
route_eval'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:inblock (2 levels) in route!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in
block in process_route'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:incatch' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in
process_route'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:inblock in route!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in
each'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:inroute!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in
block in dispatch!'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:inblock in invoke' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
catch'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:ininvoke' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in
dispatch!'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:inblock in call!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
block in invoke'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:incatch' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in
invoke'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:incall!' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-1.6.4/lib/rack/logger.rb:15:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-1.6.4/lib/rack/head.rb:13:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/show_exceptions.rb:25:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:incall' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
block in call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:insynchronize' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in
call'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/connection.rb:86:inblock in pre_process' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/connection.rb:84:in
catch'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/connection.rb:84:inpre_process' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/connection.rb:53:in
process'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/connection.rb:39:inreceive_data' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in
run_machine'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:inrun' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/backends/base.rb:73:in
start'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/server.rb:162:instart' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/controllers/controller.rb:87:in
start'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/runner.rb:200:inrun_command' /home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/lib/thin/runner.rb:156:in
run!'
/home/vagrant/.rvm/gems/ruby-2.1.5/gems/thin-1.6.4/bin/thin:6:in<top (required)>' /home/vagrant/.rvm/gems/ruby-2.1.5/bin/thin:23:in
load'
/home/vagrant/.rvm/gems/ruby-2.1.5/bin/thin:23:in<main>' /home/vagrant/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in
eval'
/home/vagrant/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in<main>'
using mongo 3.2 solved this for me.