2016-02-20 79 views
2

我在Bluemix中部署node.js,基本上从parse.com迁移到Bluemix。部署parse-on-bluemix node.js应用程序以进行bluemix失败

以下错误是什么意思?我如何解决它?我正在使用CF命令行工具。 下面附上的日志。 ///////////////////////////////////////////////// ////////////////////////////////////////////////// ////////////////////////////////////////////////// /////////

-----> Checking and configuring service extensions after installing dependencies 
    -----> Installing App Management 
    -----> Caching build 
      Clearing previous node cache 
      Saving 2 cacheDirectories (default): 
      - node_modules 
      - bower_components (nothing to cache) 
    -----> Build succeeded! 
      ├── [email protected] 
      ├── [email protected] 
      └── [email protected] 

    -----> Uploading droplet (21M) 

    0 of 1 instances running, 1 starting 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 starting 
    0 of 1 instances running, 1 starting 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 starting 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 down 
    0 of 1 instances running, 1 failing 
    FAILED 
    Start unsuccessful 

    TIP: use 'cf logs sobmangoDB --recent' for more information 



    2016-02-20T03:15:08.65-0500 [STG/0]  ERR 
    2016-02-20T03:15:14.31-0500 [STG/34]  OUT -----> Uploading droplet (21M) 
    2016-02-20T03:15:21.82-0500 [DEA/34]  OUT Starting app instance (index 0) with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 
    2016-02-20T03:15:34.09-0500 [App/0]  OUT 
    2016-02-20T03:15:34.09-0500 [App/0]  OUT > [email protected] start /home/vcap/app 
    2016-02-20T03:15:34.09-0500 [App/0]  OUT > node index.js 
    2016-02-20T03:15:35.44-0500 [App/0]  ERR 
    2016-02-20T03:15:35.44-0500 [App/0]  ERR /home/vcap/app/index.js:25 
    2016-02-20T03:15:35.44-0500 [App/0]  ERR throw 'Please apply the Application ID from Parse.com'; 
    2016-02-20T03:15:35.44-0500 [App/0]  ERR ^
    2016-02-20T03:15:35.44-0500 [App/0]  ERR Please apply the Application ID from Parse.com 
    2016-02-20T03:15:35.46-0500 [App/0]  ERR npm ERR! Linux 3.19.0-25-generic 
    2016-02-20T03:15:35.46-0500 [App/0]  ERR npm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start" 
    2016-02-20T03:15:35.46-0500 [App/0]  ERR npm ERR! node v4.2.5 
    2016-02-20T03:15:35.46-0500 [App/0]  ERR npm ERR! npm v2.14.12 
    2016-02-20T03:15:35.46-0500 [App/0]  ERR npm ERR! code ELIFECYCLE 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! [email protected] start: `node index.js` 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! Exit status 1 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! Failed at the [email protected] start script 'node index.js'. 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! This is most likely a problem with the parse-on-bluemix package, 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! not with npm itself. 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! Tell the author that this fails on your system: 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR!  node index.js 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! You can get their info via: 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR!  npm owner ls parse-on-bluemix 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! There is likely additional logging output above. 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR! Please include the following file with any support request: 
    2016-02-20T03:15:35.47-0500 [App/0]  ERR npm ERR!  /home/vcap/app/npm-debug.log 
    2016-02-20T03:15:35.54-0500 [DEA/34]  ERR Instance (index 0) failed to start accepting connections 
    2016-02-20T03:15:35.60-0500 [API/2]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"c5fcad4e778e4d009c4877d195bb5731", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956135} 
    2016-02-20T03:15:35.63-0500 [API/10]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"c5fcad4e778e4d009c4877d195bb5731", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956135} 
    2016-02-20T03:16:22.82-0500 [DEA/63]  OUT Starting app instance (index 0) with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 
    2016-02-20T03:16:35.01-0500 [App/0]  OUT 
    2016-02-20T03:16:35.01-0500 [App/0]  OUT > [email protected] start /home/vcap/app 
    2016-02-20T03:16:35.01-0500 [App/0]  OUT > node index.js 
    2016-02-20T03:16:36.37-0500 [App/0]  ERR 
    2016-02-20T03:16:36.37-0500 [App/0]  ERR /home/vcap/app/index.js:25 
    2016-02-20T03:16:36.37-0500 [App/0]  ERR throw 'Please apply the Application ID from Parse.com'; 
    2016-02-20T03:16:36.37-0500 [App/0]  ERR ^
    2016-02-20T03:16:36.37-0500 [App/0]  ERR Please apply the Application ID from Parse.com 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! Linux 3.19.0-25-generic 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start" 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! node v4.2.5 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! npm v2.14.12 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! code ELIFECYCLE 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! [email protected] start: `node index.js` 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! Exit status 1 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! Failed at the [email protected] start script 'node index.js'. 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! This is most likely a problem with the parse-on-bluemix package, 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! not with npm itself. 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! Tell the author that this fails on your system: 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR!  node index.js 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! You can get their info via: 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR!  npm owner ls parse-on-bluemix 
    2016-02-20T03:16:36.40-0500 [App/0]  ERR npm ERR! There is likely additional logging output above. 
    2016-02-20T03:16:36.41-0500 [App/0]  ERR npm ERR! Please include the following file with any support request: 
    2016-02-20T03:16:36.41-0500 [App/0]  ERR npm ERR!  /home/vcap/app/npm-debug.log 
    2016-02-20T03:16:36.48-0500 [API/1]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"186cd8bbf1284ba0846441e330db833b", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956196} 
    2016-02-20T03:16:36.50-0500 [DEA/63]  ERR Instance (index 0) failed to start accepting connections 
    2016-02-20T03:16:36.52-0500 [API/0]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"186cd8bbf1284ba0846441e330db833b", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956196} 
    2016-02-20T03:17:24.04-0500 [DEA/196] OUT Starting app instance (index 0) with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 
    2016-02-20T03:17:36.99-0500 [App/0]  OUT 
    2016-02-20T03:17:36.99-0500 [App/0]  OUT > [email protected] start /home/vcap/app 
    2016-02-20T03:17:36.99-0500 [App/0]  OUT > node index.js 
    2016-02-20T03:17:38.42-0500 [App/0]  ERR 
    2016-02-20T03:17:38.42-0500 [App/0]  ERR /home/vcap/app/index.js:25 
    2016-02-20T03:17:38.42-0500 [App/0]  ERR throw 'Please apply the Application ID from Parse.com'; 
    2016-02-20T03:17:38.42-0500 [App/0]  ERR ^
    2016-02-20T03:17:38.42-0500 [App/0]  ERR Please apply the Application ID from Parse.com 
    2016-02-20T03:17:38.45-0500 [App/0]  ERR npm ERR! Linux 3.19.0-25-generic 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start" 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! node v4.2.5 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! npm v2.14.12 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! code ELIFECYCLE 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! parse-on-bluemix[email protected] start: `node index.js` 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! Exit status 1 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! Failed at the [email protected] start script 'node index.js'. 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! This is most likely a problem with the parse-on-bluemix package, 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! not with npm itself. 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! Tell the author that this fails on your system: 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR!  node index.js 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! You can get their info via: 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR!  npm owner ls parse-on-bluemix 
    2016-02-20T03:17:38.46-0500 [App/0]  ERR npm ERR! There is likely additional logging output above. 
    2016-02-20T03:17:38.47-0500 [App/0]  ERR npm ERR! Please include the following file with any support request: 
    2016-02-20T03:17:38.47-0500 [App/0]  ERR npm ERR!  /home/vcap/app/npm-debug.log 
    2016-02-20T03:17:38.58-0500 [API/8]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"bd07162306f0482a8cf663b49926d989", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956258} 
    2016-02-20T03:17:38.58-0500 [DEA/196] ERR Instance (index 0) failed to start accepting connections 
    2016-02-20T03:17:38.62-0500 [API/10]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"bd07162306f0482a8cf663b49926d989", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956258} 
    2016-02-20T03:18:22.69-0500 [DEA/56]  OUT Starting app instance (index 0) with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 
    2016-02-20T03:18:37.56-0500 [App/0]  OUT 
    2016-02-20T03:18:37.56-0500 [App/0]  OUT > [email protected] start /home/vcap/app 
    2016-02-20T03:18:37.56-0500 [App/0]  OUT > node index.js 
    2016-02-20T03:18:39.40-0500 [App/0]  ERR 
    2016-02-20T03:18:39.40-0500 [App/0]  ERR /home/vcap/app/index.js:25 
    2016-02-20T03:18:39.40-0500 [App/0]  ERR throw 'Please apply the Application ID from Parse.com'; 
    2016-02-20T03:18:39.40-0500 [App/0]  ERR ^
    2016-02-20T03:18:39.40-0500 [App/0]  ERR Please apply the Application ID from Parse.com 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! Linux 3.19.0-25-generic 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! argv "/home/vcap/app/vendor/node/bin/node" "/home/vcap/app/vendor/node/bin/npm" "start" 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! node v4.2.5 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! npm v2.14.12 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! code ELIFECYCLE 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! [email protected] start: `node index.js` 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! Exit status 1 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! Failed at the [email protected] start script 'node index.js'. 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! This is most likely a problem with the parse-on-bluemix package, 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! not with npm itself. 
    2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! Tell the author th 

at this fails on your system: 
     2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR!  node index.js 
     2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! You can get their info via: 
     2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR!  npm owner ls parse-on-bluemix 
     2016-02-20T03:18:39.42-0500 [App/0]  ERR npm ERR! There is likely additional logging output above. 
     2016-02-20T03:18:39.43-0500 [App/0]  ERR npm ERR! Please include the following file with any support request: 
     2016-02-20T03:18:39.43-0500 [App/0]  ERR npm ERR!  /home/vcap/app/npm-debug.log 
     2016-02-20T03:18:39.52-0500 [DEA/56]  ERR Instance (index 0) failed to start accepting connections 
2016-02-20T03:18:39.55-0500 [API/5]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"d88f3c035bc64e7ba3d1680859cc14d1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956319} 
2016-02-20T03:18:39.56-0500 [API/3]  OUT App instance exited with guid f372acf6-f8de-4f97-94d1-661b945ac7b6 payload: {"cc_partition"=>"default", "droplet"=>"f372acf6-f8de-4f97-94d1-661b945ac7b6", "version"=>"5ea8150c-193e-4be1-83c6-aa7f6799e26f", "instance"=>"d88f3c035bc64e7ba3d1680859cc14d1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1455956319} 
+0

请使用'cf logs --recent'命令获得完整的日志输出,然后在这里发布。这也可能是你的问题可以通过http://stackoverflow.com/questions/35466853/parse-server-migration-to-ibm-bluemix/35469011#35469011来解决 –

回答

1

由于错误清楚地说,

ERR throw 'Please apply the Application ID from Parse.com'; 

我没有更新的环境变量,以我的解析应用程序的APP_KEY。

谢谢

相关问题