Created
September 29, 2011 19:53
-
-
Save niclasnilsson/1251754 to your computer and use it in GitHub Desktop.
Log file: Deploying the EngineYard ToDo app on JRuby 1.6.4/Trinidad.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] '/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep "engineyard-serverside" | egrep -q '\''1\.4\.16[,)]'\' | |
:: running git clone -q https://github.com/engineyard/todo.git /data/todo/shared/cached-copy 2>&1 | |
~> Deploying revision 00fa4e7 Another temp model. | |
:: running git checkout -q '00fa4e7297f99b3a096c0f7b02ec03800aa21eff' | |
:: running git submodule sync | |
:: running git submodule update --init | |
:: running git clean -dfq | |
~> Pushing code to all servers | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'mkdir -p /data/todo/shared/cached-copy' | |
:: running rsync --delete -aq -e "ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no" /data/todo/shared/cached-copy/ [email protected]:/data/todo/shared/cached-copy | |
~> Starting full deploy | |
~> Copying to /data/todo/releases/20110929192418 | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929192418 && rsync -aq /data/todo/shared/cached-copy/ /data/todo/releases/20110929192418'\' | |
~> Ensuring proper ownership | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''chown -R deploy:deploy /data/todo'\' | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''git --git-dir /data/todo/shared/cached-copy/.git --work-tree /data/todo/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/todo/releases/20110929192418/REVISION"'\' | |
~> Gemfile detected, bundling gems | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''env -i PATH=$PATH HOME=$HOME /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.4.16/bin/engineyard-serverside install_bundler 1.0.10'\' | |
Successfully installed bundler-1.0.10 | |
1 gem installed | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''cd /data/todo/releases/20110929192418 && env -i PATH=$PATH HOME=$HOME ruby -S bundle _1.0.10_ install --deployment --path /data/todo/shared/bundled_gems --binstubs /data/todo/releases/20110929192418/ey_bundler_binstubs --without development test'\' | |
Fetching source index for http://rubygems.org/ | |
Installing rake (0.9.2) | |
Installing abstract (1.0.0) | |
Installing activesupport (3.0.9) | |
Installing builder (2.1.2) | |
Installing i18n (0.5.0) | |
Installing activemodel (3.0.9) | |
Installing erubis (2.6.6) | |
Installing rack (1.2.4) | |
Installing rack-mount (0.6.14) | |
Installing rack-test (0.5.7) | |
Installing tzinfo (0.3.29) | |
Installing actionpack (3.0.9) | |
Installing mime-types (1.16) | |
Installing polyglot (0.3.2) | |
Installing treetop (1.4.10) | |
Installing mail (2.2.19) | |
Installing actionmailer (3.0.9) | |
Installing arel (2.0.10) | |
Installing activerecord (3.0.9) | |
Installing activeresource (3.0.9) | |
Installing rdoc (3.9.4) | |
Installing thor (0.14.6) | |
Installing railties (3.0.9) | |
Installing jquery-rails (1.0.14) | |
Using bundler (1.0.10) | |
Installing rails (3.0.9) | |
Installing simple_form (1.5.1) | |
Your bundle is complete! It was installed into /data/todo/shared/bundled_gems | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/shared/bundled_gems && ruby -v > /data/todo/shared/bundled_gems/RUBY_VERSION && uname -m > /data/todo/shared/bundled_gems/SYSTEM_VERSION'\' | |
~> Preparing shared resources for release | |
~> Set group write permissions | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''chmod -R g+w /data/todo/releases/20110929192418'\' | |
~> Remove revision-tracked shared directories from deployment | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''rm -rf /data/todo/releases/20110929192418/log /data/todo/releases/20110929192418/public/system /data/todo/releases/20110929192418/tmp/pids'\' | |
~> Create tmp directory | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929192418/tmp'\' | |
~> Symlink shared log directory | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/log /data/todo/releases/20110929192418/log'\' | |
~> Create public directory if needed | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929192418/public'\' | |
~> Create config directory if needed | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929192418/config'\' | |
~> Create system directory if needed | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/system /data/todo/releases/20110929192418/public/system'\' | |
~> Symlink shared pids directory | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/pids /data/todo/releases/20110929192418/tmp/pids'\' | |
~> Symlink other shared config files | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''find /data/todo/shared/config -type f -not -name '\''\'\'\''database.yml'\''\'\'\'' -exec ln -s {} /data/todo/releases/20110929192418/config \;'\' | |
~> Symlink mongrel_cluster.yml | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/config/mongrel_cluster.yml /data/todo/releases/20110929192418/config/mongrel_cluster.yml'\' | |
~> Symlink database.yml | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/config/database.yml /data/todo/releases/20110929192418/config/database.yml'\' | |
~> Symlink newrelic.yml if needed | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''if [ -f "/data/todo/shared/config/newrelic.yml" ]; then ln -nfs /data/todo/shared/config/newrelic.yml /data/todo/releases/20110929192418/config/newrelic.yml; fi'\' | |
~> Setting ownership to deploy:deploy | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''chown -R deploy:deploy /data/todo/releases/20110929192418'\' | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/shared/system'\' | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''cp /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.4.16/lib/engineyard-serverside/default_maintenance_page.html /data/todo/shared/system/maintenance.html'\' | |
~> Migrating: cd /data/todo/releases/20110929192418 && PATH=/data/todo/releases/20110929192418/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake db:migrate | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''cd /data/todo/releases/20110929192418 && PATH=/data/todo/releases/20110929192418/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake db:migrate'\' | |
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''rm -rf /data/todo/releases/20110929192418'\' | |
~> [Attention] Maintenance page still up, consider the following before removing: | |
* any deploy hooks ran, be careful if they were destructive | |
* any migrations ran, be careful if they were destructive | |
* your old code is still symlinked as current | |
Warning: Permanently added 'ec2-50-17-6-248.compute-1.amazonaws.com,10.127.26.72' (RSA) to the list of known hosts. | |
rake aborted! | |
OpenSSL::Cipher requires the jruby-openssl gem | |
Tasks: TOP => db:migrate => environment | |
(See full trace by running task with --trace) |
Log file for when running JRuby in 1.9 mode:
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] '/usr/local/ey_resin/ruby/bin/gem list engineyard-serverside | grep "engineyard-serverside" | egrep -q '\''1\.4\.16[,)]'\'
:: running git clone -q https://github.com/cwgem/todo /data/todo/shared/cached-copy 2>&1
~> Deploying revision 6c159c3 One more attempt at seeing if Gemfile.lock syncing is the issue.
:: running git checkout -q '6c159c3117b72cd958eb08bc3b91ceed90f12a4e'
:: running git submodule sync
:: running git submodule update --init
:: running git clean -dfq
~> Pushing code to all servers
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'mkdir -p /data/todo/shared/cached-copy'
:: running rsync --delete -aq -e "ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no" /data/todo/shared/cached-copy/ [email protected]:/data/todo/shared/cached-copy
~> Starting full deploy
~> Copying to /data/todo/releases/20110929213535
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929213535 && rsync -aq /data/todo/shared/cached-copy/ /data/todo/releases/20110929213535'\'
~> Ensuring proper ownership
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''chown -R deploy:deploy /data/todo'\'
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''git --git-dir /data/todo/shared/cached-copy/.git --work-tree /data/todo/shared/cached-copy show --pretty=format:"%H" | head -1 > "/data/todo/releases/20110929213535/REVISION"'\'
~> Gemfile detected, bundling gems
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''env -i PATH=$PATH HOME=$HOME /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.4.16/bin/engineyard-serverside install_bundler 1.0.10'\'
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''cd /data/todo/releases/20110929213535 && env -i PATH=$PATH HOME=$HOME ruby -S bundle _1.0.10_ install --deployment --path /data/todo/shared/bundled_gems --binstubs /data/todo/releases/20110929213535/ey_bundler_binstubs --without development test'\'
Using rake (0.9.2)
Using abstract (1.0.0)
Using activesupport (3.0.9)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.9)
Using erubis (2.6.6)
Using rack (1.2.4)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.29)
Using actionpack (3.0.9)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.9)
Using arel (2.0.10)
Using activerecord (3.0.9)
Using activerecord-jdbc-adapter (1.2.0)
Using activeresource (3.0.9)
Using bouncy-castle-java (1.5.0146.1)
Using jdbc-mysql (5.1.13)
Using jdbc-sqlite3 (3.7.2)
Using rdoc (3.9.4)
Using thor (0.14.6)
Using railties (3.0.9)
Using jquery-rails (1.0.14)
Using jruby-openssl (0.7.4)
Using jruby-rack (1.0.10)
Using bundler (1.0.10)
Using rails (3.0.9)
Using simple_form (1.5.1)
Using trinidad_jars (1.0.1)
Using trinidad (1.2.3)
Your bundle is complete! It was installed into /data/todo/shared/bundled_gems
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/shared/bundled_gems && ruby -v > /data/todo/shared/bundled_gems/RUBY_VERSION && uname -m > /data/todo/shared/bundled_gems/SYSTEM_VERSION'\'
~> Preparing shared resources for release
~> Set group write permissions
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''chmod -R g+w /data/todo/releases/20110929213535'\'
~> Remove revision-tracked shared directories from deployment
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''rm -rf /data/todo/releases/20110929213535/log /data/todo/releases/20110929213535/public/system /data/todo/releases/20110929213535/tmp/pids'\'
~> Create tmp directory
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929213535/tmp'\'
~> Symlink shared log directory
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/log /data/todo/releases/20110929213535/log'\'
~> Create public directory if needed
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929213535/public'\'
~> Create config directory if needed
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/releases/20110929213535/config'\'
~> Create system directory if needed
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/system /data/todo/releases/20110929213535/public/system'\'
~> Symlink shared pids directory
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/pids /data/todo/releases/20110929213535/tmp/pids'\'
~> Symlink other shared config files
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''find /data/todo/shared/config -type f -not -name '\''\'\'\''database.yml'\''\'\'\'' -exec ln -s {} /data/todo/releases/20110929213535/config \;'\'
~> Symlink mongrel_cluster.yml
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/config/mongrel_cluster.yml /data/todo/releases/20110929213535/config/mongrel_cluster.yml'\'
~> Symlink database.yml
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''ln -nfs /data/todo/shared/config/database.yml /data/todo/releases/20110929213535/config/database.yml'\'
~> Symlink newrelic.yml if needed
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''if [ -f "/data/todo/shared/config/newrelic.yml" ]; then ln -nfs /data/todo/shared/config/newrelic.yml /data/todo/releases/20110929213535/config/newrelic.yml; fi'\'
~> Setting ownership to deploy:deploy
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''chown -R deploy:deploy /data/todo/releases/20110929213535'\'
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''mkdir -p /data/todo/shared/system'\'
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''cp /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/engineyard-serverside-1.4.16/lib/engineyard-serverside/default_maintenance_page.html /data/todo/shared/system/maintenance.html'\'
~> Migrating: cd /data/todo/releases/20110929213535 && PATH=/data/todo/releases/20110929213535/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake db:migrate
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sh -l -c '\''cd /data/todo/releases/20110929213535 && PATH=/data/todo/releases/20110929213535/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake db:migrate'\'
�[31mCould not find rake-0.9.2 in any of the sources�[0m
:: running ssh -i /home/deploy/.ssh/internal -o StrictHostKeyChecking=no -o PasswordAuthentication=no [email protected] 'sudo sh -l -c '\''rm -rf /data/todo/releases/20110929213535'\'
~> [Attention] Maintenance page still up, consider the following before removing:
* any deploy hooks ran, be careful if they were destructive
* any migrations ran, be careful if they were destructive
* your old code is still symlinked as current
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Niclas, Please contact Engine Yard Support for help with this issue: http://support.cloud.engineyard.com
Or, if you are using a trial account, check out the Live Help available.
Thanks!