DevOps管道无法将web应用程序档案部署到ElasticBeanstalk实例,cfn-init.log中出现以下错误:
2019-04-16 19:18:35,822 [ERROR] Command hooks (HooksExecutor.exe appdeploy\enact) failed
2019-04-16 19:18:35,822 [ERROR] Error encountered during build of Hook-EnactAppDeploy: Command hooks failed
Traceback (most recent call last):
File "cfnbootstrap\construction.pyc", line 544, in run_config
File "cfnbootstrap\construction.pyc", line 138, in run_commands
File "cfnbootstrap\command_tool.pyc", line 117, in apply
ToolError: Command hooks failed
你知道是什么导致了这个错误吗?我甚至不知道该从何说起。
发布于 2019-04-19 03:06:11
我能够自己解决这个问题。看起来我的文件仍被应用程序使用,这是导致错误的原因。在ElasticBeanstalk设置中切换到不可变部署解决了这个问题。
https://stackoverflow.com/questions/55732589
复制相似问题