@PitaJ I now saw that I used Version 6.0 of MongodB instead of 5. In the path I wrote 5 thought. I guess I have to do some steps again 😄
Invited (future) users can't register
I have one error that comes when the main page is loaded :
WebSocket connection to 'ws://mydomain.com/socket.io/?EIO=3&transport=websocket&sid=f7lp9ue1TJNpSNzkAAAS' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
But other than this one no error reported, no error when I click on : invitation
Answer found !
Invitation button in user tab is NOT working if the theme is not the default one.
- nodebb-theme-persona (default) : Ok
- nodebb-theme-vanilla : Fails
- nodebb-theme-lavender : Fails
And now mail is sent to the user , but link from the mail point to : localhost:4567 ...
Oh, yeah, I see it. Vanilla and Lavender have the component misspelled. XD
@yariplus I will fix that now
@sfchun What do you have in your config.json for url?
localhost:4567 was in url field in config.json
I modified manually to mydomain.com, restarted nodebb... since then it is impossible to login anymore...
Even reverting back to localhost:4567 does not help ... -_-;
Hmm, I'm not sure, maybe check that there isn't a second instance running somehow, maybe restart nginx.
I've try everything, even clean install from scratch.
each time I modify the url in config.json right after, any attempt to access the forum is rejected.
reverting to the old reference change nothing...
18/9 20:01  - error: /login
invalid csrf token
Try clearing you browser cache/cookies?
Ok right , it works now.
- Keep default theme until others are fixed to allow invitation to people.
- modify url from localhost to mydomain.com in config.json solved the 'wrong url' send by mail
after this ,
- clearing cache in browser will avoid having invalid csrf token error.
Do you have an idea on when the themes will be fixed ?
and how to update them ?
Was wondering if : git pull is necessary before doing : ./nodebb upgrade ?
FYI, to install/upgrade a package directly from github: (You don't typically want to ever do this)
npm i git+https://github.com/NodeBB/nodebb-theme-vanilla.git
"git pull" updates NodeBB, "./nodebb upgrade" updates its dependent packages.
Thanks a lot for updating, and information !