Created
May 2, 2013 20:48
-
-
Save jbschrades/5505335 to your computer and use it in GitHub Desktop.
Output from cap deploy and cap deploy:migrate
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
vagrant@rails-dev-box:/vagrant/drafts$ cap deploy | |
* 2013-05-02 19:48:02 executing `deploy' | |
* 2013-05-02 19:48:02 executing `deploy:update' | |
** transaction: start | |
* 2013-05-02 19:48:02 executing `deploy:update_code' | |
executing locally: "git ls-remote [email protected]:vpware/drafts.git HEAD" | |
command finished in 3619ms | |
* executing "git clone -q [email protected]:vpware/drafts.git /u/apps/drafts/releases/20130502194806 && cd /u/apps/drafts/releases/20130502194806 && git checkout -q -b deploy 444a393082628d887dd977608c4a6ea4a4da276e && (echo 444a393082628d887dd977608c4a6ea4a4da276e > /u/apps/drafts/releases/20130502194806/REVISION)" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 1964ms | |
* 2013-05-02 19:48:12 executing `deploy:finalize_update' | |
triggering before callbacks for `deploy:finalize_update' | |
* 2013-05-02 19:48:12 executing `deploy:assets:symlink' | |
* executing "rm -rf /u/apps/drafts/releases/20130502194806/public/assets && mkdir -p /u/apps/drafts/releases/20130502194806/public && mkdir -p /u/apps/drafts/shared/assets && ln -s /u/apps/drafts/shared/assets /u/apps/drafts/releases/20130502194806/public/assets" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 86ms | |
* 2013-05-02 19:48:12 executing `bundle:install' | |
* executing "cd /u/apps/drafts/releases/20130502194806 && bundle install --gemfile /u/apps/drafts/releases/20130502194806/Gemfile --path /u/apps/drafts/shared/bundle --deployment --quiet --without development test" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 908ms | |
* executing "chmod -R -- g+w /u/apps/drafts/releases/20130502194806 && rm -rf -- /u/apps/drafts/releases/20130502194806/public/system && mkdir -p -- /u/apps/drafts/releases/20130502194806/public/ && ln -s -- /u/apps/drafts/shared/system /u/apps/drafts/releases/20130502194806/public/system && rm -rf -- /u/apps/drafts/releases/20130502194806/log && ln -s -- /u/apps/drafts/shared/log /u/apps/drafts/releases/20130502194806/log && rm -rf -- /u/apps/drafts/releases/20130502194806/tmp/pids && mkdir -p -- /u/apps/drafts/releases/20130502194806/tmp/ && ln -s -- /u/apps/drafts/shared/pids /u/apps/drafts/releases/20130502194806/tmp/pids" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 88ms | |
triggering after callbacks for `deploy:update_code' | |
* 2013-05-02 19:48:13 executing `deploy:assets:precompile' | |
triggering before callbacks for `deploy:assets:precompile' | |
* 2013-05-02 19:48:13 executing `deploy:assets:update_asset_mtimes' | |
* executing "[ -e /u/apps/drafts/shared/assets/manifest* ] && cat /u/apps/drafts/shared/assets/manifest* || echo" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 99ms | |
** Updating mtimes for ~192 assets... | |
servers: ["drafts.vaporwa.re"] | |
** scp upload #<StringIO:0x9508418> -> /u/apps/drafts/TOUCH_ASSETS | |
[drafts.vaporwa.re] /u/apps/drafts/TOUCH_ASSETS | |
* scp upload complete | |
* executing "cat /u/apps/drafts/TOUCH_ASSETS | while read asset; do touch -c -- \"$asset\"; done && rm -f -- /u/apps/drafts/TOUCH_ASSETS" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 355ms | |
* executing "cd -- /u/apps/drafts/releases/20130502194806 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
*** [err :: drafts.vaporwa.re] /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /u/apps/drafts/shared in PATH, mode 040777 | |
command finished in 11007ms | |
* executing "ls -1 /u/apps/drafts/shared/assets/manifest* | wc -l" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 73ms | |
* executing "ls /u/apps/drafts/shared/assets/manifest*" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 73ms | |
* executing "sudo -p 'sudo password: ' ls -x /u/apps/drafts/releases" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 80ms | |
* executing "cp -- /u/apps/drafts/shared/assets/manifest.yml /u/apps/drafts/releases/20130502194806/assets_manifest.yml" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 73ms | |
* 2013-05-02 19:48:25 executing `deploy:create_symlink' | |
* executing "sudo -p 'sudo password: ' rm -f /u/apps/drafts/current && sudo -p 'sudo password: ' ln -s /u/apps/drafts/releases/20130502194806 /u/apps/drafts/current" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 88ms | |
** transaction: commit | |
* 2013-05-02 19:48:25 executing `deploy:restart' | |
* executing "sudo -p 'sudo password: ' touch /u/apps/drafts/current/tmp/restart.txt" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 87ms | |
triggering after callbacks for `deploy:restart' | |
* 2013-05-02 19:48:25 executing `deploy:cleanup' | |
* executing "sudo -p 'sudo password: ' ls -1dt /u/apps/drafts/releases/* | tail -n +6 | sudo -p 'sudo password: ' xargs rm -rf" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 130ms | |
triggering after callbacks for `deploy:cleanup' | |
* 2013-05-02 19:48:25 executing `deploy:assets:clean_expired' | |
* executing "for manifest in /u/apps/drafts/releases/*/assets_manifest.*; do cat -- \"$manifest\" 2> /dev/null && printf ':::' || true; done" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 131ms | |
** Fetched 4 manifests from /u/apps/drafts/releases/*/assets_manifest.* | |
** Writing required assets to /u/apps/drafts/REQUIRED_ASSETS... | |
servers: ["drafts.vaporwa.re"] | |
** scp upload #<StringIO:0x9cd3fd0> -> /u/apps/drafts/REQUIRED_ASSETS | |
[drafts.vaporwa.re] /u/apps/drafts/REQUIRED_ASSETS | |
* scp upload complete | |
** Removing assets that haven't been deployed for 10080 minutes... | |
* executing "cd -- /u/apps/drafts/ && LC_COLLATE=C sort REQUIRED_ASSETS -o REQUIRED_ASSETS && cd -- /u/apps/drafts/shared/assets/ && for f in $( find * -mmin +10080 -type f | LC_COLLATE=C sort | LC_COLLATE=C comm -23 -- - /u/apps/drafts/REQUIRED_ASSETS ); do echo \"Removing unneeded asset: $f\"; rm -f -- \"$f\"; done; rm -f -- /u/apps/drafts/REQUIRED_ASSETS" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 84ms | |
vagrant@rails-dev-box:/vagrant/drafts$ cap deploy:migrate | |
* 2013-05-02 19:56:16 executing `deploy:migrate' | |
* executing "sudo -p 'sudo password: ' ls -x /u/apps/drafts/releases" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
command finished in 153ms | |
* executing "cd /u/apps/drafts/releases/20130502194806 && bundle exec rake RAILS_ENV=production db:migrate" | |
servers: ["drafts.vaporwa.re"] | |
[drafts.vaporwa.re] executing command | |
*** [err :: drafts.vaporwa.re] /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /u/apps/drafts/shared in PATH, mode 040777 | |
** [out :: drafts.vaporwa.re] == ChangeTitleColumnInComments: migrating ==================================== | |
** [out :: drafts.vaporwa.re] -- rename_column(:comments, :title, :kind) | |
** [out :: drafts.vaporwa.re] -> 0.0227s | |
** [out :: drafts.vaporwa.re] == ChangeTitleColumnInComments: migrated (0.0228s) =========================== | |
** [out :: drafts.vaporwa.re] | |
command finished in 4044ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment