Odd issue



  • Not sure what it is, but you know when you restart the server and in the top right you see the progress spinner then it goes to the checkmark?

    That seems to happen on my forums every 5 mins or so. Any ideas what may be going on?


  • GNU/Linux Admin

    Hm, would be your forum crashing (which is not a good sign!). Can you tail your forever log (if you're using forever), and let us know what the error is?



  • @julian lol, it looks like it's restarting because it's detecting a change in error.log. I'll disable -w for now I suppose.

    ^[[32minfo^[[39m: NodeBB Ready
    ^[[31merror^[[39m: Error: Error: ERR value is not an integer or out of range
    at HiredisReplyParser.<anonymous> (/home/chris/nodebb/node_modules/redis/index.js:263:27)
    at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
    at HiredisReplyParser.execute (/home/chris/nodebb/node_modules/redis/lib/parser/hiredis.js:41:18)
    at RedisClient.on_data (/home/chris/nodebb/node_modules/redis/index.js:488:27)
    at Socket.<anonymous> (/home/chris/nodebb/node_modules/redis/index.js:82:14)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:746:14)
    at Socket.EventEmitter.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:408:10)
    at emitReadable (_stream_readable.js:404:5)
    error: restarting script because /home/chris/nodebb/error.log changed
    error: Forever detected script was killed by signal: SIGKILL
    error: Forever restarting script for 1 time
    ^[[32minfo^[[39m: NodeBB v0.2.1 Copyright (C) 2013 DesignCreatePlay Inc.
    ^[[32minfo^[[39m: This program comes with ABSOLUTELY NO WARRANTY.
    ^[[32minfo^[[39m: This is free software, and you are welcome to redistribute it under certain conditions.
    ^[[32minfo^[[39m:
    ^[[32minfo^[[39m: Initializing NodeBB v0.2.1, on port 4567, using Redis store at 127.0.0.1:6379.
    ^[[32minfo^[[39m: NodeBB instance bound to: Any address (0.0.0.0)
    ^[[32minfo^[[39m: No changes to client-side libraries -- skipping minification
    ^[[32minfo^[[39m: NodeBB Ready
    ^[[31merror^[[39m: Error: Error: ERR value is not an integer or out of range
    at HiredisReplyParser.<anonymous> (/home/chris/nodebb/node_modules/redis/index.js:263:27)
    at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
    at HiredisReplyParser.execute (/home/chris/nodebb/node_modules/redis/lib/parser/hiredis.js:41:18)
    at RedisClient.on_data (/home/chris/nodebb/node_modules/redis/index.js:488:27)
    at Socket.<anonymous> (/home/chris/nodebb/node_modules/redis/index.js:82:14)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Socket.<anonymous> (stream_readable.js:746:14)
    at Socket.EventEmitter.emit (events.js:92:17)
    at emitReadable
    (_stream_readable.js:408:10)
    at emitReadable (_stream_readable.js:404:5)
    error: restarting script because /home/chris/nodebb/error.log changed
    error: Forever detected script was killed by signal: SIGKILL
    error: Forever restarting script for 1 time
    ^[[32minfo^[[39m: NodeBB v0.2.1 Copyright (C) 2013 DesignCreatePlay Inc.
    ^[[32minfo^[[39m: This program comes with ABSOLUTELY NO WARRANTY.
    ^[[32minfo^[[39m: This is free software, and you are welcome to redistribute it under certain conditions.
    ^[[32minfo^[[39m:
    ^[[32minfo^[[39m: Initializing NodeBB v0.2.1, on port 4567, using Redis store at 127.0.0.1:6379.
    ^[[32minfo^[[39m: NodeBB instance bound to: Any address (0.0.0.0)
    ^[[32minfo^[[39m: No changes to client-side libraries -- skipping minification
    ^[[32minfo^[[39m: NodeBB Ready


  • GNU/Linux Admin

    Hahaha, well then... in that case, perhaps you should check out the error log and see what it is... 😟



  • @julian

    {"level":"error","message":"Error: Error: ERR value is not an integer or out of range\n at HiredisReplyParser.<anonymous> (/home/chris/nodebb/node_modules/redis/index.js:263:27)\n at HiredisReplyParser.EventEmitter.emit (events.js:95:17)\n at HiredisReplyParser.execute (/home/chris/nodebb/node_modules/redis/lib/parser/hiredis.js:41:18)\n at RedisClient.on_data (/home/chris/nodebb/node_modules/redis/index.js:488:27)\n at Socket.<anonymous> (/home/chris/nodebb/node_modules/redis/index.js:82:14)\n at Socket.EventEmitter.emit (events.js:95:17)\n at Socket.<anonymous> (stream_readable.js:746:14)\n at Socket.EventEmitter.emit (events.js:92:17)\n at emitReadable (_stream_readable.js:408:10)\n at emitReadable (_stream_readable.js:404:5)","timestamp":"2014-01-19T23:57:36.799Z"}

    Not sure wtf that means.


  • GNU/Linux Admin

    Tell me about it. Redis error messages are the worst. 🙂

    From the sounds of it, it looks like we're doing a database call without checking for a proper error callback. But without a proper line number, there's no way to know which call is doing it 😞


Log in to reply
 

Suggested Topics

| |