• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Upgrading from 0.7.3 to 0.8.2 / 0.9.0

Scheduled Pinned Locked Moved Technical Support
4 Posts 3 Posters 1.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nuchin
    wrote on last edited by
    #1

    Hello,

    I am attempting a test to upgrade from 0.7.3 to 0.8.2, however, whenever I visit my categories page, the app throws an error like below:

    error: TypeError: Cannot read property 'cid' of null
    at async.waterfall.category.children (/home/ubuntu/nodebb-0.8/src/categories.js:330:43)
    at fn (/home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:717:34)
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:1170:16
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:172:37
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:677:43
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:173:37
    at Object.async.waterfall (/home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:681:44)
    at getChildrenRecursive (/home/ubuntu/nodebb-0.8/src/categories.js:328:9)
    at /home/ubuntu/nodebb-0.8/src/categories.js:348:6
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:187:20
    
    TypeError: Cannot read property 'cid' of null
    at async.waterfall.category.children (/home/ubuntu/nodebb-0.8/src/categories.js:330:43)
    at fn (/home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:717:34)
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:1170:16
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:172:37
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:677:43
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:173:37
    at Object.async.waterfall (/home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:681:44)
    at getChildrenRecursive (/home/ubuntu/nodebb-0.8/src/categories.js:328:9)
    at /home/ubuntu/nodebb-0.8/src/categories.js:348:6
    at /home/ubuntu/nodebb-0.8/node_modules/async/lib/async.js:187:20
    

    I'm able to actually upgrade from 0.7.3 to 0.9.0 with none of these errors. What should I do, without losing my categories and all their posts?

    pichaliteP 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    I am assuming you are getting this error on 0.7.3 or 0.8.2 cuz that stack trace doesn't point to the correct place in 0.9.0, I suggest making a backup and upgrading to 0.9.0 and check if everything is working.

    1 Reply Last reply
    0
  • pichaliteP Offline
    pichaliteP Offline
    pichalite Plugin & Theme Dev
    replied to nuchin on last edited by
    #3

    @nuchin What steps did you follow to upgrade from 0.7.3 to 0.8.2?

    Which theme are you using and the version of that theme?

    1 Reply Last reply
    0
  • N Offline
    N Offline
    nuchin
    wrote on last edited by nuchin
    #4

    I've already tried to go straight from 0.7.3 -> 0.9.0 with success. Plugin support hasn't caught up yet though.

    @pichalite , I'm using a 2nd instance of nodebb, with a 2nd mongodb instance. I first upgraded my plugins to the latest, ran ./nodebb upgrade while on 0.7.3

    I then:
    git checkout v0.8.x
    git pull (just in case)
    ./nodebb upgrade

    running in dev mode just crashes and relaunches when hitting the categories page. When I first installed the forum, I was using v0.8.0 and switched to v.7.x since the plugin support wasn't updated yet.

    I am using the Vanilla theme and it upgraded to 4.0.8 after switching to v0.8.2

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development