ElasticBeanstalk - 应用程序更改未显示

jor*_*dan 7 amazon-web-services amazon-elastic-beanstalk

我正在使用 elasticbeanstalk 通过 AWS 托管一个应用程序。我正在使用工具带从我的本地机器推送我的应用程序。直到几周前,一切正常,但最近我的更改没有生效。我可以在 aws 管理控制台中看到我的应用程序正在被推送和部署,但更改没有通过。

我检查了环境事件日志以查看典型部署中是否有任何新内容,我看到的错误是

ERROR   Update environment operation is complete, but with command timeouts. Try increasing the timeout period. For more information, see troubleshooting documentation.
ERROR   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.
ERROR   Failed to deploy application.
ERROR   Unsuccessful command execution on instance id(s) 'i-8d88a587'. Aborting the operation.
Run Code Online (Sandbox Code Playgroud)

究竟是什么问题,我能做些什么来解决这个问题?

dco*_*ing 6

造成这种情况的原因可能有多种。

下一个故障排除步骤是下载最新的 Elastic Beanstalk 日志(从 Web 控制台或使用eb logs命令行工具)。

打开/var/log/eb-activity.log并查看最后几行以确定失败的确切命令。

例子可以是

  • 服务器卷空间不足或
  • 中的自定义脚本.ebextensions/有一个错误