Elastic Beanstalk:`/ opt / elasticbeanstalk / containerfiles / envvars:没有这样的文件或目录`

时间:2016-08-05 15:14:48

标签: ruby-on-rails amazon-web-services elastic-beanstalk sidekiq

我使用Elastic Beanstalk部署Rails应用程序。我也尝试使用下面的脚本设置Sidekiq。但是我一直收到错误/opt/elasticbeanstalk/containerfiles/envvars: No such file or directory。我通过SSH连接到EC2实例,目录确实存在。我不确定我在这里做错了什么

Gist I'm currently using

我得到的错误:

ERROR: [Instance: i-03a6fa2e1b96474be] Command failed on instance. Return code: 10 Output: (TRUNCATED)...hooks/appdeploy/post/50_restart_sidekiq: line 3: /opt/elasticbeanstalk/containerfiles/envvars: No such file or directory
/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq: line 7: cd: HOME not set
Could not locate Gemfile or .bundle/ directory.
Hook /opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

0 个答案:

没有答案