- [2020-01-09T23:44:07.424Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60] : Starting activity...
- [2020-01-09T23:44:07.424Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/AddonsBefore] : Starting activity...
- [2020-01-09T23:44:07.425Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2020-01-09T23:44:07.425Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2020-01-09T23:44:07.542Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2020-01-09T23:44:07.542Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2020-01-09T23:44:07.542Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/AddonsBefore] : Completed activity.
- [2020-01-09T23:44:07.543Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0] : Starting activity...
- [2020-01-09T23:44:07.543Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/HealthdLogRotation] : Starting activity...
- [2020-01-09T23:44:07.547Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/HealthdLogRotation] : Completed activity.
- [2020-01-09T23:44:07.547Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/HealthdHTTPDLogging] : Starting activity...
- [2020-01-09T23:44:07.548Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/HealthdHTTPDLogging] : Completed activity.
- [2020-01-09T23:44:07.548Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/HealthdNginxLogging] : Starting activity...
- [2020-01-09T23:44:07.548Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/HealthdNginxLogging] : Completed activity.
- [2020-01-09T23:44:07.548Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/EbExtensionPreBuild] : Starting activity...
- [2020-01-09T23:44:07.938Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2020-01-09T23:44:07.941Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_perf_discussion_demoapp] : Starting activity...
- [2020-01-09T23:44:07.941Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_perf_discussion_demoapp] : Completed activity.
- [2020-01-09T23:44:07.941Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2020-01-09T23:44:07.959Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/EbExtensionPreBuild] : Completed activity.
- [2020-01-09T23:44:07.960Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook] : Starting activity...
- [2020-01-09T23:44:07.960Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/10clean.sh] : Starting activity...
- [2020-01-09T23:44:08.051Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/10clean.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/tmp/deployment/application
- + rm -rf /tmp/deployment/application
- + mkdir -p /tmp/deployment/application
- [2020-01-09T23:44:08.051Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/20unzip.sh] : Starting activity...
- [2020-01-09T23:44:08.234Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/20unzip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/tmp/deployment/application
- ++ /opt/elasticbeanstalk/bin/get-config container -k source_bundle
- + EB_APP_SOURCE_BUNDLE=/opt/elasticbeanstalk/deploy/appsource/source_bundle
- + /usr/bin/unzip -o -d /tmp/deployment/application /opt/elasticbeanstalk/deploy/appsource/source_bundle
- Archive: /opt/elasticbeanstalk/deploy/appsource/source_bundle
- inflating: /tmp/deployment/application/server.js
- creating: /tmp/deployment/application/server/
- inflating: /tmp/deployment/application/server/api-route.js
- creating: /tmp/deployment/application/server/docs/
- inflating: /tmp/deployment/application/server/docs/api-resources.json
- inflating: /tmp/deployment/application/server/docs/app.json
- creating: /tmp/deployment/application/server/middleware/
- inflating: /tmp/deployment/application/server/middleware/errors.js
- inflating: /tmp/deployment/application/server/middleware/noCacheHeaders.js
- inflating: /tmp/deployment/application/server/middleware/validateClient.js
- creating: /tmp/deployment/application/server/controller/
- inflating: /tmp/deployment/application/server/controller/boardAccessInfoTargets.js
- inflating: /tmp/deployment/application/server/controller/boardTargets.js
- inflating: /tmp/deployment/application/server/controller/boardsSummaryTargets.js
- inflating: /tmp/deployment/application/server/controller/postTargets.js
- creating: /tmp/deployment/application/server/models/
- inflating: /tmp/deployment/application/server/models/board.js
- inflating: /tmp/deployment/application/server/models/boardAccessInfo.js
- inflating: /tmp/deployment/application/server/models/index.js
- inflating: /tmp/deployment/application/server/models/post.js
- creating: /tmp/deployment/application/server/routers/
- inflating: /tmp/deployment/application/server/routers/api.js
- inflating: /tmp/deployment/application/server/routers/apiV3.js
- creating: /tmp/deployment/application/server/setup/
- inflating: /tmp/deployment/application/server/setup/cleanup.js
- inflating: /tmp/deployment/application/server/setup/database.js
- inflating: /tmp/deployment/application/server/setup/swagger.js
- creating: /tmp/deployment/application/server/utils/
- inflating: /tmp/deployment/application/server/utils/accessControl.js
- inflating: /tmp/deployment/application/server/utils/apiWrapper.js
- inflating: /tmp/deployment/application/server/utils/buildBoardsQuery.js
- inflating: /tmp/deployment/application/server/utils/logger.js
- inflating: /tmp/deployment/application/server/utils/queryOptions.js
- inflating: /tmp/deployment/application/server/utils/util.js
- inflating: /tmp/deployment/application/package.json
- inflating: /tmp/deployment/application/package-lock.json
- inflating: /tmp/deployment/application/newrelic.js
- inflating: /tmp/deployment/application/config-cert.json
- inflating: /tmp/deployment/application/config-development.json
- inflating: /tmp/deployment/application/config-nightly.json
- inflating: /tmp/deployment/application/config-perf.json
- inflating: /tmp/deployment/application/config-production.json
- inflating: /tmp/deployment/application/config-smoke.json
- inflating: /tmp/deployment/application/.npmrc
- creating: /tmp/deployment/application/.ebextensions/
- inflating: /tmp/deployment/application/.ebextensions/setup.config
- inflating: /tmp/deployment/application/.ebextensions/autoscaling.config
- creating: /tmp/deployment/application/.ebextensions/templates/
- creating: /tmp/deployment/application/.ebextensions/templates/facter/
- inflating: /tmp/deployment/application/.ebextensions/templates/facter/custom_facts.rb
- inflating: /tmp/deployment/application/.ebextensions/templates/facter/custom_facts.yaml
- creating: /tmp/deployment/application/.ebextensions/templates/redhat/
- inflating: /tmp/deployment/application/.ebextensions/templates/redhat/fileserver.conf
- inflating: /tmp/deployment/application/.ebextensions/templates/redhat/puppet.conf
- inflating: /tmp/deployment/application/.ebextensions/templates/redhat/auth.conf
- creating: /tmp/deployment/application/.ebextensions/scripts/
- inflating: /tmp/deployment/application/.ebextensions/scripts/installPuppet.sh
- [2020-01-09T23:44:08.234Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/30config_clean.sh] : Starting activity...
- [2020-01-09T23:44:08.326Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/30config_clean.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k config_staging_dir
- + EB_CONFIG_STAGING_DIR=/tmp/deployment/config
- + rm -rf /tmp/deployment/config
- + mkdir -p /tmp/deployment/config
- [2020-01-09T23:44:08.327Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/40install_node.sh] : Starting activity...
- [2020-01-09T23:44:09.787Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/40install_node.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/containerfiles/ebnode.py --action node-install
- [2020-01-09T23:44:09.787Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/50npm.sh] : Starting activity...
- [2020-01-09T23:44:11.403Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/50npm.sh] : Activity execution failed, because: + /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install
- /usr/bin/env: node: No such file or directory
- Running npm install: /opt/elasticbeanstalk/node-install/node-v10.17.0-linux-x64/bin/npm
- Setting npm config jobs to 1
- Failed to run npm install. Snapshot logs for more details.
- Traceback (most recent call last):
- File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 681, in <module>
- 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 165, in npm_install
- shutil.copyfile('%s/npm-debug.log' % app_path, '/var/log/nodejs/npm-debug.log')
- File "/usr/lib64/python2.7/shutil.py", line 96, in copyfile
- with open(src, 'rb') as fsrc:
- IOError: [Errno 2] No such file or directory: '/tmp/deployment/application/npm-debug.log' (ElasticBeanstalk::ExternalInvocationError)
- caused by: + /opt/elasticbeanstalk/containerfiles/ebnode.py --action npm-install
- /usr/bin/env: node: No such file or directory
- Running npm install: /opt/elasticbeanstalk/node-install/node-v10.17.0-linux-x64/bin/npm
- Setting npm config jobs to 1
- Failed to run npm install. Snapshot logs for more details.
- Traceback (most recent call last):
- File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 681, in <module>
- 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 165, in npm_install
- shutil.copyfile('%s/npm-debug.log' % app_path, '/var/log/nodejs/npm-debug.log')
- File "/usr/lib64/python2.7/shutil.py", line 96, in copyfile
- with open(src, 'rb') as fsrc:
- IOError: [Errno 2] No such file or directory: '/tmp/deployment/application/npm-debug.log' (Executor::NonZeroExitStatus)
- [2020-01-09T23:44:11.403Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook/50npm.sh] : Activity failed.
- [2020-01-09T23:44:11.403Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0/AppDeployPreHook] : Activity failed.
- [2020-01-09T23:44:11.404Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60/StartupStage0] : Activity failed.
- [2020-01-09T23:44:11.404Z] INFO [4130] - [Application deployment Fix-Install-Issues-EB-3@60] : Completed activity. Result:
- Application deployment - Command CMD-SelfStartup failed