parse-server-example icon indicating copy to clipboard operation
parse-server-example copied to clipboard

Deploy Error on AWS Beanstalk

Open json-park opened this issue 10 years ago • 6 comments

I've deploy parse-server on AWS Beanstalk.

but deploy is faild when I add code a S3Adapter on AWS Beanstalk like below

[index.js] dc6208ec-f2ec-11e5-877d-74122142b937

695191a8-f2ef-11e5-94e5-8788045f9843

How can I do?

json-park avatar Mar 29 '16 05:03 json-park

Can you try to find out the specific error message you get on the console from deploying? I'm not very familiar with the AWS UI so don't know where you would look, but that "Causes" button looks promising. Making sure your Parse Server version is up to date is also always a good idea.

drew-gross avatar Mar 29 '16 06:03 drew-gross

@drew-gross This is Last 100 Lines Logs


/var/log/eb-version-deployment.log

2016-03-25 09:19:12,162 [INFO] Found the latest version manifest file <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458897393439> from bucket elasticbeanstalk-ap-northeast-1-996610399304 and prefix resources/environments/e-fbua69q7fv/_runtime/versions/ 2016-03-25 09:19:12,406 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 09:19:12,604 [INFO] Downloaded version label First Release from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/First Release> 2016-03-25 09:36:24,614 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458898578187 2016-03-25 09:36:24,715 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 09:36:25,193 [INFO] Downloaded version label parse-server-example-master from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/parse-server-example-master> 2016-03-25 09:47:58,323 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458899268345 2016-03-25 09:47:58,439 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 09:47:58,597 [INFO] Downloaded version label Parseserver from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/Parseserver> 2016-03-25 09:51:56,178 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458899507125 2016-03-25 09:51:56,270 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 09:51:56,373 [INFO] Downloaded version label First Release from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/First Release> 2016-03-25 15:26:12,608 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458919565974 2016-03-25 15:26:12,713 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 15:26:12,817 [INFO] Downloaded version label parse-server-20160326 from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/parse-server-20160326> 2016-03-25 15:36:53,957 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458920207889 2016-03-25 15:36:54,048 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 15:36:54,133 [INFO] Downloaded version label parse-server-20160326 from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/parse-server-20160326> 2016-03-25 15:54:10,538 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1458921244128 2016-03-25 15:54:10,616 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-25 15:54:10,713 [INFO] Downloaded version label parse-server-20160326 from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/parse-server-20160326> 2016-03-29 08:20:19,788 [INFO] Version manifest file name already known. The latest version manifest file key is resources/environments/e-fbua69q7fv/_runtime/versions/manifest_1459239612253 2016-03-29 08:20:19,960 [INFO] Downloaded the manifest file to /tmp/version_file_manifest 2016-03-29 08:20:20,144 [INFO] Downloaded version label parse-server-20160326 from s3 key <Key: elasticbeanstalk-ap-northeast-1-996610399304,resources/environments/e-fbua69q7fv/_runtime/_versions/ParseServer/parse-server-20160326>


/var/log/nginx/access.log-20160329.gz

requested file /var/log/nginx/access.log-20160329.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nodejs/nodejs.log

[email protected] start /var/app/current node index.js

parse-server-example running on port 8081. Parse LiveQuery Server starts running

[email protected] start /var/app/current node index.js

parse-server-example running on port 8081. Parse LiveQuery Server starts running

[email protected] start /var/app/current node index.js

parse-server-example running on port 8081. Parse LiveQuery Server starts running

[email protected] start /var/app/current node index.js

parse-server-example running on port 8081. Parse LiveQuery Server starts running

[email protected] start /var/app/current node index.js

parse-server-example running on port 8081. Parse LiveQuery Server starts running

[email protected] start /var/app/current node index.js

parse-server-example running on port 8081. Parse LiveQuery Server starts running


/var/log/nginx/access.log-20160326.gz

requested file /var/log/nginx/access.log-20160326.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nginx/error.log

2016/03/29 03:44:01 [warn] 9602#0: duplicate MIME type "text/html" in /etc/nginx/conf.d/00_elastic_beanstalk_proxy.conf:42


/var/log/nginx/access.log-20160328.gz

requested file /var/log/nginx/access.log-20160328.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nginx/access.log-20160327.gz

requested file /var/log/nginx/access.log-20160327.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nginx/error.log-20160329.gz

requested file /var/log/nginx/error.log-20160329.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nginx/error.log-20160326.gz

requested file /var/log/nginx/error.log-20160326.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nodejs/npm-debug.log

