[Solved] Spinning up a second instance of NodeBB on same server.. issues with redis?
-
In redis-cli you could probably do
select 1 flushdb
and start over (I'm assuming you messed up your fresh install and not the original install?)
-
Hi,
I'm also trying to run a second NodeBB instance (love this new generation forum ) on same server.
I'm encountering difficulties, but not the same.I run the setup, defined a different port 4568 and different Redis DB number 1 (first instance on 4567 with RDS DB 0).
Starting up this second NodeBB instance I see in the log that the startup doesn't end and restart just after attempting to listen on my 192.168.1.10:4568, endlessly.
info: [user.startJobs] Registering User Jobs
info: [meta/css] Minifying LESS/CSS
info: [sounds] Sounds OK
info: [themes] Compiling templates
info: [themes] Successfully compiled templates.
info: NodeBB attempting to listen on: 192.168.1.10:4568
info: NodeBB v0.4.3 Copyright (C) 2013-2014 NodeBB Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.Any idea about what I miss ?
Regards
info:
info: Time: Tue Jun 10 2014 22:25:17 GMT+0200 (CEST) -
I'm having an issue where I've installed two instances of NodeBB on the same server, set the redis databases to be different yet the following error occurs:
Whenver you login or logout of one forum, you logout of the other. Is this a common issue and can be solved easily or am I in deep water here?
-
- I find it hilarious that only as little as 6 months ago, our totally legitimate advice was "try dropping your db and reinstall"
- Are the secrets in
config.json
different? - Are the two NodeBBs on the same
base_url
? - Check the cookie saved in the browser, I'm thinking perhaps they're overwriting each other...
-
It seems that even if I refresh on one instance it logs me out of the other. How strange.