Thank you all for the responses. This is a wonderful community - Makes me feel much better exploring this new thing.
Wishing you all the best!
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?
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