流星UP部署流星应用程序.远程数据库URL有问题吗? [英] Meteor UP to deploy meteor app. Issues with remote DB url?
问题描述
我正在尝试使用Meteor Up: https://github.com/arunoda/meteor-up
I'm trying to use Meteor Up: https://github.com/arunoda/meteor-up
配置文件中有一个设置可以设置远程MongoDB URL,如下所示:
There is a setting in the config file to set the remote MongoDB URL It looks like this:
"env": {
"PORT": 3000,
"ROOT_URL": "http://dev.mysite.com",
"MONGO_URL": "mongodb://MyMongoDBUsername:MyMongoHQPassword@troup.mongohq.com:#####/name_of_my_db"
},
[##.###.###.##] invoking deployment process: FAILED
-----------------------------------STDERR-----------------------------------
Warning: Permanently added '##.###.###.##' (RSA) to the list of known hosts.
npm WARN package.json http-proxy@1.0.2 No repository field.
npm http GET https://registry.npmjs.org/fibers
npm http 304 https://registry.npmjs.org/fibers
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0-:-:--:-:--:-:-0curl:(7)无法连接到主机 由于最新版本未使用,因此已还原为以前的版本! ----------------------------------- STDOUT -------------- ---------------------
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to host reverted back to the previous version due to the latest version didn't pick up! -----------------------------------STDOUT-----------------------------------
> fibers@1.0.1 install /opt/meteor/tmp/bundle/programs/server/node_modules/fibers
> node ./build.js
`linux-x64-v8-3.14` exists; testing
Binary is fine; exiting
fibers@1.0.1 node_modules/fibers
meteor stop/waiting
meteor start/running, process 4281
wait for mongo(5 minutes) to initiaze
connected
waiting for 15 secs while app is booting up
checking for app is booted or not?
meteor stop/waiting
meteor start/running, process 4349
这看起来像是权限问题吗?
Does this look like a permissions issue?
任何帮助将不胜感激!
推荐答案
原来,我必须升级服务器上的Node版本.我在查看Mup日志时发现了这一点.与打算添加支持以检测节点版本并在需要时容纳的开发人员进行交流.
Turns out I had to upgrade the version of Node on my server. I discovered this when viewing the mup logs. Spoke with the developer who intends to add support for detecting version of node and accommodating when needed.
这篇关于流星UP部署流星应用程序.远程数据库URL有问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!