Noob questions about upgrade 0.8.2 to 0.9.2



  • Hello, I'm having trouble upgrading the nodebb software from 0.8.2 to 0.9.2.

    I'm using digitalhosting as hosting for my nodebb software. I currently have 0.8.2 and I want upgrade to 0.9.2.

    So what I did was the following,

    I opened the console.

    I was already in my nodebb folder.


    I typ

    ./nodebb stop <ENTER>
    git fetch <ENTER>
    git checkout v0.9.x <ENTER>
    git merge origin/v0.9.x <ENTER>
    ./nodebb upgrade <ENTER>

    it says nodeBB upgrade Complete!
    ./nodebb start <ENTER>

    Screenshot

    And I'm still at 0.8.2 😞

    You are running NodeBB v0.8.2.
    A new version (v0.9.2) has been released. Consider upgrading your NodeBB.

    What am I doing wrong?
    Can somebody please help me?

    My english is not so good, so I use google translate. I hope you guys understand me.
    My langueage is dutch, so if you are dutch please help me in dutch words if it's allowed here.


  • Admin

    Have you backed up your database? Do so, just in case.


    Try this:

    $ git reset --hard origin/v0.9.x   # this will erase any custom work you've made to any files!
    $ ./nodebb upgrade
    


  • Yes I made a back-up (a snapshot with digitalocean)


    did it

    0_1450062618927_Knipsel.PNG

    Still version 0.8.2 😞



  • Is it safe to upload screenshots of this console here?


  • Translator

    @MJ ye its safe, though its not recommended running it on Root 😉



  • @Kowlin said:

    @MJ ye its safe, though its not recommended running it on Root 😉

    okay, how do I change it, or can't it be changed now?


  • Admin

    @MJ Perhaps I typed it in wrong... what happens when you git pull in the v0.9.x branch?



  • I get this

    0_1450125614189_Knipsel.PNG


  • Admin

    Then run ./nodebb upgrade and that should be it.



  • @julian said:

    Then run ./nodebb upgrade and that should be it.

    nope still 0.8.2

    0_1450132673558_Knipsel.PNG


  • Admin

    Bizarre.

    $ git checkout master
    $ git pull
    $ git reset --hard origin/master
    $ ./nodebb upgrade
    


  • 0_1450133100142_Knipsel.PNG

    Upgrade is now running, hope I works 🙂



  • 0_1450133473220_Knipsel.PNG

    thanks mate,

    please give me your paypal so I can give you something in return for all your help 🙂



  • Do you maybe want some logs or something?

    Maybe you can get something out yo improve some documents for people who have the same problem as I did have. I don't know, if I can help you with something.



  • I have installed NodeBB in every permutation of what is written in the docs, and have failed numerous times. 🙂

    So, checking out master and performing a reset actually makes ./nodebb upgrade work?
    I must try this at home .. 🙂



  • @Jacob-Moen said:

    I have installed NodeBB in every permutation of what is written in the docs, and have failed numerous times. 🙂

    So, checking out master and performing a reset actually makes ./nodebb upgrade work?
    I must try this at home .. 🙂

    did it work?



  • @MJ I haven't tested it yet because my installation works and I don't feel like reinstalling just yet 🙂
    However, from what I've read, doing a git hard reset is what 'you should do', apparently.
    My problem was that I thought I could perform a ./nodebb upgrade on an install that I did from a downloaded archive. You need to have checked it out from git. (I reckon). 😉


Log in to reply
 


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