Advertisement
Guest User

Untitled

a guest
Mar 14th, 2018
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.07 KB | None | 0 0
  1. ```
  2. [juvelir@deploy juvelirtorg]$ cap production deploy
  3. * executing `production'
  4. * executing `deploy'
  5. * executing `deploy:update'
  6. ** transaction: start
  7. * executing `deploy:update_code'
  8. updating the cached checkout on all servers
  9. executing locally: "git ls-remote git@gitlab.molinos.ru:studio/juvelirtorg.git master"
  10. command finished in 1267ms
  11. * executing "if [ -d /home/juvelir/production/shared/cached-copy ]; then cd /home/juvelir/production/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 1900fb809ee9a2d6b1c159dc826dc935df861ddb && git clean -q -d -x -f; else git clone -q git@gitlab.molinos.ru:studio/juvelirtorg.git /home/juvelir/production/shared/cached-copy && cd /home/juvelir/production/shared/cached-copy && git checkout -q -b deploy 1900fb809ee9a2d6b1c159dc826dc935df861ddb; fi"
  12. servers: ["juvelirtorg.spb.ru"]
  13. [juvelirtorg.spb.ru] executing command
  14. ** [juvelirtorg.spb.ru :: err] Error reading response length from authentication socket.
  15.  
  16.  
  17.  
  18.  
  19. command finished in 64209ms
  20. copying the cached version to /home/juvelir/production/releases/20180314111308
  21. * executing "cp -RPp /home/juvelir/production/shared/cached-copy /home/juvelir/production/releases/20180314111308 && (echo 1900fb809ee9a2d6b1c159dc826dc935df861ddb > /home/juvelir/production/releases/20180314111308/REVISION)"
  22. servers: ["juvelirtorg.spb.ru"]
  23. [juvelirtorg.spb.ru] executing command
  24. command finished in 678ms
  25. * executing `deploy:finalize_update'
  26. triggering before callbacks for `deploy:finalize_update'
  27. * executing `bundle:install'
  28. * executing "cd /home/juvelir/production/releases/20180314111308 && bundle install --gemfile /home/juvelir/production/releases/20180314111308/Gemfile --path /home/juvelir/production/shared/bundle --deployment --quiet --without development test"
  29. servers: ["juvelirtorg.spb.ru"]
  30. [juvelirtorg.spb.ru] executing command
  31. command finished in 27648ms
  32. * executing `whenever:update_crontab'
  33. * executing "cd /home/juvelir/production/releases/20180314111308 && bundle exec whenever --update-crontab juvelirtorg_production --set environment=production --roles db"
  34. servers: ["juvelirtorg.spb.ru"]
  35. [juvelirtorg.spb.ru] executing command
  36. ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
  37. ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
  38. ** [out :: juvelirtorg.spb.ru] While it's not a problem now, it could cause errors if you change the version of just one of them later.
  39. ** [out :: juvelirtorg.spb.ru] [write] crontab file updated
  40. command finished in 2864ms
  41. * executing "chmod -R g+w /home/juvelir/production/releases/20180314111308"
  42. servers: ["juvelirtorg.spb.ru"]
  43. [juvelirtorg.spb.ru] executing command
  44. command finished in 297ms
  45. * executing "rm -rf /home/juvelir/production/releases/20180314111308/log /home/juvelir/production/releases/20180314111308/public/system /home/juvelir/production/releases/20180314111308/tmp/pids &&\\\n mkdir -p /home/juvelir/production/releases/20180314111308/public &&\\\n mkdir -p /home/juvelir/production/releases/20180314111308/tmp"
  46. servers: ["juvelirtorg.spb.ru"]
  47. [juvelirtorg.spb.ru] executing command
  48. command finished in 265ms
  49. * executing "ln -s /home/juvelir/production/shared/system /home/juvelir/production/releases/20180314111308/public/system"
  50. servers: ["juvelirtorg.spb.ru"]
  51. [juvelirtorg.spb.ru] executing command
  52. command finished in 284ms
  53. * executing "ln -s /home/juvelir/production/shared/log /home/juvelir/production/releases/20180314111308/log"
  54. servers: ["juvelirtorg.spb.ru"]
  55. [juvelirtorg.spb.ru] executing command
  56. command finished in 257ms
  57. * executing "ln -s /home/juvelir/production/shared/pids /home/juvelir/production/releases/20180314111308/tmp/pids"
  58. servers: ["juvelirtorg.spb.ru"]
  59. [juvelirtorg.spb.ru] executing command
  60. command finished in 262ms
  61. * executing "ln -s /home/juvelir/production/shared/dump /home/juvelir/production/releases/20180314111308/dump"
  62. servers: ["juvelirtorg.spb.ru"]
  63. [juvelirtorg.spb.ru] executing command
  64. command finished in 258ms
  65. * executing "find /home/juvelir/production/releases/20180314111308/public/images /home/juvelir/production/releases/20180314111308/public/stylesheets /home/juvelir/production/releases/20180314111308/public/javascripts -exec touch -t 201803141113.41 {} ';'; true"
  66. servers: ["juvelirtorg.spb.ru"]
  67. [juvelirtorg.spb.ru] executing command
  68. command finished in 1099ms
  69. triggering after callbacks for `deploy:update_code'
  70. * executing `juvelirtorg:symlink'
  71. triggering before callbacks for `juvelirtorg:symlink'
  72. * executing `juvelirtorg:application_config'
  73. servers: ["juvelirtorg.spb.ru"]
  74. ** sftp upload #<StringIO:0x0000000243a060> -> /home/juvelir/production/shared/config/application.yml
  75. [juvelirtorg.spb.ru] /home/juvelir/production/shared/config/application.yml
  76. [juvelirtorg.spb.ru] done
  77. * sftp upload complete
  78. * executing `god:deploy_config'
  79. servers: ["juvelirtorg.spb.ru"]
  80. ** sftp upload #<StringIO:0x00000002220ea0> -> /home/juvelir/production/shared/config/god.rb
  81. [juvelirtorg.spb.ru] /home/juvelir/production/shared/config/god.rb
  82. [juvelirtorg.spb.ru] done
  83. * sftp upload complete
  84. * executing `juvelirtorg:unicorn_config'
  85. servers: ["juvelirtorg.spb.ru"]
  86. ** sftp upload #<StringIO:0x000000021d1a58> -> /home/juvelir/production/shared/config/unicorn.rb
  87. [juvelirtorg.spb.ru] /home/juvelir/production/shared/config/unicorn.rb
  88. [juvelirtorg.spb.ru] done
  89. * sftp upload complete
  90. * executing "ln -nfs /home/juvelir/production/shared/config/database.yml /home/juvelir/production/releases/20180314111308/config/database.yml"
  91. servers: ["juvelirtorg.spb.ru"]
  92. [juvelirtorg.spb.ru] executing command
  93. command finished in 348ms
  94. * executing "ln -nfs /home/juvelir/production/shared/config/application.yml /home/juvelir/production/releases/20180314111308/config/application.yml"
  95. servers: ["juvelirtorg.spb.ru"]
  96. [juvelirtorg.spb.ru] executing command
  97. command finished in 388ms
  98. * executing "ln -nfs /home/juvelir/production/shared/config/god.rb /home/juvelir/production/releases/20180314111308/config/god.rb"
  99. servers: ["juvelirtorg.spb.ru"]
  100. [juvelirtorg.spb.ru] executing command
  101. command finished in 328ms
  102. * executing "ln -nfs /home/juvelir/production/shared/config/unicorn.rb /home/juvelir/production/releases/20180314111308/config/unicorn.rb"
  103. servers: ["juvelirtorg.spb.ru"]
  104. [juvelirtorg.spb.ru] executing command
  105. command finished in 244ms
  106. * executing "ln -nfs /home/juvelir/production/shared/config/sphinx.yml /home/juvelir/production/releases/20180314111308/config/sphinx.yml"
  107. servers: ["juvelirtorg.spb.ru"]
  108. [juvelirtorg.spb.ru] executing command
  109. command finished in 251ms
  110. * executing "ln -nfs /home/juvelir/production/shared/db/sphinx /home/juvelir/production/releases/20180314111308/db/sphinx"
  111. servers: ["juvelirtorg.spb.ru"]
  112. [juvelirtorg.spb.ru] executing command
  113. command finished in 226ms
  114. * executing `deploy:create_symlink'
  115. * executing "rm -f /home/juvelir/production/current && ln -s /home/juvelir/production/releases/20180314111308 /home/juvelir/production/current"
  116. servers: ["juvelirtorg.spb.ru"]
  117. [juvelirtorg.spb.ru] executing command
  118. command finished in 270ms
  119. ** transaction: commit
  120. * executing `deploy:restart'
  121. triggering before callbacks for `deploy:restart'
  122. * executing `god:restart'
  123. * executing "cd /home/juvelir/production/current && bundle exec god --port=57192 --pid=/home/juvelir/production/current/tmp/pids/god.pid restart watches"
  124. servers: ["juvelirtorg.spb.ru"]
  125. [juvelirtorg.spb.ru] executing command
  126. ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
  127. ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
  128. ** [out :: juvelirtorg.spb.ru] While it's not a problem now, it could cause errors if you change the version of just one of them later.
  129. ** [out :: juvelirtorg.spb.ru] Sending 'restart' command
  130. ** [out :: juvelirtorg.spb.ru]
  131. ** [out :: juvelirtorg.spb.ru] The following watches were affected:
  132. ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_unicorn
  133. ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_delayed_job
  134. command finished in 1859ms
  135. * executing "cd /home/juvelir/production/current && RAILS_ENV=production bundle exec god --port=57192 --pid=/home/juvelir/production/current/tmp/pids/god.pid restart juvelirtorg_production_unicorn"
  136. servers: ["juvelirtorg.spb.ru"]
  137. [juvelirtorg.spb.ru] executing command
  138. ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
  139. ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
  140. ** [out :: juvelirtorg.spb.ru] While it's not a problem now, it could cause errors if you change the version of just one of them later.
  141. ** [out :: juvelirtorg.spb.ru] Sending 'restart' command
  142. ** [out :: juvelirtorg.spb.ru]
  143. ** [out :: juvelirtorg.spb.ru] The following watches were affected:
  144. ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_unicorn
  145. ** [out :: juvelirtorg.spb.ru]
  146. command finished in 1034ms
  147. triggering after callbacks for `deploy:restart'
  148. * executing `deploy:cleanup'
  149. * executing "ls -xt /home/juvelir/production/releases"
  150. servers: ["juvelirtorg.spb.ru"]
  151. [juvelirtorg.spb.ru] executing command
  152. command finished in 274ms
  153. *** no old releases to clean up
  154. * executing `delayed_job:restart'
  155. * executing "chmod +x /home/juvelir/production/current/script/*"
  156. servers: ["juvelirtorg.spb.ru"]
  157. [juvelirtorg.spb.ru] executing command
  158. command finished in 263ms
  159. * executing "cd /home/juvelir/production/current && RAILS_ENV=production bundle exec god --port=57192 --pid=/home/juvelir/production/current/tmp/pids/god.pid restart juvelirtorg_production_delayed_job"
  160. servers: ["juvelirtorg.spb.ru"]
  161. [juvelirtorg.spb.ru] executing command
  162. ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
  163. ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
  164. ** [out :: juvelirtorg.spb.ru] While it's not a problem now, it could cause errors if you change the version of just one of them later.
  165. ** [out :: juvelirtorg.spb.ru] Sending 'restart' command
  166. ** [out :: juvelirtorg.spb.ru]
  167. ** [out :: juvelirtorg.spb.ru] The following watches were affected:
  168. ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_delayed_job
  169. command finished in 1071ms
  170. triggering after callbacks for `deploy'
  171. * executing `jammit:upload_packages'
  172. /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/source/git.rb:188:in `rescue in load_spec_files': git://github.com/eventmachine/eventmachine.git (at master) is not yet checked out. Run `bundle install` first. (Bundler::GitError)
  173. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/source/git.rb:185:in `load_spec_files'
  174. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/source/path.rb:92:in `local_specs'
  175. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/source/git.rb:155:in `specs'
  176. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/lazy_specification.rb:53:in `__materialize__'
  177. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/spec_set.rb:88:in `block in materialize'
  178. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/spec_set.rb:85:in `map!'
  179. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/spec_set.rb:85:in `materialize'
  180. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/definition.rb:132:in `specs'
  181. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/definition.rb:177:in `specs_for'
  182. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/definition.rb:166:in `requested_specs'
  183. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/environment.rb:18:in `requested_specs'
  184. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:13:in `setup'
  185. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:121:in `setup'
  186. from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/setup.rb:17:in `<top (required)>'
  187. from /home/juvelir/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:128:in `require'
  188. from /home/juvelir/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
  189. from /home/juvelir/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:39:in `require'
  190. from /home/juvelir/juvelirtorg/config/boot.rb:7:in `<top (required)>'
  191. from /home/juvelir/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
  192. from /home/juvelir/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in `require'
  193. from script/rails:5:in `<main>'
  194. ** Jammit assets packaged
  195. * executing "if [ -d /home/juvelir/production/current/public/assets ]; then rm -rf /home/juvelir/production/current/public/assets; fi && mkdir /home/juvelir/production/current/public/assets"
  196. servers: ["juvelirtorg.spb.ru"]
  197. [juvelirtorg.spb.ru] executing command
  198. command finished in 272ms
  199. servers: ["juvelirtorg.spb.ru"]
  200. ** scp upload public/assets -> /home/juvelir/production/current/public
  201. *** upload via scp failed on juvelirtorg.spb.ru: SCP did not finish successfully () (SCP did not finish successfully ())
  202. upload via scp failed on juvelirtorg.spb.ru: SCP did not finish successfully () (SCP did not finish successfully ())
  203.  
  204. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement