Upgrading to 0.4.3 broke my forum
-
Yes, that should update your
widget-essentials
to the newest version (not sure if you needed it, but nevertheless)...Now try running your forum in dev mode again. All it does is run it in interactive mode (so you can ctrl-C out faster), and show all errors in the console itself.
-
Ran it in dev mode and these were the final lines:
info: NodeBB attempting to listen on: 0.0.0.0:4567 info: NodeBB Ready info: [socket] An anonymous user (wDTMOA6QMsnqG1W-E_3C) has successfully reconnected. ^Cinfo: [app] Shutdown (SIGTERM/SIGINT) Initialised. info: [app] Database connection closed. info: [app] Shutdown complete.
And now it works again, with colors reset to blue. If that meant my old widget-essentials broke the upgrade, do I need to update other stuff each time I upgrade NodeBB? And I noticed that starting NodeBB doesn't result in the "NodeBB listening on 0.0.blah" anymore now that I've updated. Is that okay?
-
And some more stuff seems to be messed up as well. Like when I log in by google SSO, it results in this message:
{"error":"Cannot read property '_csrf' of undefined"}
EDIT: also, when I reclick the homepage, no content shows up.
Waaaah I wanna role back to my old, functional, purple forum! -
EDIT: also, when I reclick the homepage, no content shows up.
Yikes, that's the 3rd time I've heard this bug in the past day... seems
custom-homepage
is the culprit. It might need fixing, so can you disable it?Edit: As for google SSO, please do the same to that plugin to update it:
npm i nodebb-plugin-sso-google nodebb-plugin-sso-facebook
-
Okay, I disabled it, but even after updating SSO, I get this error in the browser after google OR normal email sign-in:
{"error":"Cannot read property '_csrf' of undefined"}
Also, when I updated SSO, I got these warnings again.
npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field.
By the way, how do I get back to the purple/lavender color scheme?
-
Coolio, that seems easy enough. Any idea what I can do about the email/SSO sign on error?
{"error":"Cannot read property '_csrf' of undefined"}
-
Okay, this reproduces it:
-
Try to log in to nutritionask.com using email, not SSO
-
It (usually/always) results in this error:
{"error":"Cannot read property '_csrf' of undefined"}
-
-
Does this mean anything? (from output.log)
^[[32minfo^[[39m: [Auth] Session qiMn3JE_1AWce13a2lK4IWtL logout (uid: 1) node_redis: no callback to send error: ERR unknown command 'pexpire'
Also, the heart buttons on each post turned into blocks...I'm trying to decide whether to hack away at this or find another route -- like is there a way to just make the recent topics list the homepage, without using the custom homepage plugin?
-
Mayhaps @psychobunny could add "redis needs to be updated like so" that to the NodeBB for Dummies install guide? I just followed those instructions like a robot, and robots don't know what needs updating
Like now I'm trying to update redis and got this message when running the install script:
Starting Redis server... *** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 55 >>> 'tcp-backlog 511' Bad directive or wrong number of arguments ERROR: Failed starting service.... Aborting!
...and I still get this message when trying to log in to my forum using email+password, with the latest stable redis downloaded but not working apparently?
{"error":"Cannot read property '_csrf' of undefined"}
I just used the digitalocean guide to getting the newest redis, but changed the path to get the latest stable version. Is there any way to roll back to 0.4.2? My forum is all jacked up now!
-
haha woops. yeah that dummies guide really needs to be updated thanks @a_5mith
-
@zenkamal updating redis definitely shouldn't wipe anything, do you have a redis password set in your config? I'm not sure if updating redis resets redis.conf and wipes your redis password or not...