Admin account suspended!
Since i upgraded nodebb. It is not possible to connect to my account. Everytime Nodebb said that my account is temporary suspended. And until now (2 weeks), my account is still suspended. My account is an admin account so it is not possible to manage the forum.
Are you running on redis?
Alright, you can run the following to reset the lockout. First find out your user id. If its the first user then it should be uid 1 to make sure check the user data for that user.
redis-cli > hgetall user:1
Once you learn your user id you can reset the lockout with
del loginAttempts:1 del lockout:1
@baris It works but i can't still login.
When i put my username and password, the button show 'Login in...' but stay like this.
Make sure you have the latest nodebb-theme-vanilla, you probably need 0.5.1 branch.
@baris i am using lavender. I try to login into nodebb in dev mode and i have this error:
node_redis: no callback to send error: ERR unknown command 'pexpire'
error: Error: ERR unknown command 'pexpire'
at HiredisReplyParser.execute (/home/admin/forum/nodebb/node_modules/redis/lib/parser/hiredis.js:30:33)
at RedisClient.on_data (/home/admin/forum/nodebb/node_modules/redis/index.js:534:27)
at Socket.<anonymous> (/home/admin/forum/nodebb/node_modules/redis/index.js:91:14)
You have to upgrade redis to at least 2.6 for pexpire.
@baris ok i upgrade redis-server to 2.8 but i forget to backup the database. So the new version of redis delete the forum database. I restore an old one with one or two missing posts. Everything works great now. Thanks