Migrating to a new DB host - Can't connect, undefined

  • We are attempting to move our MongoDB install to a different server. I set that up and used mongorestore to restore a mongodump from the previous server. After that I changed the config.json to point to the new host, and I tried to connect.

    When running node app.js I get:

    27/4 16:31 [8274] - info: NodeBB v1.4.0 Copyright (C) 2013-2017 NodeBB Inc.
    27/4 16:31 [8274] - info: This program comes with ABSOLUTELY NO WARRANTY.
    27/4 16:31 [8274] - info: This is free software, and you are welcome to redistribute it under certain conditions.
    27/4 16:31 [8274] - info:  
    27/4 16:31 [8274] - info: Time: Thu Apr 27 2017 16:31:42 GMT-0400 (EDT)
    27/4 16:31 [8274] - info: Initializing NodeBB v1.4.0
    27/4 16:31 [8274] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: undefined
    27/4 16:31 [8274] - error:  err=socketHandler, trace=, bin=undefined, sizeOfMessage=1347703880, bytesRead=undefined, stubBuffer=undefined

    What am I missing here?

  • Can anyone help here? I've not been able to figure anything out past this point.

Log in to reply


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.