Skip to content

NodeBB: Upgrading to NodeBB v3.x

Solved Configure
6 3 513 1
  • 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
  • Opening links in nodebb widget

    Solved Configure nodebb
    6
    4 Votes
    6 Posts
    806 Views
    A more efficient way of including this would be to not over complicate it and leverage a standard iframe (providing the CSP headers of the remote site permit this) like below <iframe src="https://www.classmarker.com/online-test/start/?quiz=gag66aea7922f0a5" width="700" height="800"></iframe> This works first time every time on your site as intended.
  • NodeBB v3 Quick reply

    Solved Configure quick reply button
    4
    1
    2 Votes
    4 Posts
    320 Views
    here is the link: https://app.transifex.com/nodebb/nodebb/translate/#tr
  • nodebb loading emojis

    Solved Configure nodebb emojis
    16
    1
    1 Votes
    16 Posts
    1k 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.
  • restarting nodebb on boot

    Unsolved Configure nodebb
    3
    1 Votes
    3 Posts
    503 Views
    @eeeee said in restarting nodebb on boot: can I just run nodebb under nodemon for auto restarts? It’s a better method. Nodemon just looks for file system changes and would effectively die if the server was rebooted meaning you’d have to start it again anyway. Systemd is the defacto standard which is how the operating system interacts in terms of services, scheduled tasks etc.
  • Gettin Erors NodeBB

    Solved Configure nodebb eror
    7
    0 Votes
    7 Posts
    571 Views
    @phenomlab no forum is working goods. there is no eror message since yestarday.
  • MailGun Not Working NodeBB

    Solved Configure mail mailgun
    6
    1 Votes
    6 Posts
    572 Views
    @phenomlab did it i did not create smtp user on mailgun. everything is working now. [image: 1667569376261-6cc6061f-ed5d-41f6-8eb7-5d98f98b3706-image.png]
  • nodebb dropdown menu

    Solved Configure nodebb
    5
    1
    0 Votes
    5 Posts
    713 Views
    @phenomlab said in nodebb dropdown menu: @kurulumu-net You set it like the below example taken from this site [image: 1637939951821-aae36790-3257-4bb2-ad5a-0d744309876a-image.png] Which presents this [image: 1637939983445-77f47260-2941-4afe-9614-8e17dcfc8c19-image.png] Very interesting… I actually thought this wasn’t possible, as I remember it being asked in the NodeBB forum. Is this something new that’s been implemented? I’ll 100% be doing that when I’m on the laptop over the weekend.
  • Iframely (Nodebb)

    Solved Configure
    40
    4 Votes
    40 Posts
    4k Views
    @DownPW This is now resolved. The issue was an incorrect URL specified in the Nodebb plugin. I’ve corrected this, and now it works as intended.