Node.js Meteor主机上的Meteor部署错误

Node.js Meteor主机上的Meteor部署错误,node.js,mongodb,meteor,deployment,meteorite,Node.js,Mongodb,Meteor,Deployment,Meteorite,我有一个没有数据库功能的应用程序,今天我在应用程序中添加了一些简单的Mongo collection代码,并在本地对其进行了测试,所有的工作都很好,但当我使用meteor deploy命令将应用程序部署到meteor主机时,我的应用程序崩溃了。我从流星日志中给出了这个细节: [Wed Jun 24 2015 08:01:42 GMT+0000 (UTC)] WARNING MongoError: auth fails at Object.Future.wait (/meteor/dev_bund

我有一个没有数据库功能的应用程序,今天我在应用程序中添加了一些简单的Mongo collection代码,并在本地对其进行了测试,所有的工作都很好,但当我使用meteor deploy命令将应用程序部署到meteor主机时,我的应用程序崩溃了。我从流星日志中给出了这个细节:

[Wed Jun 24 2015 08:01:42 GMT+0000 (UTC)] WARNING MongoError: auth fails
at Object.Future.wait
(/meteor/dev_bundles/0.4.18/lib/node_modules/fibers/future.js:398:15)
at new MongoConnection (packages/mongo/mongo_driver.js:213:1)
at new MongoInternals.RemoteCollectionDriver
(packages/mongo/remote_collection_driver.js:4:1)
at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:1)
at Object.defaultRemoteCollectionDriver
(packages/underscore/underscore.js:750:1)
at new Mongo.Collection (packages/mongo/collection.js:98:1)
at app/server/sitemap.js:1:44
at app/server/sitemap.js:22:3
at
/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/boot.js:222:10
at Array.forEach (native)
- - - - -
at Object.toError
(/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at
/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1194:31
at
/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/db.js:1903:9
at Server.Base._callHandler
(/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at
/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/server.js:487:18
at [object Object].MongoReply.parseBody
(/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous>
(/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/server.js:445:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/9d7d4183-ba55-fb30-3eb2-d6bceabe37e2/bundle/programs/server/npm/mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
[Wed Jun 24 2015 08:01:42 GMT+0000 (UTC)] ERROR Application crashed with code:
8
[Wed Jun 24 2015 08:01:42 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Wed Jun 24 2015 08:01:45 GMT+0000 (UTC)] INFO HIT / 89.165.17.140
请指导我如何在部署时解决此问题。在本地机器上一切正常。)-:



两天后仍然有一个问题。我的网站仍然不可用,这是一个错误:

This site has crashed.
Site administrators can examine the logs with:
meteor logs example.com
Retrying in x seconds...

这似乎是部署脚本设置部署的方式中的一个错误,与代码无关。要解决此问题,必须先删除应用程序,然后重新部署(或仅以其他名称部署):


这可能是Meteor部署服务器的临时故障。如果重新部署应用程序,它应该会自行解决。我今天再次测试,但应用程序再次崩溃):两天后仍然存在问题。我的网站仍然不可用。在本地,一切正常):尝试使用
meteor deploy xxx.meteor.com删除它--在重新部署Itawsome它现在可以工作之前删除它。谢谢@Akshat。请把这个问题的答案作为文章的结尾。
This site has crashed.
Site administrators can examine the logs with:
meteor logs example.com
Retrying in x seconds...
meteor deploy xxx --delete
meteor deploy xxx