簡體   English   中英

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

我將繼續使用它,並在可能的情況下進行報告。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM