Skip to content

Instantly share code, notes, and snippets.

View gist:ca518b88b69e283cc734
==> default: W
==> default: :
==> default: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/multiverse amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-amd64_Packages)
==> default: W
==> default: :
==> default: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-i386_Packages)
==> default: W
==> default: :
==> default: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ trusty/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_multiverse_binary-amd64_Packages)
==> default: W
View gist:3dc56fbb33fa6add6c0c
==> default: [ Wed, 05 Nov 2014 03:14:19 +0000 ] downloader: Successfuly created temporay download directory. (/var/lib/aws/opsworks/cache/opsworks_assets/opsworks-ruby2.0.QvJQLkl8)
==> default: 2014-11-05 03:15:49 URL:https://opsworks-instance-assets-us-east-1.s3.amazonaws.com/packages/ubuntu/14.04/opsworks-ruby2.0_2.0.0-p481-1_amd64.deb [24138360/24138360] -> "/var/lib/aws/opsworks/cache/opsworks_assets/opsworks-ruby2.0.QvJQLkl8/opsworks-ruby2.0_2.0.0-p481-1_amd64.deb" [1]
==> default: [ Wed, 05 Nov 2014 03:15:56 +0000 ] downloader: File size test passed.
==> default: [ Wed, 05 Nov 2014 03:15:56 +0000 ] downloader: Checksum proof skipped.
==> default: [ Wed, 05 Nov 2014 03:15:56 +0000 ] downloader: Succesfully downloaded https://opsworks-instance-assets-us-east-1.s3.amazonaws.com/packages/ubuntu/14.04/opsworks-ruby2.0_2.0.0-p481-1_amd64.deb
==> default: rm -rf /var/lib/aws/opsworks/cache/opsworks_assets/opsworks-ruby2.0.QvJQLkl8
View gist:da48126d13645a9b7bd4
[ Wed, 05 Nov 2014 06:41:33 +0000 ] downloader: Successfuly created temporay download directory. (/var/lib/aws/opsworks/cache.stage2/opsworks_assets/opsworks-ruby2.0.DSccOp1I)
2014-11-05 06:41:38 URL:https://opsworks-instance-assets-us-east-1.s3.amazonaws.com/packages/ubuntu/14.04/opsworks-ruby2.0_2.0.0-p481-1_amd64.deb [24138360/24138360] -> "/var/lib/aws/opsworks/cache.stage2/opsworks_assets/opsworks-ruby2.0.DSccOp1I/opsworks-ruby2.0_2.0.0-p481-1_amd64.deb" [1]
[ Wed, 05 Nov 2014 06:41:39 +0000 ] downloader: File size test passed.
[ Wed, 05 Nov 2014 06:41:39 +0000 ] downloader: Checksum proof skipped.
[ Wed, 05 Nov 2014 06:41:39 +0000 ] downloader: Succesfully downloaded https://opsworks-instance-assets-us-east-1.s3.amazonaws.com/packages/ubuntu/14.04/opsworks-ruby2.0_2.0.0-p481-1_amd64.deb
@tarky
tarky / gist:ce55e4acdba7c732c1be
Created Nov 10, 2014
Setupping OpsWorks on Vagrant
View gist:ce55e4acdba7c732c1be
==> default: ================================================================================
==> default: Error executing action `run` on resource 'ruby_block[Install the cookbooks specified in the Berksfile and their dependencies]'
==> default: ================================================================================
==> default:
==> default:
==> default: Mixlib::ShellOut::ShellCommandFailed
==> default: ------------------------------------
==> default: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /opt/aws/opsworks/local/bin/berks vendor /opt/aws/opsworks/current/berkshelf-cookbooks --debug ----
==> default: STDOUT:
@tarky
tarky / gist:bbf6e4d950d7de2dcd0d
Created Nov 12, 2014
Error if bundle install by chef
View gist:bbf6e4d950d7de2dcd0d
==> default: [2014-11-12T06:17:45+00:00] ERROR: execute[/usr/local/bin/bundle install] (mimic_opsworks::link_local line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
==> default: ---- Begin output of /usr/local/bin/bundle install ----
==> default: STDOUT:
==> default: STDERR: /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/definition.rb:23:in `build': /opt/aws/opsworks/releases/20140703152143_316/Gemfile not found (Bundler::GemfileNotFound)
==> default: from /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:152:in `definition'
==> default: from /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler.rb:115:in `setup'
==> default: from /opt/aws/opsworks/local/lib/ruby/gems/2.0.0/gems/bundler-1.5.3/lib/bundler/setup.rb:17:in `<top (required)>'
==> default: from /usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
==> default: from /usr/local/lib/ru
@tarky
tarky / gist:b0d154333bb37443f187
Created Nov 12, 2014
Error of install postgresql-client
View gist:b0d154333bb37443f187
[2014-11-12T13:02:52+00:00] ERROR: package[postgresql-client-9.3] (postgresql::client line 31) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install postgresql-client-9.3=9.3.5-0ubuntu0.14.04.1 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libpq5 postgresql-client-common
Suggested packages:
postgresql-9.3 postgresql-doc-9.3
The following NEW packages will be installed:
@tarky
tarky / gist:f57e2759924875543a3c
Created Nov 12, 2014
Error of specifying owner & group of Sync directory
View gist:f57e2759924875543a3c
Taisuke-no-MacBook-Air:todo-sample-app araky$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu1404-opsworks'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: todo-sample-app_default_1415788850197_12421
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
@tarky
tarky / gist:bdde0edd4276d110d7b1
Created Nov 12, 2014
Error when "auto_bundle_on_deploy": false
View gist:bdde0edd4276d110d7b1
================================================================================
Error executing action `deploy` on resource 'deploy[/srv/www/railspostgres]'
================================================================================
Chef::Exceptions::Exec
----------------------
rake db:migrate returned 1, expected 0
@tarky
tarky / gist:d0e159bc640a30947cc5
Created Nov 14, 2014
Important points of adapt OpsWorks json file to local development environment
View gist:d0e159bc640a30947cc5
$ diff before.json json.erb
1d0
<
65c64
< "activity": "configure",
---
> "activity": "setup",
140c139
< "migrate": false,
---
@tarky
tarky / gist:884b9ebccec7dc4c15ff
Created Nov 15, 2014
git ls error when clone
View gist:884b9ebccec7dc4c15ff
[2014-11-15T02:12:59+00:00] INFO: Processing deploy[/srv/www/inq] action deploy (deploy::rails line 65)
================================================================================
Error executing action `deploy` on resource 'deploy[/srv/www/inq]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '128'