@DownPW I’d add another set of steps here. When you move the sessions away from mongo
to redis
you are going to encounter issues logging in as the session tables will no longer match meaning none of your users will be able to login
To resolve this issue
Review https://sudonix.com/topic/249/invalid-csrf-on-dev-install and implement all steps - note that you will also need the below string when connecting to mongodb
mongo -u admin -p <password> --authenticationDatabase=admin
Obviously, substitute <password> with the actual value. So in summary:
- Open the
mondogb
console
- Select your database - in my case
use sudonix;
- Issue this command
db.objects.update({_key: "config"}, {$set: {cookieDomain: ""}});
- Press enter and then type
quit()
into the mongodb
shell
- Restart NodeBB
- Clear cache on browser
- Try connection again