79607016

Date: 2025-05-05 13:35:14
Score: 1.5
Natty:
Report link

AWS code deploy fails in download bundle or install event reason is long path issue in window server.
run this command on u r powershell

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force

and then restart u r code deploy agent on u r server

powershell.exe -Command Restart-Service -Name codedeployagent

now retry the deployment...

this is the official aws docs for this :
https://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-deployments.html#troubleshooting-long-file-paths

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: atul bhandari