Reputation: 336
I was upgraded my mongodb version from 2.6 to 4.1 and also I take backup my all the database json data to my system and restore it when the updation is completed.
But the problem in Robomongo tool it show all the database but inside of that all the collections and schemas are empty.
what can I do?
Upvotes: 0
Views: 1751
Reputation: 37058
You can follow the upgrade path:
To upgrade an existing MongoDB deployment to 4.0, you must be running a 3.6-series release.
To upgrade from a version earlier than the 3.6-series, you must successively upgrade major releases until you have upgraded to 3.6-series. For example, if you are running a 3.4-series, you must upgrade first to upgrade first to 3.6 before you can upgrade to 4.0.
Upvotes: 1