@yariplus Ah...I was doing it on version 0.9.4 which did not have mongodb dependency listed in package.json. Had to install manually. Thanks.
Manan
Posts
-
Make back-up > New fresh install > recover posts, users and data -
Make back-up > New fresh install > recover posts, users and data@yariplus moving to clean install and copying config.json and starting the instance gives "Error:Cannot find module mongodb" error. Please help me find what to do in this case.
-
nodebb MongoError: topology was destroyed@julian the issue was different mongodb versions on different servers, when the database migrated on the different version of mongodb it failed with that error periodically. The odd thing is it did not crash, just hung threre.
-
nodebb MongoError: topology was destroyedhaving exact same error, the problem is server just becomes unresponsive. process does not exit so forever does not restart it. just hangs there. scratching my head for past few days what does the error means? Please help
MongoError: topology was destroyed
at Server.update (/home/latest-nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/topologies/server.js:966:49)
at Server.update (/home/latest-nodebb/node_modules/mongodb/lib/server.js:331:17)
at updateDocuments (/home/latest-nodebb/node_modules/mongodb/lib/collection.js:967:19)
at Collection.update (/home/latest-nodebb/node_modules/mongodb/lib/collection.js:1005:44)
at /home/latest-nodebb/node_modules/connect-mongo/lib/connect-mongo.js:360:18
at MongoStore.getCollection (/home/latest-nodebb/node_modules/connect-mongo/lib/connect-mongo.js:216:11)
at MongoStore.set (/home/latest-nodebb/node_modules/connect-mongo/lib/connect-mongo.js:358:10)
at Session.save (/home/latest-nodebb/node_modules/express-session/session/session.js:71:25)
at Session.save (/home/latest-nodebb/node_modules/express-session/index.js:331:15)
at ServerResponse.end (/home/latest-nodebb/node_modules/express-session/index.js:289:21)
Error: Can't set headers after they are sent.
at ServerResponse.OutgoingMessage.setHeader (http.js:724:11)
at ServerResponse.header (/home/latest-nodebb/node_modules/express/lib/response.js:718:10)
at ServerResponse.send (/home/latest-nodebb/node_modules/express/lib/response.js:163:12)
at defaultFn (/home/latest-nodebb/src/middleware/render.js:19:11)
at /home/latest-nodebb/src/middleware/render.js:78:8
at /home/latest-nodebb/public/src/modules/translator.js:156:6
at /home/latest-nodebb/public/src/modules/translator.js:177:4
at Object.translator.load (/home/latest-nodebb/public/src/modules/translator.js:206:5)
at translateKey (/home/latest-nodebb/public/src/modules/translator.js:175:14)
at /home/latest-nodebb/public/src/modules/translator.js:153:4 -
[nodebb-plugin-session-sharing] Session SharingThis is awesome.Thanks. Can it be used to share sessions between two nodebb instances?
-
Showing widget on some of the pages@psychobunny is there any way to disable global widget on specific pages?
-
How to get all pinned topics from all categoriesI want to create page where I can get all pinned topics from all categories, I want to create something like "must read" page where all the topics which is marked must read by admin.
-
Showing widget on some of the pages@psychobunny Awesome
-
change homepage with custom route, without showing it up in URLFor example, I am using the module
nodebb-plugin-custom-pages
and created a page called home.tpl and route /home, now if I change home page to a custom url /home and navigate to home page, it opens up /home but it is still visible in url. While setting it up to popular, /popular does not show up in url. -
Showing widget on some of the pagesIs it possible to show some widget on some of the pages? For example, let's say I want to show a widget only on categories page. Is that possible?
-
Database Structure@baris did you get any chance to finish this, would be really great for newcomers.
-
Nestedhierarchical comment structure@a_5mith Can it be implemented as a plugin? I am a noob to nodebb plugin development but I can find some time to learn and do it if it is doable.
-
Nestedhierarchical comment structureis this implemented?