Resetting Admin Password

Technical Support
  • So, I forgot to change the admin password when I first logged in, so now I'm locked out of my forum. I tried looking on the NodeBB forums on how to reset the password, but whenever I follow any tutorial I usually get this error: WRONGTYPE Operation against a key holding the wrong kind of value

  • @riders If you're okay with completely resetting your forum, you can just change the database name in config.json, or you can drop the old database entirely, which will destroy all of your data. In mongo this would be (assuming the db name is nodebb) mongo nodebb --eval db.dropDatabase().

Suggested Topics