Error Upgrading from 1.10 to 1.11

Technical Support
  •  
     at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                                  4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                                  _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                                  alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                                  x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                                  edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                                  -parser/lib/parser.js:574:12)
    2018-12-16T18:18:43.796Z [4567/22731] - info: [app] Shutdown (SIGTERM/SIGINT) In                                                  itialised.
    2018-12-16T18:18:44.099Z [4567/22731] - error: Server is not running.
    Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
        at Server.close (net.js:1596:12)
        at Object.onceWrapper (events.js:275:13)
        at Server.emit (events.js:182:13)
        at emitCloseNT (net.js:1649:8)
        at process._tickCallback (internal/process/next_tick.js:174:19)
    [cluster] Child Process (22731) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    2018-12-16T18:18:44.477Z [4567/22752] - info: Initializing NodeBB v1.11.1 https:                                                  //community.nerdlouisville.org
    2018-12-16T18:18:45.963Z [4567/22752] - error: uncaughtException: Cannot read pr                                                  operty 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                                  4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                                  _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                                  alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                                  x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                                  edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                                  -parser/lib/parser.js:574:12) {"error":{},"stack":"TypeError: Cannot read proper                                                  ty 'split' of undefined\n    at /var/www/html/community/src/database/redis.js:18                                                  9:29\n    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:                                                  5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:                                                  5331:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\                                                  n    at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/nod                                                  e_modules/redis/lib/utils.js:89:9)\n    at Command.callback (/var/www/html/commu                                                  nity/node_modules/redis/lib/individualCommands.js:157:15)\n    at normal_reply (                                                  /var/www/html/community/node_modules/redis/index.js:726:21)\n    at RedisClient.                                                  return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)\n    at                                                   JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/i                                                  ndex.js:192:18)\n    at JavascriptRedisParser.execute (/var/www/html/community/n                                                  ode_modules/redis-parser/lib/parser.js:574:12)","exception":true,"date":"Sun Dec                                                   16 2018 18:18:45 GMT+0000 (UTC)","process":{"pid":22752,"uid":1000,"gid":1000,"                                                  cwd":"/var/www/html/community","execPath":"/usr/local/bin/node","version":"v10.0                                                  .0","argv":["/usr/local/bin/node","/var/www/html/community/app.js"],"memoryUsage                                                  ":{"rss":137056256,"heapTotal":103911424,"heapUsed":66812336,"external":251560}}                                                  ,"os":{"loadavg":[0.6337890625,0.26513671875,0.14306640625],"uptime":25668448},"                                                  trace":[{"column":29,"file":"/var/www/html/community/src/database/redis.js","fun                                                  ction":null,"line":189,"method":null,"native":false},{"column":14,"file":"/var/w                                                  ww/html/community/node_modules/async/dist/async.js","function":"nextTask","line"                                                  :5324,"method":null,"native":false},{"column":9,"file":"/var/www/html/community/                                                  node_modules/async/dist/async.js","function":"next","line":5331,"method":null,"n                                                  ative":false},{"column":16,"file":"/var/www/html/community/node_modules/async/di                                                  st/async.js","function":null,"line":969,"method":null,"native":false},{"column":                                                  9,"file":"/var/www/html/community/node_modules/redis/lib/utils.js","function":"O                                                  bject.callbackOrEmit [as callback_or_emit]","line":89,"method":"callbackOrEmit [                                                  as callback_or_emit]","native":false},{"column":15,"file":"/var/www/html/communi                                                  ty/node_modules/redis/lib/individualCommands.js","function":"Command.callback","                                                  line":157,"method":"callback","native":false},{"column":21,"file":"/var/www/html                                                  /community/node_modules/redis/index.js","function":"normal_reply","line":726,"me                                                  thod":null,"native":false},{"column":9,"file":"/var/www/html/community/node_modu                                                  les/redis/index.js","function":"RedisClient.return_reply","line":824,"method":"r                                                  eturn_reply","native":false},{"column":18,"file":"/var/www/html/community/node_m                                                  odules/redis/index.js","function":"JavascriptRedisParser.returnReply","line":192                                                  ,"method":"returnReply","native":false},{"column":12,"file":"/var/www/html/commu                                                  nity/node_modules/redis-parser/lib/parser.js","function":"JavascriptRedisParser.                                                  execute","line":574,"method":"execute","native":false}]}
    2018-12-16T18:18:45.963Z [4567/22752] - error: Cannot read property 'split' of u                                                  ndefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                                  4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                                  _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                                  alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                                  x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                                  edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                                  -parser/lib/parser.js:574:12)
    2018-12-16T18:18:45.964Z [4567/22752] - info: [app] Shutdown (SIGTERM/SIGINT) In                                                  itialised.
    2018-12-16T18:18:46.263Z [4567/22752] - error: Server is not running.
    Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
        at Server.close (net.js:1596:12)
        at Object.onceWrapper (events.js:275:13)
        at Server.emit (events.js:182:13)
        at emitCloseNT (net.js:1649:8)
        at process._tickCallback (internal/process/next_tick.js:174:19)
    [cluster] Child Process (22752) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    2018-12-16T18:18:46.639Z [4567/22762] - info: Initializing NodeBB v1.11.1 https:                                                  //community.nerdlouisville.org
    2018-12-16T18:18:48.127Z [4567/22762] - error: uncaughtException: Cannot read pr                                                  operty 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                                  4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                                  _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                                  alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                                  x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                                  edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                                  -parser/lib/parser.js:574:12) {"error":{},"stack":"TypeError: Cannot read proper                                                  ty 'split' of undefined\n    at /var/www/html/community/src/database/redis.js:18                                                  9:29\n    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:                                                  5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:                                                  5331:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\                                                  n    at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/nod                                                  e_modules/redis/lib/utils.js:89:9)\n    at Command.callback (/var/www/html/commu                                                  nity/node_modules/redis/lib/individualCommands.js:157:15)\n    at normal_reply (                                                  /var/www/html/community/node_modules/redis/index.js:726:21)\n    at RedisClient.                                                  return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)\n    at                                                   JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/i                                                  ndex.js:192:18)\n    at JavascriptRedisParser.execute (/var/www/html/community/n                                                  ode_modules/redis-parser/lib/parser.js:574:12)","exception":true,"date":"Sun Dec                                                   16 2018 18:18:48 GMT+0000 (UTC)","process":{"pid":22762,"uid":1000,"gid":1000,"                                                  cwd":"/var/www/html/community","execPath":"/usr/local/bin/node","version":"v10.0                                                  .0","argv":["/usr/local/bin/node","/var/www/html/community/app.js"],"memoryUsage                                                  ":{"rss":135725056,"heapTotal":103911424,"heapUsed":66472568,"external":308627}}                                                  ,"os":{"loadavg":[0.6337890625,0.26513671875,0.14306640625],"uptime":25668450},"                                                  trace":[{"column":29,"file":"/var/www/html/community/src/database/redis.js","fun                                                  ction":null,"line":189,"method":null,"native":false},{"column":14,"file":"/var/w                                                  ww/html/community/node_modules/async/dist/async.js","function":"nextTask","line"                                                  :5324,"method":null,"native":false},{"column":9,"file":"/var/www/html/community/                                                  node_modules/async/dist/async.js","function":"next","line":5331,"method":null,"n                                                  ative":false},{"column":16,"file":"/var/www/html/community/node_modules/async/di                                                  st/async.js","function":null,"line":969,"method":null,"native":false},{"column":                                                  9,"file":"/var/www/html/community/node_modules/redis/lib/utils.js","function":"O                                                  bject.callbackOrEmit [as callback_or_emit]","line":89,"method":"callbackOrEmit [                                                  as callback_or_emit]","native":false},{"column":15,"file":"/var/www/html/communi                                                  ty/node_modules/redis/lib/individualCommands.js","function":"Command.callback","                                                  line":157,"method":"callback","native":false},{"column":21,"file":"/var/www/html                                                  /community/node_modules/redis/index.js","function":"normal_reply","line":726,"me                                                  thod":null,"native":false},{"column":9,"file":"/var/www/html/community/node_modu                                                  les/redis/index.js","function":"RedisClient.return_reply","line":824,"method":"r                                                  eturn_reply","native":false},{"column":18,"file":"/var/www/html/community/node_m                                                  odules/redis/index.js","function":"JavascriptRedisParser.returnReply","line":192                                                  ,"method":"returnReply","native":false},{"column":12,"file":"/var/www/html/commu                                                  nity/node_modules/redis-parser/lib/parser.js","function":"JavascriptRedisParser.                                                  execute","line":574,"method":"execute","native":false}]}
    2018-12-16T18:18:48.127Z [4567/22762] - error: Cannot read property 'split' of u                                                  ndefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                                  4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                                  _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                                  alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                                  x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                                  edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                                  -parser/lib/parser.js:574:12)
    2018-12-16T18:18:48.128Z [4567/22762] - info: [app] Shutdown (SIGTERM/SIGINT) In                                                  itialised.
    2018-12-16T18:18:48.429Z [4567/22762] - error: Server is not running.
    Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
        at Server.close (net.js:1596:12)
        at Object.onceWrapper (events.js:275:13)
        at Server.emit (events.js:182:13)
        at emitCloseNT (net.js:1649:8)
        at process._tickCallback (internal/process/next_tick.js:174:19)
    [cluster] Child Process (22762) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    2018-12-16T18:18:48.809Z [4567/22772] - info: Initializing NodeBB v1.11.1 https:                                                  //community.nerdlouisville.org
    2018-12-16T18:18:50.332Z [4567/22772] - error: uncaughtException: Cannot read property 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:14)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node_modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individualCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis-parser/lib/parser.js:574:12) {"error":{},"stack":"TypeError: Cannot read property 'split' of undefined\n    at /var/www/html/community/src/database/redis.js:189:29\n    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\n    at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node_modules/redis/lib/utils.js:89:9)\n    at Command.callback (/var/www/html/community/node_modules/redis/lib/individualCommands.js:157:15)\n    at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)\n    at RedisClient.return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)\n    at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/index.js:192:18)\n    at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis-parser/lib/parser.js:574:12)","exception":true,"date":"Sun Dec 16 2018 18:18:50 GMT+0000 (UTC)","process":{"pid":22772,"uid":1000,"gid":1000,"cwd":"/var/www/html/community","execPath":"/usr/local/bin/node","version":"v10.0.0","argv":["/usr/local/bin/node","/var/www/html/community/app.js"],"memoryUsage":{"rss":134578176,"heapTotal":103387136,"heapUsed":66582912,"external":327442}},"os":{"loadavg":[0.6337890625,0.26513671875,0.14306640625],"uptime":25668453},"trace":[{"column":29,"file":"/var/www/html/community/src/database/redis.js","function":null,"line":189,"method":null,"native":false},{"column":14,"file":"/var/www/html/community/node_modules/async/dist/async.js","function":"nextTask","line":5324,"method":null,"native":false},{"column":9,"file":"/var/www/html/community/node_modules/async/dist/async.js","function":"next","line":5331,"method":null,"native":false},{"column":16,"file":"/var/www/html/community/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"native":false},{"column":9,"file":"/var/www/html/community/node_modules/redis/lib/utils.js","function":"Object.callbackOrEmit [as callback_or_emit]","line":89,"method":"callbackOrEmit [as callback_or_emit]","native":false},{"column":15,"file":"/var/www/html/community/node_modules/redis/lib/individualCommands.js","function":"Command.callback","line":157,"method":"callback","native":false},{"column":21,"file":"/var/www/html/community/node_modules/redis/index.js","function":"normal_reply","line":726,"method":null,"native":false},{"column":9,"file":"/var/www/html/community/node_modules/redis/index.js","function":"RedisClient.return_reply","line":824,"method":"return_reply","native":false},{"column":18,"file":"/var/www/html/community/node_modules/redis/index.js","function":"JavascriptRedisParser.returnReply","line":192,"method":"returnReply","native":false},{"column":12,"file":"/var/www/html/community/node_modules/redis-parser/lib/parser.js","function":"JavascriptRedisParser.execute","line":574,"method":"execute","native":false}]}
    2018-12-16T18:18:50.333Z [4567/22772] - error: Cannot read property 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:14)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node_modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individualCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis-parser/lib/parser.js:574:12)
    2018-12-16T18:18:50.333Z [4567/22772] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
    2018-12-16T18:18:50.641Z [4567/22772] - error: Server is not running.
    Error [ERR_SERVER_NOT_RUNNING]: Server is not running.
        at Server.close (net.js:1596:12)
        at Object.onceWrapper (events.js:275:13)
        at Server.emit (events.js:182:13)
        at emitCloseNT (net.js:1649:8)
        at process._tickCallback (internal/process/next_tick.js:174:19)
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    
    
    

    Ran smooth as butter before. I upgraded Node to 10. Any thoughts? Forum is down. ☹

  • Eh, now I'm getting this error after upgrading to node v0.10.48 (should I be using this?).

    mike@lemp-1gb-nyc3-01:/var/www/html/community$ ./nodebb start
    
    /var/www/html/community/src/cli/package-install.js:77
                            const extraneous = !packageContents.dependencies.hasOwnProperty(pkgName);
                            ^^^^^
    SyntaxError: Use of const in strict mode.
        at Module._compile (module.js:439:25)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.<anonymous> (/var/www/html/community/src/cli/index.js:6:22)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
    
    
  • Eh, I think I know what might be going on. I have two versions of node:

    node is /home/mike/.nvm/v0.10.48/bin/node
    node is /usr/local/bin/node
    node is /usr/bin/node
    nodejs is /usr/bin/nodejs
    mike@lemp-1gb-nyc3-01:~$ node --version
    v0.10.48
    mike@lemp-1gb-nyc3-01:~$ nodejs --version
    v6.15.1
    mike@lemp-1gb-nyc3-01:~$
    
    

    Not exactly sure how to fix this yet.

  • You do realize how crazy old Node 0.10 is, right? It's from 2015. The current LTS is Node 10, the latest version is Node 11.

    Odds are that you have nodejs from the main apt repositories of your distro, and node from nvm or something.

  • Yup. I was on the wrong user.

    @lemp-1gb-nyc3-01:~# node -v
    v11.4.0
    @lemp-1gb-nyc3-01:~# nodejs -v
    v6.15.1
    
    

    Here's what I'm seeing now.

  • @Michael-Pfaff you might have problems with Node 11, I recommend Node 10 for now.

  • You should be able to apt remove nodejs

  • Okay, I've removed nodejs and now I'm on:

    # node -v
    v10.14.2
    
    
  • Still getting these errors when I try to start NodeBB:

      at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12)
    2018-12-16T19:26:35.541Z [4567/25888] - info: [app] Shutdown (SIGTERM/SIGINT) In                                             itialised.
    [cluster] Child Process (25888) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    2018-12-16T19:26:36.248Z [4567/25899] - info: Initializing NodeBB v1.11.1 https:                                             //community.nerdlouisville.org
    [benchpressjs] Unable to build or find a suitable native module, falling back to                                              JS version
    2018-12-16T19:26:37.760Z [4567/25899] - error: uncaughtException: Cannot read pr                                             operty 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                             4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                             _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12) {"error":{},"stack":"TypeError: Cannot read proper                                             ty 'split' of undefined\n    at /var/www/html/community/src/database/redis.js:18                                             9:29\n    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:                                             5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:                                             5331:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\                                             n    at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/nod                                             e_modules/redis/lib/utils.js:89:9)\n    at Command.callback (/var/www/html/commu                                             nity/node_modules/redis/lib/individualCommands.js:157:15)\n    at normal_reply (                                             /var/www/html/community/node_modules/redis/index.js:726:21)\n    at RedisClient.                                             return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)\n    at                                              JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/i                                             ndex.js:192:18)\n    at JavascriptRedisParser.execute (/var/www/html/community/n                                             ode_modules/redis-parser/lib/parser.js:574:12)","exception":true,"date":"Sun Dec                                              16 2018 19:26:37 GMT+0000 (Coordinated Universal Time)","process":{"pid":25899,                                             "uid":1000,"gid":1000,"cwd":"/var/www/html/community","execPath":"/usr/local/bin                                             /node","version":"v11.4.0","argv":["/usr/local/bin/node","/var/www/html/communit                                             y/app.js"],"memoryUsage":{"rss":130379776,"heapTotal":97394688,"heapUsed":570741                                             44,"external":406382}},"os":{"loadavg":[0.166015625,0.13720703125,0.0537109375],                                             "uptime":25672520},"trace":[{"column":29,"file":"/var/www/html/community/src/dat                                             abase/redis.js","function":null,"line":189,"method":null,"native":false},{"colum                                             n":14,"file":"/var/www/html/community/node_modules/async/dist/async.js","functio                                             n":"nextTask","line":5324,"method":null,"native":false},{"column":9,"file":"/var                                             /www/html/community/node_modules/async/dist/async.js","function":"next","line":5                                             331,"method":null,"native":false},{"column":16,"file":"/var/www/html/community/n                                             ode_modules/async/dist/async.js","function":null,"line":969,"method":null,"nativ                                             e":false},{"column":9,"file":"/var/www/html/community/node_modules/redis/lib/uti                                             ls.js","function":"Object.callbackOrEmit [as callback_or_emit]","line":89,"metho                                             d":"callbackOrEmit [as callback_or_emit]","native":false},{"column":15,"file":"/                                             var/www/html/community/node_modules/redis/lib/individualCommands.js","function":                                             "Command.callback","line":157,"method":"callback","native":false},{"column":21,"                                             file":"/var/www/html/community/node_modules/redis/index.js","function":"normal_r                                             eply","line":726,"method":null,"native":false},{"column":9,"file":"/var/www/html                                             /community/node_modules/redis/index.js","function":"RedisClient.return_reply","l                                             ine":824,"method":"return_reply","native":false},{"column":18,"file":"/var/www/h                                             tml/community/node_modules/redis/index.js","function":"JavascriptRedisParser.ret                                             urnReply","line":192,"method":"returnReply","native":false},{"column":12,"file":                                             "/var/www/html/community/node_modules/redis-parser/lib/parser.js","function":"Ja                                             vascriptRedisParser.execute","line":574,"method":"execute","native":false}]}
    2018-12-16T19:26:37.760Z [4567/25899] - error: Cannot read property 'split' of u                                             ndefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                             4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                             _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12)
    2018-12-16T19:26:37.760Z [4567/25899] - info: [app] Shutdown (SIGTERM/SIGINT) In                                             itialised.
    [cluster] Child Process (25899) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    2018-12-16T19:26:38.448Z [4567/25919] - info: Initializing NodeBB v1.11.1 https:                                             //community.nerdlouisville.org
    [benchpressjs] Unable to build or find a suitable native module, falling back to                                              JS version
    2018-12-16T19:26:39.957Z [4567/25919] - error: uncaughtException: Cannot read pr                                             operty 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                             4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                             _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12) {"error":{},"stack":"TypeError: Cannot read proper                                             ty 'split' of undefined\n    at /var/www/html/community/src/database/redis.js:18                                             9:29\n    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:                                             5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:                                             5331:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\                                             n    at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/nod                                             e_modules/redis/lib/utils.js:89:9)\n    at Command.callback (/var/www/html/commu                                             nity/node_modules/redis/lib/individualCommands.js:157:15)\n    at normal_reply (                                             /var/www/html/community/node_modules/redis/index.js:726:21)\n    at RedisClient.                                             return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)\n    at                                              JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/i                                             ndex.js:192:18)\n    at JavascriptRedisParser.execute (/var/www/html/community/n                                             ode_modules/redis-parser/lib/parser.js:574:12)","exception":true,"date":"Sun Dec                                              16 2018 19:26:39 GMT+0000 (Coordinated Universal Time)","process":{"pid":25919,                                             "uid":1000,"gid":1000,"cwd":"/var/www/html/community","execPath":"/usr/local/bin                                             /node","version":"v11.4.0","argv":["/usr/local/bin/node","/var/www/html/communit                                             y/app.js"],"memoryUsage":{"rss":134434816,"heapTotal":101527552,"heapUsed":65899                                             384,"external":361924}},"os":{"loadavg":[0.23291015625,0.15185546875,0.059082031                                             25],"uptime":25672522},"trace":[{"column":29,"file":"/var/www/html/community/src                                             /database/redis.js","function":null,"line":189,"method":null,"native":false},{"c                                             olumn":14,"file":"/var/www/html/community/node_modules/async/dist/async.js","fun                                             ction":"nextTask","line":5324,"method":null,"native":false},{"column":9,"file":"                                             /var/www/html/community/node_modules/async/dist/async.js","function":"next","lin                                             e":5331,"method":null,"native":false},{"column":16,"file":"/var/www/html/communi                                             ty/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"n                                             ative":false},{"column":9,"file":"/var/www/html/community/node_modules/redis/lib                                             /utils.js","function":"Object.callbackOrEmit [as callback_or_emit]","line":89,"m                                             ethod":"callbackOrEmit [as callback_or_emit]","native":false},{"column":15,"file                                             ":"/var/www/html/community/node_modules/redis/lib/individualCommands.js","functi                                             on":"Command.callback","line":157,"method":"callback","native":false},{"column":                                             21,"file":"/var/www/html/community/node_modules/redis/index.js","function":"norm                                             al_reply","line":726,"method":null,"native":false},{"column":9,"file":"/var/www/                                             html/community/node_modules/redis/index.js","function":"RedisClient.return_reply                                             ","line":824,"method":"return_reply","native":false},{"column":18,"file":"/var/w                                             ww/html/community/node_modules/redis/index.js","function":"JavascriptRedisParser                                             .returnReply","line":192,"method":"returnReply","native":false},{"column":12,"fi                                             le":"/var/www/html/community/node_modules/redis-parser/lib/parser.js","function"                                             :"JavascriptRedisParser.execute","line":574,"method":"execute","native":false}]}
    2018-12-16T19:26:39.959Z [4567/25919] - error: Cannot read property 'split' of u                                             ndefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                             4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                             _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12)
    2018-12-16T19:26:39.960Z [4567/25919] - info: [app] Shutdown (SIGTERM/SIGINT) In                                             itialised.
    [cluster] Child Process (25919) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    2018-12-16T19:26:40.662Z [4567/25930] - info: Initializing NodeBB v1.11.1 https:                                             //community.nerdlouisville.org
    [benchpressjs] Unable to build or find a suitable native module, falling back to                                              JS version
    2018-12-16T19:26:42.119Z [4567/25930] - error: uncaughtException: Cannot read pr                                             operty 'split' of undefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                             4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                             _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12) {"error":{},"stack":"TypeError: Cannot read proper                                             ty 'split' of undefined\n    at /var/www/html/community/src/database/redis.js:18                                             9:29\n    at nextTask (/var/www/html/community/node_modules/async/dist/async.js:                                             5324:14)\n    at next (/var/www/html/community/node_modules/async/dist/async.js:                                             5331:9)\n    at /var/www/html/community/node_modules/async/dist/async.js:969:16\                                             n    at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/nod                                             e_modules/redis/lib/utils.js:89:9)\n    at Command.callback (/var/www/html/commu                                             nity/node_modules/redis/lib/individualCommands.js:157:15)\n    at normal_reply (                                             /var/www/html/community/node_modules/redis/index.js:726:21)\n    at RedisClient.                                             return_reply (/var/www/html/community/node_modules/redis/index.js:824:9)\n    at                                              JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/redis/i                                             ndex.js:192:18)\n    at JavascriptRedisParser.execute (/var/www/html/community/n                                             ode_modules/redis-parser/lib/parser.js:574:12)","exception":true,"date":"Sun Dec                                              16 2018 19:26:42 GMT+0000 (Coordinated Universal Time)","process":{"pid":25930,                                             "uid":1000,"gid":1000,"cwd":"/var/www/html/community","execPath":"/usr/local/bin                                             /node","version":"v11.4.0","argv":["/usr/local/bin/node","/var/www/html/communit                                             y/app.js"],"memoryUsage":{"rss":133595136,"heapTotal":98906112,"heapUsed":714803                                             12,"external":1124591}},"os":{"loadavg":[0.23291015625,0.15185546875,0.059082031                                             25],"uptime":25672524},"trace":[{"column":29,"file":"/var/www/html/community/src                                             /database/redis.js","function":null,"line":189,"method":null,"native":false},{"c                                             olumn":14,"file":"/var/www/html/community/node_modules/async/dist/async.js","fun                                             ction":"nextTask","line":5324,"method":null,"native":false},{"column":9,"file":"                                             /var/www/html/community/node_modules/async/dist/async.js","function":"next","lin                                             e":5331,"method":null,"native":false},{"column":16,"file":"/var/www/html/communi                                             ty/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"n                                             ative":false},{"column":9,"file":"/var/www/html/community/node_modules/redis/lib                                             /utils.js","function":"Object.callbackOrEmit [as callback_or_emit]","line":89,"m                                             ethod":"callbackOrEmit [as callback_or_emit]","native":false},{"column":15,"file                                             ":"/var/www/html/community/node_modules/redis/lib/individualCommands.js","functi                                             on":"Command.callback","line":157,"method":"callback","native":false},{"column":                                             21,"file":"/var/www/html/community/node_modules/redis/index.js","function":"norm                                             al_reply","line":726,"method":null,"native":false},{"column":9,"file":"/var/www/                                             html/community/node_modules/redis/index.js","function":"RedisClient.return_reply                                             ","line":824,"method":"return_reply","native":false},{"column":18,"file":"/var/w                                             ww/html/community/node_modules/redis/index.js","function":"JavascriptRedisParser                                             .returnReply","line":192,"method":"returnReply","native":false},{"column":12,"fi                                             le":"/var/www/html/community/node_modules/redis-parser/lib/parser.js","function"                                             :"JavascriptRedisParser.execute","line":574,"method":"execute","native":false}]}
    2018-12-16T19:26:42.120Z [4567/25930] - error: Cannot read property 'split' of u                                             ndefined
    TypeError: Cannot read property 'split' of undefined
        at /var/www/html/community/src/database/redis.js:189:29
        at nextTask (/var/www/html/community/node_modules/async/dist/async.js:5324:1                                             4)
        at next (/var/www/html/community/node_modules/async/dist/async.js:5331:9)
        at /var/www/html/community/node_modules/async/dist/async.js:969:16
        at Object.callbackOrEmit [as callback_or_emit] (/var/www/html/community/node                                             _modules/redis/lib/utils.js:89:9)
        at Command.callback (/var/www/html/community/node_modules/redis/lib/individu                                             alCommands.js:157:15)
        at normal_reply (/var/www/html/community/node_modules/redis/index.js:726:21)
        at RedisClient.return_reply (/var/www/html/community/node_modules/redis/inde                                             x.js:824:9)
        at JavascriptRedisParser.returnReply (/var/www/html/community/node_modules/r                                             edis/index.js:192:18)
        at JavascriptRedisParser.execute (/var/www/html/community/node_modules/redis                                             -parser/lib/parser.js:574:12)
    2018-12-16T19:26:42.120Z [4567/25930] - info: [app] Shutdown (SIGTERM/SIGINT) In                                             itialised.
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    
    
  • @Michael-Pfaff can you provide your config.json?

  • For anyone interested, my config.json was missing the "database": 0 portion of the redis config. Not sure how I got along all this time without it.

    Thanks so much, @PitaJ! Working great now.

  • I suppose it used to assume database 0 on start, but no longer 😄

  • @julian said in Error Upgrading from 1.10 to 1.11:

    I suppose it used to assume database 0 on start, but no longer 😄

    Yeah, I was freaking out a little bit. Glad it was such an easy fix and many thanks to @PitaJ for trouble shooting it for me so quickly.


Suggested Topics