Connection and Session issues (new install)
-
@ben-coyle2 This is just git doing its thing:
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch.
Here's a link to free online version of Pro Git for those who may want/need more help with git.
You should not try accessing site with "this running". Having switched to a different branch/version of NodeBB, you now need to build/setup that branch. I am unsure whether you need to re-run the "setup" target or just "build" target, as I am still on 12.x and ignorant of whether any config.json knobs changed 'twixt the two versions. Probably does not hurt to run setup again. Do this as your nodebb user, not root, btw.
-
@ben-coyle2 please try
./nodebb stop git checkout v1.13.3 ./nodebb upgrade -mi ./nodebb start
-
@PitaJ said in Connection and Session issues (new install):
@ben-coyle2 please try
./nodebb stop git checkout v1.13.3 ./nodebb upgrade -mi ./nodebb start
^^^^ Duh!
I should not try playing helpdesk before morning coffee.... Heh.
-
@PitaJ said in Connection and Session issues (new install):
@ben-coyle2 please try
./nodebb stop git checkout v1.13.3 ./nodebb upgrade -mi ./nodebb start
Same thing is still happening after doing this
-
@ben-coyle2 said in Connection and Session issues (new install):
It won't start at all now I'm getting csv errors. Any help?
NodeBB will not start? Can you show the errors?
-
@scottalanmiller said in Connection and Session issues (new install):
@ben-coyle2 said in Connection and Session issues (new install):
It won't start at all now I'm getting csv errors. Any help?
NodeBB will not start? Can you show the errors?
This has now resolved itself following above advice but the other issues still remain after trying previous comments
-
Issues like what? Please explain what is going on.
-
The same problems I've been having the whole time.
When logging in, reloading the page and displaying the message session mismatch & then 'looks like your connection was lost', not being bale to register etc -
-
Does the url value in config.json match the address at which you're accessing your site exactly?
-
@PitaJ Yes, it does match it. Does it affect it that it has an SSL certificate (through Cloudflare)
-
@ben-coyle2 I would suggest next trying to isolate whether issue is nginx proxy or nodebb app server side. Since your install is listening to port 4567 on all interfaces, what happens if you try to connect to it directly? Browse about a bit and see if you get those errors?
Nginx can be tricky for the uninitiated. Maybe you have some knob tweaked just not quite right there?
Frustrating. Fer' sure, fer' sure. The thing is, many, many have gone before you and succeeded following the trail laid out in the docs. Hence, it behooves us to backtrack and figure out where the fcsk' we made a wrong turn.
And in final analysis.... maybe easiest to blow that vm away and start over fresh, minding extra attention to crossing all our i's and dotting all out t's..... than investing yet more effort delving deeper down this rabbit hole.....
Maybe??
-
@gotwf Okay
So:
This is my config file: https://pastebin.com/j7tg3uGY
This is my log when it's started: https://pastebin.com/ac3vYPrUI did what you said, and I entirely reinstalled everything (Ubuntu 18.04) again. I followed the tutorial word for word.
Without logging into the website, it can be accessed and used as normal. There're no issues (inc. no connection problems)
When choosing to login to the site, the issues begin. It logs in (this doesn't show up in the log for some reason), comes up with 'session mismatch' and kicks you back to the homepage.
Am I just doing something really stupid and being dim? -
@ben-coyle2 No, I don't think you are being stupid or dim. Apparently there are gremlins afoot here. Post up your nginx config, eh?
-
@gotwf said in Connection and Session issues (new install):
@ben-coyle2 No, I don't think you are being stupid or dim. Apparently there are gremlins afoot here. Post up your nginx config, eh?
This stuff is honestly really hard. I support these all the time and have for years and new installs that deviate from an established pattern in any way risk having these problems each time. We feel you.
-
server { listen 80; server_name heroicsky.co.uk; location / { - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin (pastebin.com)
I think that's what you mean by Nginx config & I wouldn't be surprised if I've done something wrong with this
-
That doesn't seem to be all of it?
It's only listening on 80, no HTTPS here?
-
Instead of posting with Pastebin, if you post directly here it'll show the entire code, not just part of it.