Ah yes, it seems I overlooked that when I deactivated all the plugins and only reactivated the persona theme.
Seems to be working to a fashion, just need to get some plugins I rely on updated.
Same here Do you know how to rollback to v2.0.0 ?
Some additional infos
Error: [[error:revalidate-failure]]
at validateSession (/home/user/nodebb/src/socket.io/index.js:216:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async onMessage (/home/user/nodebb/src/socket.io/index.js:153:3)
2022-05-29T06:57:47.829Z [4568/1346] - ^[[31merror^[[39m: POST /logout
invalid csrf token
But the problem is taken care of, as I was just able to log in. A temporary problem?
I am almost sure I hit the same error / type output, but on v1.19.7 - it occurred during CSS Live edits in the ACP.
Deleted the last entry live CSS edits and it solved the problem iirc.
However the whole CSS/LESS ACP has gummed up, so not sure what is going on. Rebuilds have not worked.
I think this issue is created for the problem:
The error I get while logging in after installing the path 2.0.1, is probably a bug. Giriş Başarısız efelsefe.com | 504: Gateway time-out
@FrankM said in Login problem 2.0.1:
@julian No working login is a reason for an rollback
do you use Cloudflare for your forum?
@crazycells No
Just upgraded to 2.0.1, and also unable to login. This error appears in the CLI
(node:961044) UnhandledPromiseRejectionWarning: ReferenceError: Blob is not defined
at Object.utils.generateUUID (/home/sudonix.dev/nodebb/public/src/utils.js:78:43)
at authenticationController.onSuccessfulLogin (/home/sudonix.dev/nodebb/src/controllers/authentication.js:369:22)
at Object.wrapperCallback [as onSuccessfulLogin] (/home/sudonix.dev/nodebb/src/promisify.js:46:11)
at authenticationController.doLogin (/home/sudonix.dev/nodebb/src/controllers/authentication.js:355:33)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async /home/sudonix.dev/nodebb/src/controllers/authentication.js:311:4
(Use `node --trace-warnings ...` to show where the warning was created)
(node:961044) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:961044) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
EDIT: Seems my specific issue is related to nodebb-widget-board-stats
. Disable that, and login seems to work. Going to try and enable all other plugins one by one to test.
EDIT2: nodebb-plugin-2factor
also does not work with 2.0.1
EDIT3: nodebb-plugin-embed
also does not work with 2.0.1
EDIT4: Hopefully this is of some use to others. Here's my list of confirmed working plugins with 2.0.1
(those that are activated)
* @nodebb/[email protected] (installed, enabled)
* [email protected] (installed, disabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, disabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, disabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, enabled)
* [email protected] (installed, disabled)
* [email protected] (installed, disabled)
* [email protected] (installed, disabled)
* [email protected] (installed, disabled)
* [email protected] (installed, disabled)
* [email protected] (installed, enabled)
I can now login and everything is functional under 2.0.1 apart from those plugins that I called out above.
For anyone wondering the issue is fixed here https://github.com/NodeBB/nodebb-plugin-2factor/commit/e0dece96024fcf230dc2727740a50e3375f6b16e
Using the client side utils will fail when called on the server side with the error @phenomlab posted
(node:961044) UnhandledPromiseRejectionWarning: ReferenceError: Blob is not defined