Guest User

Untitled

a guest
Nov 6th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.26 KB | None | 0 0
  1. ➜ appletv git:(master) ✗ cap staging deploy
  2. [Deprecation Notice] Future versions of Capistrano will not load the Git SCM
  3. plugin by default. To silence this deprecation warning, add the following to
  4. your Capfile after `require "capistrano/deploy"`:
  5.  
  6. require "capistrano/scm/git"
  7. install_plugin Capistrano::SCM::Git
  8.  
  9. INFO config/secrets.yml.gpg is newer than config/secrets.yml. updating config/secrets.yml.
  10. gpg: encrypted with 2048-bit RSA key, ID 7D9D954757029D2E, created 2012-09-28
  11. "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
  12. File 'config/secrets.yml' exists. Overwrite? (y/N) y
  13. gpg: encrypted with 2048-bit RSA key, ID 7D9D954757029D2E, created 2012-09-28
  14. "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
  15. INFO [fce9cf0c] Running /usr/bin/env mkdir -p /tmp as tedconf@rails-staging2.private.ted.com
  16. INFO [e0b12aca] Finished in 4.880 seconds with exit status 0 (successful).
  17. INFO Uploading /tmp/git-ssh-appletv-staging-clayselby.sh 100.0%
  18. INFO [7715ae9f] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletv-staging-clayselby.sh as tedconf@rails-staging2.private.ted.com
  19. INFO [f8bd8099] Finished in 3.995 seconds with exit status 0 (successful).
  20. INFO [e5a919c8] Running /usr/bin/env git ls-remote git@github.com:tedconf/appletv.git HEAD as tedconf@rails-staging2.private.ted.com
  21. INFO [f4cc38f4] Finished in 5.716 seconds with exit status 0 (successful).
  22. INFO [724c6605] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/shared /var/www/appletv/staging/master/releases as tedconf@rails-staging2.private.ted.com
  23. INFO [7ef6744b] Finished in 2.393 seconds with exit status 0 (successful).
  24. INFO [e8f30864] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/shared/log /var/www/appletv/staging/master/shared/public/assets as tedconf@rails-staging2.private.ted.com
  25. INFO [cd9aca87] Finished in 2.023 seconds with exit status 0 (successful).
  26. INFO The repository mirror is at /var/www/appletv/staging/master/repo
  27. INFO [566a9494] Running /usr/bin/env git remote set-url origin git@github.com:tedconf/appletv.git as tedconf@rails-staging2.private.ted.com
  28. INFO [a0cba294] Finished in 1.536 seconds with exit status 0 (successful).
  29. INFO [62921d7f] Running /usr/bin/env git remote update --prune as tedconf@rails-staging2.private.ted.com
  30. INFO [c4b7788c] Finished in 2.718 seconds with exit status 0 (successful).
  31. INFO [4eaf27e6] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/releases/20181106160621 as tedconf@rails-staging2.private.ted.com
  32. INFO [41a27155] Finished in 1.561 seconds with exit status 0 (successful).
  33. INFO [f9ea7b2d] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /var/www/appletv/staging/master/releases/20181106160621 as tedconf@rails-staging2.private.ted.com
  34. INFO [a2b7cacb] Finished in 2.206 seconds with exit status 0 (successful).
  35. INFO [0dbdcb55] Running /usr/bin/env echo "03b0f48577e734dc1e5afe1c63ca658ecd62118e" >> REVISION as tedconf@rails-staging2.private.ted.com
  36. INFO [fd9ebd11] Finished in 1.934 seconds with exit status 0 (successful).
  37. INFO [6b6a42d5] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/releases/20181106160621 /var/www/appletv/staging/master/releases/20181106160621/public as tedconf@rails-staging2.private.ted.com
  38. INFO [96455c3a] Finished in 1.755 seconds with exit status 0 (successful).
  39. INFO [a54e2511] Running /usr/bin/env rm -rf /var/www/appletv/staging/master/releases/20181106160621/log as tedconf@rails-staging2.private.ted.com
  40. INFO [11df623a] Finished in 1.560 seconds with exit status 0 (successful).
  41. INFO [13fa748d] Running /usr/bin/env ln -s /var/www/appletv/staging/master/shared/log /var/www/appletv/staging/master/releases/20181106160621/log as tedconf@rails-staging2.private.ted.com
  42. INFO [ba80ddae] Finished in 1.461 seconds with exit status 0 (successful).
  43. INFO [5cc3394f] Running /usr/bin/env ln -s /var/www/appletv/staging/master/shared/public/assets /var/www/appletv/staging/master/releases/20181106160621/public/assets as tedconf@rails-staging2.private.ted.com
  44. INFO [5b3b77a0] Finished in 1.798 seconds with exit status 0 (successful).
  45. INFO Uploading config/secrets.yml 100.0%
  46. INFO [e2f57587] Running /usr/local/rvm/bin/rvm 2.4.2 do bundle install --path /var/www/appletv/staging/master/shared/bundle --without development test --deployment --quiet as tedconf@rails-staging2.private.ted.com
  47. INFO [f68cb8b1] Finished in 124.899 seconds with exit status 0 (successful).
  48. INFO [4541dcfe] Running /usr/local/rvm/bin/rvm 2.4.2 do bundle exec rake assets:precompile as tedconf@rails-staging2.private.ted.com
  49. INFO [b07c4f74] Finished in 12.793 seconds with exit status 0 (successful).
  50. INFO [061fd8f9] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/releases/20181106160621/assets_manifest_backup as tedconf@rails-staging2.private.ted.com
  51. INFO [bbeff429] Finished in 1.929 seconds with exit status 0 (successful).
  52. INFO [e6b08df8] Running /usr/bin/env cp /var/www/appletv/staging/master/releases/20181106160621/public/assets/.sprockets-manifest-059df7261145e8187eb4671efb18230a.json /var/www/appletv/staging/master/releases/20181106160621/assets_manifest_backup as tedconf@rails-staging2.private.ted.com
  53. INFO [b14edbb8] Finished in 2.103 seconds with exit status 0 (successful).
  54. INFO [deploy:migrate] Run `rake db:migrate`
  55. INFO [b98e1e44] Running /usr/local/rvm/bin/rvm 2.4.2 do bundle exec rake db:migrate as tedconf@rails-staging2.private.ted.com
  56. INFO [4a202792] Finished in 5.814 seconds with exit status 0 (successful).
  57. INFO [d875a806] Running /usr/bin/env ln -s /var/www/appletv/staging/master/releases/20181106160621 /var/www/appletv/staging/master/releases/current as tedconf@rails-staging2.private.ted.com
  58. INFO [19205961] Finished in 1.877 seconds with exit status 0 (successful).
  59. INFO [5d7d8438] Running /usr/bin/env mv /var/www/appletv/staging/master/releases/current /var/www/appletv/staging/master as tedconf@rails-staging2.private.ted.com
  60. INFO [8afaa6cc] Finished in 1.687 seconds with exit status 0 (successful).
  61. INFO [18185cac] Running /usr/bin/env ln -sf /var/www/appletv/staging/master/releases/20181106160621/public/assets/application-*.js /var/www/appletv/staging/master/releases/20181106160621/public/assets/application.js as tedconf@rails-staging2.private.ted.com
  62. (Backtrace restricted to imported tasks)
  63. cap aborted!
  64. SSHKit::Runner::ExecuteError: Exception while executing as tedconf@rails-staging2.private.ted.com: ln exit status: 1
  65. ln stdout: Nothing written
  66. ln stderr: ln: target ‘/var/www/appletv/staging/master/releases/20181106160621/public/assets/application.js’ is not a directory
  67.  
  68.  
  69. Caused by:
  70. SSHKit::Command::Failed: ln exit status: 1
  71. ln stdout: Nothing written
  72. ln stderr: ln: target ‘/var/www/appletv/staging/master/releases/20181106160621/public/assets/application.js’ is not a directory
  73. /Users/clayselby/Developer/appletv/lib/capistrano/tasks/assets.rake:7:in `block (3 levels) in <top (required)>'
  74. Tasks: TOP => unicorn:restart => assets:link
  75. (See full trace by running task with --trace)
  76. The deploy has failed with an error: Exception while executing as tedconf@rails-staging2.private.ted.com: ln exit status: 1
  77. ln stdout: Nothing written
  78. ln stderr: ln: target ‘/var/www/appletv/staging/master/releases/20181106160621/public/assets/application.js’ is not a directory
Add Comment
Please, Sign In to add comment