Meteor部署错误(mup):将meteor app bundle推送到服务器失败

时间:2017-03-30 13:54:07

标签: amazon-web-services meteor deployment mup

我正在尝试将流星应用程序部署到AWS服务器,但收到此消息:

Started TaskList: Configuring App
[52.41.84.125] - Pushing the Startup Script
nodemiral:sess:52.41.84.125 copy file - src: /    

Users/Olivia/.nvm/versions/node/v7.8.0/lib/node_modules/mup/lib/modules/meteor/assets/templates/start.sh, dest: /opt/CanDu/config/start.sh, vars: {"appName":"CanDu","useLocalMongo":0,"port":80,"bind":"0.0.0.0","logConfig":{"opts":{"max-size":"100m","max-file":10}},"docker":{"image":"abernix/meteord:base","imageFrontendServer":"meteorhacks/mup-frontend-server","imagePort":80},"nginxClientUploadLimit":"10M"} +0ms
[52.41.84.125] x Pushing the Startup Script: FAILED  Failure

以前我能够使用mup进行部署,但现在我收到此消息。我改变的唯一主要是我的.noderc中的Python路径。我也可以直接从终端SSH到我的亚马逊服务器。我的mup文件是:

module.exports = {
servers: {
one: {
  host: '##.##.##.###',
  username: 'ec2-user',
  pem: '/Users/Olivia/.ssh/oz-pair.pem'
  // password:
  // or leave blank for authenticate from ssh-agent
}}meteor: {
name: 'CanDu',
path: '/Users/Olivia/repos/bene_candu_v2',
servers: {
  one: {}
},
buildOptions: {
  serverOnly: true,
  mobileSettings: {
    public: {
      "astronomer": {
        "appId": "<key>",
        "disableUserTracking": false,
        "disableRouteTracking": false,
        "disableMethodTracking": false
      },
      "googleMaps": "<key>",
      "facebook":{
        "permissions":["email","public_profile","user_friends"]
      }
    },
  },
},
env: {
  ROOT_URL: 'http://ec2-##-##-##-###.us-west-2.compute.amazonaws.com',
  MONGO_URL: 'mongodb://. . . "
},
/*ssl: {
    crt: '/opt/keys/server.crt', // this is a bundle of certificates
    key: '/opt/keys/server.key', // this is the private key of the certificate
    port: 443, // 443 is the default value and it's the standard HTTPS port
    upload: false
},*/
docker: {
  image: 'abernix/meteord:base'
},
deployCheckWaitTime: 60

} };

我已经检查过以确保没有尾随逗号,并尝试增加等待时间。我得到的错误信息非常无益。有没有人有任何见解?非常感谢!

0 个答案:

没有答案