Upgrade v1.0.2 to v1.4.2

  • Plugin & Theme Dev

    I'm doing something wrong, or an error is correct?

    11/1 21:56:05 [67685] - info: Beginning database schema update
    11/1 21:56:05 [67685] - error: [upgrade] NodeBB upgrade could not complete, as your database schema is too far out of date.
    11/1 21:56:05 [67685] - error: [upgrade]   Please ensure that you did not skip any minor version upgrades.

    Do I need to pull every minor version and run ./nodebb upgrade ?

  • Global Moderator

    @Nicolas yep

  • Oh boy. I am going to be in the same boat. :frowning:

    What is the best git command to get them?

  • Admin

    You'll likely have to check out an earlier tag from git... going from v1.0.2 to v1.4.2? Yikes, what a jump!

    From git, try git checkout v1.1.0, does that work? Upgrade.

    Then repeat, substituting v1.2.0, then v1.3.0, and then finally git reset --hard HEAD again and upgrade once more from the latest commit.

  • @julian Thank you.

    I have been updating my dev site periodically to test my customizations and plug-ins. I really should have been keeping my production updated a bit more. Oh well.

  • Plugin & Theme Dev

    I thought minor version will be friendlier for the upgrades ;)

  • Good news is the incremental updates from v1.0.2 to v1.4.2 worked in my dev environment. I captured the few changes I will need to make when I do this in production. Which I should do this week. :smirk:

Log in to reply

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