Skip to content

Instantly share code, notes, and snippets.

@NicosKaralis
Created April 19, 2013 15:35
Show Gist options
  • Save NicosKaralis/5421153 to your computer and use it in GitHub Desktop.
Save NicosKaralis/5421153 to your computer and use it in GitHub Desktop.
Full capistrano log
* 2013-04-19 12:30:54 executing `deploy'
triggering before callbacks for `deploy'
* 2013-04-19 12:30:54 executing `check:revision'
* 2013-04-19 12:30:54 executing `deploy:update'
** transaction: start
* 2013-04-19 12:30:54 executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote [email protected]:nicoskaralis/wt_webapp.git dev"
command finished in 4336ms
* executing "if [ -d /home/deployer/rails_apps/webapp/shared/cached-copy ]; then cd /home/deployer/rails_apps/webapp/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 501dc00a15a9e54b9d7733770b923400760ab8a7 && git clean -q -d -x -f; else git clone -q [email protected]:nicoskaralis/wt_webapp.git /home/deployer/rails_apps/webapp/shared/cached-copy && cd /home/deployer/rails_apps/webapp/shared/cached-copy && git checkout -q -b deploy 501dc00a15a9e54b9d7733770b923400760ab8a7; fi"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 7975ms
copying the cached version to /home/deployer/rails_apps/webapp/releases/20130419153106
* executing "cp -RPp /home/deployer/rails_apps/webapp/shared/cached-copy /home/deployer/rails_apps/webapp/releases/20130419153106 && (echo 501dc00a15a9e54b9d7733770b923400760ab8a7 > /home/deployer/rails_apps/webapp/releases/20130419153106/REVISION)"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 133ms
* 2013-04-19 12:31:06 executing `deploy:finalize_update'
triggering before callbacks for `deploy:finalize_update'
* 2013-04-19 12:31:06 executing `deploy:assets:symlink'
* executing "rm -rf /home/deployer/rails_apps/webapp/releases/20130419153106/public/assets && mkdir -p /home/deployer/rails_apps/webapp/releases/20130419153106/public && mkdir -p /home/deployer/rails_apps/webapp/shared/assets && ln -s /home/deployer/rails_apps/webapp/shared/assets /home/deployer/rails_apps/webapp/releases/20130419153106/public/assets"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 136ms
* 2013-04-19 12:31:07 executing `bundle:install'
* executing "cd /home/deployer/rails_apps/webapp/releases/20130419153106 && bundle install --gemfile /home/deployer/rails_apps/webapp/releases/20130419153106/Gemfile --path /home/deployer/rails_apps/webapp/shared/bundle --deployment --quiet --without development test"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 1266ms
* executing "chmod -R -- g+w /home/deployer/rails_apps/webapp/releases/20130419153106 && rm -rf -- /home/deployer/rails_apps/webapp/releases/20130419153106/public/system && mkdir -p -- /home/deployer/rails_apps/webapp/releases/20130419153106/public/ && ln -s -- /home/deployer/rails_apps/webapp/shared/system /home/deployer/rails_apps/webapp/releases/20130419153106/public/system && rm -rf -- /home/deployer/rails_apps/webapp/releases/20130419153106/log && ln -s -- /home/deployer/rails_apps/webapp/shared/log /home/deployer/rails_apps/webapp/releases/20130419153106/log && rm -rf -- /home/deployer/rails_apps/webapp/releases/20130419153106/tmp/pids && mkdir -p -- /home/deployer/rails_apps/webapp/releases/20130419153106/tmp/ && ln -s -- /home/deployer/rails_apps/webapp/shared/pids /home/deployer/rails_apps/webapp/releases/20130419153106/tmp/pids"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 124ms
triggering after callbacks for `deploy:finalize_update'
* 2013-04-19 12:31:08 executing `postgresql:symlink'
* executing "ln -nfs /home/deployer/rails_apps/webapp/shared/config/database.yml /home/deployer/rails_apps/webapp/releases/20130419153106/config/database.yml"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 96ms
triggering after callbacks for `deploy:update_code'
* 2013-04-19 12:31:08 executing `deploy:assets:precompile'
triggering before callbacks for `deploy:assets:precompile'
* 2013-04-19 12:31:08 executing `deploy:assets:update_asset_mtimes'
* executing "[ -e /home/deployer/rails_apps/webapp/shared/assets/manifest.yml ] && cat /home/deployer/rails_apps/webapp/shared/assets/manifest.yml || echo"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 912ms
** Updating mtimes for ~112 assets...
servers: ["myserver.local"]
** sftp upload #<StringIO:0x007fcc8b0b0b80> -> /home/deployer/rails_apps/webapp/TOUCH_ASSETS
[myserver.local] /home/deployer/rails_apps/webapp/TOUCH_ASSETS
[myserver.local] done
* sftp upload complete
* executing "cat /home/deployer/rails_apps/webapp/TOUCH_ASSETS | while read asset; do touch -cm -- \"$asset\"; done && rm -f -- /home/deployer/rails_apps/webapp/TOUCH_ASSETS"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 198ms
* executing "ls -x /home/deployer/rails_apps/webapp/releases"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 123ms
* executing "cd -- /home/deployer/rails_apps/webapp/releases/20130419153106 && bundle exec rake --trace RAILS_ENV=production RAILS_GROUPS=assets assets:precompile && cp -- /home/deployer/rails_apps/webapp/shared/assets/manifest.yml /home/deployer/rails_apps/webapp/releases/20130419153106/assets_manifest.yml"
servers: ["myserver.local"]
[myserver.local] executing command
** [out :: myserver.local] ** Invoke assets:precompile (first_time)
** [out :: myserver.local] ** Execute assets:precompile
** [out :: myserver.local] ** Invoke assets:precompile:all (first_time)
** [out :: myserver.local] ** Execute assets:precompile:all
** [out :: myserver.local] ** Invoke assets:precompile:primary (first_time)
** [out :: myserver.local] ** Invoke assets:environment (first_time)
** [out :: myserver.local] ** Execute assets:environment
** [out :: myserver.local] ** Invoke environment (first_time)
** [out :: myserver.local] ** Execute environment
** [out :: myserver.local] ** Invoke tmp:cache:clear (first_time)
** [out :: myserver.local] ** Execute tmp:cache:clear
** [out :: myserver.local] ** Execute assets:precompile:primary
** [out :: myserver.local] rake aborted!
** [out :: myserver.local] TypeError: Object function (deps, callback) {
** [out :: myserver.local] if (Array.isArray(deps)) {
** [out :: myserver.local] var params = deps.map(function(dep) {
** [out :: myserver.local] return this.lookup(dep);
** [out :: myserver.local] }, this);
** [out :: myserver.local] if (callback) {
** [out :: myserver.local] callback.apply(null, params);
** [out :: myserver.local] }
** [out :: myserver.local] return undefined;
** [out :: myserver.local] }
** [out :: myserver.local] else {
** [out :: myserver.local] return this.lookup(deps);
** [out :: myserver.local] }
** [out :: myserver.local] } has no method 'bind'
** [out :: myserver.local] (in /home/deployer/rails_apps/webapp/releases/20130419153106/app/assets/javascripts/application.js)
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:68:in `extract_result'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:28:in `block in exec'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:41:in `compile_to_tempfile'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/external_runtime.rb:27:in `exec'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/uglifier-2.0.1/lib/uglifier.rb:167:in `really_compile'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/uglifier-2.0.1/lib/uglifier.rb:95:in `compile'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/compressors.rb:74:in `compress'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/processing.rb:265:in `block in js_compressor='
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/processor.rb:29:in `call'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/processor.rb:29:in `evaluate'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/tilt-1.3.7/lib/tilt/template.rb:77:in `render'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/context.rb:193:in `block in evaluate'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/context.rb:190:in `evaluate'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/bundled_asset.rb:26:in `initialize'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `new'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:252:in `build_asset'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:169:in `find_asset'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/index.rb:60:in `find_asset'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:19:in `block in compile'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/bas
** [out :: myserver.local] e.rb:203:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/static_compiler.rb:18:in `compile'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:56:in `internal_precompile'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:70:in `block (3 levels) in <top (required)>'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
** [out :: myserver.local] /home/deployer/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:60:in `block (3 levels) in <top (required)>'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
** [out :: myserver.local]
** [out :: myserver.local] /home/deployer/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:23:in `invoke_or_reboot_rake_task'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.11/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
** [out :: myserver.local] /home/deployer/.rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/gems/rake-10.0.4/bin/rake:33:in `<top (required)>'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/bin/rake:23:in `load'
** [out :: myserver.local] /home/deployer/rails_apps/webapp/shared/bundle/ruby/1.9.1/bin/rake:23:in `<main>'
** [out :: myserver.local] Tasks: TOP => assets:precompile:primary
command finished in 11601ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/deployer/rails_apps/webapp/releases/20130419153106; true"
servers: ["myserver.local"]
[myserver.local] executing command
command finished in 152ms
failed: "sh -c 'cd -- /home/deployer/rails_apps/webapp/releases/20130419153106 && bundle exec rake --trace RAILS_ENV=production RAILS_GROUPS=assets assets:precompile && cp -- /home/deployer/rails_apps/webapp/shared/assets/manifest.yml /home/deployer/rails_apps/webapp/releases/20130419153106/assets_manifest.yml'" on myserver.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment