Rails 4 Elastic Beanstalk 部署错误
Rails 4 Elastic Beanstalk deployment error
我在从 AWS EB CLI 部署时收到以下错误:
ERROR: [Instance: i-aa73ca73] Command failed on instance. Return code: 137 Output: (TRUNCATED)...a68506c488392288a70c5f31c658d338f5a7504ccabe8824ee8de2dd6ca94a.png
I, [2015-11-30T14:28:50.159903 #25859] INFO -- : Writing /var/app/ondeck/public/assets/application-6256e81befb040edb2ea50d5bb17b53518a99712fcea0760a143e8042dfa2326.js
Killed (core dumped).
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
ERROR: Unsuccessful command execution on instance id(s) 'i-aa73ca73'. Aborting the operation.
ERROR: Failed to deploy application.
如有任何帮助,我们将不胜感激。谢谢
我最终浏览了我的 application.js 文件并尝试删除和添加所需的脚本。我将其缩小为以下一项或多项罪魁祸首。
删除:
//= require gmaps/google
//= require rest_in_place
//= require underscore
我会继续玩它并在可能的情况下报告。
我在从 AWS EB CLI 部署时收到以下错误:
ERROR: [Instance: i-aa73ca73] Command failed on instance. Return code: 137 Output: (TRUNCATED)...a68506c488392288a70c5f31c658d338f5a7504ccabe8824ee8de2dd6ca94a.png
I, [2015-11-30T14:28:50.159903 #25859] INFO -- : Writing /var/app/ondeck/public/assets/application-6256e81befb040edb2ea50d5bb17b53518a99712fcea0760a143e8042dfa2326.js
Killed (core dumped).
Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset_compilation.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
INFO: Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
ERROR: Unsuccessful command execution on instance id(s) 'i-aa73ca73'. Aborting the operation.
ERROR: Failed to deploy application.
如有任何帮助,我们将不胜感激。谢谢
我最终浏览了我的 application.js 文件并尝试删除和添加所需的脚本。我将其缩小为以下一项或多项罪魁祸首。
删除:
//= require gmaps/google
//= require rest_in_place
//= require underscore
我会继续玩它并在可能的情况下报告。