I had been making changes to custom CSS all night, and then the forum just crashed when I tried to import a font for use.
Error: invalid csrf token
at verifytoken (/root/nodebb/node_modules/csurf/index.js:234:13)
at csrf (/root/nodebb/node_modules/csurf/index.js:94:7)
at Layer.handle [as handle_request] (/root/nodebb/node_modules/express/lib/r
outer/layer.js:76:5)
at trim_prefix (/root/nodebb/node_modules/express/lib/router/index.js:263:13
)
at /root/nodebb/node_modules/express/lib/router/index.js:230:9
at Function.proto.process_params (/root/nodebb/node_modules/express/lib/rout
er/index.js:305:12)
at /root/nodebb/node_modules/express/lib/router/index.js:221:12
at Function.match_layer (/root/nodebb/node_modules/express/lib/router/index.
js:288:3)
at next (/root/nodebb/node_modules/express/lib/router/index.js:182:10)
at multipart (/root/nodebb/node_modules/connect-multiparty/index.js:42:27)
Error: invalid csrf token
at verifytoken (/root/nodebb/node_modules/csurf/index.js:234:13)
at csrf (/root/nodebb/node_modules/csurf/index.js:94:7)
at Layer.handle [as handle_request] (/root/nodebb/node_modules/express/lib/r
outer/layer.js:76:5)
at trim_prefix (/root/nodebb/node_modules/express/lib/router/index.js:263:13
)
at /root/nodebb/node_modules/express/lib/router/index.js:230:9
at Function.proto.process_params (/root/nodebb/node_modules/express/lib/rout
er/index.js:305:12)
at /root/nodebb/node_modules/express/lib/router/index.js:221:12
at Function.match_layer (/root/nodebb/node_modules/express/lib/router/index.
js:288:3)
at next (/root/nodebb/node_modules/express/lib/router/index.js:182:10)
at multipart (/root/nodebb/node_modules/connect-multiparty/index.js:42:27)
error: undefined
Tried clearing cache & cookies to no avail.
I tried running npm i [email protected]~0.0.137
to no avail.
We are running the proper version of Lavender as well.
I verified that we're connected to the Master branch, and that we're up-to-date with origin/master.
Edit for @julian
I just restored to a backup that is 17 hours old and the issue's persisting. Not sure what's up.
Seems as if it's hitting an undefined error in the console whenever the board is accessed and needs to restart. I also restored to a backup running 0.5.0-4 instead of 0.5.0 and still can't start.
The servers having this issue are in DO Amsterdam 2. Any one else experiencing this issue that can weigh in?