-
Notifications
You must be signed in to change notification settings - Fork 186
Installation broken on Ubuntu 20.04 #239
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
Yup, same issue. |
CodeDeploy Agent does not support Ubuntu 20.x so far. Check our documentation. The support is in our plan |
Is there a timeline when the supported version will be released? |
@Helen1987 there are some other related (or duplicated) issues #242, #243, it will be great to give us support on this support request. |
A possible workaround:
|
worked for me: repack .deb package and add ruby 2.7 as compatible instead of outdated 2.0:
tnx to @takenoko-str for this AWS CodeDeploy Agent install script (Ubuntu 18 LTS) |
@osterik that snippet works fine, thank you. |
Is there a time frame where this is expected to be resolved, or should I consider CodeDeploy to be deprecated/abandoned? |
@sapphirecat, CodeDeploy is not deprecated. We are actively working on changing our release process for the Agent. The fix will be released as soon as we switch to a new release process |
Not to sound rude but the last release is from late 2018, there where just a hand full of commits since then, the most recent Ubuntu version you support is 16.04, and angry people are pilling up in the GitHub issues because from an outside perspective this project is totally dead... Not even your own PAID support could give me some informations on this and just gave the hint to just restart the agent every time to "resolve" the memory leak which is present since nearly 4 or 5 years now. And the only information we get from you since February is "we are working on a new release process". As a customer this is totally frustrating that a multi billion dollar company with some of the best software devs in the world is not able to maintain a little Ruby tool on which thousands of paying customers depend on in their day-to-day business. can you give us at least a rough estimates on when the "new release process" will be finished? 16.04 will be EOL in 2024, so please don't take THAT long... |
Hi Folks. 👋 I'm the new SDM for the CodeDeploy teams at AWS and I wanted to chime in here briefly. While we don't have any public dates we can share at the moment, we are concurrently working on several successive and very near-term releases to the CodeDeploy agent. These releases will include a litany fixes and features that many members of the community have been asking for including a resolution to this issue of Ubuntu support. Part of the delay at the moment is that we're putting in place a better set of release and update mechanisms (as Alena mentioned). This upfront investment will pave the way for both faster and safer iterations with the agent -- allowing us to release our work as well as community contributions much quicker and more frequently. We're also working on a plan to share a public version of the CodeDeploy roadmap with you so that our customer community can have better insight into our vision for the CodeDeploy agent and the timelines around it. We appreciate your patience while we get all this work completed, but rest assured a lot is happening even though it isn't all visible to you yet. |
This issue is fixed in our latest release v1.1.2 |
The issue still persists in Ubuntu 20.04... |
Hey @satishvis Because I upgraded one of our staging systems to Ubuntu 20.04 with Ruby 2.7 and version 1.1.2 of the Codedeploy agent is running fine and I already made a lot of deployments to this server without any issues. |
Same here on at least 10 fresh Ubuntu 20.04 and always working. How do you install it? |
@AnandarajuCS @brblck I just encountered this while setting up the Instance: Ubuntu 20.04 Ruby info:
Download info: wget https://aws-codedeploy-ca-central-1.s3.ca-central-1.amazonaws.com/latest/install Result:
Going with the fix by @osterik for now |
Same here.. just experienced this too. |
@osterik you are the man |
Same here. Why is this issue closed? |
Issue still exists. |
Okay, know you got me curious because after migrating a lot of customers to Ubuntu Focal I was really confused by the amount of people who still have bugs with this so I started digging :D We setup all our servers with a standardized AMI which we build with Packer and Chef. One of the cookbooks is responsible for installing the latest CodeDeploy agent and this cookbook just runs fine with the latest version and we have the latest Codedeploy Agent installed afterwards. Now the funny part: When I start the exact same base AMI by hand and try to execute the installer I get the error from the first post... 😕 tl,dr: Yes this bug should still be open, but can be circumvented with an easy workaround :) |
@fleaz this worked for me. Thank you! |
thanks @fleaz
|
duplicate of #264 |
Following the official guide to installing fails on Ubuntu 20.04 with the following error:
Traceback (most recent call last):
8: from /tmp/codedeploy-agent-install:33:in
<main>' 7: from /tmp/codedeploy-agent-install:33:in
new'6: from /usr/lib/ruby/2.7.0/logger.rb:389:in
initialize' 5: from /usr/lib/ruby/2.7.0/logger.rb:389:in
new'4: from /usr/lib/ruby/2.7.0/logger/log_device.rb:18:in
initialize' 3: from /usr/lib/ruby/2.7.0/logger/log_device.rb:83:in
set_dev'2: from /tmp/codedeploy-agent-install:21:in
method_missing' 1: from /tmp/codedeploy-agent-install:21:in
map'/tmp/codedeploy-agent-install:22:in
block in method_missing': undefined method
path' for #<IO:> (NoMethodError)The text was updated successfully, but these errors were encountered: