Moving a NodeBB Install from one server to another.



  • Would somebody please be able to explain how difficult it is to move a NodeBB from one server to another. Perhaps there is some documentation on the subject, but I haven't found it, if anyone could point me there I would appreciate it.

    I'd like to be prepared in moving between Digital Ocean droplets as our forum grows.


  • Translator

    Moving a entire forum is a bit tricky, but in my opinion doable. In a short version you need to install all the software on the new server, (Anything that you did by the old NodeBB installation) Copy the Redis/MongoDB database and import it. And for good measure use 'npm install' for anything missing.



  • I would say that moving NodeBB is quite simple. I have done this a couple times with no issues.

    First of all you will need to get your new server all set up correctly, SSH, Nginx or apacher, NodeJS, NPM, mongo or redis etc... all correctly installed.

    Backup your current Database and transfer it to your new server.

    Install a fresh install of NodeBB and during the setup it will ask you what database to use, choose your backup.

    Run NodeBB and everything should work.

    You will need to include DNS changes in this too.



  • Thanks, I've done a few trial runs. No problems so far 🙂



  • Well i am having issues with moving mine, and it seems Mongo is the issue, any help would be great https://community.nodebb.org/topic/6620/unable-to-migrate-nodebb-to-another-server/1


Log in to reply
 


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