38468 silly install resolved description: 'SNTP Client', 38468 silly install resolved version: '1.0.9', 38468 silly install resolved author: 38468 silly install resolved { name: 'Eran Hammer', 38468 silly install resolved email: '[email protected]', 38468 silly install resolved url: 'http://hueniverse.com' }, 38468 silly install resolved contributors: [], 38468 silly install resolved repository: { type: 'git', url: 'git://github.com/hueniverse/sntp.git' }, 38468 silly install resolved main: 'index', 38468 silly install resolved keywords: [ 'sntp', 'ntp', 'time' ], 38468 silly install resolved engines: { node: '>=0.8.0' }, 38468 silly install resolved dependencies: { hoek: '2.x.x' }, 38468 silly install resolved devDependencies: { lab: '4.x.x' }, 38468 silly install resolved scripts: { test: 'make test-cov' }, 38468 silly install resolved licenses: [ [Object] ], 38468 silly install resolved gitHead: 'ee2e35284f684609990681734d39010cd356d7da', 38468 silly install resolved bugs: { url: 'https://github.com/hueniverse/sntp/issues' }, 38468 silly install resolved homepage: 'https://github.com/hueniverse/sntp', 38468 silly install resolved _id: '[email protected]', 38468 silly install resolved _shasum: '6541184cc90aeea6c6e7b35e2659082443c66198', 38468 silly install resolved _from: 'sntp@>=1.0.0 <2.0.0', 38468 silly install resolved _npmVersion: '1.4.23', 38468 silly install resolved _npmUser: { name: 'hueniverse', email: '[email protected]' }, 38468 silly install resolved maintainers: [ [Object] ], 38468 silly install resolved dist: 38468 silly install resolved { shasum: '6541184cc90aeea6c6e7b35e2659082443c66198', 38468 silly install resolved tarball: 'http://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz' }, 38468 silly install resolved directories: {}, 38468 silly install resolved _resolved: 'https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz', 38468 silly install resolved readme: 'ERROR: No README data found!' } ] 38469 info install [email protected] into /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk 38470 info install [email protected] into /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk 38471 info install [email protected] into /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk 38472 info install [email protected] into /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk 38473 info installOne [email protected] 38474 verbose installOne of hoek to /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk not in flight; installing 38475 info installOne [email protected] 38476 verbose installOne of cryptiles to /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk not in flight; installing 38477 info installOne [email protected] 38478 verbose installOne of boom to /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk not in flight; installing 38479 info installOne [email protected] 38480 verbose installOne of sntp to /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/request/node_modules/hawk not in flight; installing 38481 verbose rebuildBundles [ 'bindings', 'nan' ] 38482 info install [email protected] 38483 http 304 https://registry.npmjs.org/amdefine 38484 verbose headers { date: 'Tue, 29 Mar 2016 08:22:31 GMT', 38484 verbose headers via: '1.1 varnish', 38484 verbose headers 'cache-control': 'max-age=300', 38484 verbose headers etag: '"7QBUZMENK2X1MN2MI4IF5JSH4"', 38484 verbose headers age: '23', 38484 verbose headers connection: 'keep-alive', 38484 verbose headers 'x-served-by': 'cache-itm7427-ITM', 38484 verbose headers 'x-cache': 'HIT', 38484 verbose headers 'x-cache-hits': '2', 38484 verbose headers 'x-timer': 'S1459239751.748292,VS0,VE0', 38484 verbose headers vary: 'Accept' } 38485 silly get cb [ 304, 38485 silly get { date: 'Tue, 29 Mar 2016 08:22:31 GMT', 38485 silly get via: '1.1 varnish', 38485 silly get 'cache-control': 'max-age=300', 38485 silly get etag: '"7QBUZMENK2X1MN2MI4IF5JSH4"', 38485 silly get age: '23', 38485 silly get connection: 'keep-alive', 38485 silly get 'x-served-by': 'cache-itm7427-ITM', 38485 silly get 'x-cache': 'HIT', 38485 silly get 'x-cache-hits': '2', 38485 silly get 'x-timer': 'S1459239751.748292,VS0,VE0', 38485 silly get vary: 'Accept' } ] 38486 verbose etag https://registry.npmjs.org/amdefine from cache 38487 verbose get saving amdefine to /tmp/.npm/registry.npmjs.org/amdefine/.cache.json 38488 silly gunzTarPerm extractEntry example.js 38489 silly gunzTarPerm extractEntry index.js 38490 info linkStuff [email protected] 38491 silly linkStuff [email protected] has /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/jws/node_modules as its parent node_modules 38492 info linkStuff [email protected] 38493 silly linkStuff [email protected] has /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/gce-images/node_modules/google-auto-auth/node_modules/google-auth-library/node_modules/jws/node_modules as its parent node_modules 38494 info postinstall [email protected] 38495 info postinstall [email protected] 38496 verbose unsafe-perm in lifecycle false 38497 verbose stack Error: spawn ENOMEM 38497 verbose stack at exports.errnoException (util.js:870:11) 38497 verbose stack at ChildProcess.spawn (internal/child_process.js:298:11) 38497 verbose stack at exports.spawn (child_process.js:362:9) 38497 verbose stack at spawn (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/lib/utils/spawn.js:7:13) 38497 verbose stack at runCmd (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js:208:14) 38497 verbose stack at /opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/lib/utils/lifecycle.js:176:7 38497 verbose stack at nextTickCallbackWith0Args (node.js:419:9) 38497 verbose stack at process._tickCallback (node.js:348:13) 38498 verbose cwd /tmp/deployment/application 38499 error Linux 4.1.17-22.30.amzn1.x86_64 38500 error argv "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm" "--production" "install" 38501 error node v4.3.0 38502 error npm v2.14.12 38503 error code ENOMEM 38504 error errno ENOMEM 38505 error syscall spawn 38506 error spawn ENOMEM 38507 error If you need help, you may report this error at: 38507 error https://github.com/npm/npm/issues 38508 verbose exit [ 1, true ]


