Reputation: 187
I have a node.js server and I was using a Mongodb v2.6. Today I have upgraded that to Mongodb v3.0 and the app has stopped responding but it still responds to v2.6. Any ideas on how to fix this? Mongolab will be upgrading all databases to v3.0.
I have also tried implementing it at modulus.io without any results. I use Mongoose with my node.js app.
Upvotes: 0
Views: 83
Reputation: 120
Since the version of Mongoose you included in package.json isn't shared, I am hoping that needs an update too.
Here's the article where Mongoose 4.0 is said to be supporting Mongo 3.0: https://www.mongodb.com/blog/post/introducing-version-40-mongoose-nodejs-odm
Also, if you are upgrading Mongoose to 4.0, check the backwards incompatible changes and new features sections in their Release Notes. https://github.com/Automattic/mongoose/wiki/4.0-Release-Notes
Upvotes: 3