Does NodeBB support Nodejs 4.2.1?
-
after installed, i run "curl http://localhost:4567'
but there were some error occur, below:6/3 04:37 [16853] - info: NodeBB Ready
6/3 04:37 [16853] - info: Enabling 'trust proxy'
6/3 04:37 [16853] - info: NodeBB is now listening on: 0.0.0.0:4567
MongoError: topology was destroyed
at Server.update (/opt/nodebb_outofchina/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:1083:49)
at Server.update (/opt/nodebb_outofchina/node_modules/mongodb/lib/server.js:338:17)
at updateDocuments (/opt/nodebb_outofchina/node_modules/mongodb/lib/collection.js:999:19)
at Collection.update (/opt/nodebb_outofchina/node_modules/mongodb/lib/collection.js:1037:44)
at tryCatcher (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/util.js:16:23)
at ret [as updateAsync] (eval at <anonymous> (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:13:39)
at MongoStore.<anonymous> (/opt/nodebb_outofchina/node_modules/connect-mongo/src-es5/index.js:281:39)
at MongoStore.tryCatcher (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:503:31)
at Promise._settlePromise (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:560:18)
at Promise._settlePromiseCtx (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:597:10)
at Async._drainQueue (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/async.js:131:12)
at Async._drainQueues (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/async.js:136:10)
at Immediate.Async.drainQueues [as _onImmediate] (/opt/nodebb_outofchina/node_modules/connect-mongo/node_modules/bluebird/js/release/async.js:16:14)
at processImmediate [as _immediateCallback] (timers.js:383:17) -
the log after install, it looks success except two warns, below is the full log:
[root@li1203-166 nodebb_outofchina]# ./nodebb log
Type Ctrl-C to exit
6/3 05:48 [17353] - warn: You have no mongo password setup!
6/3 05:48 [17353] - info: [database] Checking database indices.
6/3 05:48 [17353] - warn: [socket.io] Clustering detected, you are advised to configure Redis as a websocket store.6/3 05:48 [17353] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run
./nodebb reset -p PLUGINNAME
to disable it.- nodebb-theme-persona
6/3 05:48 [17353] - info: NodeBB Ready
6/3 05:48 [17353] - info: Enabling 'trust proxy'
6/3 05:48 [17353] - info: NodeBB is now listening on: 0.0.0.0:4567 -
From my experience 90% of
Cannot GET /
errors is when it can't connect to mongo db.Try to
sudo service mongod restart