Odd issue
-
@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 -
{"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.
-
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