Moving to another server, database doesnt seem to be used


#1

I’m trying to move from docker and 0.61 to snap 0.63.

I have installed 0.63 on a Ubuntu-server using snap.

I’ve made a mongdump from the old server.

I’ve dropped the meteor database. I’m stopping the rocketchat service and running a mongorestore on the new server.

When I run mongo from ssh and look in the database I see my old data.

When I start rocketchat, it’s still there with its original database.

What am I doing wrong?


#2

Make sure you specify the MONGO_URL with the correct db. If you are coming from snaps… the db name will be parties.

So your MONGO_URL would look something like: MONGO_URL=mongodb://dbhost:27017/parties