Skip to content

Error when trying to do a deployment on debian 10 #278

Closed
@btv

Description

@btv

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:

/opt/codedeploy-agent/vendor/gems/logging-1.8.2/lib/logging/appender.rb:139: warning: constant ::Fixnum is deprecated
/opt/codedeploy-agent/vendor/gems/logging-1.8.2/lib/logging/logger.rb:295: warning: constant ::Fixnum is deprecated
Starting to execute deployment from within folder /opt/codedeploy-agent/deployment-root/default-local-deployment-group/d-FE8V8RVBJ-local
See the deployment log at /opt/codedeploy-agent/deployment-root/default-local-deployment-group/d-FE8V8RVBJ-local/logs/scripts.log for more details
Traceback (most recent call last):
	1: from bin/codedeploy-local:123:in `<main>'
bin/codedeploy-local:129:in `rescue in <main>': uninitialized constant InstanceMetadata::InstanceMetadataError (NameError)

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Coming Soon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions