@PitaJ thanks. it helped.
Today i restarted my website and now im getting 502 Bad Gateway, if i do ./nodebb status it says its running but every time i do it its in a diferent pid so i guess its constantly restarting?
I'm clueless on what to do here.
Take a look at
logs/output.logfor any error messages.