• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How can i migrate??

Scheduled Pinned Locked Moved Unsolved Technical Support
3 Posts 2 Posters 285 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Varun Ganesh DV Offline
    Varun Ganesh DV Offline
    Varun Ganesh D
    wrote on last edited by Varun Ganesh D
    #1

    Hello
    How to migrate nodeBB?
    currently, it's on Heroku. migrating to the Digital Ocean.

    gotwfG 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to Varun Ganesh D on last edited by gotwf
    #2

    @Varun-Ganesh-D Do not know jack about Heroku but presuming you have access to a shell account:

    1. Prep everything on your DO droplet, i.e. install nodejs, nginx, mongo, etc. Use the SAME versions as the Heroku stuff.
    2. Shut down all the moving parts, e.g. nginx, nodebb, mongodb/redis on the Heroku instance.
    3. Rsync your DO droplet w/the appropriate dirs on your Heroku instance, e.g. nodebb home, mongo/redis data dirs and /etc/whatever.conf.
    4. Start up mongo/redis. Watch logs for any errors.
    5. Start up nodebb. Watch logs for any errors.
    6. Confirm you are able to access nodebb on e.g. port 4567.
    7. Restart proxy.

    Like most tech stuff, there's more than one way to do it. I presented you with one. Other's mileage may vary.

    Note: I have omitted propagating updated DNS pointers but you should also ensure forward and reverse dns records are in order. Once done, you will also need to generate new TLS certificates for the DO droplet. Presuming you have access to auth DNS records:

    1. Set TTL on existing Heroku stuff to something like 1hr a day or two prior to migrating.
    2. After you've shut all the Heroku stuff down - update those DNS enteries with the new data.
    3. Let that roll for a day or two to confirm all is well.
    4. If all is not well, point auth DNS back to the Heroku stuff and bring it back online.
    5. Diagnose/troubleshoot any DO issues.
    6. Wash, rinse, repeat the above.
    7. Once confirm all is indeed groovy, change those DNS TTL's to something more appropriate, e.g. 24-48hrs, so the rest of the world's resolvers are not hammering your auth DNS boxes.

    Good luck and have fun! o/

    1 Reply Last reply
    0
  • Varun Ganesh DV Offline
    Varun Ganesh DV Offline
    Varun Ganesh D
    wrote on last edited by
    #3

    It's Very Complex.
    I installed Fresh. Lost everything.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development