• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Connection and Session issues (new install)

Scheduled Pinned Locked Moved Solved Technical Support
34 Posts 6 Posters 1.9k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    ben.coyle2
    replied to PitaJ on last edited by
    #9

    @PitaJ said in Connection and Session issues (new install):

    Can you try checking out tag v1.13.3 instead?

    git checkout v1.13.3
    

    Okay I'm not entirely sure how this works? It says that when this was loaded it's in a detached HEAD state? Should I try access my website with this running?

    B gotwfG 2 Replies Last reply
    0
  • B Offline
    B Offline
    ben.coyle2
    replied to ben.coyle2 on last edited by
    #10

    It won't start at all now I'm getting csv errors. Any help?

    scottalanmillerS 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to ben.coyle2 on last edited by gotwf
    #11

    @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.

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to gotwf on last edited by PitaJ
    #12

    @ben-coyle2 please try

    ./nodebb stop
    git checkout v1.13.3
    ./nodebb upgrade -mi
    ./nodebb start
    
    gotwfG B 2 Replies Last reply
    1
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to PitaJ on last edited by
    #13

    @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.

    1 Reply Last reply
    0
  • B Offline
    B Offline
    ben.coyle2
    replied to PitaJ on last edited by
    #14

    @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

    1 Reply Last reply
    0
  • scottalanmillerS Offline
    scottalanmillerS Offline
    scottalanmiller Community Rep
    replied to ben.coyle2 on last edited by
    #15

    @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?

    B 1 Reply Last reply
    0
  • B Offline
    B Offline
    ben.coyle2
    replied to scottalanmiller on last edited by
    #16

    @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

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #17

    Issues like what? Please explain what is going on.

    1 Reply Last reply
    1
  • B Offline
    B Offline
    ben.coyle2
    wrote on last edited by
    #18

    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

    gotwfG 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to ben.coyle2 on last edited by
    #19

    @ben-coyle2

    ./nodebb start -l
    

    Then paste relevant log error messages, eh? 😉

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #20

    Does the url value in config.json match the address at which you're accessing your site exactly?

    B 1 Reply Last reply
    0
  • B Offline
    B Offline
    ben.coyle2
    replied to PitaJ on last edited by
    #21

    @PitaJ Yes, it does match it. Does it affect it that it has an SSL certificate (through Cloudflare)

    @gotwf https://pastebin.com/SNvXC8um

    gotwfG 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to ben.coyle2 on last edited by gotwf
    #22

    @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?? 🤔

    B 1 Reply Last reply
    0
  • B Offline
    B Offline
    ben.coyle2
    replied to gotwf on last edited by
    #23

    @gotwf Okay
    So:
    This is my config file: https://pastebin.com/j7tg3uGY
    This is my log when it's started: https://pastebin.com/ac3vYPrU

    I 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?

    gotwfG 1 Reply Last reply
    0
  • gotwfG Offline
    gotwfG Offline
    gotwf Community Rep
    replied to ben.coyle2 on last edited by
    #24

    @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?

    scottalanmillerS 1 Reply Last reply
    2
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #25

    You have https set up in your config.json, but are you actually using https to browse the site?

    1 Reply Last reply
    1
  • scottalanmillerS Offline
    scottalanmillerS Offline
    scottalanmiller Community Rep
    replied to gotwf on last edited by
    #26

    @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.

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #27

    Additionally, as @gotwf says, paste your nginx config, I'm imagining that might be the cause, but we shall see...

    1 Reply Last reply
    1
  • B Offline
    B Offline
    ben.coyle2
    wrote on last edited by
    #28

    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.

    favicon

    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

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development