Skip to content

Upgrade issues

Solved Configure
2 2 1.3k
  • wrote on last edited by phenomlab
    #1

    when doing nodebb upgrade, this is one of the steps

    $ git reset --hard v3.4.2
    

    Is there a way to just say latest version, rather than having to type in the exact version number?

    when I did this command (as per instructions to see what version its on)

    git rev-parse --abbrev-ref HEAD
    

    it gave…

    v2.x
    

    whys it saying 2?

    Also got this screen at start
    Screenshot 2023-09-13 071316.png

  • wrote on last edited by DownPW
    #2

    Use this code

    git fetch    # Grab the latest code from the NodeBB repository
    git checkout v3.x    
    git reset --hard origin/v3.x
    

    And you will have the latest version without specifying it

    https://docs.nodebb.org/configuring/upgrade/

  • phenomlab phenomlab has marked this topic as solved on

Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics