gpt4 book ai didi

amazon-web-services - Elastic Beanstalk : Can't deploy to Windows server, 和 EB 不提取任何日志

转载 作者:行者123 更新时间:2023-12-02 12:13:57 25 4
gpt4 key购买 nike

我有 Elastic Beanstalk 运行 Windows Server,带有 IIS,来 self 制作的 AMI。它启动得很好,没有错误。

但是当我尝试部署(形式命令行)时,我得到了这个:

...
INFO: Creating AppVersion app-9e98-160212_104939
INFO: Environment update is starting.
INFO: Deploying new version to instance(s).
INFO: Command execution completed on all instances successfully.
INFO: New application version was deployed to running EC2 instances.
ERROR: Update environment operation is complete, but with errors. For more information, see troubleshooting documentation.

ERROR: ServiceError - Update environment operation is complete, but with errors. For more information, see troubleshooting documentation.

当我尝试提取最后 100 行错误日志时,它根本没有提取任何内容。

我检查了打包应用程序的大小,zip 文件只有 60MB,所以这不是大小问题。

该项目只是一堆 php 文件,所以我想知道它是否出于某种原因不喜欢该项目。

对于追踪问题有什么想法或建议吗?我真的很感谢任何指导,我很茫然。

此外,我找不到有关将部署到哪个目录的任何信息。我怎么知道,以及如何更改它?

谢谢。

最佳答案

当然,我不知道你的自定义AMI是否有问题,但是你可以做的分析问题是:

  1. 通过 RDP 连接到您的实例
  2. cmd
  3. cd\cfn\log
  4. 查看文件 cfn-init*.log

由于这些文件是用 Unix CRLF 编码的,因此几乎无法用记事本读取。我建议您在命令行上使用type cfn-init.log。这多次帮助我定位部署问题。祝你好运。

关于amazon-web-services - Elastic Beanstalk : Can't deploy to Windows server, 和 EB 不提取任何日志,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35370485/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com