I struggle with a lot of Chinese spam, sometimes over 100 posts a day, very often they register with hotmail.com or outlook.com e-mail addresses. The IP addresses are always different.
I'm using hCaptcha on registration, but I've also tried Google Re-Captcha with the same result.
The forum is English-only. Have anyone else seen this, or have any idea how to stop it?
The posts typically look like this:
J
jonaski
@jonaski
Posts
-
Blocking chinese spam -
Nodebb 502 bad gateway errorUpgrading results in the same error:
4. Updating NodeBB data store schema...Error occurred during upgrade: TypeError: date.format is not a function at CT._getNextDateFrom (/var/nodebb/node_modules/cron/lib/time.js:271:79) at CT.sendAt (/var/nodebb/node_modules/cron/lib/time.js:185:17) at CT.getTimeout (/var/nodebb/node_modules/cron/lib/time.js:202:29) at CJ.start (/var/nodebb/node_modules/cron/lib/job.js:118:31) at new CJ (/var/nodebb/node_modules/cron/lib/job.js:73:10) at module.exports (/var/nodebb/src/posts/uploads.js:35:3) at Object.<anonymous> (/var/nodebb/src/posts/index.js:28:21) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) 2023-03-19T01:52:28.088Z [4567/20473] - error: uncaughtException: date.format is not a function TypeError: date.format is not a function at CT._getNextDateFrom (/var/nodebb/node_modules/cron/lib/time.js:271:79) at CT.sendAt (/var/nodebb/node_modules/cron/lib/time.js:185:17) at CT.getTimeout (/var/nodebb/node_modules/cron/lib/time.js:202:29) at CJ.start (/var/nodebb/node_modules/cron/lib/job.js:118:31) at new CJ (/var/nodebb/node_modules/cron/lib/job.js:73:10) at module.exports (/var/nodebb/src/posts/uploads.js:35:3) at Object.<anonymous> (/var/nodebb/src/posts/index.js:28:21) at Module._compile (node:internal/modules/cjs/loader:1126:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10) at Module.load (node:internal/modules/cjs/loader:1004:32) {"date":"Sun Mar 19 2023 02:52:28 GMT+0100 (Central European Standard Time)","error":{},"exception":true,"os":{"loadavg":[8.48,7.5,10.81],"uptime":8732043.2},"process":{"argv":["/usr/bin/node16","/var/nodebb/nodebb","upgrade"],"cwd":"/var/nodebb","execPath":"/usr/bin/node16","gid":461,"memoryUsage":{"arrayBuffers":18835913,"external":20942692,"heapTotal":41893888,"heapUsed":34983616,"rss":109731840},"pid":20473,"uid":465,"version":"v16.17.0"},"stack":"TypeError: date.format is not a function\n at CT._getNextDateFrom (/var/nodebb/node_modules/cron/lib/time.js:271:79)\n at CT.sendAt (/var/nodebb/node_modules/cron/lib/time.js:185:17)\n at CT.getTimeout (/var/nodebb/node_modules/cron/lib/time.js:202:29)\n at CJ.start (/var/nodebb/node_modules/cron/lib/job.js:118:31)\n at new CJ (/var/nodebb/node_modules/cron/lib/job.js:73:10)\n at module.exports (/var/nodebb/src/posts/uploads.js:35:3)\n at Object.<anonymous> (/var/nodebb/src/posts/index.js:28:21)\n at Module._compile (node:internal/modules/cjs/loader:1126:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)\n at Module.load (node:internal/modules/cjs/loader:1004:32)","trace":[{"column":79,"file":"/var/nodebb/node_modules/cron/lib/time.js","function":"CT._getNextDateFrom","line":271,"method":"_getNextDateFrom","native":false},{"column":17,"file":"/var/nodebb/node_modules/cron/lib/time.js","function":"CT.sendAt","line":185,"method":"sendAt","native":false},{"column":29,"file":"/var/nodebb/node_modules/cron/lib/time.js","function":"CT.getTimeout","line":202,"method":"getTimeout","native":false},{"column":31,"file":"/var/nodebb/node_modules/cron/lib/job.js","function":"CJ.start","line":118,"method":"start","native":false},{"column":10,"file":"/var/nodebb/node_modules/cron/lib/job.js","function":"new CJ","line":73,"method":null,"native":false},{"column":3,"file":"/var/nodebb/src/posts/uploads.js","function":"module.exports","line":35,"method":"exports","native":false},{"column":21,"file":"/var/nodebb/src/posts/index.js","function":null,"line":28,"method":null,"native":false},{"column":14,"file":"node:internal/modules/cjs/loader","function":"Module._compile","line":1126,"method":"_compile","native":false},{"column":10,"file":"node:internal/modules/cjs/loader","function":"Module._extensions..js","line":1180,"method":".js","native":false},{"column":32,"file":"node:internal/modules/cjs/loader","function":"Module.load","line":1004,"method":"load","native":false}]}
-
Nodebb 502 bad gateway errorThis just happened to me too.
-
Empty captcha in login page, cant access admin settingsHi.
I registered and enabled google reCAPTCHA v2, then checked that it worked by test-registering a new account.
Then I upgraded the forum to the latest version v1.15.4. When I try to access the admin settings, I'm asked for login, but can no longer login because the captcha isn't shown.
The page is here:
https://forum.strawberrymusicplayer.org/login?local=1The following Javascript error is shown in the browser:
"ReferenceError: onRecaptachaArgsReady is not defined /assets/nodebb.min.js?v=15ta92v3pkn:1"I'm not sure if this was caused by upgrading, or enabling captcha. But how can I manually disable captcha, so I can manage to access the settings again?
I use mongodb.