[Solved] error: WRONGTYPE Operation against a key holding the wrong kind of value

  • GNU/Linux Admin

    Is there a full stack trace available?

  • @julian That's all it gives me. 😞 There's unrelated warns around them, like the Twitter issue I sent you, and some spam be gone "registration was denied" warns. But no details as to what it could be.

    I'll run nodebb in development mode for the 15:30 err, and see if it offers any more details.

    EDIT: Nope, that's all I get. 😞

  • Poss Poss related?

    2014-10-31T17:08:50.518Z - [31merror[39m: Error: ERR value is not a valid float
    at ReplyParser.<anonymous> (/home/a_5mith/35hz/node_modules/redis/index.js:305:31)
    at ReplyParser.emit (events.js:95:17)
    at ReplyParser.send_error (/home/a_5mith/35hz/node_modules/redis/lib/parser/javascript.js:296:10)
    at ReplyParser.execute (/home/a_5mith/35hz/node_modules/redis/lib/parser/javascript.js:181:22)
    at RedisClient.on_data (/home/a_5mith/35hz/node_modules/redis/index.js:534:27)
    at Socket.<anonymous> (/home/a_5mith/35hz/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_ (_stream_readable.js:410:10)

    Happened at the same time as moving these two topics: (moving lots of topics into a new category)

    [Fri, 31 Oct 2014 17:08:50 GMT] - a_5mith(uid 1) moved topic (tid 1932)
    [Fri, 31 Oct 2014 17:08:50 GMT] - a_5mith(uid 1) moved topic (tid 1984)
  • GNU/Linux Admin

    I don't know why I keep asking people for stack traces when Redis explodes. They're almost always useless because of all of the redis library method calls.

  • NodeBB

    If it's happening every 30mins thats probably the notifications prune function.

    Can you check out the type of the key notifications it should be a zset.

    type notifications

  • Hey @baris

    localhost:6379> type notifications
  • NodeBB

    Yeah that should be a zset once of the previous upgrades updates that. You can fix it manually by deleting it by del notifications but you will lose some notifications.

  • @baris

    localhost:6379> del notifications
    (integer) 1
    localhost:6379> type notifications

    This looking good now?

  • NodeBB

    Yeah now go create a notification on the forum and recheck the type it should be zset.

  • @baris Yep, that's the ticket, cheers buddy. Can be marked as solved.

Suggested Topics

| |