/var/log/eb-activity.log

make: Entering directory /tmp/deployment/application/node_modules/kerberos/build' CXX(target) Release/obj.target/kerberos/lib/kerberos.o In file included from ../lib/kerberos.cc:1:0: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory #include <gssapi/gssapi.h> ^ compilation terminated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 make: Leaving directory/tmp/deployment/application/node_modules/kerberos/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.1.17-22.30.amzn1.x86_64 gyp ERR! command "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /tmp/deployment/application/node_modules/kerberos gyp ERR! node -v v4.3.0 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

[email protected] install /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32 node-gyp rebuild

Running npm install: /opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm Setting npm config jobs to 1 npm config jobs set to 1 Running npm with --production flag Failed to run npm install. Snapshot logs for more details. Traceback (most recent call last): File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 681, in main() File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 663, in main node_version_manager.run_npm_install(options.app_path) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 131, in run_npm_install self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir')) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 166, in npm_install raise e subprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status -9 (ElasticBeanstalk::ExternalInvocationError) caused by: + /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install

[email protected] install /tmp/deployment/application/node_modules/kerberos (node-gyp rebuild) || (exit 0)

make: Entering directory /tmp/deployment/application/node_modules/kerberos/build' CXX(target) Release/obj.target/kerberos/lib/kerberos.o In file included from ../lib/kerberos.cc:1:0: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory #include <gssapi/gssapi.h> ^ compilation terminated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 make: Leaving directory/tmp/deployment/application/node_modules/kerberos/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.1.17-22.30.amzn1.x86_64 gyp ERR! command "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /tmp/deployment/application/node_modules/kerberos gyp ERR! node -v v4.3.0 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

[email protected] install /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32 node-gyp rebuild

Running npm install: /opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm Setting npm config jobs to 1 npm config jobs set to 1 Running npm with --production flag Failed to run npm install. Snapshot logs for more details. Traceback (most recent call last): File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 681, in main() File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 663, in main node_version_manager.run_npm_install(options.app_path) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 131, in run_npm_install self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir')) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 166, in npm_install raise e subprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status -9 (Executor::NonZeroExitStatus)

[2016-03-29T08:30:47.065Z] INFO [13844] - [Application update/AppDeployStage0/AppDeployPreHook/50npm.sh] : Activity failed. [2016-03-29T08:30:47.065Z] INFO [13844] - [Application update/AppDeployStage0/AppDeployPreHook] : Activity failed. [2016-03-29T08:30:47.066Z] INFO [13844] - [Application update/AppDeployStage0] : Activity failed. [2016-03-29T08:30:47.089Z] INFO [13844] - [Application update] : Completed activity. Result: Application update - Command CMD-AppDeploy failed [2016-03-29T08:33:06.290Z] INFO [14153] - [CMD-TailLogs - stage ] : Starting activity... [2016-03-29T08:33:07.541Z] INFO [14153] - [CMD-TailLogs - stage /AddonsBefore] : Starting activity... [2016-03-29T08:33:07.541Z] INFO [14153] - [CMD-TailLogs - stage /AddonsBefore] : Completed activity. [2016-03-29T08:33:07.541Z] INFO [14153] - [CMD-TailLogs - stage /TailLogs] : Starting activity... [2016-03-29T08:33:07.541Z] INFO [14153] - [CMD-TailLogs - stage /TailLogs/TailLogs] : Starting activity...


