Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization] : Starting activity...
- [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization/AddonsBefore] : Starting activity...
- [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization/AddonsBefore/InstallCWLAgent] : Starting activity...
- [2019-01-27T16:30:49.086Z] INFO [2869] - [Initialization/AddonsBefore/InstallCWLAgent/01-install-cwl-agent.sh] : Starting activity...
- [2019-01-27T16:30:51.282Z] INFO [2869] - [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 666 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 6697 0 --:--:-- --:--:-- --:--:-- 10000
- + region=us-west-1
- + sed -i -e 's/region = .*/region = us-west-1/g' /etc/awslogs/awscli.conf
- + /opt/elasticbeanstalk/bin/log-conf -n awslogs -l/var/log/awslogs.log
- [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/AddonsBefore/InstallCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/install.
- [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/AddonsBefore] : Completed activity.
- [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/PreInitStage0] : Starting activity...
- [2019-01-27T16:30:51.282Z] INFO [2869] - [Initialization/PreInitStage0/DownloadSourceBundle] : Starting activity...
- [2019-01-27T16:30:51.808Z] INFO [2869] - [Initialization/PreInitStage0/DownloadSourceBundle] : Completed activity. Result:
- [2019-01-27T16:30:51.389Z] INFO [2936] : Application version will be saved to /opt/elasticbeanstalk/deploy/appsource.
- [2019-01-27T16:30:51.389Z] INFO [2936] : Using manifest cache with deployment ID 1 and serial 1.
- [2019-01-27T16:30:51.389Z] INFO [2936] : Attempting to download application source bundle to: '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T16:30:51.389Z] INFO [2936] : Using computed s3 key.
- [2019-01-27T16:30:51.510Z] INFO [2936] : Downloading from bucket 'elasticbeanstalk-us-west-1-387358288273' with key 'resources/environments/e-agef2s8n6m/_runtime/_versions/yer/app-8d3e-190127_214925' and version '' to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T16:30:51.565Z] INFO [2936] : Size: 9505071, ETag: "c7556823a8b28f932db1dacb36d8a3bc", Metadata: {"environmentid"=>"e-agef2s8n6m", "requestid"=>"d64c1b5e-b38d-4c6b-b6cd-33bc5883301e"}.
- [2019-01-27T16:30:51.798Z] INFO [2936] : Downloaded size: 9505071.
- [2019-01-27T16:30:51.798Z] INFO [2936] : Successfully downloaded to '/opt/elasticbeanstalk/deploy/appsource/source_bundle'.
- [2019-01-27T16:30:51.808Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook] : Starting activity...
- [2019-01-27T16:30:51.808Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Starting activity...
- [2019-01-27T16:30:51.920Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/01_install_xray_daemon.sh] : Completed activity. Result:
- Executing: /bin/chown -R xray:xray /var/log/xray
- [2019-01-27T16:30:51.920Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/01_setup_envvars.sh] : Starting activity...
- [2019-01-27T16:30:52.145Z] INFO [2869] - [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-27T16:30:52.147Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/02_web_user.sh] : Starting activity...
- [2019-01-27T16:30:52.273Z] INFO [2869] - [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-27T16:30:52.273Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/03_common_packages.sh] : Starting activity...
- [2019-01-27T16:30:52.554Z] INFO [2869] - [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-west-1.amazonaws.com/elasticbeanstalk-env-resources-us-west-1/stalks/eb_ruby_passenger_4.0.1.201578.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.3.8
- + 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.3.8
- + ln -sf /opt/rubies/ruby-2.3.8 /opt/rubies/ruby-current
- + ln -sf /opt/elasticbeanstalk/support/scripts/use-app-ruby.sh /etc/profile.d/
- [2019-01-27T16:30:52.554Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/04_passenger_packages.sh] : Starting activity...
- [2019-01-27T16:30:52.557Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/04_passenger_packages.sh] : Completed activity. Result:
- + is_baked passenger_packages
- + [[ -f /etc/elasticbeanstalk/baking_manifest/passenger_packages ]]
- + true
- + echo Passenger supporting packages have already been installed. Skipping installation.
- Passenger supporting packages have already been installed. Skipping installation.
- [2019-01-27T16:30:52.557Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/10_layout.sh] : Starting activity...
- [2019-01-27T16:30:53.017Z] INFO [2869] - [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/support/logs
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_pid_dir
- + EB_APP_PID_DIR=/var/app/support/pids
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_asset_dir
- + EB_APP_ASSET_DIR=/var/app/support/assets
- + mkdir -p /var/app/current /var/app/support/logs /var/app/support/pids /var/app/support/assets
- + chown -R webapp:webapp /var/app/current /var/app/support/logs /var/app/support/pids /var/app/support/assets
- [2019-01-27T16:30:53.018Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/11_logging.sh] : Starting activity...
- [2019-01-27T16:30:53.167Z] INFO [2869] - [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/support/logs
- + /opt/elasticbeanstalk/bin/log-conf -n webapp '-l/var/app/support/logs/*'
- + rm -f /etc/logrotate.d/nginx
- [2019-01-27T16:30:53.167Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/12_leader_only_script.sh] : Starting activity...
- [2019-01-27T16:30:53.264Z] INFO [2869] - [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-27T16:30:53.264Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/22_gems.sh] : Starting activity...
- [2019-01-27T16:30:53.576Z] INFO [2869] - [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/passenger
- + . /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.3.8
- ++ 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
- ++ match=/opt/rubies/ruby-2.3.8
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ 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.3.8 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.3.8 ''
- ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/opt/elasticbeanstalk/lib/ruby/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.3.8/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.3.8;
- export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.3.8
- +++ RUBY_VERSION=2.3.8
- +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.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-27T16:30:53.576Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/25_passenger.sh] : Starting activity...
- [2019-01-27T16:30:53.853Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/25_passenger.sh] : Completed activity. Result:
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ /opt/elasticbeanstalk/bin/get-config container -k tarball_url
- + EB_TARBALL_URL=https://s3.dualstack.us-west-1.amazonaws.com/elasticbeanstalk-env-resources-us-west-1/stalks/eb_ruby_passenger_4.0.1.201578.0/lib/tarballs
- ++ /opt/elasticbeanstalk/bin/get-config container -k passenger_version
- + EB_PASSENGER_VERSION=4.0.60
- + ln -sf /opt/elasticbeanstalk/support/conf/passenger /etc/init.d/passenger
- + chmod +x /etc/init.d/passenger
- + chkconfig passenger on
- + is_baked passenger_standalone
- + [[ -f /etc/elasticbeanstalk/baking_manifest/passenger_standalone ]]
- + true
- + echo Passenger standalone has already been installed. Skipping installation.
- Passenger standalone has already been installed. Skipping installation.
- [2019-01-27T16:30:53.853Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/26_passenger_start.sh] : Starting activity...
- [2019-01-27T16:31:28.913Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/26_passenger_start.sh] : Completed activity. Result:
- + service passenger start
- ++ /opt/elasticbeanstalk/bin/get-config container -k http_port
- + EB_HTTP_PORT=80
- ++ /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_pid_dir
- + EB_APP_PID_DIR=/var/app/support/pids
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/support/logs
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ /opt/elasticbeanstalk/bin/get-config container -k nginx_version
- + EB_NGINX_VERSION=1.12.1
- + . /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.3.8
- ++ 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
- ++ match=/opt/rubies/ruby-2.3.8
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ 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.3.8 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.3.8 ''
- ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.3.8/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.3.8;
- export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.3.8
- +++ RUBY_VERSION=2.3.8
- +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- ++ (( 0 != 0 ))
- + '[' -f /etc/elasticbeanstalk/set-ulimit.sh ']'
- + . /etc/elasticbeanstalk/set-ulimit.sh
- +++ cat /proc/sys/fs/file-max
- ++ FILES_MAX=98389
- ++ [[ ! 98389 =~ ^[0-9]+$ ]]
- ++ let USER_LIMIT=98389/3
- ++ '[' 32796 -lt 4096 ']'
- ++ '[' 32796 -gt 200000 ']'
- ++ ulimit -n 32796
- + export HOME=/tmp
- + HOME=/tmp
- + export PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
- + PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
- + '[' -d /etc/healthd ']'
- + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb'
- + ENV_STAGE=production
- + '[' production = production ']'
- + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages'
- + GENERALOPTS='-p 80 --pid-file /var/app/support/pids/passenger.pid'
- + case "$1" in
- + passenger-status
- ERROR: Phusion Passenger doesn't seem to be running.
- + start
- + touch /var/app/support/logs/passenger.log
- + '[' -d /etc/healthd ']'
- + mkdir -p /var/app/support/logs/healthd
- + chown -R webapp:webapp /var/app/support/logs/healthd
- + chown webapp:webapp /var/app/support/logs/passenger.log
- + passenger start /var/app/current --nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages -p 80 --pid-file /var/app/support/pids/passenger.pid -d -e production --user webapp --log-file /var/app/support/logs/passenger.log
- --> Downloading web helper for your platform
- Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/4.0.60/webhelper-1.12.1-x86_64-linux.tar.gz: The requested URL returned error: 404
- Trying next mirror...
- Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/4.0.60/webhelper-1.12.1-x86_64-linux.tar.gz: The requested URL returned error: 403 Forbidden
- No binary is available for your platform. Will compile it from source.
- Checking for required software...
- [1m* Checking for C compiler...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /usr/bin/cc
- [1m* Checking for C++ compiler...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /usr/bin/c++
- [1m* Checking for GNU make...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /usr/bin/gmake
- [1m* Checking for OpenSSL support for Ruby...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- [1m* Checking for RubyGems...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- [1m* Checking for Rake (associated with /opt/rubies/ruby-2.3.8/bin/ruby)...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /opt/rubies/ruby-2.3.8/bin/ruby /opt/rubies/ruby-2.3.8/bin/rake
- [1m* Checking for rack...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- [1m* Checking for Curl development headers with SSL support...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- curl-config location: /usr/bin/curl-config
- Header location: /usr/include/curl/curl.h
- Version: libcurl 7.53.1
- Usable: yes
- Supports SSL: yes
- [1m* Checking for OpenSSL development headers...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /usr/include/openssl/ssl.h
- [1m* Checking for Zlib development headers...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /usr/include/zlib.h
- [1m* Checking for PCRE development headers...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Location: /usr/include/pcre.h
- [1m* Checking for daemon_controller >= 1.1.0...[0m[37m[40m
- Found: [1m[32myes[0m[37m[40m
- Installed version: 1.2.0
- Installing Phusion Passenger Standalone...
- Downloading web helper source code...
- [Extracting web helper source].........................................................................................................................[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Preparing web helper... \].[Preparing web helper... |].[Preparing web helper... /].[Preparing web helper... -].[Compiling web helper]...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................[Copying files].
- --> Compiling passenger_native_support.so for the current Ruby interpreter...
- (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
- Compilation succesful. The logs are here:
- /tmp/passenger_native_support-sa2oua.log
- --> passenger_native_support.so successfully loaded.
- =============== Phusion Passenger Standalone web server started ===============
- PID file: /var/app/support/pids/passenger.pid
- Log file: /var/app/support/logs/passenger.log
- Environment: production
- Accessible via: http://0.0.0.0/
- Serving in the background as a daemon.
- Problems? Check https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#troubleshooting
- ===============================================================================
- [2019-01-27T16:31:28.914Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_healthd_passenger_log_cleanup.sh] : Starting activity...
- [2019-01-27T16:31:29.070Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_healthd_passenger_log_cleanup.sh] : Completed activity.
- [2019-01-27T16:31:29.071Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook/27_nodejs.sh] : Starting activity...
- [2019-01-27T16:31:29.074Z] INFO [2869] - [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-27T16:31:29.074Z] INFO [2869] - [Initialization/PreInitStage0/PreInitHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/preinit.
- [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/PreInitStage0] : Completed activity. Result:
- Initialization - Command CMD-PreInit stage 0 completed
- [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/AddonsAfter] : Starting activity...
- [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization/AddonsAfter] : Completed activity.
- [2019-01-27T16:31:29.074Z] INFO [2869] - [Initialization] : Completed activity. Result:
- Initialization - Command CMD-PreInit succeeded
- [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1] : Starting activity...
- [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore] : Starting activity...
- [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent] : Starting activity...
- [2019-01-27T16:31:53.644Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent/10-config.sh] : Starting activity...
- [2019-01-27T16:31:53.767Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent/10-config.sh] : Completed activity. Result:
- Log streaming option setting is not specified, ignore cloudwatch logs setup.
- Disabled log streaming.
- [2019-01-27T16:31:53.767Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore/ConfigCWLAgent] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logstreaming/hooks/config.
- [2019-01-27T16:31:53.767Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsBefore] : Completed activity.
- [2019-01-27T16:31:54.159Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0] : Starting activity...
- [2019-01-27T16:31:54.159Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdLogRotation] : Starting activity...
- [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdLogRotation] : Completed activity. Result:
- ["/etc/cron.hourly/cron.logrotate.elasticbeanstalk.healthd.conf"]
- [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdHTTPDLogging] : Starting activity...
- [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdHTTPDLogging] : Completed activity.
- [2019-01-27T16:31:54.164Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdNginxLogging] : Starting activity...
- [2019-01-27T16:31:54.165Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/HealthdNginxLogging] : Completed activity.
- [2019-01-27T16:31:54.165Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild] : Starting activity...
- [2019-01-27T16:31:54.562Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Starting activity...
- [2019-01-27T16:31:54.566Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer] : Starting activity...
- [2019-01-27T16:31:55.193Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer/yum install git] : Starting activity...
- [2019-01-27T16:31:56.822Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer/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 25 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-27T16:31:56.822Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_0_yer] : Completed activity.
- [2019-01-27T16:31:56.822Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild] : Completed activity.
- [2019-01-27T16:31:56.843Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPreBuild] : Completed activity.
- [2019-01-27T16:31:56.843Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook] : Starting activity...
- [2019-01-27T16:31:56.843Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Starting activity...
- [2019-01-27T16:31:56.954Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_configure_xray.sh] : Completed activity.
- [2019-01-27T16:31:56.955Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_unzip.rb] : Starting activity...
- [2019-01-27T16:31:57.448Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/01_unzip.rb] : Completed activity.
- [2019-01-27T16:31:57.448Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/02_setup_envvars.sh] : Starting activity...
- [2019-01-27T16:31:57.674Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/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-27T16:31:57.674Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/10_bundle_install.sh] : Starting activity...
- [2019-01-27T16:34:45.259Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/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.3.8
- ++ 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
- ++ match=/opt/rubies/ruby-2.3.8
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ 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.3.8 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.3.8 ''
- ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.3.8/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.3.8;
- export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.3.8
- +++ RUBY_VERSION=2.3.8
- +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.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`.
- Fetching gem metadata from https://rubygems.org/...........
- 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
- Fetching thread_safe 0.3.6
- Installing 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
- Fetching builder 3.2.3
- Installing builder 3.2.3
- Fetching erubis 2.7.0
- Installing 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
- Fetching rack-test 0.6.3
- Installing 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
- Fetching websocket-driver 0.6.5
- Installing websocket-driver 0.6.5 with native extensions
- 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
- Fetching arbre 1.1.1
- Installing arbre 1.1.1
- 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.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
- 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.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
- Fetching arel 7.1.4
- Installing 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
- Fetching orm_adapter 0.5.0
- Installing 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
- Fetching nested_scaffold 1.0.0
- Installing nested_scaffold 1.0.0
- Fetching pg 0.20.0
- Installing pg 0.20.0 with native extensions
- 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.
- Bundled gems are installed into `./vendor/bundle`
- 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 = 1 ']'
- + cd /var/app/ondeck
- + chown -R webapp:webapp ./vendor/bundle
- + echo 'Modified the owner of '\''vendor/bundle'\'' files'
- Modified the owner of 'vendor/bundle' files
- [2019-01-27T16:34:45.260Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Starting activity...
- [2019-01-27T16:35:13.348Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/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.3.8
- ++ 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
- ++ match=/opt/rubies/ruby-2.3.8
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ 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.3.8 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.3.8 ''
- ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.3.8/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.3.8;
- export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.3.8
- +++ RUBY_VERSION=2.3.8
- +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.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-27T16:34:52.239154 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css
- I, [2019-01-27T16:34:52.239529 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-6f1b843b5bbbbe3257701ffd3bd6475c519e5523a0e1604f9c9af6ec18e4ad25.css.gz
- I, [2019-01-27T16:34:52.239854 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow-15084d93c65c1964d7077700ea748bd2d70cfa2d4c19707c58a9c64e232dd442.gif
- I, [2019-01-27T16:34:52.240191 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/nested_menu_arrow_dark-7c43b8e0a5f8823875f49a093c9d7a6b374f885b6f9cc248ae9cd7e6e9b29034.gif
- I, [2019-01-27T16:34:52.240511 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/orderable-29374dbb55b0012d78a37c614d573bb3474f0779849b478a147d0f1845ca6617.png
- I, [2019-01-27T16:34:52.540433 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css
- I, [2019-01-27T16:34:52.540801 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin/print-cf99cbf27fb92065a9eacd28e6fad48fa72cadaf6e0918790e8d35b11d8f99f6.css.gz
- I, [2019-01-27T16:35:02.655405 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js
- I, [2019-01-27T16:35:02.655990 #19926] INFO -- : Writing /var/app/ondeck/public/assets/active_admin-aad478f9674ed0cc76f83512b458a5e516b90e017d64c576f5f9eaf05ea52b38.js.gz
- I, [2019-01-27T16:35:02.663102 #19926] INFO -- : Writing /var/app/ondeck/public/assets/danger-869dd8b0616e1a5b646dc898db2a5d6428f45fe14a90fa6d0c7130f64d886c48.png
- I, [2019-01-27T16:35:02.670652 #19926] INFO -- : Writing /var/app/ondeck/public/assets/dark-607bed84e53ccb497978bd3ae9e51d4b57de94e954da4e8e1ec5b51a78d8898e.png
- I, [2019-01-27T16:35:02.674416 #19926] INFO -- : Writing /var/app/ondeck/public/assets/do-e798277592b8fde73e6568cdde6687220f6d2a83f53250c561edf11619d5b1c1.jpg
- I, [2019-01-27T16:35:02.678658 #19926] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico
- I, [2019-01-27T16:35:02.678943 #19926] INFO -- : Writing /var/app/ondeck/public/assets/favicon-21c44bf091fb9557f8a4527913b0254924fc136d6e71dcee1676b7f37c8175ef.ico.gz
- I, [2019-01-27T16:35:02.688032 #19926] INFO -- : Writing /var/app/ondeck/public/assets/home-f3281914e0ac5072115e9ba6f458cec56ad002cc5e65ca75988afc86af858e01.jpg
- I, [2019-01-27T16:35:02.691600 #19926] INFO -- : Writing /var/app/ondeck/public/assets/info-967cdd33af0671563a0e72bed22f1cddb95a138e241dffbd5013750360bf7113.png
- I, [2019-01-27T16:35:02.694721 #19926] INFO -- : Writing /var/app/ondeck/public/assets/primary-093ae3386f858ff56855e5c8a09137d4ce87c2c7aa2b152af81eac5d7667a98d.png
- I, [2019-01-27T16:35:02.698769 #19926] INFO -- : Writing /var/app/ondeck/public/assets/secondary-1c1a37a441b0e6f6ca2bfb1435df8f1160a0e4ec1db5798a5e5a72374172942c.png
- I, [2019-01-27T16:35:02.702542 #19926] INFO -- : Writing /var/app/ondeck/public/assets/success-5a1b362ddb5e5ed6131beffc575d91a3615864b678d24706bff24b055b6a594c.png
- I, [2019-01-27T16:35:02.706081 #19926] INFO -- : Writing /var/app/ondeck/public/assets/warning-a3e35927fa71a99455166de5b62a03122ffb5287e33c9ed2c42532622f543fa5.png
- I, [2019-01-27T16:35:08.394002 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js
- I, [2019-01-27T16:35:08.394486 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-5770a9512b971d7fb2a232494ee2a78c8f1d383bfc452a26a9dea3a712e6c3b2.js.gz
- I, [2019-01-27T16:35:13.265631 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css
- I, [2019-01-27T16:35:13.266073 #19926] INFO -- : Writing /var/app/ondeck/public/assets/application-da22e659ddaed5260aa445b696e4e8945e554c6c97884a0be799b74eb511ccf3.css.gz
- [2019-01-27T16:35:13.348Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook/12_db_migration.sh] : Starting activity...
- [2019-01-27T16:35:17.648Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/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.3.8
- ++ 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
- ++ match=/opt/rubies/ruby-2.3.8
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ 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.3.8 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.3.8 ''
- ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- ++ PATH=/opt/rubies/ruby-2.3.8/bin:/opt/elasticbeanstalk/lib/ruby/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
- +++ /opt/rubies/ruby-2.3.8/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.3.8;
- export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.3.8
- +++ RUBY_VERSION=2.3.8
- +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.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.0125s
- -- add_index(:users, :username, {:unique=>true})
- -> 0.0096s
- -- add_index(:users, :reset_password_token, {:unique=>true})
- -> 0.0070s
- == 20170421075651 DeviseCreateUsers: migrated (0.0292s) =======================
- == 20170421115026 CreateBlogs: migrating ======================================
- -- create_table(:blogs)
- -> 0.0086s
- == 20170421115026 CreateBlogs: migrated (0.0086s) =============================
- == 20170421163133 CreatePosts: migrating ======================================
- -- create_table(:posts)
- -> 0.0076s
- == 20170421163133 CreatePosts: migrated (0.0076s) =============================
- == 20170510173228 DeviseCreateAdminUsers: migrating ===========================
- -- create_table(:admin_users)
- -> 0.0111s
- -- add_index(:admin_users, :email, {:unique=>true})
- -> 0.0072s
- -- add_index(:admin_users, :reset_password_token, {:unique=>true})
- -> 0.0070s
- == 20170510173228 DeviseCreateAdminUsers: migrated (0.0253s) ==================
- == 20170510173241 CreateActiveAdminComments: migrating ========================
- -- create_table(:active_admin_comments)
- -> 0.0208s
- -- add_index(:active_admin_comments, [:namespace])
- -> 0.0071s
- == 20170510173241 CreateActiveAdminComments: migrated (0.0279s) ===============
- == 20171216180348 AddMarkWorkInProgressToPosts: migrating =====================
- -- add_column(:posts, :mark_work_in_progress, :boolean)
- -> 0.0017s
- == 20171216180348 AddMarkWorkInProgressToPosts: migrated (0.0017s) ============
- [2019-01-27T16:35:17.648Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/AppDeployPreHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
- [2019-01-27T16:35:17.649Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild] : Starting activity...
- [2019-01-27T16:35:18.375Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
- [2019-01-27T16:35:18.376Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Completed activity.
- [2019-01-27T16:35:18.391Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/EbExtensionPostBuild] : Completed activity.
- [2019-01-27T16:35:18.391Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/InfraCleanEbExtension] : Starting activity...
- [2019-01-27T16:35:18.424Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0/InfraCleanEbExtension] : Completed activity. Result:
- Cleaned ebextensions subdirectories from /var/app/ondeck.
- [2019-01-27T16:35:18.424Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage0] : Completed activity. Result:
- Application deployment - Command CMD-Startup stage 0 completed
- [2019-01-27T16:35:18.424Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1] : Starting activity...
- [2019-01-27T16:35:18.425Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook] : Starting activity...
- [2019-01-27T16:35:18.427Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01_flip.sh] : Starting activity...
- [2019-01-27T16:35:18.716Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/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-27T16:35:18.716Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Starting activity...
- [2019-01-27T16:35:20.902Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/01stop_xray.sh] : Completed activity. Result:
- Executing: if ( initctl status xray | grep start ); then initctl stop xray; fi
- xray start/running, process 2274
- xray stop/waiting
- [2019-01-27T16:35:20.902Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Starting activity...
- [2019-01-27T16:35:21.013Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/02start_xray.sh] : Completed activity.
- [2019-01-27T16:35:21.013Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/99_reload_app_server.sh] : Starting activity...
- [2019-01-27T16:35:22.350Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook/99_reload_app_server.sh] : Completed activity. Result:
- + service passenger restart
- ++ /opt/elasticbeanstalk/bin/get-config container -k http_port
- + EB_HTTP_PORT=80
- ++ /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_pid_dir
- + EB_APP_PID_DIR=/var/app/support/pids
- ++ /opt/elasticbeanstalk/bin/get-config container -k app_log_dir
- + EB_APP_LOG_DIR=/var/app/support/logs
- ++ /opt/elasticbeanstalk/bin/get-config container -k script_dir
- + EB_SCRIPT_DIR=/opt/elasticbeanstalk/support/scripts
- ++ /opt/elasticbeanstalk/bin/get-config container -k support_dir
- + EB_SUPPORT_DIR=/opt/elasticbeanstalk/support
- ++ /opt/elasticbeanstalk/bin/get-config container -k nginx_version
- + EB_NGINX_VERSION=1.12.1
- + . /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.3.8
- ++ 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
- ++ match=/opt/rubies/ruby-2.3.8
- ++ for dir in '"${RUBIES[@]}"'
- ++ dir=/opt/rubies/ruby-2.4.5
- ++ case "${dir##*/}" in
- ++ 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.3.8 ]]
- ++ shift
- ++ chruby_use /opt/rubies/ruby-2.3.8 ''
- ++ [[ ! -x /opt/rubies/ruby-2.3.8/bin/ruby ]]
- ++ [[ -n '' ]]
- ++ export RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ RUBY_ROOT=/opt/rubies/ruby-2.3.8
- ++ export RUBYOPT=
- ++ RUBYOPT=
- ++ export PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
- ++ PATH=/opt/rubies/ruby-2.3.8/bin:/sbin:/usr/sbin:/bin:/usr/bin
- +++ /opt/rubies/ruby-2.3.8/bin/ruby -
- ++ eval 'export RUBY_ENGINE=ruby;
- export RUBY_VERSION=2.3.8;
- export GEM_ROOT="/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0";'
- +++ export RUBY_ENGINE=ruby
- +++ RUBY_ENGINE=ruby
- +++ export RUBY_VERSION=2.3.8
- +++ RUBY_VERSION=2.3.8
- +++ export GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- +++ GEM_ROOT=/opt/rubies/ruby-2.3.8/lib/ruby/gems/2.3.0
- ++ (( 0 != 0 ))
- + '[' -f /etc/elasticbeanstalk/set-ulimit.sh ']'
- + . /etc/elasticbeanstalk/set-ulimit.sh
- +++ cat /proc/sys/fs/file-max
- ++ FILES_MAX=98389
- ++ [[ ! 98389 =~ ^[0-9]+$ ]]
- ++ let USER_LIMIT=98389/3
- ++ '[' 32796 -lt 4096 ']'
- ++ '[' 32796 -gt 200000 ']'
- ++ ulimit -n 32796
- + export HOME=/tmp
- + HOME=/tmp
- + export PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
- + PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0
- + '[' -d /etc/healthd ']'
- + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb'
- + ENV_STAGE=production
- + '[' production = production ']'
- + STARTOPTS='--nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages'
- + GENERALOPTS='-p 80 --pid-file /var/app/support/pids/passenger.pid'
- + case "$1" in
- + stop
- + passenger stop -p 80 --pid-file /var/app/support/pids/passenger.pid
- + start
- + touch /var/app/support/logs/passenger.log
- + '[' -d /etc/healthd ']'
- + mkdir -p /var/app/support/logs/healthd
- + chown -R webapp:webapp /var/app/support/logs/healthd
- + chown webapp:webapp /var/app/support/logs/passenger.log
- + passenger start /var/app/current --nginx-version 1.12.1 --nginx-config-template /opt/elasticbeanstalk/support/conf/nginx_config_healthd.erb --no-friendly-error-pages -p 80 --pid-file /var/app/support/pids/passenger.pid -d -e production --user webapp --log-file /var/app/support/logs/passenger.log
- =============== Phusion Passenger Standalone web server started ===============
- PID file: /var/app/support/pids/passenger.pid
- Log file: /var/app/support/logs/passenger.log
- Environment: production
- Accessible via: http://0.0.0.0/
- Serving in the background as a daemon.
- Problems? Check https://www.phusionpassenger.com/documentation/Users%20guide%20Standalone.html#troubleshooting
- ===============================================================================
- [2019-01-27T16:35:22.350Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployEnactHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/enact.
- [2019-01-27T16:35:22.350Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook] : Starting activity...
- [2019-01-27T16:35:22.351Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_create_pids.sh] : Starting activity...
- [2019-01-27T16:35:22.512Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_create_pids.sh] : Completed activity.
- [2019-01-27T16:35:22.512Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook/01_rails_support.sh] : Starting activity...
- [2019-01-27T16:35:22.705Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/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/support/logs
- + ln -sf /var/app/current/log/production.log /var/app/support/logs
- [2019-01-27T16:35:22.705Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/AppDeployPostHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/post.
- [2019-01-27T16:35:22.706Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/PostInitHook] : Starting activity...
- [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1/PostInitHook] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/postinit.
- [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/StartupStage1] : Completed activity. Result:
- Application deployment - Command CMD-Startup stage 1 completed
- [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter] : Starting activity...
- [2019-01-27T16:35:22.707Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation] : Starting activity...
- [2019-01-27T16:35:22.710Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation/10-config.sh] : Starting activity...
- [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation/10-config.sh] : Completed activity. Result:
- Disabled forced hourly log rotation.
- [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter/ConfigLogRotation] : Completed activity. Result:
- Successfully execute hooks in directory /opt/elasticbeanstalk/addons/logpublish/hooks/config.
- [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1/AddonsAfter] : Completed activity.
- [2019-01-27T16:35:22.795Z] INFO [6008] - [Application deployment app-8d3e-190127_214925@1] : Completed activity. Result:
- Application deployment - Command CMD-Startup succeeded
- [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs] : Starting activity...
- [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs/AddonsBefore] : Starting activity...
- [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs/AddonsBefore] : Completed activity.
- [2019-01-27T16:36:01.958Z] INFO [20351] - [CMD-TailLogs/TailLogs] : Starting activity...
- [2019-01-27T16:36:01.959Z] INFO [20351] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
- [2019-01-27T16:36:02.224Z] INFO [20351] - [CMD-TailLogs/TailLogs/TailLogs] : Completed activity.
- [2019-01-27T16:36:02.224Z] INFO [20351] - [CMD-TailLogs/TailLogs] : Completed activity. Result:
- CMD-TailLogs - stage 0 - Command CMD-TailLogs stage 0 completed
- [2019-01-27T16:36:02.224Z] INFO [20351] - [CMD-TailLogs/AddonsAfter] : Starting activity...
- [2019-01-27T16:36:02.225Z] INFO [20351] - [CMD-TailLogs/AddonsAfter] : Completed activity.
- [2019-01-27T16:36:02.225Z] INFO [20351] - [CMD-TailLogs] : Completed activity. Result:
- CMD-TailLogs - Command CMD-TailLogs succeeded
- [2019-01-27T16:40:21.510Z] INFO [20586] - [CMD-BundleLogs] : Starting activity...
- [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/AddonsBefore] : Starting activity...
- [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/AddonsBefore] : Completed activity.
- [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/BundleLogs] : Starting activity...
- [2019-01-27T16:40:21.511Z] INFO [20586] - [CMD-BundleLogs/BundleLogs/BundleLogs] : Starting activity...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement