T
T
tuxx2015-12-30 00:58:42
MongoDB
tuxx, 2015-12-30 00:58:42

Can't see database in MongoDB after update?

Updated MongoDB from version 2.0.6 to 3.2.0. After launch, only the empty local database is visible. The main database is not visible, but its files are also located in /var/lib/mongodb. How to connect them?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lega, 2015-12-30
@lega

With a big update, you need to do a dump -> restore
You can run mongo2 through docker and do a dump there, and then restore to your mongo3.2

P
Pavel, 2015-12-30
@electronik777

no way. for this there is documentation, you first had to upgrade to 2.4-2.6-3.x
https://docs.mongodb.org/v3.0/release-notes/3.0-up...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question