Secondary database: Redis+Mongo



  • If you set the secondary database occurs the following error:

    4/5 13:27 [6761] - error: TypeError: object is not a function
    at /var/nodebb/nodebb/src/meta/configs.js:24:4
    at /var/nodebb/nodebb/src/meta/configs.js:32:4
    at try_callback (/var/nodebb/nodebb/node_modules/redis/index.js:573:9)
    at RedisClient.return_reply (/var/nodebb/nodebb/node_modules/redis/index.js:661:13)
    at ReplyParser.<anonymous> (/var/nodebb/nodebb/node_modules/redis/index.js:309:14)
    at ReplyParser.emit (events.js:95:17)
    at ReplyParser.send_reply (/var/nodebb/nodebb/node_modules/redis/lib/parser/javascript.js:300:10)
    at ReplyParser.execute (/var/nodebb/nodebb/node_modules/redis/lib/parser/javascript.js:211:22)
    at RedisClient.on_data (/var/nodebb/nodebb/node_modules/redis/index.js:534:27)
    at Socket.<anonymous> (/var/nodebb/nodebb/node_modules/redis/index.js:91:14)
    [cluster] Child Process (6761) has exited (code: 1, signal: null)



  • Is this on latest? Also make sure you are using mongodb 2.0> dependency.



  • @baris Yes, this is on latest.
    if I configure only mongo, it's works



Suggested Topics

| |