I would like users to have different dashboards (content) depending on the "groups" the user has subscribed to. Also how would one go about storing additional user info in Mongo?
countach
Posts
-
Adding custom functionality: Mongo -
Themes causing: "TypeError: Path must be a string" error@pichalite sure. It seems something else might be off. I'm now getting this trace when logged in as admin:
warn: [deprecated] Accessing stylesheet.css from "/" is deprecated. Use "/assets/stylesheet.css" to access this file.
warn: [deprecated] Accessing nodebb.min.js from "/" is deprecated. Use "/assets/nodebb.min.js" to access this file. -
Themes causing: "TypeError: Path must be a string" error@pichalite thanks, that worked.
-
Themes causing: "TypeError: Path must be a string" errorUpon start-up I get the following error trace:
8/7 23:44:39 [7058] - error: TypeError: Path must be a string. Received { id: 'nodebb-theme-exodus', version: '5.2.6' }
at assertPath (path.js:7:11)
at Object.join (path.js:1211:7)
at Object.Plugins.isInstalled (/home/countach/nodebb/src/plugins/install.js:133:24)
at data.async.waterfall (/home/countach/nodebb/node_modules/nodebb-plugin-save-plugins/lib/installMissing.js:5:40)
at nextTask (/home/countach/nodebb/node_modules/async/dist/async.js:5273:14)
at Object.waterfall (/home/countach/nodebb/node_modules/async/dist/async.js:5283:5)
at /home/countach/nodebb/node_modules/nodebb-plugin-save-plugins/lib/installMissing.js:4:24
at /home/countach/nodebb/node_modules/async/dist/async.js:3060:16
at eachOfArrayLike (/home/countach/nodebb/node_modules/async/dist/async.js:1003:9)
at eachOf (/home/countach/nodebb/node_modules/async/dist/async.js:1051:5)
at Object.eachLimit (/home/countach/nodebb/node_modules/async/dist/async.js:3122:5)
at module.exports (/home/countach/nodebb/node_modules/nodebb-plugin-save-plugins/lib/installMissing.js:3:20)
at data.async.series (/home/countach/nodebb/node_modules/nodebb-plugin-save-plugins/library.js:27:54)
at /home/countach/nodebb/node_modules/async/dist/async.js:3830:24
at replenish (/home/countach/nodebb/node_modules/async/dist/async.js:946:17)
at iterateeCallback (/home/countach/nodebb/node_modules/async/dist/async.js:931:17)
8/7 23:44:39 [7058] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
8/7 23:44:39 [7058] - info: [app] Database connection closed.
8/7 23:44:39 [7058] - info: [app] Web server closed to connections.
8/7 23:44:39 [7058] - info: [app] Shutdown complete.
3 restarts in 10 seconds, most likely an error on startup. Halting. -
"NodeBB could not connect to your Mongo database" Error@baris thats the thing I do not get that prompt to specify the DB, it attempts to connect automatically after ./nodebb setup is executed. Could it be the authentication settings? I have security authorization enabled in my mongod.conf ...
-
"NodeBB could not connect to your Mongo database" Error@baris yes I did both. But I do not quite understand what you mean by "The one you should use during "./nodebb setup" is the second one". Can you please elaborate.
-
"NodeBB could not connect to your Mongo database" ErrorI am getting the following error when executing "./nodebb setup" :
info: Now configuring mongo database: Configuration Saved OK
error: NodeBB could not connect to your Mongo database. Mongo returned the following error: Authentication failed.MongoError: Authentication failed.
at Function.MongoError.create (/home/countach/nodebb/node_modules/mongodb-core/lib/error.js:31:11)
at /home/countach/nodebb/node_modules/mongodb-core/lib/connection/pool.js:497:72
at authenticateStragglers (/home/countach/nodebb/node_modules/mongodb-core/lib/connection/pool.js:443:16)
at Connection.messageHandler (/home/countach/nodebb/node_modules/mongodb-core/lib/connection/pool.js:477:5)
at Socket.<anonymous> (/home/countach/nodebb/node_modules/mongodb-core/lib/connection/connection.js:321:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20)I am able to connect to the mongo-shell using the same credentials.I am following the installation documented here and all goes well until I execute "./nodebb setup".
-
[3918] - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: Authentication failed.@tango I'm experiencing the same issue. Can you elaborate on how you fixed it. I get this trace:
MongoError: Authentication failed.
at Function.MongoError.create (/home/countach/nodebb/node_modules/mongodb-core/lib/error.js:31:11)
at /home/countach/nodebb/node_modules/mongodb-core/lib/connection/pool.js:497:72
at authenticateStragglers (/home/countach/nodebb/node_modules/mongodb-core/lib/connection/pool.js:443:16)
at Connection.messageHandler (/home/countach/nodebb/node_modules/mongodb-core/lib/connection/pool.js:477:5)
at Socket.<anonymous> (/home/countach/nodebb/node_modules/mongodb-core/lib/connection/connection.js:321:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20) -
Work-around: Installing NodeBB on non LTS Ubuntu (17.04)@pitaj Yes true, I tried installing mongo onto my 17.04. The installation was successful but some packages did not work (were not supported).
-
Work-around: Installing NodeBB on non LTS Ubuntu (17.04)@pitaj I can confirm that mongo only supports 64-bit LTS versions of ubuntu. Some (crucial) packages like mongod are not supported on non LTS versions.
-
Work-around: Installing NodeBB on non LTS Ubuntu (17.04)@pitaj my concern is with mongo. Some mongo packages are not supported on 17.04.
As its documented here. -
Work-around: Installing NodeBB on non LTS Ubuntu (17.04)Has anyone successfully installed NodeBB onto a non LTS version of Ubuntu? This is a Hail-Mary before I revert my 17.04 to the 16.04 LTS. Any insight will be appreciated.
-
Clarity on NodeBB@hariom-vashisth was the app developed natively or as a hybrid? I would like to do something similar for both android and iOS once the forum is up.
-
Clarity on NodeBB@shard the features discussed in that thread is precisely what I was looking for, thank you!
-
Clarity on NodeBBI have some issues I would like to address before committing to any one CMS for a project I'm starting.
I am building a forum which will be used for educational purposes which will have the basic forum functionality as well as a rewards system (Gamification).With this said I have the following questions.
-
Is the integration of nodeBB with my own database client (say mongo) supported?
-
Is the API "build once, deploy to multiple platforms" or does an instance for each device need to be built? (web/mobile)
-
Does a gamification plugin/feature exist?
-
is the nodeBB mobile app built using nodeBB?
-