-
Notifications
You must be signed in to change notification settings - Fork 54
Description
I am trying to deploy a rails 5 app to AWS using Elastic Beanstalk but it display an error with rb-readline in the logs.
+++ export RUBY_VERSION=2.3.5
+++ RUBY_VERSION=2.3.5
+++ export GEM_ROOT=/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0
+++ GEM_ROOT=/opt/rubies/ruby-2.3.5/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. rake aborted! Bundler::GemRequireError: There was an error while trying to load the gem 'rb-readline'. Gem Load Error is: HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory Backtrace for gem load error is: /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rbreadline.rb:1097:in
module:RbReadline'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rbreadline.rb:17:in<top (required)>' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/readline.rb:10:in
require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/readline.rb:10:in<module:Readline>' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/readline.rb:8:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rb-readline.rb:16:inrequire' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rb-readline.rb:16:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:82:inrequire' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:82:in
block (2 levels) in require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:77:ineach' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:77:in
block in require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:66:ineach' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:66:in
require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler.rb:108:inrequire' /var/app/ondeck/config/application.rb:17:in
<top (required)>'
/var/app/ondeck/Rakefile:4:inrequire_relative' /var/app/ondeck/Rakefile:4:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:inload' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in
load_rakefile'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:687:inraw_load_rakefile' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:96:in
block in load_rakefile'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:instandard_exception_handling' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:95:in
load_rakefile'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:79:inblock in run' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in
standard_exception_handling'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:77:inrun' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/exe/rake:27:in
<top (required)>'
/opt/rubies/ruby-2.3.5/bin/rake:23:inload' /opt/rubies/ruby-2.3.5/bin/rake:23:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:inload' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in
kernel_load'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:inrun' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in
exec'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:inrun' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in
invoke_command'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor.rb:369:indispatch' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli.rb:20:in
dispatch'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/base.rb:444:instart' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli.rb:10:in
start'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/exe/bundle:35:inblock in <top (required)>' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in
with_friendly_errors'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/exe/bundle:27:in<top (required)>' /opt/rubies/ruby-2.3.5/bin/bundle:23:in
load'
/opt/rubies/ruby-2.3.5/bin/bundle:23:in<main>' Bundler Error Backtrace: /var/app/ondeck/config/application.rb:17:in
<top (required)>'
/var/app/ondeck/Rakefile:4:inrequire_relative' /var/app/ondeck/Rakefile:4:in
<top (required)>'
/opt/rubies/ruby-2.3.5/bin/bundle:23:inload' /opt/rubies/ruby-2.3.5/bin/bundle:23:in
'
HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory
/var/app/ondeck/config/application.rb:17:in<top (required)>' /var/app/ondeck/Rakefile:4:in
require_relative'
/var/app/ondeck/Rakefile:4:in<top (required)>' /opt/rubies/ruby-2.3.5/bin/bundle:23:in
load'
/opt/rubies/ruby-2.3.5/bin/bundle:23:in `'
(See full trace by running task with --trace) (Executor::NonZeroExitStatus)[2017-10-24T19:08:16.436Z] INFO [3152] - [Application deployment app-cd09-171024_150253@1/StartupStage0/AppDeployPreHook/11_asset_compilation.sh] : Activity failed.
[2017-10-24T19:08:16.436Z] INFO [3152] - [Application deployment app-cd09-171024_150253@1/StartupStage0/AppDeployPreHook] : Activity failed.
[2017-10-24T19:08:16.436Z] INFO [3152] - [Application deployment app-cd09-171024_150253@1/StartupStage0] : Activity failed.
[2017-10-24T19:08:16.437Z] INFO [3152] - [Application deployment app-cd09-171024_150253@1] : Completed activity. Result:
Application deployment - Command CMD-Startup failed
[2017-10-24T19:09:45.189Z] INFO [16243] - [CMD-TailLogs] : Starting activity...
[2017-10-24T19:09:45.189Z] INFO [16243] - [CMD-TailLogs/AddonsBefore] : Starting activity...
[2017-10-24T19:09:45.189Z] INFO [16243] - [CMD-TailLogs/AddonsBefore] : Completed activity.
[2017-10-24T19:09:45.190Z] INFO [16243] - [CMD-TailLogs/TailLogs] : Starting activity...
[2017-10-24T19:09:45.190Z] INFO [16243] - [CMD-TailLogs/TailLogs/TailLogs] : Starting activity...
/var/log/nginx/access.log
172.31.86.115 - - [24/Oct/2017:19:05:54 +0000] "GET / HTTP/1.1" 502 173 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0" "74.64.51.115"
172.31.86.115 - - [24/Oct/2017:19:05:54 +0000] "GET /favicon.ico HTTP/1.1" 502 173 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0" "74.64.51.115"
/var/log/eb-commandprocessor.log
- 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. rake aborted! Bundler::GemRequireError: There was an error while trying to load the gem 'rb-readline'. Gem Load Error is: HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory Backtrace for gem load error is: /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rbreadline.rb:1097:in
module:RbReadline'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rbreadline.rb:17:in<top (required)>' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/readline.rb:10:in
require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/readline.rb:10:in<module:Readline>' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/readline.rb:8:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rb-readline.rb:16:inrequire' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rb-readline-0.5.4/lib/rb-readline.rb:16:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:82:inrequire' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:82:in
block (2 levels) in require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:77:ineach' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:77:in
block in require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:66:ineach' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/runtime.rb:66:in
require'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler.rb:108:inrequire' /var/app/ondeck/config/application.rb:17:in
<top (required)>'
/var/app/ondeck/Rakefile:4:inrequire_relative' /var/app/ondeck/Rakefile:4:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:inload' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in
load_rakefile'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:687:inraw_load_rakefile' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:96:in
block in load_rakefile'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:instandard_exception_handling' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:95:in
load_rakefile'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:79:inblock in run' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:178:in
standard_exception_handling'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/application.rb:77:inrun' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/rake-12.0.0/exe/rake:27:in
<top (required)>'
/opt/rubies/ruby-2.3.5/bin/rake:23:inload' /opt/rubies/ruby-2.3.5/bin/rake:23:in
<top (required)>'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:inload' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:74:in
kernel_load'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli/exec.rb:27:inrun' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli.rb:360:in
exec'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/command.rb:27:inrun' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in
invoke_command'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor.rb:369:indispatch' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli.rb:20:in
dispatch'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/vendor/thor/lib/thor/base.rb:444:instart' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/cli.rb:10:in
start'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/exe/bundle:35:inblock in <top (required)>' /opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/lib/bundler/friendly_errors.rb:121:in
with_friendly_errors'
/opt/rubies/ruby-2.3.5/lib/ruby/gems/2.3.0/gems/bundler-1.15.0/exe/bundle:27:in<top (required)>' /opt/rubies/ruby-2.3.5/bin/bundle:23:in
load'
/opt/rubies/ruby-2.3.5/bin/bundle:23:in<main>' Bundler Error Backtrace: /var/app/ondeck/config/application.rb:17:in
<top (required)>'
/var/app/ondeck/Rakefile:4:inrequire_relative' /var/app/ondeck/Rakefile:4:in
<top (required)>'
/opt/rubies/ruby-2.3.5/bin/bundle:23:inload' /opt/rubies/ruby-2.3.5/bin/bundle:23:in
'
HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory
/var/app/ondeck/config/application.rb:17:in<top (required)>' /var/app/ondeck/Rakefile:4:in
require_relative'
/var/app/ondeck/Rakefile:4:in<top (required)>' /opt/rubies/ruby-2.3.5/bin/bundle:23:in
load'
/opt/rubies/ruby-2.3.5/bin/bundle:23:in `'
(See full trace by running task with --trace) (Executor::NonZeroExitStatus)[2017-10-24T19:08:16.437Z] ERROR [3152] : Command CMD-Startup failed!
'\n(See full trace by running task with --trace). \nHook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI","returncode":1,"events":[]}],"truncated":"true"}
[2017-10-24T19:08:16.437Z] INFO [3152] : Command processor returning results:
{"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"(TRUNCATED)...op (required)>'\n/var/app/ondeck/Rakefile:4:inrequire_relative'\n/var/app/ondeck/Rakefile:4:in
<top (required)>'\n/opt/rubies/ruby-2.3.5/bin/bundle:23:inload'\n/opt/rubies/ruby-2.3.5/bin/bundle:23:in
[2017-10-24T19:09:45.180Z] DEBUG [16243] : Reading config file: /etc/elasticbeanstalk/.aws-eb-stack.properties
[2017-10-24T19:09:45.181Z] DEBUG [16243] : Checking if the command processor should execute...
[2017-10-24T19:09:45.184Z] DEBUG [16243] : Checking whether the command is applicable to instance (i-059bf88bd5adc6d81)..
[2017-10-24T19:09:45.184Z] INFO [16243] : Command is applicable to this instance (i-059bf88bd5adc6d81)..
[2017-10-24T19:09:45.184Z] DEBUG [16243] : Checking if the received command stage is valid..
[2017-10-24T19:09:45.184Z] INFO [16243] : No stage_num in command. Valid stage..
[2017-10-24T19:09:45.184Z] INFO [16243] : Received command CMD-TailLogs: {"execution_data":"{"aws_access_key_id":"ASIAIHMJ2W3QMX7UBQYA","signature":"7GNo9j0qs264aWO7zG4Q03pkgBY=","security_token":"FQoDYXdzEDQaDIEt5R1uBSC5fa0LvCLcA0VqnTQH1Rol718C4ZNBUz+z3dLelXnMmMeezpYpJMhM7K7ZR6F5Qu8cV4z+yq8\/dJqQmZVHHer4chNrUTf\/pE1A5jokTOMJNaZKYLv1ooMuMMSQWksb6a7XWTIM6vhB\/aXN6QXRw\/jjrS\/Iiv0r\/UBQJCTNExWfeGUOxvzPbROeVXxR+2wnfIQ09VqwdA2Eezq4mZcycZo42BmwTG0NwRY9ILq4SkNfveT72UJlWGkjrcSf\/s4pqS7f4DyaChT5ath0TpA8dYJMYVioTUp1nDlhhaLFNXM+nBq4OTioQasy1gbmBWaV3cdlOCUNFKhvRsugS1ksAvxRN3lhm\/Rxg1+Ff7ZBHZQPs6WQrH2KrwrBJl1JzmfJ+QzS9LI6uRHszczPHczv5BRIPDPLQuyJyjjNCb9ZSJOOYIFys7jnPnrcb4mcaji366+h\/5LYBEEyBtXNPCJIpBganyGJ4Kw\/1Cd2PsqBGXwR\/H9eOp0X97bPrJKu29wI+Kx3xPSBDMKPvhIuAdS1IOw\/zZ1pKTtnNvrKw5Phl5ddSRYGOZujOvlbdz91jwuzq7pi+fptV8FB9jf7Aa4w6J9Rffbd1cpxfRLwar2DGCIumj6qzHhyHeAK+7O6R6\/cC8Xe79QtKKOdvs8F|NzIuMjEuMjE3Ljc5","policy":"eyJleHBpcmF0aW9uIjoiMjAxNy0xMC0yNFQxOTozOTo0Mi45NDRaIiwiY29uZGl0aW9ucyI6W1sic3RhcnRzLXdpdGgiLCIkeC1hbXotbWV0YS10aW1lX3N0YW1wIiwiIl0sWyJzdGFydHMtd2l0aCIsIiR4LWFtei1tZXRhLXB1Ymxpc2hfbWVjaGFuaXNtIiwiIl0sWyJzdGFydHMtd2l0aCIsIiRrZXkiLCJyZXNvdXJjZXNcL2Vudmlyb25tZW50c1wvbG9nc1wvIl0sWyJzdGFydHMtd2l0aCIsIiR4LWFtei1tZXRhLWJhdGNoX2lkIiwiIl0sWyJzdGFydHMtd2l0aCIsIiR4LWFtei1tZXRhLWZpbGVfbmFtZSIsIiJdLFsic3RhcnRzLXdpdGgiLCIkeC1hbXotc2VjdXJpdHktdG9rZW4iLCIiXSxbInN0YXJ0cy13aXRoIiwiJENvbnRlbnQtVHlwZSIsIiJdLFsiZXEiLCIkYnVja2V0IiwiZWxhc3RpY2JlYW5zdGFsay11cy1lYXN0LTEtOTI1NzQ4NzAxODE0Il0sWyJlcSIsIiRhY2wiLCJwcml2YXRlIl1dfQ=="}","instance_ids":["i-059bf88bd5adc6d81"],"data":"e437ab08-b8ee-11e7-9944-9d72c5ed4b5c","command_name":"CMD-TailLogs","api_version":"1.0","resource_name":"AWSEBAutoScalingGroup","request_id":"e437ab08-b8ee-11e7-9944-9d72c5ed4b5c"}
[2017-10-24T19:09:45.184Z] INFO [16243] : Command processor should execute command.
[2017-10-24T19:09:45.184Z] DEBUG [16243] : Storing current stage..
[2017-10-24T19:09:45.184Z] DEBUG [16243] : Stage_num does not exist. Not saving null stage. Returning..
[2017-10-24T19:09:45.184Z] DEBUG [16243] : Reading config file: /etc/elasticbeanstalk/.aws-eb-stack.properties
[2017-10-24T19:09:45.185Z] DEBUG [16243] : Retrieving metadata for key: AWS::ElasticBeanstalk::Ext||_ContainerConfigFileContent||commands..
[2017-10-24T19:09:45.186Z] DEBUG [16243] : Retrieving metadata for key: AWS::ElasticBeanstalk::Ext||_API||_Commands..
[2017-10-24T19:09:45.186Z] INFO [16243] : Found enabled addons: ["logstreaming", "logpublish"].
[2017-10-24T19:09:45.189Z] INFO [16243] : Updating Command definition of addon logstreaming.
[2017-10-24T19:09:45.189Z] INFO [16243] : Updating Command definition of addon logpublish.
[2017-10-24T19:09:45.189Z] DEBUG [16243] : Loaded definition of Command CMD-TailLogs.
[2017-10-24T19:09:45.189Z] INFO [16243] : Executing CMD-TailLogs
[2017-10-24T19:09:45.189Z] INFO [16243] : Executing command: CMD-TailLogs...
[2017-10-24T19:09:45.189Z] INFO [16243] : Executing command CMD-TailLogs activities...
[2017-10-24T19:09:45.189Z] DEBUG [16243] : Setting environment variables..
[2017-10-24T19:09:45.189Z] INFO [16243] : Running AddonsBefore for command CMD-TailLogs...
[2017-10-24T19:09:45.189Z] DEBUG [16243] : Running stages of Command CMD-TailLogs from stage 0 to stage 0...
[2017-10-24T19:09:45.189Z] INFO [16243] : Running stage 0 of command CMD-TailLogs...
[2017-10-24T19:09:45.190Z] DEBUG [16243] : Loaded 1 actions for stage 0.
[2017-10-24T19:09:45.190Z] INFO [16243] : Running 1 of 1 actions: TailLogs...