Can't deploy to AWS Elastic Beanstalk after timeout

与世无争的帅哥 提交于 2020-05-12 15:29:03

问题


I am newish to AWS Elastic Beanstalk and this is the first time I have encountered this issue. I tried deploying a new version via zip upload of my app to an instance and the updated completed with errors:

"Completed but with Command Line Timeouts", I increased the timeout in the config file and redeployed, after which I got this message.

During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version.

This repeats each time try to redeploy.

I went into the EC2 instance and noticed the the /var/app/ondeck folder was still there.

I assume this is the issue, but i doubt that simply removing this directory would be the answer - unless it is that simple.

The /var app/current version is still present and the app runs fine using the version that was deployed prior to the initial timeout.

I inherited this app it is Laravel and the composer scripts take a while to run.

Thanks for any help.


回答1:


I have faced same problem. When I update back previous platform version, it turns to healthy state, and I can deploy now.



来源:https://stackoverflow.com/questions/29350160/cant-deploy-to-aws-elastic-beanstalk-after-timeout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!