/var/log/nginx/error.log-20160328.gz

requested file /var/log/nginx/error.log-20160328.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/nginx/access.log

172.31.4.230 - - [29/Mar/2016:06:34:40 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:34:41 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:37:14 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:37:15 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:39:47 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:39:48 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:42:21 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:42:22 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:44:55 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:44:56 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:47:28 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:47:30 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:50:02 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:50:03 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:52:36 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:52:37 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:55:09 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:55:10 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:57:42 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:06:57:43 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:00:16 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:00:17 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:02:50 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:02:51 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:05:24 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:05:26 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:07:58 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:07:59 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:08:33 +0000] "GET / HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1" "91.223.89.11" 172.31.4.230 - - [29/Mar/2016:07:10:32 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:10:34 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:13:06 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:13:08 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:15:41 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:15:42 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:18:15 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:18:16 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:20:49 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:20:50 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:23:23 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:23:25 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:25:57 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:25:59 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:28:32 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:28:33 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:31:05 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:31:07 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:33:39 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:33:41 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:36:14 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:36:15 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:38:48 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:38:49 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:41:21 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:41:23 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:43:55 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:43:56 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:46:29 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:46:30 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:49:03 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:49:04 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:51:37 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:51:38 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:54:11 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:54:12 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:56:45 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:56:46 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:59:19 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:07:59:20 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:01:54 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:01:55 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:04:28 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:04:29 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:07:01 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:07:03 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:09:35 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:09:36 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:12:08 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:12:09 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:14:06 +0000] "GET / HTTP/1.1" 200 50 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2)" "54.87.55.58" 172.31.4.230 - - [29/Mar/2016:08:14:41 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:14:42 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:17:14 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:17:16 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:19:48 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:19:49 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:20:13 +0000] "GET / HTTP/1.1" 200 50 "-" "-" "54.183.254.76" 172.31.4.230 - - [29/Mar/2016:08:20:13 +0000] "GET /CHANGELOG.txt HTTP/1.1" 404 57 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36" "54.183.254.76" 172.31.4.230 - - [29/Mar/2016:08:20:14 +0000] "GET / HTTP/1.1" 200 81 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0" "54.183.254.76" 172.31.4.230 - - [29/Mar/2016:08:20:17 +0000] "GET /readme.html HTTP/1.1" 404 55 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0" "54.183.254.76" 172.31.4.230 - - [29/Mar/2016:08:22:22 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:22:23 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:25:01 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:25:14 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:28:28 +0000] "POST /xmlrpc.php HTTP/1.1" 499 0 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:28:30 +0000] "POST /xmlrpc.php HTTP/1.1" 499 0 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:30:47 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:30:47 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:32:35 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248" 172.31.4.230 - - [29/Mar/2016:08:32:36 +0000] "POST /xmlrpc.php HTTP/1.1" 404 24 "-" "-" "185.93.185.248"


/var/log/nginx/error.log-20160327.gz

requested file /var/log/nginx/error.log-20160327.gz is not a supported file type, please use bundle log to download the complete file...


/var/log/eb-commandprocessor.log

gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

[email protected] install /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32 node-gyp rebuild

Running npm install: /opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm Setting npm config jobs to 1 npm config jobs set to 1 Running npm with --production flag Failed to run npm install. Snapshot logs for more details. Traceback (most recent call last): File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 681, in main() File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 663, in main node_version_manager.run_npm_install(options.app_path) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 131, in run_npm_install self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir')) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 166, in npm_install raise e subprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status -9 (ElasticBeanstalk::ExternalInvocationError) caused by: + /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install

[email protected] install /tmp/deployment/application/node_modules/kerberos (node-gyp rebuild) || (exit 0)

make: Entering directory /tmp/deployment/application/node_modules/kerberos/build' CXX(target) Release/obj.target/kerberos/lib/kerberos.o In file included from ../lib/kerberos.cc:1:0: ../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory #include <gssapi/gssapi.h> ^ compilation terminated. make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1 make: Leaving directory/tmp/deployment/application/node_modules/kerberos/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 4.1.17-22.30.amzn1.x86_64 gyp ERR! command "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/node" "/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /tmp/deployment/application/node_modules/kerberos gyp ERR! node -v v4.3.0 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok

[email protected] install /tmp/deployment/application/node_modules/parse-server/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/fast-crc32c/node_modules/sse4_crc32 node-gyp rebuild

Running npm install: /opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm Setting npm config jobs to 1 npm config jobs set to 1 Running npm with --production flag Failed to run npm install. Snapshot logs for more details. Traceback (most recent call last): File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 681, in main() File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 663, in main node_version_manager.run_npm_install(options.app_path) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 131, in run_npm_install self.npm_install(bin_path, self.config_manager.get_container_config('app_staging_dir')) File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 166, in npm_install raise e subprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status -9 (Executor::NonZeroExitStatus)

[2016-03-29T08:30:47.089Z] ERROR [13844] : Command CMD-AppDeploy failed! [2016-03-29T08:30:47.895Z] INFO [13844] : Command processor returning results: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"(TRUNCATED).../opt/elasticbeanstalk/containerfiles/ebnode.py", line 166, in npm_install\n raise e\nsubprocess.CalledProcessError: Command '['/opt/elasticbeanstalk/node-install/node-v4.3.0-linux-x64/bin/npm', '--production', 'install']' returned non-zero exit status -9. \nHook /opt/elasticbeanstalk/hooks/appdeploy/pre/50npm.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI","returncode":1,"events":[{"msg":"Failed to run npm install. Snapshot logs for more details.","severity":"ERROR","timestamp":1459240247894}]}],"truncated":"true"} [2016-03-29T08:33:06.277Z] DEBUG [14153] : Reading config file: /etc/elasticbeanstalk/.aws-eb-stack.properties [2016-03-29T08:33:06.277Z] DEBUG [14153] : Checking if the command processor should execute... [2016-03-29T08:33:06.280Z] DEBUG [14153] : Checking whether the command is applicable to instance (i-67d525c3).. [2016-03-29T08:33:06.280Z] INFO [14153] : Command is applicable to this instance (i-67d525c3).. [2016-03-29T08:33:06.280Z] DEBUG [14153] : Checking if the received command stage is valid.. [2016-03-29T08:33:06.280Z] INFO [14153] : No stage_num in command. Valid stage.. [2016-03-29T08:33:06.289Z] INFO [14153] : Received command CMD-TailLogs: {"execution_data":"{"aws_access_key_id":"ASIAIBQJJ7Y5YQRFYTXQ","signature":"WWLgFCD7mWE6EAW3oCe6Uwm51Vc=","security_token":"AQoDYXdzELr\/\/\/\/\/\/\/\/\/\/wEagAN28IN+3rpZYb9VNJJ4crPC0sYnmBLCyqwxmYR9vyfynLaP2MnqnrFG+bC+H\/tGkMq0ObRoUC\/n0TiLM\/Da9NGvkoLDppDTFQMFwYxuEsGZkhgEAz1dHUyYiS2hbxCiLsqh3LyMNAfISb8cg5RjIlYGOvsyPrpl3qTR0fQNO\/xhGmFEhQKpYl07\/uHHciTWUfR+rmytGHdMkFZsARTVbX2Kq40fSA3NWsn6cBveqDdqXJBB4ayU4\/oK3x3fK6ghWznn+BeZ81Idk3ETRBCm4vBUgFFP1pOtHVe83xWRo8kE3Yh\/YG+uYSfAtV08rMny2S6AJV5lrdMOANRWFqPLE\/1CHyr8ZJAQT62tIRVstsSHDpNbmPqtLRhUP5BNqEvC4MfSixTyWFEpoRADCDQuu\/fpnxZMPfJDciQAZnWXgtD5WflD38XyP\/tz9TRuWTWjcIdOlndP8W2Q6Q\/nSi9RFJBbUVh9TdkJb7Mkbkg4L9ZePv99JZYBckkzIbt5dTm36AIgv\/LotwU=","policy":"eyJleHBpcmF0aW9uIjoiMjAxNi0wMy0yOVQwOTowMzowMi42MTRaIiwiY29uZGl0aW9ucyI6W1sic3RhcnRzLXdpdGgiLCIkeC1hbXotbWV0YS10aW1lX3N0YW1wIiwiIl0sWyJzdGFydHMtd2l0aCIsIiR4LWFtei1tZXRhLXB1Ymxpc2hfbWVjaGFuaXNtIiwiIl0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJyZXNvdXJjZXNcL2Vudmlyb25tZW50c1wvbG9nc1wvIl0sWyJzdGFydHMtd2l0aCIsIiR4LWFtei1tZXRhLWJhdGNoX2lkIiwiIl0sWyJzdGFydHMtd2l0aCIsIiR4LWFtei1tZXRhLWZpbGVfbmFtZSIsIiJdLFsic3RhcnRzLXdpdGgiLCIkeC1hbXotc2VjdXJpdHktdG9rZW4iLCIiXSxbInN0YXJ0cy13aXRoIiwiJENvbnRlbnQtVHlwZSIsIiJdLFsiZXEiLCIkYnVja2V0IiwiZWxhc3RpY2JlYW5zdGFsay1hcC1ub3J0aGVhc3QtMS05OTY2MTAzOTkzMDQiXSxbImVxIiwiJGFjbCIsInByaXZhdGUiXV19"}","instance_ids":["i-67d525c3"],"data":"d9da5570-f588-11e5-bb35-97d9e6d97f97","command_name":"CMD-TailLogs","api_version":"1.0","resource_name":"AWSEBAutoScalingGroup","request_id":"d9da5570-f588-11e5-bb35-97d9e6d97f97","command_timeout":"600"} [2016-03-29T08:33:06.289Z] INFO [14153] : Command processor should execute command. [2016-03-29T08:33:06.289Z] DEBUG [14153] : Storing current stage.. [2016-03-29T08:33:06.289Z] DEBUG [14153] : Stage_num does not exist. Not saving null stage. Returning.. [2016-03-29T08:33:06.290Z] INFO [14153] : Executing CMD-TailLogs - stage [2016-03-29T08:33:06.290Z] INFO [14153] : Executing command: CMD-TailLogs... [2016-03-29T08:33:06.290Z] DEBUG [14153] : Reading config file: /etc/elasticbeanstalk/.aws-eb-stack.properties [2016-03-29T08:33:06.290Z] DEBUG [14153] : Refreshing metadata.. [2016-03-29T08:33:07.493Z] DEBUG [14153] : Refreshed environment metadata. [2016-03-29T08:33:07.494Z] DEBUG [14153] : Retrieving metadata for key: AWS::ElasticBeanstalk::Ext||_ContainerConfigFileContent||commands.. [2016-03-29T08:33:07.495Z] DEBUG [14153] : Retrieving metadata for key: AWS::ElasticBeanstalk::Ext||_API||_Commands.. [2016-03-29T08:33:07.497Z] INFO [14153] : Found enabled addons: ["logpublish"]. [2016-03-29T08:33:07.540Z] INFO [14153] : Updating Command definition of addon logpublish. [2016-03-29T08:33:07.540Z] DEBUG [14153] : Loaded definition of Command CMD-TailLogs. [2016-03-29T08:33:07.540Z] INFO [14153] : Executing command CMD-TailLogs activities... [2016-03-29T08:33:07.540Z] DEBUG [14153] : Setting environment variables.. [2016-03-29T08:33:07.541Z] INFO [14153] : Running AddonsBefore for command CMD-TailLogs... [2016-03-29T08:33:07.541Z] DEBUG [14153] : Running stages of Command CMD-TailLogs from stage 0 to stage 0... [2016-03-29T08:33:07.541Z] INFO [14153] : Running stage 0 of command CMD-TailLogs... [2016-03-29T08:33:07.541Z] DEBUG [14153] : Loaded 1 actions for stage 0. [2016-03-29T08:33:07.541Z] INFO [14153] : Running 1 of 1 actions: TailLogs...

json-park avatar Mar 29 '16 08:03 json-park

It looks like your server is running out of memory during the deploy. Can you choose a server with more RAM to deploy to? I think on AWS you can shrink the RAM down after the deploy if you are worried about the cost.

drew-gross avatar Mar 29 '16 17:03 drew-gross

@drew-gross I've solved this problem Thank you for kindly answer.

However I got a '502 Bad Gateway Error ' when I add 'push' and 'reset email' code like below

default

Do you happen to know this problem?

json-park avatar Mar 30 '16 12:03 json-park

502 Bad gateway error usually means there is a load balancer or proxy that is failing to connect to your app. This is an AWS specific error, so I don't think I'll be able to help. Try checking the logs for your app, though.

drew-gross avatar Mar 30 '16 16:03 drew-gross

How did you solved that? i have the same issue

erezger avatar May 30 '16 09:05 erezger