{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/7378","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/7378/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/7378/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/7378/events","html_url":"https://github.com/meteor/meteor/issues/7378","id":164718244,"number":7378,"title":"Custom Meteor deployment results in MongoError: auth failed","user":{"login":"Nakroma","id":6236201,"avatar_url":"https://avatars.githubusercontent.com/u/6236201?v=3","gravatar_id":"","url":"https://api.github.com/users/Nakroma","html_url":"https://github.com/Nakroma","followers_url":"https://api.github.com/users/Nakroma/followers","following_url":"https://api.github.com/users/Nakroma/following{/other_user}","gists_url":"https://api.github.com/users/Nakroma/gists{/gist_id}","starred_url":"https://api.github.com/users/Nakroma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nakroma/subscriptions","organizations_url":"https://api.github.com/users/Nakroma/orgs","repos_url":"https://api.github.com/users/Nakroma/repos","events_url":"https://api.github.com/users/Nakroma/events{/privacy}","received_events_url":"https://api.github.com/users/Nakroma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-10T14:33:45Z","updated_at":"2016-07-10T22:11:38Z","closed_at":null,"body":"Hey, im probably doing something wrong but the meteor docs aren't that descriptive so im posting it here, since I can't get an answer on google too.  \r\nI did everything described in the deployment docs, I built my meteor app, put the tarball on my server and extracted it. I installed node_modules. The database credentials work, and I actually created the 'meteor' database just to be 100% sure.  \r\nIm using this line to start the app:  \r\n`MONGO_URL=mongodb://myusername:mypassword@localhost:20536/meteor ROOT_URL=http://myurl.org node main.js`  \r\n\r\nThis is the error that results:\r\n\r\n```\r\n/var/www/virtual/nakroma/html/bundle/programs/server/node_modules/fibers/future.js:313  \r\n                                                throw(ex);  \r\n                                                     ^  \r\nMongoError: auth failed  \r\n    at Object.Future.wait (/var/www/virtual/nakroma/html/bundle/programs/server/node_modules/fibers/future.js:449:15)   \r\n    at new MongoConnection (packages/mongo/mongo_driver.js:213:27)  \r\n    at new MongoInternals.RemoteCollectionDriver (packages/mongo  /remote_collection_driver.js:4:16)  \r\n    at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)\r\n    at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)\r\n    at new Mongo.Collection (packages/mongo/collection.js:103:40)\r\n    at AccountsServer.AccountsCommon (packages/accounts-base/accounts_common.js:23:18)\r\n    at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)\r\n    at meteorInstall.node_modules.meteor.accounts-base.server_main.js (packages/accounts-base/server_main.js:9:12)\r\n    at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)\r\n    - - - - -\r\n    at Object.toError (/var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)\r\n    at /var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1196:31\r\n    at /var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1905:9\r\n    at Server.Base._callHandler (/var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)\r\n    at /var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18\r\n    at [object Object].MongoReply.parseBody (/var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)\r\n    at [object Object].<anonymous> (/var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)\r\n    at [object Object].emit (events.js:95:17)\r\n    at [object Object].<anonymous> (/var/www/virtual/nakroma/html/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)\r\n    at [object Object].emit (events.js:98:17)\r\n```\r\n\r\n[Heres a screen for more readability:](http://puu.sh/pWPfH/b8de7f1d66.png)"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/231613920","html_url":"https://github.com/meteor/meteor/issues/7378#issuecomment-231613920","issue_url":"https://api.github.com/repos/meteor/meteor/issues/7378","id":231613920,"user":{"login":"laosb","id":2545261,"avatar_url":"https://avatars.githubusercontent.com/u/2545261?v=3","gravatar_id":"","url":"https://api.github.com/users/laosb","html_url":"https://github.com/laosb","followers_url":"https://api.github.com/users/laosb/followers","following_url":"https://api.github.com/users/laosb/following{/other_user}","gists_url":"https://api.github.com/users/laosb/gists{/gist_id}","starred_url":"https://api.github.com/users/laosb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laosb/subscriptions","organizations_url":"https://api.github.com/users/laosb/orgs","repos_url":"https://api.github.com/users/laosb/repos","events_url":"https://api.github.com/users/laosb/events{/privacy}","received_events_url":"https://api.github.com/users/laosb/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T22:11:38Z","updated_at":"2016-07-10T22:11:38Z","body":"Can you provide a simple reproduce?"}}
{"actor":{"display_login":"laosb"}}