{"action":"created","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3847","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3847/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3847/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3847/events","html_url":"https://github.com/NodeBB/NodeBB/issues/3847","id":115614815,"number":3847,"title":"MongoDB Lib Undefined Errors in 0.9.0 Upgrade Script","user":{"login":"scottalanmiller","id":279397,"avatar_url":"https://avatars.githubusercontent.com/u/279397?v=3","gravatar_id":"","url":"https://api.github.com/users/scottalanmiller","html_url":"https://github.com/scottalanmiller","followers_url":"https://api.github.com/users/scottalanmiller/followers","following_url":"https://api.github.com/users/scottalanmiller/following{/other_user}","gists_url":"https://api.github.com/users/scottalanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/scottalanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottalanmiller/subscriptions","organizations_url":"https://api.github.com/users/scottalanmiller/orgs","repos_url":"https://api.github.com/users/scottalanmiller/repos","events_url":"https://api.github.com/users/scottalanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/scottalanmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T23:57:21Z","updated_at":"2015-11-07T02:49:09Z","closed_at":null,"body":"Doing a 0.8.2 upgrade to 0.9.0.  This is the error that I receive.\r\n\r\n6/11 23:27 [6455] - info: [2015/09/30] Converting default Gravatar image to defa                                            ult User Avatar\r\n6/11 23:27 [6455] - info: [2015/09/30] Converting default Gravatar image to defa                                            ult User Avatar skipped\r\n6/11 23:27 [6455] - info: [2015/11/06] Removing gravatar\r\n\r\n/opt/gamrhaus-9.0/node_modules/mongodb/lib/utils.js:97\r\n    process.nextTick(function() { throw err; });\r\n                                        ^\r\nError: Callback was already called.\r\n    at /opt/gamrhaus-9.0/node_modules/async/lib/async.js:43:36\r\n    at /opt/gamrhaus-9.0/node_modules/async/lib/async.js:694:17\r\n    at /opt/gamrhaus-9.0/node_modules/async/lib/async.js:173:37\r\n    at /opt/gamrhaus-9.0/src/database/mongo/hash.js:15:4\r\n    at handleCallback (/opt/gamrhaus-9.0/node_modules/mongodb/lib/utils.js:95:12                                            )\r\n    at /opt/gamrhaus-9.0/node_modules/mongodb/lib/collection.js:840:5\r\n    at /opt/gamrhaus-9.0/node_modules/mongodb/node_modules/mongodb-core/lib/topo                                            logies/server.js:756:13\r\n    at Callbacks.emit (/opt/gamrhaus-9.0/node_modules/mongodb/node_modules/mongo                                            db-core/lib/topologies/server.js:95:3)\r\n    at null.messageHandler (/opt/gamrhaus-9.0/node_modules/mongodb/node_modules/                                            mongodb-core/lib/topologies/server.js:243:23)\r\n    at Socket.<anonymous> (/opt/gamrhaus-9.0/node_modules/mongodb/node_modules/m                                            ongodb-core/lib/connection/connection.js:262:22)\r\n\r\nError: undefined\r\n"},"comment":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/comments/154605761","html_url":"https://github.com/NodeBB/NodeBB/issues/3847#issuecomment-154605761","issue_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3847","id":154605761,"user":{"login":"scottalanmiller","id":279397,"avatar_url":"https://avatars.githubusercontent.com/u/279397?v=3","gravatar_id":"","url":"https://api.github.com/users/scottalanmiller","html_url":"https://github.com/scottalanmiller","followers_url":"https://api.github.com/users/scottalanmiller/followers","following_url":"https://api.github.com/users/scottalanmiller/following{/other_user}","gists_url":"https://api.github.com/users/scottalanmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/scottalanmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottalanmiller/subscriptions","organizations_url":"https://api.github.com/users/scottalanmiller/orgs","repos_url":"https://api.github.com/users/scottalanmiller/repos","events_url":"https://api.github.com/users/scottalanmiller/events{/privacy}","received_events_url":"https://api.github.com/users/scottalanmiller/received_events","type":"User","site_admin":false},"created_at":"2015-11-07T02:49:09Z","updated_at":"2015-11-07T02:49:09Z","body":"root@iad-lnx-mangodb:/opt/gamrhaus-8.2# npm ls async\r\nnodebb@0.8.2 /opt/gamrhaus-8.2\r\n├── async@1.4.2\r\n├─┬ grunt@0.4.5\r\n│ └── async@0.1.22\r\n├─┬ grunt-contrib-watch@0.6.1\r\n│ └── async@0.2.10\r\n├─┬ lwip@0.0.7\r\n│ └── async@0.9.2\r\n├─┬ nconf@0.7.2\r\n│ └── async@0.9.2\r\n├─┬ nodebb-plugin-dbsearch@0.2.16\r\n│ └── async@0.2.10\r\n├─┬ npm@2.14.3\r\n│ └─┬ request@2.61.0\r\n│   └─┬ form-data@1.0.0-rc3\r\n│     └── async@1.4.2\r\n├─┬ prompt@0.2.14\r\n│ ├─┬ utile@0.2.1\r\n│ │ └── async@0.2.10\r\n│ └─┬ winston@0.8.3\r\n│   └── async@0.2.10\r\n├─┬ redisearch@0.0.4\r\n│ └── async@0.9.2\r\n├─┬ uglify-js@2.4.24\r\n│ └── async@0.2.10\r\n└─┬ winston@1.0.1\r\n  └── async@0.9.2\r\n\r\nroot@iad-lnx-mangodb:/opt/gamrhaus-8.2# npm ls mongodb\r\nnodebb@0.8.2 /opt/gamrhaus-8.2\r\n└── mongodb@2.0.42  extraneous\r\n\r\nnpm ERR! extraneous: mongodb@2.0.42 /opt/gamrhaus-8.2/node_modules/mongodb\r\nnpm ERR! not ok code 0\r\n"}}