Again about "invalid csrf token"
-
Clear your browser cache and try again. Or try another browser. That usually works.
-
@Peter-Zoltan-Keresztes not work for me.
-
That's not how you update.
To update nodebb, go into your NodeBB folder:
git pull
npm install
./nodebb upgrade
./nodebb reload/restart
(Pick one or the other)To update persona from your nodebb folder
npm install nodebb-theme-persona@latest
Once you've done all of those, run
./nodebb dev
and watch for errors, if you get any, paste the full error here. -
@a_5mith said:
npm install nodebb-theme-persona@latest
output:
npm ERR! git Appears to be a git repo or submodule. npm ERR! git /home/nodebb/node_modules/nodebb-theme-persona npm ERR! git Refusing to remove it. Update manually, npm ERR! git or move it out of the way first. npm ERR! System Linux 3.19.0-18-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "nodebb-theme-persona@latest" npm ERR! cwd /home/nodebb npm ERR! node -v v0.10.33 npm ERR! npm -v 1.4.28 npm ERR! path /home/nodebb/node_modules/nodebb-theme-persona npm ERR! code EISGIT npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/nodebb/npm-debug.log npm ERR! not ok code 0
-
It is not clear, NodeBB package.json contains theme porsona 0.2.0 version, when in the npm and github there is only 0.1.61.
-
I understand. No matter if contains version of the above existing updated to latest.
-
I deleted folder node_modules/nodebb-theme-persona and installed again:
npm install nodebb-theme-persona@latest ... [email protected] node_modules/nodebb-theme-persona
On the output
./nodebb dev
of the usual symbols during unsuccessful attempts to log in:9/6 23:27 [24733] - error: /forum/login invalid csrf token
-
Each new update for me how torture when it stop?!
-
@sergej-saveljev I fixed this bug this morning, so any commit after 18897c70b44e17e610a554a3d433e52bf1d5b116 is fine.
-
@julian thanks!