Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization] : Starting activity...
- [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization/AddonsBefore] : Starting activity...
- [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent] : Starting activity...
- [2019-01-27T09:55:33.274Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent/01-install-cwl-agent.sh] : Starting activity...
- [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent/01-install-cwl-agent.sh] : Completed activity. Result:
- + grep -iq 'Amazon Linux' /etc/issue
- + yum install -y awslogs
- Loaded plugins: priorities, update-motd, upgrade-helper
- Resolving Dependencies
- --> Running transaction check
- ---> Package awslogs.noarch 0:1.1.4-1.12.amzn1 will be installed
- --> Processing Dependency: aws-cli-plugin-cloudwatch-logs(python27) for package: awslogs-1.1.4-1.12.amzn1.noarch
- --> Running transaction check
- ---> Package aws-cli-plugin-cloudwatch-logs.noarch 0:1.4.4-1.16.amzn1 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- awslogs noarch 1.1.4-1.12.amzn1 amzn-main 9.2 k
- Installing for dependencies:
- aws-cli-plugin-cloudwatch-logs noarch 1.4.4-1.16.amzn1 amzn-main 71 k
- Transaction Summary
- ================================================================================
- Install 1 Package (+1 Dependent package)
- Total download size: 81 k
- Installed size: 246 k
- Downloading packages:
- --------------------------------------------------------------------------------
- Total 739 kB/s | 81 kB 00:00
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : aws-cli-plugin-cloudwatch-logs-1.4.4-1.16.amzn1.noarch 1/2
- Installing : awslogs-1.1.4-1.12.amzn1.noarch 2/2
- Verifying : awslogs-1.1.4-1.12.amzn1.noarch 1/2
- Verifying : aws-cli-plugin-cloudwatch-logs-1.4.4-1.16.amzn1.noarch 2/2
- Installed:
- awslogs.noarch 0:1.1.4-1.12.amzn1
- Dependency Installed:
- aws-cli-plugin-cloudwatch-logs.noarch 0:1.4.4-1.16.amzn1
- Complete!
- + cat
- ++ sed 's/.$//'
- ++ curl 169.254.169.254/latest/meta-data/placement/availability-zone
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
- 100 10 100 10 0 0 7547 0 --:--:-- --:--:-- --:--:-- 10000
- + region=us-east-2
- + sed -i -e 's/region = .*/region = us-east-2/g' /etc/awslogs/awscli.conf
- + /opt/elasticbeanstalk/bin/log-conf -n awslogs -l/var/log/awslogs.log
- [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/AddonsBefore/InstallCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/install.
- [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/AddonsBefore] : Completed activity.
- [2019-01-27T09:55:35.285Z] INFO [2861] - [Initialization/PreInitStage0] : Starting activity...
- [2019-01-27T09:55:35.286Z] INFO [2861] - [Initialization/PreInitStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T09:55:35.734Z] INFO [2861] - [Initialization/PreInitStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T09:55:35.385Z] INFO [2921] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T09:55:35.385Z] INFO [2921] : Using manifest cache with deployment ID 12 and serial 14.
- [2019-01-27T09:55:35.385Z] INFO [2921] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T09:55:35.385Z] INFO [2921] : Using computed s3 key.
- [2019-01-27T09:55:35.500Z] INFO [2921] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-4d95-190127_151346' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T09:55:35.548Z] INFO [2921] : Size: 9504972, ETag: "cbcf989f646f29ab2b074b98c8ca5dc7", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"2f537cca-d632-4274-8e25-d7f0fc1b7d5d"}.
- [2019-01-27T09:55:35.726Z] INFO [2921] : Downloaded size: 9504972.
- [2019-01-27T09:55:35.726Z] INFO [2921] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T09:55:35.734Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook] : Starting activity...
- [2019-01-27T09:55:35.737Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Starting activity...
- [2019-01-27T09:55:35.842Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Completed activity. Result:
- Executing: /bin/chown -R xray:xray /var/log/xray
- [2019-01-27T09:55:35.842Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_setup_envvars.sh] : Starting activity...
- [2019-01-27T09:55:36.058Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/01_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- + ln -sf /opt/elasticbeanstalk/support/envvars /etc/profile.d/eb_envvars.sh
- [2019-01-27T09:55:36.058Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/02_web_user.sh] : Starting activity...
- [2019-01-27T09:55:36.180Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/02_web_user.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + id -u webapp
- id: webapp: no such user
- + adduser --system --user-group webapp -s /sbin/nologin
- [2019-01-27T09:55:36.180Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/03_common_packages.sh] : Starting activity...
- [2019-01-27T09:55:36.453Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/03_common_packages.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k tarball_url
- + EB_TARBALL_URL=https://s3.dualstack.us-east-2.amazonaws.com/elasticbeanstalk-env-resources-us-east-2/stalks/eb_ruby_puma_4.0.1.201497.0/lib/tarballs
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k ruby_version
- + EB_RUBY_VERSION=2.4.5
- + is_baked ruby_packages
- + [[ -f /etc/elasticbeanstalk/baking_manifest/ruby_packages ]]
- + true
- + echo Ruby supporting packages have already been installed. Skipping installation.
- Ruby supporting packages have already been installed. Skipping installation.
- + echo 2.4.5
- + ln -sf /opt/rubies/ruby-2.4.5 /opt/rubies/ruby-current
- + ln -sf /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh /etc/profile.d/
- [2019-01-27T09:55:36.453Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/04_puma_packages.sh] : Starting activity...
- [2019-01-27T09:55:36.770Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/04_puma_packages.sh] : Completed activity. Result:
- + is_baked puma_packages
- + [[ -f /etc/elasticbeanstalk/baking_manifest/puma_packages ]]
- + true
- + echo Puma supporting packages have already been installed. Skipping installation.
- Puma supporting packages have already been installed. Skipping installation.
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_log_dir
- + EB_PUMA_LOG_DIR=/var/log/puma
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + EB_PUMA_PID_DIR=/var/run/puma
- + mkdir -p /var/log/puma /var/run/puma
- + chown -R webapp:webapp /var/log/puma /var/run/puma
- + /opt/elasticbeanstalk/bin/log-conf -n puma '-l/var/log/puma/*'
- [2019-01-27T09:55:36.771Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Starting activity...
- [2019-01-27T09:55:37.218Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_pid_dir
- + EB_APP_PID_DIR=/var/app/containerfiles/pids
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_asset_dir
- + EB_APP_ASSET_DIR=/var/app/containerfiles/assets
- + mkdir -p /var/app/current /var/app/containerfiles/logs /var/app/containerfiles/pids /var/app/containerfiles/assets
- + chown -R webapp:webapp /var/app/current /var/app/containerfiles/logs /var/app/containerfiles/pids /var/app/containerfiles/assets
- [2019-01-27T09:55:37.218Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Starting activity...
- [2019-01-27T09:55:37.360Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + /opt/elasticbeanstalk/bin/log-conf -n webapp '-l/var/app/containerfiles/logs/*'
- + rm -f /etc/logrotate.d/nginx
- [2019-01-27T09:55:37.360Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Starting activity...
- [2019-01-27T09:55:37.451Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- + ln -sf /opt/elasticbeanstalk/support/scripts/leader_only /usr/bin/
- [2019-01-27T09:55:37.451Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Starting activity...
- [2019-01-27T09:55:37.741Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k gem_dir
- + EB_GEM_DIR=/opt/elasticbeanstalk/support/gems/puma
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + is_baked gems
- + [[ -f /etc/elasticbeanstalk/baking_manifest/gems ]]
- + true
- + echo Gems have already been installed. Skipping installation.
- Gems have already been installed. Skipping installation.
- [2019-01-27T09:55:37.741Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Starting activity...
- [2019-01-27T09:55:37.744Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Completed activity. Result:
- + is_baked nodejs
- + [[ -f /etc/elasticbeanstalk/baking_manifest/nodejs ]]
- + true
- + echo Node.js has already been installed. Skipping installation.
- Node.js has already been installed. Skipping installation.
- [2019-01-27T09:55:37.744Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/30_nginx_setup.sh] : Starting activity...
- [2019-01-27T09:55:37.892Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/30_nginx_setup.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + sed -i '/worker_processes 1;/c worker_processes auto;' /etc/nginx/nginx.conf
- + grep -q 'maintained by Elastic Beanstalk' /etc/nginx/nginx.conf
- + sed -i '/gzip/c\
- gzip on; # maintained by Elastic Beanstalk\
- gzip_comp_level 4;\
- gzip_types text/html text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;' /etc/nginx/nginx.conf
- + sed -i s/default_server//g /etc/nginx/nginx.conf
- + /opt/elasticbeanstalk/bin/log-conf -n nginx '-l/var/log/nginx/*'
- [2019-01-27T09:55:37.892Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/31_nginx_start.sh] : Starting activity...
- [2019-01-27T09:55:38.032Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/31_nginx_start.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + mkdir -p /var/log/nginx
- + '[' -d /etc/healthd ']'
- + mkdir -p /var/log/nginx/healthd
- + ln -sf /opt/elasticbeanstalk/support/conf/webapp_healthd.conf /etc/nginx/conf.d/
- + chown -R nginx:nginx /var/log/nginx
- + SET_LIMIT_SH=/etc/elasticbeanstalk/set-ulimit.sh
- + grep -q /etc/elasticbeanstalk/set-ulimit.sh
- + cat /etc/sysconfig/nginx
- + cat
- + service nginx start
- Starting nginx: nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
- [ OK ]
- [2019-01-27T09:55:38.033Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/32_puma_upstart.sh] : Starting activity...
- [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook/32_puma_upstart.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + ln -sf /opt/elasticbeanstalk/support/conf/puma.conf /etc/init/
- + initctl reload-configuration
- [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/PreInitStage0/PreInitHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/preinit.
- [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/PreInitStage0] : Completed activity. Result:
- Initialization - Command CMD-PreInit stage 0 completed
- [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/AddonsAfter] : Starting activity...
- [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization/AddonsAfter] : Completed activity.
- [2019-01-27T09:55:38.128Z] INFO [2861] - [Initialization] : Completed activity. Result:
- Initialization - Command CMD-PreInit succeeded
- [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12] : Starting activity...
- [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore] : Starting activity...
- [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T09:55:38.311Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsBefore] : Completed activity.
- [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0] : Starting activity...
- [2019-01-27T09:55:38.430Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdLogRotation] : Starting activity...
- [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdLogRotation] : Completed activity. Result:
- ["/etc/cron.hourly/cron.logrotate.elasticbeanstalk.healthd.conf"]
- [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdHTTPDLogging] : Starting activity...
- [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdHTTPDLogging] : Completed activity.
- [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdNginxLogging] : Starting activity...
- [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/HealthdNginxLogging] : Completed activity.
- [2019-01-27T09:55:38.435Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T09:55:38.833Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T09:55:38.836Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T09:55:40.068Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test/yum install git] : Starting activity...
- [2019-01-27T09:55:41.699Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test/yum install git] : Completed activity. Result:
- Loaded plugins: priorities, update-motd, upgrade-helper
- Resolving Dependencies
- --> Running transaction check
- ---> Package git.x86_64 0:2.14.5-1.60.amzn1 will be installed
- --> Processing Dependency: perl-Git = 2.14.5-1.60.amzn1 for package: git-2.14.5-1.60.amzn1.x86_64
- --> Processing Dependency: perl(Term::ReadKey) for package: git-2.14.5-1.60.amzn1.x86_64
- --> Processing Dependency: perl(Git::I18N) for package: git-2.14.5-1.60.amzn1.x86_64
- --> Processing Dependency: perl(Git) for package: git-2.14.5-1.60.amzn1.x86_64
- --> Processing Dependency: perl(Error) for package: git-2.14.5-1.60.amzn1.x86_64
- --> Running transaction check
- ---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
- ---> Package perl-Git.noarch 0:2.14.5-1.60.amzn1 will be installed
- ---> Package perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 will be installed
- --> Finished Dependency Resolution
- Dependencies Resolved
- ================================================================================
- Package Arch Version Repository Size
- ================================================================================
- Installing:
- git x86_64 2.14.5-1.60.amzn1 amzn-updates 12 M
- Installing for dependencies:
- perl-Error noarch 1:0.17020-2.9.amzn1 amzn-main 33 k
- perl-Git noarch 2.14.5-1.60.amzn1 amzn-updates 69 k
- perl-TermReadKey x86_64 2.30-20.9.amzn1 amzn-main 33 k
- Transaction Summary
- ================================================================================
- Install 1 Package (+3 Dependent packages)
- Total download size: 12 M
- Installed size: 29 M
- Downloading packages:
- --------------------------------------------------------------------------------
- Total 23 MB/s | 12 MB 00:00
- Running transaction check
- Running transaction test
- Transaction test succeeded
- Running transaction
- Installing : 1:perl-Error-0.17020-2.9.amzn1.noarch 1/4
- Installing : perl-TermReadKey-2.30-20.9.amzn1.x86_64 2/4
- Installing : perl-Git-2.14.5-1.60.amzn1.noarch 3/4
- Installing : git-2.14.5-1.60.amzn1.x86_64 4/4
- Verifying : git-2.14.5-1.60.amzn1.x86_64 1/4
- Verifying : 1:perl-Error-0.17020-2.9.amzn1.noarch 2/4
- Verifying : perl-Git-2.14.5-1.60.amzn1.noarch 3/4
- Verifying : perl-TermReadKey-2.30-20.9.amzn1.x86_64 4/4
- Installed:
- git.x86_64 0:2.14.5-1.60.amzn1
- Dependency Installed:
- perl-Error.noarch 1:0.17020-2.9.amzn1 perl-Git.noarch 0:2.14.5-1.60.amzn1
- perl-TermReadKey.x86_64 0:2.30-20.9.amzn1
- Complete!
- [2019-01-27T09:55:41.699Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T09:55:41.699Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T09:55:41.720Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T09:55:41.720Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T09:55:41.721Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T09:55:41.826Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T09:55:41.826Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T09:55:42.373Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T09:55:42.373Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T09:55:42.596Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T09:55:42.596Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T09:56:57.861Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.18' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Fetching gem metadata from https://rubygems.org/..........
- Fetching gem metadata from https://rubygems.org/.
- Resolving dependencies...
- Using rake 12.0.0
- Fetching concurrent-ruby 1.0.5
- Installing concurrent-ruby 1.0.5
- Fetching i18n 0.8.1
- Installing i18n 0.8.1
- Using minitest 5.10.1
- Fetching thread_safe 0.3.6
- Installing thread_safe 0.3.6
- Fetching tzinfo 1.2.3
- Installing tzinfo 1.2.3
- Fetching activesupport 5.0.2
- Installing activesupport 5.0.2
- Fetching builder 3.2.3
- Installing builder 3.2.3
- Fetching erubis 2.7.0
- Installing erubis 2.7.0
- Fetching mini_portile2 2.1.0
- Installing mini_portile2 2.1.0
- Fetching nokogiri 1.7.1
- Installing nokogiri 1.7.1 with native extensions
- Fetching rails-dom-testing 2.0.2
- Installing rails-dom-testing 2.0.2
- Fetching loofah 2.0.3
- Installing loofah 2.0.3
- Fetching rails-html-sanitizer 1.0.3
- Installing rails-html-sanitizer 1.0.3
- Fetching actionview 5.0.2
- Installing actionview 5.0.2
- Fetching rack 2.0.1
- Installing rack 2.0.1
- Fetching rack-test 0.6.3
- Installing rack-test 0.6.3
- Fetching actionpack 5.0.2
- Installing actionpack 5.0.2
- Fetching nio4r 2.0.0
- Installing nio4r 2.0.0 with native extensions
- Fetching websocket-extensions 0.1.2
- Installing websocket-extensions 0.1.2
- Fetching websocket-driver 0.6.5
- Installing websocket-driver 0.6.5 with native extensions
- Fetching actioncable 5.0.2
- Installing actioncable 5.0.2
- Fetching globalid 0.4.0
- Installing globalid 0.4.0
- Fetching activejob 5.0.2
- Installing activejob 5.0.2
- Fetching mime-types-data 3.2016.0521
- Installing mime-types-data 3.2016.0521
- Fetching mime-types 3.1
- Installing mime-types 3.1
- Fetching mail 2.6.4
- Installing mail 2.6.4
- Fetching actionmailer 5.0.2
- Installing actionmailer 5.0.2
- Fetching arbre 1.1.1
- Installing arbre 1.1.1
- Fetching sass 3.4.23
- Installing sass 3.4.23
- Fetching thor 0.19.4
- Installing thor 0.19.4
- Fetching bourbon 4.3.4
- Installing bourbon 4.3.4
- Fetching coffee-script-source 1.12.2
- Installing coffee-script-source 1.12.2
- Fetching execjs 2.7.0
- Installing execjs 2.7.0
- Fetching coffee-script 2.4.1
- Installing coffee-script 2.4.1
- Fetching method_source 0.8.2
- Installing method_source 0.8.2
- Fetching railties 5.0.2
- Installing railties 5.0.2
- Fetching coffee-rails 4.2.1
- Installing coffee-rails 4.2.1
- Fetching formtastic 3.1.5
- Installing formtastic 3.1.5
- Fetching formtastic_i18n 0.6.0
- Installing formtastic_i18n 0.6.0
- Fetching has_scope 0.7.1
- Installing has_scope 0.7.1
- Fetching responders 2.3.0
- Installing responders 2.3.0
- Fetching inherited_resources 1.7.2
- Installing inherited_resources 1.7.2
- Fetching jquery-rails 4.3.1
- Installing jquery-rails 4.3.1
- Fetching jquery-ui-rails 6.0.1
- Installing jquery-ui-rails 6.0.1
- Fetching kaminari-core 1.0.1
- Installing kaminari-core 1.0.1
- Fetching kaminari-actionview 1.0.1
- Installing kaminari-actionview 1.0.1
- Fetching activemodel 5.0.2
- Installing activemodel 5.0.2
- Fetching arel 7.1.4
- Installing arel 7.1.4
- Fetching activerecord 5.0.2
- Installing activerecord 5.0.2
- Fetching kaminari-activerecord 1.0.1
- Installing kaminari-activerecord 1.0.1
- Fetching kaminari 1.0.1
- Installing kaminari 1.0.1
- Fetching polyamorous 1.3.1
- Installing polyamorous 1.3.1
- Fetching ransack 1.8.2
- Installing ransack 1.8.2
- Fetching sprockets 3.7.1
- Installing sprockets 3.7.1
- Fetching sprockets-rails 3.2.0
- Installing sprockets-rails 3.2.0
- Fetching tilt 2.0.7
- Installing tilt 2.0.7
- Fetching sass-rails 5.0.6
- Installing sass-rails 5.0.6
- Fetching activeadmin 1.0.0
- Installing activeadmin 1.0.0
- Fetching autoprefixer-rails 6.7.7.2
- Installing autoprefixer-rails 6.7.7.2
- Fetching bcrypt 3.1.11
- Installing bcrypt 3.1.11 with native extensions
- Fetching bootstrap-sass 3.3.7
- Installing bootstrap-sass 3.3.7
- Using bundler 1.16.2
- Fetching orm_adapter 0.5.0
- Installing orm_adapter 0.5.0
- Fetching warden 1.2.7
- Installing warden 1.2.7
- Fetching devise 4.2.1
- Installing devise 4.2.1
- Fetching multi_json 1.12.1
- Installing multi_json 1.12.1
- Fetching jbuilder 2.6.3
- Installing jbuilder 2.6.3
- Fetching nested_scaffold 1.0.0
- Installing nested_scaffold 1.0.0
- Fetching pg 0.21.0
- Installing pg 0.21.0 with native extensions
- Fetching puma 3.8.2
- Installing puma 3.8.2 with native extensions
- Fetching rails 5.0.2
- Installing rails 5.0.2
- Fetching simple_form 3.4.0
- Installing simple_form 3.4.0
- Fetching turbolinks-source 5.0.0
- Installing turbolinks-source 5.0.0
- Fetching turbolinks 5.0.1
- Installing turbolinks 5.0.1
- Fetching uglifier 3.2.0
- Installing uglifier 3.2.0
- Fetching will_paginate 3.1.5
- Installing will_paginate 3.1.5
- Bundle complete! 18 Gemfile dependencies, 77 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T09:56:57.861Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T09:57:17.620Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T09:57:04.021307 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css
- I, [2019-01-27T09:57:04.021744 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css.gz
- I, [2019-01-27T09:57:04.022025 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T09:57:04.022332 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T09:57:04.022627 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png
- I, [2019-01-27T09:57:04.022893 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T09:57:04.155085 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css
- I, [2019-01-27T09:57:04.155455 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css.gz
- I, [2019-01-27T09:57:11.381637 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js
- I, [2019-01-27T09:57:11.382167 #16020] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js.gz
- I, [2019-01-27T09:57:11.388709 #16020] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T09:57:11.393381 #16020] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T09:57:11.397277 #16020] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T09:57:11.400776 #16020] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T09:57:11.403241 #16020] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T09:57:11.406290 #16020] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T09:57:11.409046 #16020] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T09:57:11.413135 #16020] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T09:57:11.417218 #16020] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T09:57:11.421284 #16020] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T09:57:11.424762 #16020] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T09:57:14.876032 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js
- I, [2019-01-27T09:57:14.876468 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js.gz
- I, [2019-01-27T09:57:17.565834 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T09:57:17.566244 #16020] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T09:57:17.621Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T09:57:19.647Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- [2019-01-27T09:57:19.647Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
- [2019-01-27T09:57:20.150Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
- + echo true
- [2019-01-27T09:57:20.154Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T09:57:20.154Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T09:57:20.512Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T09:57:20.512Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T09:57:20.527Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T09:57:20.527Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/InfraCleanEbextension] : Starting activity...
- [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0/InfraCleanEbextension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage0] : Completed activity. Result:
- Application deployment - Command CMD-SelfStartup stage 0 completed
- [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1] : Starting activity...
- [2019-01-27T09:57:20.538Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T09:57:20.539Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T09:57:20.821Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + '[' -d /var/app/current ']'
- + mv /var/app/current /var/app/current.old
- + mv /var/app/ondeck /var/app/current
- + mkdir -p /var/app/current/tmp /var/app/current/public
- + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
- + nohup rm -rf /var/app/current.old
- [2019-01-27T09:57:20.821Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T09:57:22.935Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- xray start/running, process 2278
- xray stop/waiting
- [2019-01-27T09:57:22.935Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
- [2019-01-27T09:57:22.941Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
- + initctl restart puma
- initctl: Unknown instance:
- + initctl start puma
- puma start/running, process 16260
- [2019-01-27T09:57:22.941Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T09:57:23.160Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T09:57:23.160Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
- [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + PUMA_PID_DIR=/var/run/puma
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
- [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T09:57:24.540Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T09:57:24.923Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T09:57:24.923Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/PostInitHook] : Starting activity...
- [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1/PostInitHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/postinit.
- [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/StartupStage1] : Completed activity. Result:
- Application deployment - Command CMD-SelfStartup stage 1 completed
- [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter] : Starting activity...
- [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T09:57:24.924Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12/AddonsAfter] : Completed activity.
- [2019-01-27T09:57:25.088Z] INFO [3099] - [Application deployment app-4d95-190127_151346@12] : Completed activity. Result:
- Application deployment - Command CMD-SelfStartup succeeded
- [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13] : Starting activity...
- [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore] : Starting activity...
- [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T09:58:23.002Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T09:58:23.125Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T09:58:23.125Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T09:58:23.125Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AddonsBefore] : Completed activity.
- [2019-01-27T09:58:23.516Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0] : Starting activity...
- [2019-01-27T09:58:23.516Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T09:58:23.987Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T09:58:23.619Z] INFO [16497] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T09:58:23.619Z] INFO [16497] : Using manifest cache with deployment ID 13 and serial 15.
- [2019-01-27T09:58:23.619Z] INFO [16497] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T09:58:23.619Z] INFO [16497] : Using computed s3 key.
- [2019-01-27T09:58:23.739Z] INFO [16497] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-4d95-190127_152805' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T09:58:23.791Z] INFO [16497] : Size: 9504972, ETag: "cbcf989f646f29ab2b074b98c8ca5dc7", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"f8d9e5e1-5392-4319-80ca-e4d53aa88411"}.
- [2019-01-27T09:58:23.979Z] INFO [16497] : Downloaded size: 9504972.
- [2019-01-27T09:58:23.979Z] INFO [16497] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T09:58:23.987Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T09:58:24.335Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T09:58:24.339Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T09:58:24.339Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T09:58:24.339Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T09:58:24.705Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T09:58:24.705Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T09:58:24.705Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T09:58:24.811Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T09:58:24.811Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T09:58:25.295Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T09:58:25.295Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T09:58:25.515Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T09:58:25.515Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T09:58:28.469Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.18' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Fetching gem metadata from https://rubygems.org/..........
- Fetching gem metadata from https://rubygems.org/.
- Resolving dependencies...
- Using rake 12.0.0
- Using concurrent-ruby 1.0.5
- Using i18n 0.8.1
- Using minitest 5.10.1
- Using thread_safe 0.3.6
- Using tzinfo 1.2.3
- Using activesupport 5.0.2
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.1.0
- Using nokogiri 1.7.1
- Using rails-dom-testing 2.0.2
- Using loofah 2.0.3
- Using rails-html-sanitizer 1.0.3
- Using actionview 5.0.2
- Using rack 2.0.1
- Using rack-test 0.6.3
- Using actionpack 5.0.2
- Using nio4r 2.0.0
- Using websocket-extensions 0.1.2
- Using websocket-driver 0.6.5
- Using actioncable 5.0.2
- Using globalid 0.4.0
- Using activejob 5.0.2
- Using mime-types-data 3.2016.0521
- Using mime-types 3.1
- Using mail 2.6.4
- Using actionmailer 5.0.2
- Using arbre 1.1.1
- Using sass 3.4.23
- Using thor 0.19.4
- Using bourbon 4.3.4
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.8.2
- Using railties 5.0.2
- Using coffee-rails 4.2.1
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.1
- Using responders 2.3.0
- Using inherited_resources 1.7.2
- Using jquery-rails 4.3.1
- Using jquery-ui-rails 6.0.1
- Using kaminari-core 1.0.1
- Using kaminari-actionview 1.0.1
- Using activemodel 5.0.2
- Using arel 7.1.4
- Using activerecord 5.0.2
- Using kaminari-activerecord 1.0.1
- Using kaminari 1.0.1
- Using polyamorous 1.3.1
- Using ransack 1.8.2
- Using sprockets 3.7.1
- Using sprockets-rails 3.2.0
- Using tilt 2.0.7
- Using sass-rails 5.0.6
- Using activeadmin 1.0.0
- Using autoprefixer-rails 6.7.7.2
- Using bcrypt 3.1.11
- Using bootstrap-sass 3.3.7
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.7
- Using devise 4.2.1
- Using multi_json 1.12.1
- Using jbuilder 2.6.3
- Using nested_scaffold 1.0.0
- Using pg 0.21.0
- Using puma 3.8.2
- Using rails 5.0.2
- Using simple_form 3.4.0
- Using turbolinks-source 5.0.0
- Using turbolinks 5.0.1
- Using uglifier 3.2.0
- Using will_paginate 3.1.5
- Bundle complete! 18 Gemfile dependencies, 77 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T09:58:28.469Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T09:58:47.536Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T09:58:34.403925 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css
- I, [2019-01-27T09:58:34.404308 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css.gz
- I, [2019-01-27T09:58:34.404578 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T09:58:34.404857 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T09:58:34.405102 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png
- I, [2019-01-27T09:58:34.405398 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T09:58:34.527511 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css
- I, [2019-01-27T09:58:34.527833 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css.gz
- I, [2019-01-27T09:58:41.548122 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js
- I, [2019-01-27T09:58:41.548676 #16650] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js.gz
- I, [2019-01-27T09:58:41.556669 #16650] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T09:58:41.558918 #16650] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T09:58:41.565310 #16650] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T09:58:41.567111 #16650] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T09:58:41.571238 #16650] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T09:58:41.576533 #16650] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T09:58:41.578795 #16650] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T09:58:41.584406 #16650] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T09:58:41.588029 #16650] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T09:58:41.591283 #16650] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T09:58:41.593593 #16650] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T09:58:44.949724 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js
- I, [2019-01-27T09:58:44.950190 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js.gz
- I, [2019-01-27T09:58:47.482305 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T09:58:47.482739 #16650] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T09:58:47.537Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- The PGconn, PGresult, and PGError constants are deprecated, and will be
- removed as of version 1.0.
- You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
- Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
- caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- The PGconn, PGresult, and PGError constants are deprecated, and will be
- removed as of version 1.0.
- You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
- Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
- [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
- [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0/AppDeployPreHook] : Activity failed.
- [2019-01-27T09:58:51.505Z] INFO [16454] - [Application update app-4d95-190127_152805@13/AppDeployStage0] : Activity failed.
- [2019-01-27T09:58:51.506Z] INFO [16454] - [Application update app-4d95-190127_152805@13] : Completed activity. Result:
- Application update - Command CMD-AppDeploy failed
- [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs] : Starting activity...
- [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/AddonsBefore] : Starting activity...
- [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/AddonsBefore] : Completed activity.
- [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/TailLogs] : Starting activity...
- [2019-01-27T09:59:16.743Z] INFO [16849] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
- [2019-01-27T09:59:16.989Z] INFO [16849] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
- [2019-01-27T09:59:16.989Z] INFO [16849] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
- CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
- [2019-01-27T09:59:16.990Z] INFO [16849] - [CMD-TailLogs/AddonsAfter] : Starting activity...
- [2019-01-27T09:59:16.990Z] INFO [16849] - [CMD-TailLogs/AddonsAfter] : Completed activity.
- [2019-01-27T09:59:16.990Z] INFO [16849] - [CMD-TailLogs] : Completed activity. Result:
- CMD-TailLogs - Command CMD-TailLogs succeeded
- [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14] : Starting activity...
- [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore] : Starting activity...
- [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T10:09:17.732Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T10:09:17.858Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T10:09:17.858Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T10:09:17.858Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AddonsBefore] : Completed activity.
- [2019-01-27T10:09:18.251Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0] : Starting activity...
- [2019-01-27T10:09:18.251Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T10:09:18.761Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T10:09:18.359Z] INFO [17252] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T10:09:18.359Z] INFO [17252] : Using manifest cache with deployment ID 14 and serial 17.
- [2019-01-27T10:09:18.359Z] INFO [17252] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:09:18.359Z] INFO [17252] : Using computed s3 key.
- [2019-01-27T10:09:18.482Z] INFO [17252] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-8f92-190127_153849' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:09:18.535Z] INFO [17252] : Size: 9503209, ETag: "dbde2a996eda96887cdf32557558cc95", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"e63128de-bdb7-4eee-bc42-0278c2755521"}.
- [2019-01-27T10:09:18.752Z] INFO [17252] : Downloaded size: 9503209.
- [2019-01-27T10:09:18.752Z] INFO [17252] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:09:18.761Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T10:09:19.108Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T10:09:19.111Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T10:09:19.111Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T10:09:19.111Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T10:09:19.490Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T10:09:19.490Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T10:09:19.490Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T10:09:19.600Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T10:09:19.601Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T10:09:20.167Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T10:09:20.167Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T10:09:20.393Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T10:09:20.393Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T10:12:03.386Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.18' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
- Fetching gem metadata from https://rubygems.org/..........
- Fetching gem metadata from https://rubygems.org/.
- Resolving dependencies......
- Fetching rake 12.3.2
- Installing rake 12.3.2
- Fetching concurrent-ruby 1.1.4
- Installing concurrent-ruby 1.1.4
- Fetching i18n 1.5.3
- Installing i18n 1.5.3
- Fetching minitest 5.11.3
- Installing minitest 5.11.3
- Using thread_safe 0.3.6
- Fetching tzinfo 1.2.5
- Installing tzinfo 1.2.5
- Fetching activesupport 5.0.7.1
- Installing activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Fetching mini_portile2 2.4.0
- Installing mini_portile2 2.4.0
- Fetching nokogiri 1.10.1
- Installing nokogiri 1.10.1 with native extensions
- Fetching rails-dom-testing 2.0.3
- Installing rails-dom-testing 2.0.3
- Fetching crass 1.0.4
- Installing crass 1.0.4
- Fetching loofah 2.2.3
- Installing loofah 2.2.3
- Fetching rails-html-sanitizer 1.0.4
- Installing rails-html-sanitizer 1.0.4
- Fetching actionview 5.0.7.1
- Installing actionview 5.0.7.1
- Fetching rack 2.0.6
- Installing rack 2.0.6
- Using rack-test 0.6.3
- Fetching actionpack 5.0.7.1
- Installing actionpack 5.0.7.1
- Fetching nio4r 2.3.1
- Installing nio4r 2.3.1 with native extensions
- Fetching websocket-extensions 0.1.3
- Installing websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Fetching actioncable 5.0.7.1
- Installing actioncable 5.0.7.1
- Fetching globalid 0.4.2
- Installing globalid 0.4.2
- Fetching activejob 5.0.7.1
- Installing activejob 5.0.7.1
- Fetching mini_mime 1.0.1
- Installing mini_mime 1.0.1
- Fetching mail 2.7.1
- Installing mail 2.7.1
- Fetching actionmailer 5.0.7.1
- Installing actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Fetching method_source 0.9.2
- Installing method_source 0.9.2
- Fetching thor 0.20.3
- Installing thor 0.20.3
- Fetching railties 5.0.7.1
- Installing railties 5.0.7.1
- Fetching coffee-rails 4.2.2
- Installing coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Fetching has_scope 0.7.2
- Installing has_scope 0.7.2
- Fetching responders 2.4.1
- Installing responders 2.4.1
- Fetching inherited_resources 1.9.0
- Installing inherited_resources 1.9.0
- Fetching jquery-rails 4.3.3
- Installing jquery-rails 4.3.3
- Fetching kaminari-core 1.1.1
- Installing kaminari-core 1.1.1
- Fetching kaminari-actionview 1.1.1
- Installing kaminari-actionview 1.1.1
- Fetching activemodel 5.0.7.1
- Installing activemodel 5.0.7.1
- Using arel 7.1.4
- Fetching activerecord 5.0.7.1
- Installing activerecord 5.0.7.1
- Fetching kaminari-activerecord 1.1.1
- Installing kaminari-activerecord 1.1.1
- Fetching kaminari 1.1.1
- Installing kaminari 1.1.1
- Fetching ransack 2.1.1
- Installing ransack 2.1.1
- Fetching rb-fsevent 0.10.3
- Installing rb-fsevent 0.10.3
- Fetching ffi 1.9.25
- Installing ffi 1.9.25 with native extensions
- Fetching rb-inotify 0.10.0
- Installing rb-inotify 0.10.0
- Fetching sass-listen 4.0.0
- Installing sass-listen 4.0.0
- Fetching sass 3.7.3
- Installing sass 3.7.3
- Fetching sprockets 3.7.2
- Installing sprockets 3.7.2
- Fetching activeadmin 1.4.3
- Installing activeadmin 1.4.3
- Fetching autoprefixer-rails 9.4.6
- Installing autoprefixer-rails 9.4.6
- Fetching bcrypt 3.1.12
- Installing bcrypt 3.1.12 with native extensions
- Fetching sassc 2.0.0
- Installing sassc 2.0.0 with native extensions
- Fetching bootstrap-sass 3.4.0
- Installing bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Fetching warden 1.2.8
- Installing warden 1.2.8
- Fetching devise 4.5.0
- Installing devise 4.5.0
- Fetching multi_json 1.13.1
- Installing multi_json 1.13.1
- Fetching jbuilder 2.8.0
- Installing jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.21.0
- Fetching puma 3.12.0
- Installing puma 3.12.0 with native extensions
- Fetching sprockets-rails 3.2.1
- Installing sprockets-rails 3.2.1
- Fetching rails 5.0.7.1
- Installing rails 5.0.7.1
- Fetching tilt 2.0.9
- Installing tilt 2.0.9
- Fetching sass-rails 5.0.7
- Installing sass-rails 5.0.7
- Fetching simple_form 4.1.0
- Installing simple_form 4.1.0
- Fetching turbolinks-source 5.2.0
- Installing turbolinks-source 5.2.0
- Fetching turbolinks 5.2.0
- Installing turbolinks 5.2.0
- Fetching uglifier 4.1.20
- Installing uglifier 4.1.20
- Fetching will_paginate 3.1.6
- Installing will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- Post-install message from i18n:
- HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
- But that may break your application.
- Please check your Rails app for 'config.i18n.fallbacks = true'.
- If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
- 'config.i18n.fallbacks = [I18n.default_locale]'.
- If not, fallbacks will be broken in your app by I18n 1.1.x.
- For more info see:
- https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
- Post-install message from sass:
- Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.
- * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
- primary implementation: https://sass-lang.com/install
- * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
- sassc gem: https://github.com/sass/sassc-ruby#readme
- * For more details, please refer to the Sass blog:
- http://sass.logdown.com/posts/7081811
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T10:12:03.386Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T10:12:29.699Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T10:12:10.395522 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T10:12:10.395864 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T10:12:10.396166 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T10:12:10.396472 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T10:12:10.396751 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T10:12:10.581692 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T10:12:10.582051 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T10:12:20.642380 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T10:12:20.642912 #30774] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T10:12:20.650424 #30774] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T10:12:20.657536 #30774] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T10:12:20.661461 #30774] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T10:12:20.664224 #30774] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T10:12:20.664524 #30774] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T10:12:20.669367 #30774] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T10:12:20.673404 #30774] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T10:12:20.677430 #30774] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T10:12:20.683371 #30774] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T10:12:20.687635 #30774] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T10:12:20.691828 #30774] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T10:12:26.357986 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T10:12:26.358457 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T10:12:29.644046 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T10:12:29.644463 #30774] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T10:12:29.699Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
- caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
- [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
- [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0/AppDeployPreHook] : Activity failed.
- [2019-01-27T10:12:33.737Z] INFO [17209] - [Application update app-8f92-190127_153849@14/AppDeployStage0] : Activity failed.
- [2019-01-27T10:12:33.738Z] INFO [17209] - [Application update app-8f92-190127_153849@14] : Completed activity. Result:
- Application update - Command CMD-AppDeploy failed
- [2019-01-27T10:25:37.519Z] INFO [6212] - [Application update app-6a4a-190127_155519@15] : Starting activity...
- [2019-01-27T10:25:37.519Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore] : Starting activity...
- [2019-01-27T10:25:37.519Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T10:25:37.521Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T10:25:37.646Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T10:25:37.646Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T10:25:37.646Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AddonsBefore] : Completed activity.
- [2019-01-27T10:25:37.989Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0] : Starting activity...
- [2019-01-27T10:25:37.989Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T10:25:38.508Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T10:25:38.099Z] INFO [6255] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T10:25:38.100Z] INFO [6255] : Using manifest cache with deployment ID 15 and serial 19.
- [2019-01-27T10:25:38.100Z] INFO [6255] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:25:38.100Z] INFO [6255] : Using computed s3 key.
- [2019-01-27T10:25:38.221Z] INFO [6255] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-6a4a-190127_155519' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:25:38.279Z] INFO [6255] : Size: 9503207, ETag: "14e0f6788b55859159d8b0cb2120717f", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"9ca44e92-667b-4e37-8e30-ee15e665fa81"}.
- [2019-01-27T10:25:38.499Z] INFO [6255] : Downloaded size: 9503207.
- [2019-01-27T10:25:38.499Z] INFO [6255] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:25:38.508Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T10:25:38.878Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T10:25:38.881Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T10:25:38.881Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T10:25:38.881Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T10:25:39.504Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T10:25:39.504Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T10:25:39.506Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T10:25:39.627Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T10:25:39.627Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T10:25:40.256Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T10:25:40.256Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T10:25:40.479Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T10:25:40.480Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T10:25:56.902Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
- Fetching gem metadata from https://rubygems.org/..........
- Fetching gem metadata from https://rubygems.org/.
- Resolving dependencies......
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Fetching pg 0.20.0
- Installing pg 0.20.0 with native extensions
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T10:25:56.902Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T10:26:21.548Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T10:26:02.409954 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T10:26:02.410322 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T10:26:02.410617 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T10:26:02.410966 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T10:26:02.411295 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T10:26:02.600958 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T10:26:02.601326 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T10:26:12.619742 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T10:26:12.620292 #6721] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T10:26:12.628698 #6721] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T10:26:12.630887 #6721] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T10:26:12.637328 #6721] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T10:26:12.639076 #6721] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T10:26:12.639364 #6721] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T10:26:12.642457 #6721] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T10:26:12.649171 #6721] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T10:26:12.654542 #6721] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T10:26:12.656807 #6721] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T10:26:12.659762 #6721] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T10:26:12.661960 #6721] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T10:26:18.199658 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T10:26:18.200076 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T10:26:21.508838 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T10:26:21.509246 #6721] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T10:26:21.548Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
- caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
- [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
- [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0/AppDeployPreHook] : Activity failed.
- [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15/AppDeployStage0] : Activity failed.
- [2019-01-27T10:26:25.514Z] INFO [6212] - [Application update app-6a4a-190127_155519@15] : Completed activity. Result:
- Application update - Command CMD-AppDeploy failed
- [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs] : Starting activity...
- [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/AddonsBefore] : Starting activity...
- [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/AddonsBefore] : Completed activity.
- [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/TailLogs] : Starting activity...
- [2019-01-27T10:29:29.807Z] INFO [7001] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
- [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
- [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
- CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
- [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/AddonsAfter] : Starting activity...
- [2019-01-27T10:29:30.001Z] INFO [7001] - [CMD-TailLogs/AddonsAfter] : Completed activity.
- [2019-01-27T10:29:30.002Z] INFO [7001] - [CMD-TailLogs] : Completed activity. Result:
- CMD-TailLogs - Command CMD-TailLogs succeeded
- [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16] : Starting activity...
- [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore] : Starting activity...
- [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T10:43:22.003Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T10:43:22.128Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T10:43:22.128Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T10:43:22.128Z] INFO [7420] - [Application update app-3547-190127_161301@16/AddonsBefore] : Completed activity.
- [2019-01-27T10:43:22.530Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0] : Starting activity...
- [2019-01-27T10:43:22.530Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T10:43:22.953Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T10:43:22.636Z] INFO [7464] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T10:43:22.636Z] INFO [7464] : Using manifest cache with deployment ID 16 and serial 21.
- [2019-01-27T10:43:22.637Z] INFO [7464] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:43:22.637Z] INFO [7464] : Using computed s3 key.
- [2019-01-27T10:43:22.758Z] INFO [7464] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-3547-190127_161301' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:43:22.813Z] INFO [7464] : Size: 9505470, ETag: "4626a689e58d2854f4031b8c1d5acea0", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"bb955ef8-6b58-4c2b-adcd-4164f2536b1d"}.
- [2019-01-27T10:43:22.945Z] INFO [7464] : Downloaded size: 9505470.
- [2019-01-27T10:43:22.945Z] INFO [7464] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T10:43:22.954Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T10:43:23.304Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T10:43:23.307Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T10:43:23.307Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T10:43:23.307Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T10:43:23.670Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T10:43:23.670Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T10:43:23.670Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T10:43:23.775Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T10:43:23.775Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T10:43:24.320Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T10:43:24.320Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T10:43:24.540Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T10:43:24.540Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T10:43:25.407Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.18' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.0.0
- Using concurrent-ruby 1.0.5
- Using i18n 0.8.1
- Using minitest 5.10.1
- Using thread_safe 0.3.6
- Using tzinfo 1.2.3
- Using activesupport 5.0.2
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.1.0
- Using nokogiri 1.7.1
- Using rails-dom-testing 2.0.2
- Using loofah 2.0.3
- Using rails-html-sanitizer 1.0.3
- Using actionview 5.0.2
- Using rack 2.0.1
- Using rack-test 0.6.3
- Using actionpack 5.0.2
- Using nio4r 2.0.0
- Using websocket-extensions 0.1.2
- Using websocket-driver 0.6.5
- Using actioncable 5.0.2
- Using globalid 0.4.0
- Using activejob 5.0.2
- Using mime-types-data 3.2016.0521
- Using mime-types 3.1
- Using mail 2.6.4
- Using actionmailer 5.0.2
- Using arbre 1.1.1
- Using sass 3.4.23
- Using thor 0.19.4
- Using bourbon 4.3.4
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.8.2
- Using railties 5.0.2
- Using coffee-rails 4.2.1
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.1
- Using responders 2.3.0
- Using inherited_resources 1.7.2
- Using jquery-rails 4.3.1
- Using jquery-ui-rails 6.0.1
- Using kaminari-core 1.0.1
- Using kaminari-actionview 1.0.1
- Using activemodel 5.0.2
- Using arel 7.1.4
- Using activerecord 5.0.2
- Using kaminari-activerecord 1.0.1
- Using kaminari 1.0.1
- Using polyamorous 1.3.1
- Using ransack 1.8.2
- Using sprockets 3.7.1
- Using sprockets-rails 3.2.0
- Using tilt 2.0.7
- Using sass-rails 5.0.6
- Using activeadmin 1.0.0
- Using autoprefixer-rails 6.7.7.2
- Using bcrypt 3.1.11
- Using bootstrap-sass 3.3.7
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.7
- Using devise 4.2.1
- Using multi_json 1.12.1
- Using jbuilder 2.6.3
- Using nested_scaffold 1.0.0
- Using pg 0.21.0
- Using puma 3.8.2
- Using rails 5.0.2
- Using simple_form 3.4.0
- Using turbolinks-source 5.0.0
- Using turbolinks 5.0.1
- Using uglifier 3.2.0
- Using will_paginate 3.1.5
- Bundle complete! 18 Gemfile dependencies, 77 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T10:43:25.407Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T10:43:46.920Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
- from ./bin/monkey_patch.rb:11:in `<main>'
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
- from ./bin/monkey_patch.rb:11:in `<main>'
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T10:43:33.556252 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css
- I, [2019-01-27T10:43:33.556688 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-8f4a05166e4e3f3733b924879539581f823c7895202c31a69559fb0bd8ead8ff.css.gz
- I, [2019-01-27T10:43:33.556977 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T10:43:33.557270 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T10:43:33.557619 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/datepicker/datepicker-input-icon-d9c2bb73769af777c8a71720d29741f3a499aebd5a043e9a119bd0d9597aed47.png
- I, [2019-01-27T10:43:33.557878 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T10:43:33.679509 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css
- I, [2019-01-27T10:43:33.679882 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-87c5ffc1d869a919123bcc1dc5ec51b20bc79fd9aeab9eed77e3438c6acd4f68.css.gz
- I, [2019-01-27T10:43:40.717578 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js
- I, [2019-01-27T10:43:40.718066 #7571] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-12a74b3ffff1babd45eaca3fef9dce6596642a2fc91eb7d5e03d69c2b8c76570.js.gz
- I, [2019-01-27T10:43:40.724584 #7571] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T10:43:40.729120 #7571] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T10:43:40.733486 #7571] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T10:43:40.739133 #7571] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T10:43:40.739388 #7571] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T10:43:40.742460 #7571] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T10:43:40.744617 #7571] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T10:43:40.749021 #7571] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T10:43:40.753903 #7571] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T10:43:40.756145 #7571] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T10:43:40.758480 #7571] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T10:43:44.191931 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js
- I, [2019-01-27T10:43:44.192373 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-a4d1530f7a05b9cfdfa450e5267e5ceb57d855a8ec9b934785f2ba95a8556c6c.js.gz
- I, [2019-01-27T10:43:46.843488 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T10:43:46.843948 #7571] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T10:43:46.920Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
- from ./bin/monkey_patch.rb:11:in `<main>'
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
- from ./bin/monkey_patch.rb:11:in `<main>'
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- The PGconn, PGresult, and PGError constants are deprecated, and will be
- removed as of version 1.0.
- You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
- Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
- caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
- from ./bin/monkey_patch.rb:11:in `<main>'
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- ./bin/monkey_patch.rb:11:in `read': No such file or directory @ rb_sysopen - `/home/webapp` is not a directory. (Errno::ENOENT)
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/pg-0.21.0/lib/pg/deprecated_constants.rb
- from ./bin/monkey_patch.rb:11:in `<main>'
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- The PGconn, PGresult, and PGError constants are deprecated, and will be
- removed as of version 1.0.
- You should use PG::Connection, PG::Result, and PG::Error instead, respectively.
- Called from /opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0/gems/activesupport-5.0.2/lib/active_support/dependencies.rb:259:in `load_dependency'
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
- [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
- [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0/AppDeployPreHook] : Activity failed.
- [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16/AppDeployStage0] : Activity failed.
- [2019-01-27T10:43:51.818Z] INFO [7420] - [Application update app-3547-190127_161301@16] : Completed activity. Result:
- Application update - Command CMD-AppDeploy failed
- [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs] : Starting activity...
- [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/AddonsBefore] : Starting activity...
- [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/AddonsBefore] : Completed activity.
- [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/TailLogs] : Starting activity...
- [2019-01-27T10:44:48.111Z] INFO [7787] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
- [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
- [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
- CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
- [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/AddonsAfter] : Starting activity...
- [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs/AddonsAfter] : Completed activity.
- [2019-01-27T10:44:48.285Z] INFO [7787] - [CMD-TailLogs] : Completed activity. Result:
- CMD-TailLogs - Command CMD-TailLogs succeeded
- [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17] : Starting activity...
- [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore] : Starting activity...
- [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T11:39:22.807Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T11:39:22.935Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T11:39:22.935Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T11:39:22.935Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsBefore] : Completed activity.
- [2019-01-27T11:39:23.331Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0] : Starting activity...
- [2019-01-27T11:39:23.331Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T11:39:23.759Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T11:39:23.439Z] INFO [9558] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T11:39:23.439Z] INFO [9558] : Using manifest cache with deployment ID 17 and serial 23.
- [2019-01-27T11:39:23.439Z] INFO [9558] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T11:39:23.439Z] INFO [9558] : Using computed s3 key.
- [2019-01-27T11:39:23.563Z] INFO [9558] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-63f7-190127_170901' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T11:39:23.612Z] INFO [9558] : Size: 9504957, ETag: "53990ba31be188db917d980970e3df85", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"eec74b55-bab5-4df1-9384-502723fdf579"}.
- [2019-01-27T11:39:23.750Z] INFO [9558] : Downloaded size: 9504957.
- [2019-01-27T11:39:23.750Z] INFO [9558] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T11:39:23.759Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T11:39:24.111Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T11:39:24.115Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T11:39:24.115Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T11:39:24.115Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T11:39:24.484Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T11:39:24.484Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T11:39:24.484Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T11:39:24.596Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T11:39:24.596Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T11:39:25.168Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T11:39:25.168Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T11:39:25.396Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T11:39:25.396Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T11:39:26.300Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T11:39:26.300Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T11:39:50.890Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T11:39:31.813786 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T11:39:31.814132 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T11:39:31.814452 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T11:39:31.814767 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T11:39:31.815112 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T11:39:32.005421 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T11:39:32.005803 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T11:39:41.815572 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T11:39:41.816093 #9661] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T11:39:41.824506 #9661] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T11:39:41.826664 #9661] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T11:39:41.828827 #9661] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T11:39:41.832561 #9661] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T11:39:41.835250 #9661] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T11:39:41.838328 #9661] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T11:39:41.840977 #9661] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T11:39:41.845145 #9661] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T11:39:41.856697 #9661] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T11:39:41.859254 #9661] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T11:39:41.861716 #9661] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T11:39:47.457389 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T11:39:47.457842 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T11:39:50.847376 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T11:39:50.847821 #9661] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T11:39:50.890Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T11:39:57.208Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- == 20170421075651 DeviseCreateUsers: migrating ================================
- -- create_table(:users)
- -> 0.0352s
- -- add_index(:users, :username, {:unique=>true})
- -> 0.0093s
- -- add_index(:users, :reset_password_token, {:unique=>true})
- -> 0.0090s
- == 20170421075651 DeviseCreateUsers: migrated (0.0536s) =======================
- == 20170421115026 CreateBlogs: migrating ======================================
- -- create_table(:blogs)
- -> 0.0153s
- == 20170421115026 CreateBlogs: migrated (0.0153s) =============================
- == 20170421163133 CreatePosts: migrating ======================================
- -- create_table(:posts)
- -> 0.0122s
- == 20170421163133 CreatePosts: migrated (0.0122s) =============================
- == 20170510173228 DeviseCreateAdminUsers: migrating ===========================
- -- create_table(:admin_users)
- -> 0.0183s
- -- add_index(:admin_users, :email, {:unique=>true})
- -> 0.0098s
- -- add_index(:admin_users, :reset_password_token, {:unique=>true})
- -> 0.6778s
- == 20170510173228 DeviseCreateAdminUsers: migrated (0.7061s) ==================
- == 20170510173241 CreateActiveAdminComments: migrating ========================
- -- create_table(:active_admin_comments)
- -> 0.0316s
- -- add_index(:active_admin_comments, [:namespace])
- -> 0.0094s
- == 20170510173241 CreateActiveAdminComments: migrated (0.0410s) ===============
- == 20171216180348 AddMarkWorkInProgressToPosts: migrating =====================
- -- add_column(:posts, :mark_work_in_progress, :boolean)
- -> 0.0013s
- == 20171216180348 AddMarkWorkInProgressToPosts: migrated (0.0014s) ============
- [2019-01-27T11:39:57.208Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
- [2019-01-27T11:39:57.716Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
- + echo true
- [2019-01-27T11:39:57.716Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T11:39:57.716Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T11:39:58.069Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T11:39:58.069Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T11:39:58.085Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T11:39:58.085Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/InfraCleanEbextension] : Starting activity...
- [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage0] : Completed activity. Result:
- Application update - Command CMD-AppDeploy stage 0 completed
- [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1] : Starting activity...
- [2019-01-27T11:39:58.095Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T11:39:58.098Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T11:39:58.388Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + '[' -d /var/app/current ']'
- + mv /var/app/current /var/app/current.old
- + mv /var/app/ondeck /var/app/current
- + mkdir -p /var/app/current/tmp /var/app/current/public
- + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
- + nohup rm -rf /var/app/current.old
- [2019-01-27T11:39:58.389Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T11:39:58.537Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T11:39:58.537Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
- [2019-01-27T11:40:00.545Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
- + initctl restart puma
- puma start/running, process 9889
- [2019-01-27T11:40:00.545Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T11:40:00.769Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T11:40:00.769Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
- [2019-01-27T11:40:02.180Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + PUMA_PID_DIR=/var/run/puma
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
- [2019-01-27T11:40:02.180Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T11:40:02.180Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T11:40:02.181Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T11:40:02.592Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T11:40:02.592Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T11:40:02.592Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AppDeployStage1] : Completed activity. Result:
- Application version switch - Command CMD-AppDeploy stage 1 completed
- [2019-01-27T11:40:02.593Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter] : Starting activity...
- [2019-01-27T11:40:02.593Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T11:40:02.594Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17/AddonsAfter] : Completed activity.
- [2019-01-27T11:40:02.771Z] INFO [9515] - [Application update app-63f7-190127_170901@17] : Completed activity. Result:
- Application update - Command CMD-AppDeploy succeeded
- [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18] : Starting activity...
- [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore] : Starting activity...
- [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T11:54:05.082Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsBefore] : Completed activity.
- [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0] : Starting activity...
- [2019-01-27T11:54:05.204Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook] : Starting activity...
- [2019-01-27T11:54:05.206Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T11:54:05.313Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T11:54:05.313Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Starting activity...
- [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0/ConfigDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/pre.
- [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage0] : Completed activity. Result:
- Configuration update - Command CMD-ConfigDeploy stage 0 completed
- [2019-01-27T11:54:05.532Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1] : Starting activity...
- [2019-01-27T11:54:05.533Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook] : Starting activity...
- [2019-01-27T11:54:05.535Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Starting activity...
- [2019-01-27T11:54:07.541Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Completed activity. Result:
- puma start/running, process 10479
- [2019-01-27T11:54:07.541Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T11:54:07.764Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T11:54:07.765Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T11:54:07.978Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T11:54:07.979Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/enact.
- [2019-01-27T11:54:07.979Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook] : Starting activity...
- [2019-01-27T11:54:07.980Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T11:54:08.347Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T11:54:08.347Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1/ConfigDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/post.
- [2019-01-27T11:54:08.347Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/ConfigDeployStage1] : Completed activity. Result:
- Application restart - Command CMD-ConfigDeploy stage 1 completed
- [2019-01-27T11:54:08.348Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter] : Starting activity...
- [2019-01-27T11:54:08.348Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T11:54:08.348Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18/AddonsAfter] : Completed activity.
- [2019-01-27T11:54:08.512Z] INFO [10428] - [Configuration update app-63f7-190127_170901@18] : Completed activity. Result:
- Configuration update - Command CMD-ConfigDeploy succeeded
- [2019-01-27T11:57:33.676Z] INFO [10656] - [Application update app-5d82-190127_172716@19] : Starting activity...
- [2019-01-27T11:57:33.676Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore] : Starting activity...
- [2019-01-27T11:57:33.676Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T11:57:33.677Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T11:57:33.799Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T11:57:33.799Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T11:57:33.799Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AddonsBefore] : Completed activity.
- [2019-01-27T11:57:34.191Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0] : Starting activity...
- [2019-01-27T11:57:34.191Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T11:57:34.626Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T11:57:34.292Z] INFO [10699] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T11:57:34.293Z] INFO [10699] : Using manifest cache with deployment ID 19 and serial 25.
- [2019-01-27T11:57:34.293Z] INFO [10699] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T11:57:34.293Z] INFO [10699] : Using computed s3 key.
- [2019-01-27T11:57:34.411Z] INFO [10699] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-5d82-190127_172716' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T11:57:34.464Z] INFO [10699] : Size: 9504940, ETag: "ca23d4b3b5d2f677742c1f1bf6048df8", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"fa1aac0a-0531-4610-924b-b7120d96c198"}.
- [2019-01-27T11:57:34.617Z] INFO [10699] : Downloaded size: 9504940.
- [2019-01-27T11:57:34.617Z] INFO [10699] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T11:57:34.626Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T11:57:34.972Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T11:57:34.976Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T11:57:34.976Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T11:57:34.976Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T11:57:35.366Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T11:57:35.366Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T11:57:35.366Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T11:57:35.473Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T11:57:35.473Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T11:57:35.957Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T11:57:35.957Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T11:57:36.176Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T11:57:36.177Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T11:57:37.028Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T11:57:37.028Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T11:58:01.581Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T11:57:42.444912 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T11:57:42.445260 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T11:57:42.445603 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T11:57:42.445926 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T11:57:42.446261 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T11:57:42.694573 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T11:57:42.694892 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T11:57:52.665166 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T11:57:52.665705 #10802] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T11:57:52.672507 #10802] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T11:57:52.674788 #10802] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T11:57:52.681394 #10802] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T11:57:52.687160 #10802] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T11:57:52.687498 #10802] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T11:57:52.690729 #10802] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T11:57:52.692916 #10802] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T11:57:52.697293 #10802] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T11:57:52.701282 #10802] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T11:57:52.704641 #10802] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T11:57:52.707323 #10802] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T11:57:58.235517 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T11:57:58.235949 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T11:58:01.518438 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T11:58:01.519772 #10802] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T11:58:01.581Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
- caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
- [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
- [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0/AppDeployPreHook] : Activity failed.
- [2019-01-27T11:58:05.693Z] INFO [10656] - [Application update app-5d82-190127_172716@19/AppDeployStage0] : Activity failed.
- [2019-01-27T11:58:05.694Z] INFO [10656] - [Application update app-5d82-190127_172716@19] : Completed activity. Result:
- Application update - Command CMD-AppDeploy failed
- [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20] : Starting activity...
- [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore] : Starting activity...
- [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T12:01:03.457Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T12:01:03.579Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T12:01:03.579Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T12:01:03.579Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AddonsBefore] : Completed activity.
- [2019-01-27T12:01:03.923Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0] : Starting activity...
- [2019-01-27T12:01:03.923Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T12:01:04.396Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T12:01:04.029Z] INFO [11180] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T12:01:04.029Z] INFO [11180] : Using manifest cache with deployment ID 20 and serial 27.
- [2019-01-27T12:01:04.029Z] INFO [11180] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:01:04.029Z] INFO [11180] : Using computed s3 key.
- [2019-01-27T12:01:04.153Z] INFO [11180] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-5d82-190127_173046' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:01:04.204Z] INFO [11180] : Size: 9504940, ETag: "ca23d4b3b5d2f677742c1f1bf6048df8", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"f680914e-ee03-4052-b682-01d4861b1991"}.
- [2019-01-27T12:01:04.387Z] INFO [11180] : Downloaded size: 9504940.
- [2019-01-27T12:01:04.387Z] INFO [11180] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:01:04.396Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T12:01:04.744Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T12:01:04.747Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T12:01:04.747Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T12:01:04.747Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T12:01:05.124Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T12:01:05.124Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T12:01:05.124Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T12:01:05.234Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T12:01:05.235Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T12:01:05.796Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T12:01:05.797Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T12:01:06.028Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T12:01:06.029Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T12:01:06.942Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T12:01:06.942Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T12:01:31.887Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T12:01:12.573084 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T12:01:12.573421 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T12:01:12.573735 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T12:01:12.574061 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T12:01:12.574317 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T12:01:12.764573 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T12:01:12.764965 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T12:01:22.766581 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T12:01:22.767113 #11282] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T12:01:22.775965 #11282] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T12:01:22.778146 #11282] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T12:01:22.780255 #11282] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T12:01:22.784570 #11282] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T12:01:22.784864 #11282] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T12:01:22.789693 #11282] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T12:01:22.795855 #11282] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T12:01:22.798032 #11282] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T12:01:22.800553 #11282] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T12:01:22.805221 #11282] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T12:01:22.807523 #11282] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T12:01:28.401160 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T12:01:28.401634 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T12:01:31.842785 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T12:01:31.843240 #11282] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T12:01:31.887Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity execution failed, because: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (ElasticBeanstalk::ExternalInvocationError)
- caused by: ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- rake aborted!
- PG::ConnectionBad: FATAL: password authentication failed for user "justine"
- FATAL: password authentication failed for user "justine"
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `load'
- /opt/rubies/ruby-2.4.5/bin/bundle:23:in `<main>'
- Tasks: TOP => db:migrate
- (See full trace by running task with --trace) (Executor::NonZeroExitStatus)
- [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Activity failed.
- [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0/AppDeployPreHook] : Activity failed.
- [2019-01-27T12:01:35.927Z] INFO [11137] - [Application update app-5d82-190127_173046@20/AppDeployStage0] : Activity failed.
- [2019-01-27T12:01:35.928Z] INFO [11137] - [Application update app-5d82-190127_173046@20] : Completed activity. Result:
- Application update - Command CMD-AppDeploy failed
- [2019-01-27T12:03:24.993Z] INFO [11513] - [Application update app-d343-190127_173307@21] : Starting activity...
- [2019-01-27T12:03:24.994Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore] : Starting activity...
- [2019-01-27T12:03:24.994Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T12:03:24.994Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T12:03:25.115Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T12:03:25.115Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T12:03:25.115Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsBefore] : Completed activity.
- [2019-01-27T12:03:25.508Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0] : Starting activity...
- [2019-01-27T12:03:25.508Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T12:03:25.962Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T12:03:25.612Z] INFO [11556] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T12:03:25.612Z] INFO [11556] : Using manifest cache with deployment ID 21 and serial 29.
- [2019-01-27T12:03:25.612Z] INFO [11556] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:03:25.612Z] INFO [11556] : Using computed s3 key.
- [2019-01-27T12:03:25.729Z] INFO [11556] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-d343-190127_173307' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:03:25.780Z] INFO [11556] : Size: 9504942, ETag: "253543c524ce1c4abba7f7a6e093b3b5", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"efe29c47-1059-4254-8d91-f5911d474123"}.
- [2019-01-27T12:03:25.953Z] INFO [11556] : Downloaded size: 9504942.
- [2019-01-27T12:03:25.953Z] INFO [11556] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:03:25.962Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T12:03:26.313Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T12:03:26.316Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T12:03:26.316Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T12:03:26.316Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T12:03:26.690Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T12:03:26.690Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T12:03:26.691Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T12:03:26.800Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T12:03:26.800Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T12:03:27.356Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T12:03:27.357Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T12:03:27.580Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T12:03:27.581Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T12:03:28.452Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T12:03:28.452Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T12:03:53.257Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T12:03:34.012417 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T12:03:34.012766 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T12:03:34.013070 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T12:03:34.013390 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T12:03:34.013691 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T12:03:34.203942 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T12:03:34.204326 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T12:03:44.191730 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T12:03:44.192252 #11659] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T12:03:44.203026 #11659] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T12:03:44.205296 #11659] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T12:03:44.207530 #11659] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T12:03:44.209205 #11659] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T12:03:44.211247 #11659] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T12:03:44.214378 #11659] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T12:03:44.221130 #11659] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T12:03:44.226824 #11659] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T12:03:44.229114 #11659] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T12:03:44.231720 #11659] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T12:03:44.233614 #11659] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T12:03:49.861698 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T12:03:49.862125 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T12:03:53.213872 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T12:03:53.214326 #11659] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T12:03:53.257Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T12:03:57.374Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- [2019-01-27T12:03:57.374Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
- [2019-01-27T12:03:57.869Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
- + echo true
- [2019-01-27T12:03:57.869Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T12:03:57.869Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T12:03:58.217Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T12:03:58.217Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T12:03:58.233Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T12:03:58.233Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/InfraCleanEbextension] : Starting activity...
- [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage0] : Completed activity. Result:
- Application update - Command CMD-AppDeploy stage 0 completed
- [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1] : Starting activity...
- [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T12:03:58.242Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T12:03:58.538Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + '[' -d /var/app/current ']'
- + mv /var/app/current /var/app/current.old
- + mv /var/app/ondeck /var/app/current
- + mkdir -p /var/app/current/tmp /var/app/current/public
- + nohup rm -rf /var/app/current.old
- + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
- [2019-01-27T12:03:58.538Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T12:03:58.679Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T12:03:58.679Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
- [2019-01-27T12:04:00.686Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
- + initctl restart puma
- puma start/running, process 11916
- [2019-01-27T12:04:00.686Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T12:04:00.905Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T12:04:00.905Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
- [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + PUMA_PID_DIR=/var/run/puma
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
- [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T12:04:02.312Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AppDeployStage1] : Completed activity. Result:
- Application version switch - Command CMD-AppDeploy stage 1 completed
- [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter] : Starting activity...
- [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T12:04:02.713Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21/AddonsAfter] : Completed activity.
- [2019-01-27T12:04:02.884Z] INFO [11513] - [Application update app-d343-190127_173307@21] : Completed activity. Result:
- Application update - Command CMD-AppDeploy succeeded
- [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs] : Starting activity...
- [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/AddonsBefore] : Starting activity...
- [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/AddonsBefore] : Completed activity.
- [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/TailLogs] : Starting activity...
- [2019-01-27T12:06:31.257Z] INFO [12083] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
- [2019-01-27T12:06:31.450Z] INFO [12083] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
- [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
- CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
- [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs/AddonsAfter] : Starting activity...
- [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs/AddonsAfter] : Completed activity.
- [2019-01-27T12:06:31.451Z] INFO [12083] - [CMD-TailLogs] : Completed activity. Result:
- CMD-TailLogs - Command CMD-TailLogs succeeded
- [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22] : Starting activity...
- [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore] : Starting activity...
- [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T12:13:07.351Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsBefore] : Completed activity.
- [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0] : Starting activity...
- [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook] : Starting activity...
- [2019-01-27T12:13:07.478Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T12:13:07.591Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T12:13:07.591Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Starting activity...
- [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook/10_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0/ConfigDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/pre.
- [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage0] : Completed activity. Result:
- Configuration update - Command CMD-ConfigDeploy stage 0 completed
- [2019-01-27T12:13:07.820Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1] : Starting activity...
- [2019-01-27T12:13:07.821Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook] : Starting activity...
- [2019-01-27T12:13:07.821Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Starting activity...
- [2019-01-27T12:13:09.827Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01_restart.sh] : Completed activity. Result:
- puma start/running, process 12383
- [2019-01-27T12:13:09.827Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T12:13:10.062Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T12:13:10.062Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T12:13:10.281Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T12:13:10.281Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/enact.
- [2019-01-27T12:13:10.281Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook] : Starting activity...
- [2019-01-27T12:13:10.282Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T12:13:10.659Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1/ConfigDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/configdeploy/post.
- [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/ConfigDeployStage1] : Completed activity. Result:
- Application restart - Command CMD-ConfigDeploy stage 1 completed
- [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter] : Starting activity...
- [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T12:13:10.660Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22/AddonsAfter] : Completed activity.
- [2019-01-27T12:13:10.828Z] INFO [12332] - [Configuration update app-d343-190127_173307@22] : Completed activity. Result:
- Configuration update - Command CMD-ConfigDeploy succeeded
- [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23] : Starting activity...
- [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore] : Starting activity...
- [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T12:16:43.510Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T12:16:43.631Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T12:16:43.631Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T12:16:43.631Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsBefore] : Completed activity.
- [2019-01-27T12:16:43.967Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0] : Starting activity...
- [2019-01-27T12:16:43.967Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T12:16:44.418Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T12:16:44.072Z] INFO [12600] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T12:16:44.072Z] INFO [12600] : Using manifest cache with deployment ID 23 and serial 31.
- [2019-01-27T12:16:44.072Z] INFO [12600] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:16:44.072Z] INFO [12600] : Using computed s3 key.
- [2019-01-27T12:16:44.187Z] INFO [12600] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-a0c0-190127_174624' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:16:44.239Z] INFO [12600] : Size: 9504942, ETag: "092828d6fc40dccbc63195824f6864eb", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"48233427-f87b-4da6-aea0-e96d4969953a"}.
- [2019-01-27T12:16:44.410Z] INFO [12600] : Downloaded size: 9504942.
- [2019-01-27T12:16:44.410Z] INFO [12600] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T12:16:44.419Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T12:16:44.762Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T12:16:44.766Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Starting activity...
- [2019-01-27T12:16:44.766Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_test] : Completed activity.
- [2019-01-27T12:16:44.766Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T12:16:45.135Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T12:16:45.135Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T12:16:45.135Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T12:16:45.241Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T12:16:45.242Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T12:16:45.717Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T12:16:45.717Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T12:16:45.933Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T12:16:45.934Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T12:16:46.790Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T12:16:46.790Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T12:17:11.530Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T12:16:52.215594 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T12:16:52.215890 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T12:16:52.216180 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T12:16:52.216488 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T12:16:52.216756 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T12:16:52.403792 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T12:16:52.404166 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T12:17:02.387531 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T12:17:02.388098 #12703] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T12:17:02.396714 #12703] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T12:17:02.398953 #12703] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T12:17:02.405350 #12703] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T12:17:02.407141 #12703] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T12:17:02.407406 #12703] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T12:17:02.410551 #12703] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T12:17:02.417162 #12703] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T12:17:02.422563 #12703] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T12:17:02.424860 #12703] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T12:17:02.427768 #12703] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T12:17:02.429842 #12703] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T12:17:08.085409 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T12:17:08.085869 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T12:17:11.494019 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T12:17:11.494464 #12703] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T12:17:11.531Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T12:17:15.577Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- [2019-01-27T12:17:15.578Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
- [2019-01-27T12:17:16.064Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
- + echo true
- [2019-01-27T12:17:16.064Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T12:17:16.064Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T12:17:16.405Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T12:17:16.405Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T12:17:16.420Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T12:17:16.420Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/InfraCleanEbextension] : Starting activity...
- [2019-01-27T12:17:16.429Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage0] : Completed activity. Result:
- Application update - Command CMD-AppDeploy stage 0 completed
- [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1] : Starting activity...
- [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T12:17:16.430Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T12:17:16.713Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + '[' -d /var/app/current ']'
- + mv /var/app/current /var/app/current.old
- + mv /var/app/ondeck /var/app/current
- + mkdir -p /var/app/current/tmp /var/app/current/public
- + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
- + nohup rm -rf /var/app/current.old
- [2019-01-27T12:17:16.713Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T12:17:16.852Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T12:17:16.853Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
- [2019-01-27T12:17:18.859Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
- + initctl restart puma
- puma start/running, process 12976
- [2019-01-27T12:17:18.864Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T12:17:19.078Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T12:17:19.078Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
- [2019-01-27T12:17:20.460Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + PUMA_PID_DIR=/var/run/puma
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
- [2019-01-27T12:17:20.461Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T12:17:20.461Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T12:17:20.461Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T12:17:20.847Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T12:17:20.847Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AppDeployStage1] : Completed activity. Result:
- Application version switch - Command CMD-AppDeploy stage 1 completed
- [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter] : Starting activity...
- [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T12:17:20.848Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23/AddonsAfter] : Completed activity.
- [2019-01-27T12:17:21.016Z] INFO [12557] - [Application update app-a0c0-190127_174624@23] : Completed activity. Result:
- Application update - Command CMD-AppDeploy succeeded
- [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs] : Starting activity...
- [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/AddonsBefore] : Starting activity...
- [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/AddonsBefore] : Completed activity.
- [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/TailLogs] : Starting activity...
- [2019-01-27T12:40:53.714Z] INFO [13776] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
- [2019-01-27T12:40:53.888Z] INFO [13776] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
- [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
- CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
- [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs/AddonsAfter] : Starting activity...
- [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs/AddonsAfter] : Completed activity.
- [2019-01-27T12:40:53.889Z] INFO [13776] - [CMD-TailLogs] : Completed activity. Result:
- CMD-TailLogs - Command CMD-TailLogs succeeded
- [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs] : Starting activity...
- [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
- [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
- [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T12:54:48.551Z] INFO [14194] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Completed activity.
- [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/BundleLogs] : Completed activity. Result:
- CMD-BundleLogs - stage 0 - Command CMD-BundleLogs stage 0 completed
- [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/AddonsAfter] : Starting activity...
- [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs/AddonsAfter] : Completed activity.
- [2019-01-27T12:54:48.813Z] INFO [14194] - [CMD-BundleLogs] : Completed activity. Result:
- CMD-BundleLogs - Command CMD-BundleLogs succeeded
- [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24] : Starting activity...
- [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore] : Starting activity...
- [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T13:00:19.002Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T13:00:19.124Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T13:00:19.124Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T13:00:19.125Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsBefore] : Completed activity.
- [2019-01-27T13:00:19.464Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0] : Starting activity...
- [2019-01-27T13:00:19.464Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T13:00:19.888Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T13:00:19.567Z] INFO [14419] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T13:00:19.567Z] INFO [14419] : Using manifest cache with deployment ID 24 and serial 32.
- [2019-01-27T13:00:19.568Z] INFO [14419] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T13:00:19.568Z] INFO [14419] : Using computed s3 key.
- [2019-01-27T13:00:19.685Z] INFO [14419] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-6dfa-190127_182926' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T13:00:19.737Z] INFO [14419] : Size: 9504649, ETag: "b9c1c8870f810a1b57713a4f4c320410", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"822f829b-c96b-4f07-a71c-f101fe797ff4"}.
- [2019-01-27T13:00:19.880Z] INFO [14419] : Downloaded size: 9504649.
- [2019-01-27T13:00:19.880Z] INFO [14419] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T13:00:19.888Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T13:00:20.237Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T13:00:20.237Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T13:00:20.253Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T13:00:20.253Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T13:00:20.253Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T13:00:20.359Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T13:00:20.359Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T13:00:20.853Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T13:00:20.853Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T13:00:21.076Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T13:00:21.076Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T13:00:21.968Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T13:00:21.968Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T13:00:46.724Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T13:00:27.445430 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T13:00:27.445802 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T13:00:27.446080 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T13:00:27.446406 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T13:00:27.446714 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T13:00:27.633323 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T13:00:27.633709 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T13:00:37.648756 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T13:00:37.649267 #14519] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T13:00:37.656542 #14519] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T13:00:37.658712 #14519] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T13:00:37.665118 #14519] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T13:00:37.666758 #14519] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T13:00:37.667053 #14519] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T13:00:37.674076 #14519] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T13:00:37.676221 #14519] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T13:00:37.678368 #14519] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T13:00:37.684763 #14519] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T13:00:37.687483 #14519] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T13:00:37.689590 #14519] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T13:00:43.308610 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T13:00:43.309066 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T13:00:46.681449 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T13:00:46.681890 #14519] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T13:00:46.724Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T13:00:50.867Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- error: could not lock config file /home/webapp/.gitconfig: No such file or directory
- sh: line 0: cd: /home/webapp: No such file or directory
- [2019-01-27T13:00:50.867Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
- [2019-01-27T13:00:51.379Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
- + echo true
- [2019-01-27T13:00:51.379Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T13:00:51.379Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T13:00:51.738Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T13:00:51.738Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T13:00:51.754Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T13:00:51.754Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/InfraCleanEbextension] : Starting activity...
- [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage0] : Completed activity. Result:
- Application update - Command CMD-AppDeploy stage 0 completed
- [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1] : Starting activity...
- [2019-01-27T13:00:51.763Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T13:00:51.764Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T13:00:52.061Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + '[' -d /var/app/current ']'
- + mv /var/app/current /var/app/current.old
- + mv /var/app/ondeck /var/app/current
- + mkdir -p /var/app/current/tmp /var/app/current/public
- + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
- + nohup rm -rf /var/app/current.old
- [2019-01-27T13:00:52.062Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T13:00:52.211Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T13:00:52.211Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
- [2019-01-27T13:00:54.219Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
- + initctl restart puma
- puma start/running, process 14776
- [2019-01-27T13:00:54.219Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T13:00:54.444Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T13:00:54.444Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
- [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + PUMA_PID_DIR=/var/run/puma
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
- [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T13:00:55.848Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AppDeployStage1] : Completed activity. Result:
- Application version switch - Command CMD-AppDeploy stage 1 completed
- [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter] : Starting activity...
- [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T13:00:56.252Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24/AddonsAfter] : Completed activity.
- [2019-01-27T13:00:56.424Z] INFO [14376] - [Application update app-6dfa-190127_182926@24] : Completed activity. Result:
- Application update - Command CMD-AppDeploy succeeded
- [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs] : Starting activity...
- [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
- [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
- [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T13:03:10.576Z] INFO [15028] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Completed activity.
- [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/BundleLogs] : Completed activity. Result:
- CMD-BundleLogs - stage 0 - Command CMD-BundleLogs stage 0 completed
- [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/AddonsAfter] : Starting activity...
- [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs/AddonsAfter] : Completed activity.
- [2019-01-27T13:03:10.856Z] INFO [15028] - [CMD-BundleLogs] : Completed activity. Result:
- CMD-BundleLogs - Command CMD-BundleLogs succeeded
- [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs] : Starting activity...
- [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
- [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
- [2019-01-27T13:10:03.981Z] INFO [15269] - [CMD-BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T13:10:03.982Z] INFO [15269] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Completed activity.
- [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/BundleLogs] : Completed activity. Result:
- CMD-BundleLogs - stage 0 - Command CMD-BundleLogs stage 0 completed
- [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/AddonsAfter] : Starting activity...
- [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs/AddonsAfter] : Completed activity.
- [2019-01-27T13:10:04.200Z] INFO [15269] - [CMD-BundleLogs] : Completed activity. Result:
- CMD-BundleLogs - Command CMD-BundleLogs succeeded
- [2019-01-27T13:23:00.479Z] INFO [15635] - [Application update app-28e4-190127_185241@25] : Starting activity...
- [2019-01-27T13:23:00.479Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore] : Starting activity...
- [2019-01-27T13:23:00.479Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T13:23:00.480Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T13:23:00.601Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T13:23:00.602Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T13:23:00.602Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsBefore] : Completed activity.
- [2019-01-27T13:23:00.945Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0] : Starting activity...
- [2019-01-27T13:23:00.945Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T13:23:01.393Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T13:23:01.051Z] INFO [15678] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T13:23:01.051Z] INFO [15678] : Using manifest cache with deployment ID 25 and serial 33.
- [2019-01-27T13:23:01.051Z] INFO [15678] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T13:23:01.051Z] INFO [15678] : Using computed s3 key.
- [2019-01-27T13:23:01.172Z] INFO [15678] : Downloading from bucket 'elasticbeanstalk-us-east-2-387358288273' with key 'resources/environments/e-sv4jqab3r8/_runtime/_versions/test/app-28e4-190127_185241' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T13:23:01.224Z] INFO [15678] : Size: 9504635, ETag: "5636f132188e6ca1f2105cece9705856", Metadata: {"environmentid"=>"e-sv4jqab3r8", "requestid"=>"71924910-4df8-47e2-abd3-495e569c0972"}.
- [2019-01-27T13:23:01.384Z] INFO [15678] : Downloaded size: 9504635.
- [2019-01-27T13:23:01.384Z] INFO [15678] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T13:23:01.393Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T13:23:01.800Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T13:23:01.800Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T13:23:01.816Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T13:23:01.816Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T13:23:01.817Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T13:23:01.924Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T13:23:01.924Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T13:23:02.418Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T13:23:02.418Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T13:23:02.640Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/02_setup_envvars.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + /opt/elasticbeanstalk/support/export_envvars
- [2019-01-27T13:23:02.640Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T13:23:03.520Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/10_bundle_install.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + '[' -f Gemfile ']'
- + echo 'running '\''bundle install'\'' with Gemfile:'
- running 'bundle install' with Gemfile:
- + cat Gemfile
- source 'https://rubygems.org'
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
- gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
- # sqlite3 fails on heroku
- # group :development do
- # gem 'sqlite3' #gem to use in development environment
- # end
- # gem 'sqlite3'
- # group :production do
- gem 'pg', '~> 0.20.0' #gem to use in production environment
- # end
- gem 'will_paginate', '~> 3.1.0'
- gem 'simple_form'
- gem 'bootstrap-sass'
- gem 'devise'
- gem 'nested_scaffold'
- # Use Puma as the app server
- gem 'puma', '~> 3.0'
- # Use SCSS for stylesheets
- gem 'sass-rails', '~> 5.0'
- # Use Uglifier as compressor for JavaScript assets
- gem 'uglifier', '>= 1.3.0'
- # Use CoffeeScript for .coffee assets and views
- gem 'coffee-rails', '~> 4.2'
- # See https://github.com/rails/execjs#readme for more supported runtimes
- # gem 'therubyracer', platforms: :ruby
- # Use jquery as the JavaScript library
- gem 'jquery-rails'
- # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
- gem 'turbolinks', '~> 5'
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
- gem 'jbuilder', '~> 2.5'
- # Use Redis adapter to run Action Cable in production
- # gem 'redis', '~> 3.0'
- # Use ActiveModel has_secure_password
- # gem 'bcrypt', '~> 3.1.7'
- # Use Capistrano for deployment
- # gem 'capistrano-rails', group: :development
- group :development, :test do
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
- gem 'byebug', platform: :mri
- end
- group :development do
- # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console'
- end
- # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
- gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
- gem 'activeadmin'
- + '[' -d /var/app/ondeck/vendor/cache ']'
- + bundle install
- Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
- installing your bundle as root will break this application for all non-root
- users on this machine.
- Warning: the running version of Bundler (1.16.2) is older than the version that created the lockfile (1.16.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
- Using rake 12.3.2
- Using concurrent-ruby 1.1.4
- Using i18n 1.5.3
- Using minitest 5.11.3
- Using thread_safe 0.3.6
- Using tzinfo 1.2.5
- Using activesupport 5.0.7.1
- Using builder 3.2.3
- Using erubis 2.7.0
- Using mini_portile2 2.4.0
- Using nokogiri 1.10.1
- Using rails-dom-testing 2.0.3
- Using crass 1.0.4
- Using loofah 2.2.3
- Using rails-html-sanitizer 1.0.4
- Using actionview 5.0.7.1
- Using rack 2.0.6
- Using rack-test 0.6.3
- Using actionpack 5.0.7.1
- Using nio4r 2.3.1
- Using websocket-extensions 0.1.3
- Using websocket-driver 0.6.5
- Using actioncable 5.0.7.1
- Using globalid 0.4.2
- Using activejob 5.0.7.1
- Using mini_mime 1.0.1
- Using mail 2.7.1
- Using actionmailer 5.0.7.1
- Using arbre 1.1.1
- Using coffee-script-source 1.12.2
- Using execjs 2.7.0
- Using coffee-script 2.4.1
- Using method_source 0.9.2
- Using thor 0.20.3
- Using railties 5.0.7.1
- Using coffee-rails 4.2.2
- Using formtastic 3.1.5
- Using formtastic_i18n 0.6.0
- Using has_scope 0.7.2
- Using responders 2.4.1
- Using inherited_resources 1.9.0
- Using jquery-rails 4.3.3
- Using kaminari-core 1.1.1
- Using kaminari-actionview 1.1.1
- Using activemodel 5.0.7.1
- Using arel 7.1.4
- Using activerecord 5.0.7.1
- Using kaminari-activerecord 1.1.1
- Using kaminari 1.1.1
- Using ransack 2.1.1
- Using rb-fsevent 0.10.3
- Using ffi 1.9.25
- Using rb-inotify 0.10.0
- Using sass-listen 4.0.0
- Using sass 3.7.3
- Using sprockets 3.7.2
- Using activeadmin 1.4.3
- Using autoprefixer-rails 9.4.6
- Using bcrypt 3.1.12
- Using sassc 2.0.0
- Using bootstrap-sass 3.4.0
- Using bundler 1.16.2
- Using orm_adapter 0.5.0
- Using warden 1.2.8
- Using devise 4.5.0
- Using multi_json 1.13.1
- Using jbuilder 2.8.0
- Using nested_scaffold 1.0.0
- Using pg 0.20.0
- Using puma 3.12.0
- Using sprockets-rails 3.2.1
- Using rails 5.0.7.1
- Using tilt 2.0.9
- Using sass-rails 5.0.7
- Using simple_form 4.1.0
- Using turbolinks-source 5.2.0
- Using turbolinks 5.2.0
- Using uglifier 4.1.20
- Using will_paginate 3.1.6
- Bundle complete! 18 Gemfile dependencies, 79 gems now installed.
- Gems in the groups test and development were not installed.
- Use `bundle info [gemname]` to see where a bundled gem is installed.
- + '[' -f Gemfile.lock ']'
- + echo 'encountered a Gemfile.lock, setting proper permissions'
- encountered a Gemfile.lock, setting proper permissions
- + chown webapp:webapp Gemfile.lock
- + '[' '' = 1 ']'
- [2019-01-27T13:23:03.520Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T13:23:27.659Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/11_asset_compilation.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=assets:precompile
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false == true ']'
- + su -s /bin/bash -c 'bundle exec rake assets:precompile' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- fatal: not in a git directory
- sh: line 0: cd: /home/webapp: No such file or directory
- I, [2019-01-27T13:23:08.982045 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T13:23:08.982410 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T13:23:08.982668 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T13:23:08.983006 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T13:23:08.983295 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T13:23:09.165155 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T13:23:09.165473 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T13:23:18.782412 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T13:23:18.782964 #15794] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T13:23:18.791964 #15794] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T13:23:18.794101 #15794] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T13:23:18.796319 #15794] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T13:23:18.800618 #15794] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T13:23:18.800905 #15794] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T13:23:18.806104 #15794] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T13:23:18.812262 #15794] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T13:23:18.814476 #15794] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T13:23:18.816710 #15794] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T13:23:18.820831 #15794] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T13:23:18.822812 #15794] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T13:23:24.275790 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T13:23:24.276260 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T13:23:27.597191 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T13:23:27.597652 #15794] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T13:23:27.659Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T13:23:31.772Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/12_db_migration.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- + . /opt/elasticbeanstalk/support/envvars-wrapper.sh
- +++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- ++ EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ set +x
- + RAKE_TASK=db:migrate
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + cd /var/app/ondeck
- + su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/check-for-rake-task.rb db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- + '[' false = true ']'
- + su -s /bin/bash -c 'leader_only bundle exec rake db:migrate' webapp
- `/home/webapp` is not a directory.
- Bundler will use `/tmp/bundler/home/webapp' as your home directory temporarily.
- DEPRECATION WARNING: `config.static_cache_control` is deprecated and will be removed in Rails 5.1.
- Please use
- `config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=2592000' }`
- instead.
- (called from block in <top (required)> at /var/app/ondeck/config/environments/production.rb:28)
- intializing git
- fatal: not in a git directory
- sh: line 0: cd: /home/webapp: No such file or directory
- [2019-01-27T13:23:31.773Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Starting activity...
- [2019-01-27T13:23:32.283Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook/13_test_for_puma.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + . /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh
- ++ . /usr/local/share/chruby/chruby.sh
- +++ CHRUBY_VERSION=0.3.9
- +++ RUBIES=()
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /opt/rubies ]]
- ++++ ls -A /opt/rubies
- +++ [[ -n ruby-1.9.3-p551
- ruby-2.0.0-p648
- ruby-2.1.10
- ruby-2.2.10
- ruby-2.3.8
- ruby-2.4.5
- ruby-2.5.3
- ruby-2.6.0
- ruby-current ]]
- +++ RUBIES+=("$dir"/*)
- +++ for dir in '"$PREFIX/opt/rubies"' '"$HOME/.rubies"'
- +++ [[ -d /.rubies ]]
- +++ unset dir
- +++ cat /etc/elasticbeanstalk/.ruby_version
- ++ chruby 2.4.5
- ++ case "$1" in
- ++ local dir match
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-1.9.3-p551
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.0.0-p648
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.1.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.2.10
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.3.8
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ match=/opt/rubies/ruby-2.4.5
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.5.3
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.6.0
- ++ case "${dir##*/}" in
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-current
- ++ case "${dir##*/}" in
- ++ [[ -z /opt/rubies/ruby-2.4.5 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.4.5 ''
- ++ [[ ! -x /opt/rubies/ruby-2.4.5/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ RUBY_ROOT=/opt/rubies/ruby-2.4.5
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.4.5/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.4.5/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.4.5;
- export GEM_ROOT="/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.4.5
- +++ RUBY_VERSION=2.4.5
- +++ export GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.4.5/lib/ruby/gems/2.4.0
- ++ (( 0 != 0 ))
- + /opt/elasticbeanstalk/support/scripts/check-for-gem.rb puma
- + echo true
- [2019-01-27T13:23:32.283Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T13:23:32.283Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T13:23:32.635Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T13:23:32.635Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T13:23:32.651Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T13:23:32.651Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/InfraCleanEbextension] : Starting activity...
- [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0/InfraCleanEbextension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage0] : Completed activity. Result:
- Application update - Command CMD-AppDeploy stage 0 completed
- [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1] : Starting activity...
- [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T13:23:32.660Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T13:23:32.949Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01_flip.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_staging_dir
- + EB_APP_STAGING_DIR=/var/app/ondeck
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_user
- + EB_APP_USER=webapp
- + '[' -d /var/app/current ']'
- + mv /var/app/current /var/app/current.old
- + mv /var/app/ondeck /var/app/current
- + mkdir -p /var/app/current/tmp /var/app/current/public
- + chown -R webapp:webapp /var/app/current/tmp /var/app/current/public
- + nohup rm -rf /var/app/current.old
- [2019-01-27T13:23:32.950Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T13:23:33.095Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- [2019-01-27T13:23:33.095Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Starting activity...
- [2019-01-27T13:23:35.102Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02_restart_app_server.sh] : Completed activity. Result:
- + initctl restart puma
- puma start/running, process 16051
- [2019-01-27T13:23:35.102Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T13:23:35.322Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T13:23:35.322Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Starting activity...
- [2019-01-27T13:23:36.718Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook/28_create_pids.sh] : Completed activity. Result:
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --proxy nginx
- ++ /opt/elasticbeanstalk/bin/get-config container -k puma_pid_dir
- + PUMA_PID_DIR=/var/run/puma
- + /opt/elasticbeanstalk/bin/healthd-track-pidfile --name application --location /var/run/puma/puma.pid
- [2019-01-27T13:23:36.719Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T13:23:36.719Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T13:23:36.719Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T13:23:37.131Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook/01_rails_support.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_deploy_dir
- + EB_APP_DEPLOY_DIR=/var/app/current
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/containerfiles/logs
- + ln -sf /var/app/current/log/production.log /var/app/containerfiles/logs
- [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AppDeployStage1] : Completed activity. Result:
- Application version switch - Command CMD-AppDeploy stage 1 completed
- [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter] : Starting activity...
- [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T13:23:37.132Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25/AddonsAfter] : Completed activity.
- [2019-01-27T13:23:37.304Z] INFO [15635] - [Application update app-28e4-190127_185241@25] : Completed activity. Result:
- Application update - Command CMD-AppDeploy succeeded
- [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs] : Starting activity...
- [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
- [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
- [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T13:25:57.665Z] INFO [16211] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement