@jaspernl When the issue is fixed you can remove the redis block, users will probably have to relogin since sessions will be stored in redis but that's about it, forum data is still in mongodb because you are not changing the database: "mongo"
section in config.json
<baris>
Posts
-
How to Load Balance for all CPU Cores -
How to allow both registration, normal and user invites ?@faizanzahid You can't have both right now, just set it to normal and you can invite users to your /register page via email or some other tool
-
Upgrade "Refresh post-upload associations" in 1.9.x causes error@dravere Can you try to change the upgrade script from
async.each
to useasync.eachSeries
let me know if that fixes the issue. You can also try appling this commit as well https://github.com/NodeBB/NodeBB/commit/cba5aa975ea20b509c1766f3166d048103001afeNot sure why you are getting that error the upgrade script looks OK to me.
-
What hashes does nodebb useWe use https://github.com/dcodeIO/bcrypt.js to store user passwords.
-
How to allow both registration, normal and user invites ?You can watch topics and get notified of new replies.
-
How to Load Balance for all CPU Coreshttps://github.com/scttnlsn/mubsub/pull/62 for the PR that I have opened to fix the issue.
-
How to Load Balance for all CPU Cores@pummelchen There is an issue in one of our dependency that effects mongodb, https://github.com/scttnlsn/mubsub/issues/61, in the meantime you can install redis and add a redis block in your config.json so pubsub uses redis instead of mongodb. That should get rid of the error you are seeing in the logs.
-
Hiding Votes column in Category view@jarko You can add a custom css rule in the ACP.
.stats-votes { visibility: hidden; }
-
Widget persists and does not respond to any updates.@attis Thanks for debugging, I added a new config setting into config.json, you can set
isCluster: true
in your config.json and it should work now. It will be available in 1.9.2 so you can keep your change until then. https://github.com/NodeBB/NodeBB/issues/6509 -
Problem with labelhttps://github.com/NodeBB/NodeBB/issues/6433 theme needs this update
-
Widget persists and does not respond to any updates. -
Widget persists and does not respond to any updates.Yes the widgets are saved in the database, but there is an object cache in the mongodb module so each nodebb instance caches some data, if the data is changed then the cache is cleared on all nodebb procs with redis/pubsub. I will try to replicate this on a multi process instance.
-
Scaling NodeBB across multiple nodes -
How can we show all our TPL pages in the widgets in ACP dashboards?Try disabling custom pages as well, and switch to persona if not already done. This is what it looks like on this forum.
-
Check if user is logged in@joes Yes
app.uid
got removed quite a while ago, the user data is stored inapp.user
-
Change day formatIt is a jquery datepicker, so you can modify the source and change it http://api.jqueryui.com/datepicker/#option-dateFormat
-
1.7.5 to 1.9.0Yes it is, you can switch to v1.9.x and run
./nodebb upgrade
-
How to restore topic posters as topic followers?@juan-g Yeah you can declare now above the code with
var now = Date.now()
-
How to restore topic posters as topic followers?Oh knew I forgot something, run the below to create those sets.
/*globals require, console, process */ 'use strict'; var nconf = require('nconf'); var async = require('async'); nconf.file({ file: 'config.json' }); nconf.defaults({ base_dir: __dirname, }); var db = require('./src/database'); db.init(function(err) { if (err) { console.log("NodeBB could not connect to your database. Error: " + err.message); process.exit(); } followTopics(function (err) { if (err) { console.error(err); process.exit(); } console.log('done'); process.exit(); }); }); function followTopics(callback) { db.getSortedSetRange('topics:tid', 0, -1, function (err, tids) { if (err) { return callback(err); } async.eachSeries(tids, followTopicByPosters, callback); }); } function followTopicByPosters(tid, callback) { db.getSortedSetRange('tid:' + tid + ':posters', 0, -1, function (err, uids) { if (err) { return callback(err); } if (!uids.length) { return callback(); } var keys = uids.map(function (uid) { return 'uid:' + uid + ':followed_tids'; }); db.sortedSetsAdd(keys, now, tid, callback); }); }