Created
December 14, 2010 11:41
-
-
Save antonversal/740305 to your computer and use it in GitHub Desktop.
Capistrano log
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
ant@antu:~/rorprojects/zn_new$ cap deploy | |
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was before_update_code) | |
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_update_code) | |
triggering start callbacks for `deploy' | |
* == Currently executing `multistage:ensure' | |
*** Defaulting to `staging' | |
* == Currently executing `staging' | |
Identity added: /home/ant/.ssh/id_rsa (/home/ant/.ssh/id_rsa) | |
* == Currently executing `deploy' | |
* == Currently executing `deploy:update' | |
** transaction: start | |
* == Currently executing `deploy:update_code' | |
triggering before callbacks for `deploy:update_code' | |
* == Currently executing `sphinx:before_update_code' | |
* == Currently executing `thinking_sphinx:stop' | |
* == Currently executing `thinking_sphinx:configure' | |
* executing "if [ -d /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 ]; then cd /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; else cd /var/www/web_znstaging/www/staging.zn.ua/current; fi; rake RAILS_ENV=staging thinking_sphinx:configure" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
** [out :: staging.zn.ua] (in /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113027) | |
** [out :: staging.zn.ua] Generating Configuration to /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113027/config/staging.sphinx.conf | |
command finished | |
* executing "if [ -d /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 ]; then cd /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; else cd /var/www/web_znstaging/www/staging.zn.ua/current; fi; rake RAILS_ENV=staging thinking_sphinx:stop" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
** [out :: staging.zn.ua] (in /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113027) | |
** [out :: staging.zn.ua] searchd is not running | |
command finished | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote [email protected]:l8/zn_new.git master" | |
* executing "if [ -d /var/www/web_znstaging/www/staging.zn.ua/shared/cached-copy ]; then cd /var/www/web_znstaging/www/staging.zn.ua/shared/cached-copy && git fetch origin && git reset --hard f2435c804cd6b27c757dc21558899677cf76e9f1 && git submodule init && for mod in `git submodule status | awk '{ print $2 }'`; do git config -f .git/config submodule.${mod}.url `git config -f .gitmodules --get submodule.${mod}.url` && echo Synced $mod; done && git submodule sync && git submodule update && git clean -d -x -f; else git clone [email protected]:l8/zn_new.git /var/www/web_znstaging/www/staging.zn.ua/shared/cached-copy && cd /var/www/web_znstaging/www/staging.zn.ua/shared/cached-copy && git checkout -b deploy f2435c804cd6b27c757dc21558899677cf76e9f1 && git submodule init && git submodule sync && git submodule update; fi" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
** [staging.zn.ua :: out] HEAD is now at f2435c8 Calendar was hidden | |
command finished | |
copying the cached version to /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 | |
* executing "cp -RPp /var/www/web_znstaging/www/staging.zn.ua/shared/cached-copy /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 && (echo f2435c804cd6b27c757dc21558899677cf76e9f1 > /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/REVISION)" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* == Currently executing `deploy:finalize_update' | |
* executing "chmod -R g+w /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/log /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public/system /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/tmp/pids &&\\\n mkdir -p /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public &&\\\n mkdir -p /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/tmp &&\\\n ln -s /var/www/web_znstaging/www/staging.zn.ua/shared/log /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/log &&\\\n ln -s /var/www/web_znstaging/www/staging.zn.ua/shared/system /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public/system &&\\\n ln -s /var/www/web_znstaging/www/staging.zn.ua/shared/pids /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/tmp/pids" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "find /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public/images /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public/stylesheets /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public/javascripts -exec touch -t 201012141133.53 {} ';'; true" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
*** [err :: staging.zn.ua] find: `/var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/public/stylesheets' | |
*** [err :: staging.zn.ua] : No such file or directory | |
command finished | |
triggering after callbacks for `deploy:finalize_update' | |
* == Currently executing `deploy:app_symlinks' | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/newrelic.yml && ln -nfs /var/www/web_znstaging/www/staging.zn.ua/shared/config/newrelic.yml /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/newrelic.yml" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/database.yml && ln -nfs /var/www/web_znstaging/www/staging.zn.ua/shared/config/database.yml /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/database.yml" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/unicorn.conf.rb && ln -nfs /var/www/web_znstaging/www/staging.zn.ua/shared/config/unicorn.conf.rb /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/unicorn.conf.rb" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/tmp && ln -s /var/www/web_znstaging/www/staging.zn.ua/shared/tmp /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/tmp" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/vendor/bundle && ln -s /var/www/web_znstaging/www/staging.zn.ua/shared/bundle /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/vendor/bundle" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
triggering after callbacks for `deploy:update_code' | |
* == Currently executing `bundle:install' | |
* executing "ls -x /var/www/web_znstaging/www/staging.zn.ua/releases" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* executing "bundle install --gemfile /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/Gemfile --path /var/www/web_znstaging/www/staging.zn.ua/shared/bundle --deployment --without development test cucumber autotest" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
** [out :: staging.zn.ua] Using rake (0.8.7) | |
** [out :: staging.zn.ua] Using abstract (1.0.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using activesupport (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using builder (2.1.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using i18n (0.4.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using activemodel (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using erubis (2.6.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using rack (1.2.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using rack-mount (0.6.13) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using rack-test (0.5.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using tzinfo (0.3.23) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using actionpack (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using mime-types (1.16) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using polyglot (0.3.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using treetop (1.4.9) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using mail (2.2.10) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using actionmailer (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using arel (2.0.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using activerecord (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using activeresource (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using acts_as_list (0.1.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using awesome_print (0.3.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using bcrypt-ruby (2.1.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using cancan (1.4.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using highline (1.6.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using net-ssh (2.0.23) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using net-scp (1.0.4) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using net-sftp (2.0.5) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using net-ssh-gateway (1.0.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using capistrano (2.5.19) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using capistrano-ext (1.2.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using capistrano_colors (0.5.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using cells (3.4.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using ckeditor (3.4.2.pre) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using closure-compiler (0.3.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using haml (3.0.24) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using compass (0.10.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using yamler (0.1.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using configatron (2.6.4) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using warden (0.10.7) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using devise (1.1.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using stackdeck (0.2.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using johnson (2.0.0.pre3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using envjs (0.3.7) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using ffaker (1.0.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using thor (0.14.4) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using railties (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using haml-rails (0.3.4) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using harmony (0.5.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using has_scope (0.5.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using hirb (0.3.5) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using hoptoad_notifier (2.3.12) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using responders (0.6.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using inherited_resources (1.1.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using yui-compressor (0.9.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using jammit (0.5.4) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using jsmin (1.0.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using javascript_features (0.0.1) from git://github.com/fxposter/javascript-features.git (at master) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using json (1.4.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using kgio (1.3.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using looksee (0.2.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using meta_where (0.9.9.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using newrelic_rpm (2.13.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using paperclip (2.3.6) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using pg (0.9.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using bundler (1.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using rails (3.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using rails3-generators (0.14.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using riddle (1.2.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using russian (0.2.7) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using simple_form (1.2.2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using simple_model_translations (0.2.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using stringex (1.2.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using table_for_collection (1.0.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using thinking-sphinx (2.0.1) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using typography (0.2.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using unicorn (2.0.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using will_paginate (3.0.pre2) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using wirble (0.1.3) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Using workflow (0.7.0) | |
** [out :: staging.zn.ua] | |
** [out :: staging.zn.ua] Your bundle is complete! It was installed into /var/www/web_znstaging/www/staging.zn.ua/shared/bundle | |
command finished | |
* == Currently executing `sphinx:after_update_code' | |
* == Currently executing `sphinx:symlink_sphinx_indexes' | |
* executing "ln -nfs /var/www/web_znstaging/www/staging.zn.ua/shared/db/sphinx /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/db/sphinx" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
* == Currently executing `thinking_sphinx:configure' | |
* executing "if [ -d /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 ]; then cd /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; else cd /var/www/web_znstaging/www/staging.zn.ua/current; fi; rake RAILS_ENV=staging thinking_sphinx:configure" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
** [out :: staging.zn.ua] (in /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338) | |
** [out :: staging.zn.ua] Generating Configuration to /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/staging.sphinx.conf | |
command finished | |
* == Currently executing `thinking_sphinx:start' | |
* == Currently executing `thinking_sphinx:configure' | |
* executing "if [ -d /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 ]; then cd /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; else cd /var/www/web_znstaging/www/staging.zn.ua/current; fi; rake RAILS_ENV=staging thinking_sphinx:configure" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
** [out :: staging.zn.ua] (in /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338) | |
** [out :: staging.zn.ua] Generating Configuration to /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/config/staging.sphinx.conf | |
command finished | |
* executing "if [ -d /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 ]; then cd /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; else cd /var/www/web_znstaging/www/staging.zn.ua/current; fi; rake RAILS_ENV=staging thinking_sphinx:start" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
*** [err :: staging.zn.ua] rake aborted! | |
*** [err :: staging.zn.ua] File exists - /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338/db/sphinx | |
*** [err :: staging.zn.ua] (See full trace by running task with --trace) | |
** [out :: staging.zn.ua] (in /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338) | |
command finished | |
*** [deploy:update_code] rolling back | |
* executing "rm -rf /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; true" | |
servers: ["staging.zn.ua"] | |
[staging.zn.ua] executing command | |
command finished | |
failed: "sh -c 'if [ -d /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338 ]; then cd /var/www/web_znstaging/www/staging.zn.ua/releases/20101214113338; else cd /var/www/web_znstaging/www/staging.zn.ua/current; fi; rake RAILS_ENV=staging thinking_sphinx:start'" on staging.zn.ua |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment