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

Mongo::OperationFailure Unknown option to update command: upsert #14

Open
sandipk22 opened this issue Oct 24, 2017 · 0 comments
Open

Mongo::OperationFailure Unknown option to update command: upsert #14

sandipk22 opened this issue Oct 24, 2017 · 0 comments

Comments

@sandipk22
Copy link

Hi,
Getting the error in client-act.rb file below is the debug for the same.

2017-10-24T07:16:02.356908+00:00 heroku[router]: at=info method=GET path="/websocket?clientname=twilioATtechilaservicesDOTcom" host=techilatwiml.herokuapp.com request_id=4657dd2d-ac4b-4b6a-a988-9b16fd6573d7 fwd="123.252.249.18" dyno=web.1 connect=1ms service=7ms status=500 bytes=165 protocol=https
2017-10-24T07:16:02.355031+00:00 app[web.1]: 2017-10-24 07:16:02 - Mongo::OperationFailure - Database command 'update' failed: Unknown option to update command: upsert:
2017-10-24T07:16:02.355045+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/db.rb:610:in rescue in command' 2017-10-24T07:16:02.355046+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/db.rb:606:in command'
2017-10-24T07:16:02.355047+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection_writer.rb:314:in block in send_write_command' 2017-10-24T07:16:02.355048+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:55:in block in instrument'
2017-10-24T07:16:02.355048+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:20:in instrument' 2017-10-24T07:16:02.355049+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/functional/logging.rb:54:in instrument'
2017-10-24T07:16:02.355050+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection_writer.rb:313:in send_write_command' 2017-10-24T07:16:02.355050+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection.rb:1104:in send_write'
2017-10-24T07:16:02.355051+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/mongo-1.12.5/lib/mongo/collection.rb:497:in update' 2017-10-24T07:16:02.355052+00:00 app[web.1]: /app/client-acd.rb:131:in block (3 levels) in <top (required)>'
2017-10-24T07:16:02.355053+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/em-websocket-0.3.8/lib/em-websocket/connection.rb:22:in trigger_on_open' 2017-10-24T07:16:02.355053+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/em-websocket-0.3.8/lib/em-websocket/handler.rb:18:in run'
2017-10-24T07:16:02.355054+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/sinatra-websocket-0.3.1/lib/sinatra-websocket.rb:123:in dispatch' 2017-10-24T07:16:02.355054+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/sinatra-websocket-0.3.1/lib/sinatra-websocket.rb:22:in from_env'
2017-10-24T07:16:02.355055+00:00 app[web.1]: /app/vendor/bundle/ruby/2.3.0/gems/sinatra-websocket-0.3.1/lib/sinatra-websocket/ext/sinatra/request.rb:17:in websocket' 2017-10-24T07:16:02.355057+00:00 app[web.1]: /app/client-acd.rb:121:in block in <top (required)>'

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