Deserializing BSON ReadBsonType can only be called when State is Type?

I have the following Code: using MongoDB.Bson; using MongoDB.Bson.IO; using MongoDB.Bson.Serialization.Attributes; ...

MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating?

I created /data/db in root directory and ran ./mongod: [initandlisten] exception in initAndListen: 20 Attempted to ...

MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating?

I created /data/db in root directory and ran ./mongod: [initandlisten] exception in initAndListen: 20 Attempted to ...

Node.js error Error: Cannot find module 'mongoose'?

C:\Users\Nick\Desktop\turntablefm\Bots\Super Bot>node bot.js node.js:201 throw e; // process.nextTick er...

AttributeError: 'list' object has no attribute 'update'?

I am trying to update the value of project['submission']['status'] to queued for each matching version as below but...

mongod command not recognized when trying to connect to a mongodb server?

I am following the tutorials at docs.mongodb.org, I have completed the first tutorial which was to install mongodb o...

Mongoose: Cast to date failed for value when updating a document?

I use Mongoose in my project and in one of the schemas I use Date field, like this: reservationDay: { type:...

mongo - couldn't connect to server 127.0.0.1:27017?

I am coming from riak and redis where I never had an issue with this services starting, or to interact. This is a p...

What does “too many positional options” mean when doing a mongoexport??

mongoexport -h db.mysite.com -u myUser -p myPass -c myCollection But the response I get is: ERROR: too many positi...

MongoError: Invalid Operation, No operations in bulk?

I'm unable to do bulk insert to mongo using mongoose. var mongoose = require('mongoose'); var Schema = mongoose.Sch...

MongoDB: Server has startup warnings ''Access control is not enabled for the database''?

I firstly installed MongoDB 3.4.1 today. But when I start it and use MongoDB shell, it gave me these warnings below:...

App Engine, pymongo.errors.ServerSelectionTimeoutError: connection closed,connection closed,connection closed"?

I'm using Python 3.7 and Flask 1.0.2 I plugged my app to mongoDB Atlas, and all works fine in local client ...

E: Unable to locate package mongodb-org?

I am trying to download mongodb and I am following the steps on this link. But when I get to the step: sudo apt-ge...

MongoError: connect ECONNREFUSED 127.0.0.1:27017?

I'm using NodeJS wih MongoDB using mongodb package. When I run mongod command it works fine and gives "waiting for c...