Fixed it with last upgrade 🙂
[Solved] Spinning up a second instance of NodeBB on same server.. issues with redis?
-
@Frédéric-Coubard Looks like there is no problem to me?
-
@a_5mith will try this evening.
-
@julian you mean it is normal this instance restarting endlessly ?
-
@Frédéric-Coubard Ah, missed that it was restarting over and over again. Yeah, run it in dev mode and let's see what the error is...
-
Sorry for this late feedback.
For some reasons I had to reinstall my whole server. And now the run of the two nodeBB instances is working fine. So maybe nothing related to nodeBB itself. That rocks :-). Thanks for your answers. -
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...
-
-
That's hilarious
-
The secrets are indeed different
-
The base_url's are the same except for the ports
-
I'll clear my cookies and see if that fixes the issue.
-
-
As far as I know, the ports aren't considered in a cookie's domain path (limitation of the cookie mechanism, I think), so that would explain it. They're overwriting each other.
-
It seems that even if I refresh on one instance it logs me out of the other. How strange.
Suggested Topics
-
Solved NodeBB Plugin DB Search breaks forum
Bug Reports • • MJ