-
Notifications
You must be signed in to change notification settings - Fork 186
Ubuntu 20.04 Codedeploy v1.1.2 #264
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
Thank you for the report @RichardCorcoran. Our own internal integration tests for Ubuntu 20.04 didn't run into this issue, but we've seen a few similar reports and we'd like to investigate more. Can you share with us:
|
This happens with me in Ubuntu 20.04,
|
Tried with ruby 2.7.1 (installed with rbenv) |
Removing the usage of @log = Logger.new(File.open(log_file_path, 'a+')) |
I had submitted and a bug with the same issue, my fault for not providing more detail in it but i get the same error as Luis on Ubuntu 20.04. I used https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install-ubuntu.html as a reference but it has not been updated for 20.04 yet. I was able to install CodeDepoly with dpkg which seems to work. Broken:
wget https://aws-codedeploy-us-west-2.s3.us-west-2.amazonaws.com/latest/install
Working: |
Working on a fix, should be part of next release of the agent |
Issue is fixed in 1.3.2 |
Codedeploy agent can now be installed in a ubuntu 20.04 container. This commit adds github-ci workflow with Ubuntu 20.04 aws/aws-codedeploy-agent#264 (comment)
@philstrong Is this really fixed? Because the documentation here still says
So, do I still need to use Can someone update the documentation if this is fixed? This problem is also mentioned in this SO post |
Codedeploy-agent v1.1.2 claims to support Ubuntu 20.04, however when trying to install it on a fresh install of Ubuntu 20.04 the same error as with previous versions occurs.
This error is:
$ sudo ./install
Traceback (most recent call last):
8: from ./install:34:in
<main>' 7: from ./install:34: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 ./install:22:in
method_missing' 1: from ./install:22:in
map'./install:23:in
block in method_missing': undefined method
path' for #<IO:> (NoMethodError)The text was updated successfully, but these errors were encountered: