Skip to content

NodeBB: Upgrading to NodeBB v3.x

Solved Configure
  • Hi @phenomlab

    I would like to upgrade my current NodeBB installation to the new NodeBB v3.x and use Harmony theme. How do I do this?

  • Hi @phenomlab

    I would like to upgrade my current NodeBB installation to the new NodeBB v3.x and use Harmony theme. How do I do this?

    @mventures As @DownPW stated, stop the NodeBB service from the command line as below, perform the upgrade, then start it up again

    ./nodebb stop
    git fetch && git checkout develop && git reset --hard origin/develop
    ./nodebb upgrade
    ./nodebb start
    
  • Hi @phenomlab

    I would like to upgrade my current NodeBB installation to the new NodeBB v3.x and use Harmony theme. How do I do this?

    @mventures As @DownPW stated, stop the NodeBB service from the command line as below, perform the upgrade, then start it up again

    ./nodebb stop
    git fetch && git checkout develop && git reset --hard origin/develop
    ./nodebb upgrade
    ./nodebb start
    
  • phenomlabundefined phenomlab has marked this topic as solved on
  • Hey @phenomlab @DownPW Thank you for that “script”. Is that what you call it?

    I am on a MacBook and I opened the TERMINAL. Do I just type the script given above? How does the command know to engage with my website, my VPS server, etc? Maybe, there is a step I am missing before typing in these scripts.

  • @phenomlab

    Adding to my last comment, would these my steps be for the UPGRADE part?

    1. Open Terminal

    2. Paste the script from @DownPW

    3. Quit Terminal

    4. Then, for the “START IT UP AGAIN” part, how is that done?
      Do I log back in as Admin on my forum, then got to ACP and look for a “start” button?

  • Hey @phenomlab @DownPW Thank you for that “script”. Is that what you call it?

    I am on a MacBook and I opened the TERMINAL. Do I just type the script given above? How does the command know to engage with my website, my VPS server, etc? Maybe, there is a step I am missing before typing in these scripts.

    @mventures You’d need to connect to the server and execute it directly - not on your local terminal. Review the guide below, which will show you how to gain access via SSH to your server

    https://docs.ovh.com/gb/en/dedicated/ssh-introduction/

    Once you have access, you’ll need to navigate to the actual folder where NodeBB is installed

    You’ll then need to change to the directory as shown below

    /home/unbuntu/nodebb
    

    fdffe673-bf63-4b6d-a728-5506fddc1aff-image.png

    In most cases, initial access takes you to the root of the file system. You can always issue pwd in a Linux terminal which will show you the Present Working Directory. From there, you can issue the command

    cd /home/ubuntu/nodebb
    

    Once in the NodeBB directory, you’d use the below commands

    ./nodebb stop
    git fetch && git checkout develop && git reset --hard origin/develop
    ./nodebb upgrade
    ./nodebb start
    

    Line 1 stops the NodeBB instance
    Line 2 gets the latest files from GIT (repository) and then checks out the development branch. It then resets the version you are using to the development branch ready for v3
    Line 3 Runs the upgrade once the new branch is set, and code pulled
    Line 4 Restarts the NodeBB instance after the upgrade has completed

    Note that when you restart NodeBB and log back in, things will look very different to what you had in v2.

  • phenomlabundefined phenomlab referenced this topic on

Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation 💗

Related Topics
  • 4 Votes
    8 Posts
    503 Views
    @Panda said in Upgrade to NodeBB v3? 2BB or not 2BB, that is the question!: So although thats a plugin it has Widget like element and stopped working on the Theme change Which is normal based on the widgets being reset when you change themes.
  • Embedding external URLs

    Solved General
    3
    3 Votes
    3 Posts
    219 Views
    Many thanks! I’ll use your walkthrough and go for the self-hosted solution.
  • NodeBB v3 Android Problem

    Solved Configure
    4
    4 Votes
    4 Posts
    321 Views
    thank you fixed.
  • NodeBB: hCaptcha

    Solved Configure
    15
    2 Votes
    15 Posts
    553 Views
    @mventures none that I know of. I don’t recall selecting these either for mine.
  • nodebb loading emojis

    Solved Configure
    16
    1
    1 Votes
    16 Posts
    719 Views
    @DownPW sure. Let me have a look at this in more detail. I know nginx plus has extensive support for this, but it’s not impossible to get somewhere near acceptable with the standard version. You might be better off handling this at the Cloudflare level given that it sits in between the requesting client and your server.
  • Gettin Erors NodeBB

    Solved Configure
    7
    0 Votes
    7 Posts
    461 Views
    @phenomlab no forum is working goods. there is no eror message since yestarday.
  • Configure SMTP for Nodebb

    Solved Configure
    14
    5 Votes
    14 Posts
    1k Views
    @marusaky based on the work completed thus far (in relation to PM exchanges), I’m going to mark this completed. Sending email from the server itself works fine without issue, and DNS appears to be clean (valid SPF, DMARC, and DKIM records). It appears that only Gmail marks incoming messages from your domain as spam - perhaps because of the domain age, which there is nothing we can do to prevent this. Mail delivery to all other domains appears to work fine in al of my tests.
  • NodeBB metadata

    Solved Configure
    4
    2 Votes
    4 Posts
    463 Views
    @phenomlab said in NodeBB metadata: @jac Are you sure ? https://www.google.co.uk/search?q=site%3Astockportcounty.fans&sxsrf=AOaemvLwnaZL-PliU_2dBOg_Eo1pMVhBjg%3A1638982328139&source=hp&ei=uOKwYeatBcOsad3yp7AE&iflsig=ALs-wAMAAAAAYbDwyLBSDcG5XYoFCKwQFhgz94wTxOcV&ved=0ahUKEwjm6dX71NT0AhVDVhoKHV35CUYQ4dUDCAk&uact=5&oq=site%3Astockportcounty.fans&gs_lcp=Cgdnd3Mtd2l6EAM6BAgjECc6CwgAEIAEELEDEIMBOg4ILhCABBCxAxDHARCjAjoRCC4QgAQQsQMQgwEQxwEQowI6BQguEIAEOggIABCABBCxAzoFCAAQgAQ6CAguELEDEIMBOgsILhCABBDHARCvAToICC4QgAQQsQM6BQgAELEDOgsILhCABBDHARDRAzoLCAAQgAQQsQMQyQM6BQgAEJIDUABYySZg0CdoAHAAeACAAW2IAa0NkgEEMjMuMpgBAKABAQ&sclient=gws-wiz Fair enough 🤪🤪.