Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue deploying rails 5 application to AWS using Elastic Beanstalk due to rb-readline #143

Open
theasteve opened this issue Oct 24, 2017 · 5 comments

Comments

@theasteve
Copy link

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:in require' /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:in require' /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:in each' /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:in each' /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:in require' /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/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in load' /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:in raw_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: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: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:in block 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:in run' /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:in load' /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:in load' /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:in run' /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:in run' /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:in dispatch' /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:in start' /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:in block 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: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 '
    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:in require' /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:in require' /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:in each' /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:in each' /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:in require' /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/lib/ruby/gems/2.3.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in load' /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:in raw_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: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: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:in block 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:in run' /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:in load' /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:in load' /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:in run' /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:in run' /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:in dispatch' /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:in start' /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:in block 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: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 '
    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!
[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:in require_relative'\n/var/app/ondeck/Rakefile:4:in <top (required)>'\n/opt/rubies/ruby-2.3.5/bin/bundle:23:in load'\n/opt/rubies/ruby-2.3.5/bin/bundle:23:in

'\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: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...

@natsteinmetz
Copy link

Hi @theasteve, did you ever solve this?

@theasteve
Copy link
Author

@natsteinmetz yes I did. I will provide more information since it's been a while since I worked on this project. In an overview was installing rb-readline gem.

@natsteinmetz
Copy link

Oh I see, yes, that makes sense. Thanks.

@Spakman
Copy link
Collaborator

Spakman commented Aug 3, 2019

Did this ever get resolved to your satisfaction? Can we close this now or is there something still to fix?

@ishields
Copy link

@theasteve and @natsteinmetz Do you guys remember what the solution for this was?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants