mongodb - nodebb - schema is out-of-date.
-
Hi there,
Im playing around with nodebb .. and i decided to switch to mongodb..
turns out that on a clean installation, nodebb tells throw me a warning on the startup..
warn: Your NodeBB schema is out-of-date. Please run the following command to bring your dataset up to sp ec:
warn: node app --upgrade
warn: To ignore this error (not recommended):
warn: node app --no-check-schemai did the 'node app --upgrade' and i got a error...
/home/forum/nodebb/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Cannot read property 'gid' of undefined
at /home/forum/nodebb/src/upgrade.js:309:28
at /home/forum/nodebb/src/groups.js:82:5
at /home/forum/nodebb/src/database/mongo.js:309:4
at /home/forum/nodebb/src/database/mongo.js:342:4
at /home/forum/nodebb/node_modules/mongodb/lib/mongodb/collection/query.js:147:5
at /home/forum/nodebb/node_modules/mongodb/lib/mongodb/cursor.js:738:35
at Cursor.close (/home/forum/nodebb/node_modules/mongodb/lib/mongodb/cursor.js:959:5)
at Cursor.nextObject (/home/forum/nodebb/node_modules/mongodb/lib/mongodb/cursor.js:738:17)
at commandHandler (/home/forum/nodebb/node_modules/mongodb/lib/mongodb/cursor.js:713:14)
at /home/forum/nodebb/node_modules/mongodb/lib/mongodb/db.js:1806:9I search this error here and i got nothing.. so im making this post...
got last version of the nodejs .10.25 and last version of the mongodb 2.4.9 .. and last version of nodebb .30
running --no-check-schema works ok so far...
-
@planner im planing to move from bbpress to nodebb.. so i can wait a little longer for some fixes
-
i can confirm i got the same error, on
redis
though. -
-
didnt worked out : /
new error
module.js:340
throw err;
^
Error: Cannot find module '/home/forum/nodebb/src/app'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3 -
i think you're in
nodebb/src
you should be back up one directory innodebb
cd .. # then node app --setup
-
my bad .. thks!