Can't Register as New User
-
I installed NodeBB and at first it worked, including with registrations, but somewhere along the way, it became unable to accept a registration as a new user. It tells the person they failed a CAPTCHA, but no CAPTCHA is visible. Can anyone suggest how to figure out what broke it? I have another installation going that does not have this problem. I installed it fresh. On the one that broke, I did disable a couple of plugins, but I have re-enabled them, and checked that the set of enabled plugins in the installation that fails and the one that works are now the same. I configured both installations to send e-mail via the submission port. Haven't done anything else to them that I can remember.
-
What version of NodeBB? What version of Node? What database? Does it still happen if you disable all plugins? Does it happen every single time, or just occasionally? Can you share your config.json?
-
@pitaj, NodeBB 1.13.4-5. Node v12.18.3. The database is on a local copy of MongoDB. It happens every single time.
$ cat config.json { "url": "http://staging.votingtheory.org", "secret": [censored], "database": "mongo", "mongo": { "host": "127.0.0.1", "port": 27017, "username": "", "password": "", "database": "nodebb", "uri": "mongodb://nodebb:[censored]@localhost/nodebb" } }
Now I will try disabling all plugins. Restarting maybe would have sufficed, but I am telling it to rebuild. Now I am able to register!
If you tell me your public key, I will arrange your access.
-
Okay now enable plugins one by one until you find the one that's the culprit.
You might also want to upgrade NodeBB to the latest v1.13.x or v1.14.x, as the version you're currently on is an outdated prerelease version.
-
@pitaj Thanks. Your advice shows me that should the same thing happen in a production installation, there would likely be some way to solve it. So I would like to mark this question as solved, but I don't see how that is done. Is that strictly an admin function here?