Cannot login

Bug Reports
  • I just installed NodeBB on DigitalOcean, everything works great but I cannot login. Everytime I login the app crashes with the following message:

    info: [Auth] Session t1UzP8KFHOia6X745WS23uTr logout (uid: 2)
    node_redis: no callback to send error: ERR unknown command 'pexpire'
    error: Error: ERR unknown command 'pexpire'
    at ReplyParser.<anonymous> (/home/iulian/nodebb/node_modules/redis/index.js: 305:31)
    at ReplyParser.emit (events.js:95:17)
    at ReplyParser.send_error (/home/iulian/nodebb/node_modules/redis/lib/parser /javascript.js:296:10)
    at ReplyParser.execute (/home/iulian/nodebb/node_modules/redis/lib/parser/ja vascript.js:181:22)
    at RedisClient.on_data (/home/iulian/nodebb/node_modules/redis/index.js:534: 27)
    at Socket.<anonymous> (/home/iulian/nodebb/node_modules/redis/index.js:91:14 )
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:748:14)
    at Socket.emit (events.js:92:17)
    at emitReadable
    at emitReadable (_stream_readable.js:406:5)

    Note: I used tutorial to install NodeBB.

  • You need to update to redis 2.6.0 or greater for pexpire.

  • Thanks baris, I have upgraded redis to the latest version and now it works!

Suggested Topics