-
Notifications
You must be signed in to change notification settings - Fork 186
Error when trying to do a deployment on debian 10 #278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I had a similar error when trying to use In my case, it was caused by this line, which was trying to What it looks like is that this |
@renato-zannon , thanks for the hint. I'll look into more on the machine and see what I can find. I'm not proficient with Ruby, so its a little more of a challenge for me. I figured it was related to not having deployments work at all from the CodeDeploy console, maybe they are different? 🤷♂️ |
@renato-zannon Thank you again for the hint, I removed the module from the line and got this error:
So it looks like the code "eats" the error message that a file that exists on the system can't be overwritten. I reran the same command with the Can you recommend any procedure to help debug a problem when codedeploy is initiated from the console? I specifically run my codedeploys to overwrite files that already exist, however, the code deployments never complete. So I'm not sure how to debug this process. Any help would be really appreciated. |
My issue as well. |
I had this issue as well. Interestingly enough, if binary is started with full path, issue is gone
however following works just fine
|
Any updates on this? I recently installed the code-deploy agent and I'm getting the same issue This is the Ruby version I have installed
Thanks in advance for your help |
I removed |
I'm having the same issue on a Windows 2022 Server. I see people recommending removing some line, but codedeploy-local is a binary file on my server so I can't do it that way. |
codedeploy-local error with InstanceMetadata::InstanceMetadataError has been fixed in the upcoming release of the agent version 1.6.0. Agent source code will be available on GitHub this Friday, March 31st. Agent installer will be available in all commercial regions by April 7th. |
CodeDeploy Agent 1.6.0 has been released to most commercial regions as of this comment. Please track release progress on #360 |
I'm trying to troubleshoot why my codedeployments aren't working. I'm using the latest version (1.3.1-1880) on debian 10. The install is fine and systemd's status command shows the service is up. However, when I try to do a local deployment using this command:
sudo bin/codedeploy-local -l s3://${VALID_PATH_TO_FILE}.zip -t zip
I end up getting this error:
Sadly, the log file is never written, so I can't get any deeper in troubleshooting this problem. Any help with this would be greatly appreciate. I'm also happy to perform any command you need to help with information gathering.
The text was updated successfully, but these errors were encountered: