Open TomZhuPlanetart opened 9 months ago
A commit is put into 1.7 which is intended to prevent this: https://github.com/aws/aws-codedeploy-agent/commit/5a01a6d61ee52ad8c96be9aeb1fd24ffbbbee2c5
track 1.7 release here: https://github.com/aws/aws-codedeploy-agent/issues/388
Deployment failed during Download bundle event : with unknown error "No such file or directory - getcwd"
It's not a duplicate issue of #255, the error is different.
Our production server encountered this issue today.
If we check the
codedeploy-agent
withlsof
, we can find thecwd
has changed to the directory of a past deployment which has been deleted. This deployment was created 3 days ago.Version: 1.6.0-49
Restarting the codedeploy service resolved the problem.