Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```
- [juvelir@deploy juvelirtorg]$ cap production deploy
- * executing `production'
- * executing `deploy'
- * executing `deploy:update'
- ** transaction: start
- * executing `deploy:update_code'
- updating the cached checkout on all servers
- executing locally: "git ls-remote git@gitlab.molinos.ru:studio/juvelirtorg.git master"
- command finished in 1267ms
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- ** [juvelirtorg.spb.ru :: err] Error reading response length from authentication socket.
- command finished in 64209ms
- copying the cached version to /home/juvelir/production/releases/20180314111308
- * executing "cp -RPp /home/juvelir/production/shared/cached-copy /home/juvelir/production/releases/20180314111308 && (echo 1900fb809ee9a2d6b1c159dc826dc935df861ddb > /home/juvelir/production/releases/20180314111308/REVISION)"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 678ms
- * executing `deploy:finalize_update'
- triggering before callbacks for `deploy:finalize_update'
- * executing `bundle:install'
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 27648ms
- * executing `whenever:update_crontab'
- * executing "cd /home/juvelir/production/releases/20180314111308 && bundle exec whenever --update-crontab juvelirtorg_production --set environment=production --roles db"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
- ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
- ** [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.
- ** [out :: juvelirtorg.spb.ru] [write] crontab file updated
- command finished in 2864ms
- * executing "chmod -R g+w /home/juvelir/production/releases/20180314111308"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 297ms
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 265ms
- * executing "ln -s /home/juvelir/production/shared/system /home/juvelir/production/releases/20180314111308/public/system"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 284ms
- * executing "ln -s /home/juvelir/production/shared/log /home/juvelir/production/releases/20180314111308/log"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 257ms
- * executing "ln -s /home/juvelir/production/shared/pids /home/juvelir/production/releases/20180314111308/tmp/pids"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 262ms
- * executing "ln -s /home/juvelir/production/shared/dump /home/juvelir/production/releases/20180314111308/dump"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 258ms
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 1099ms
- triggering after callbacks for `deploy:update_code'
- * executing `juvelirtorg:symlink'
- triggering before callbacks for `juvelirtorg:symlink'
- * executing `juvelirtorg:application_config'
- servers: ["juvelirtorg.spb.ru"]
- ** sftp upload #<StringIO:0x0000000243a060> -> /home/juvelir/production/shared/config/application.yml
- [juvelirtorg.spb.ru] /home/juvelir/production/shared/config/application.yml
- [juvelirtorg.spb.ru] done
- * sftp upload complete
- * executing `god:deploy_config'
- servers: ["juvelirtorg.spb.ru"]
- ** sftp upload #<StringIO:0x00000002220ea0> -> /home/juvelir/production/shared/config/god.rb
- [juvelirtorg.spb.ru] /home/juvelir/production/shared/config/god.rb
- [juvelirtorg.spb.ru] done
- * sftp upload complete
- * executing `juvelirtorg:unicorn_config'
- servers: ["juvelirtorg.spb.ru"]
- ** sftp upload #<StringIO:0x000000021d1a58> -> /home/juvelir/production/shared/config/unicorn.rb
- [juvelirtorg.spb.ru] /home/juvelir/production/shared/config/unicorn.rb
- [juvelirtorg.spb.ru] done
- * sftp upload complete
- * executing "ln -nfs /home/juvelir/production/shared/config/database.yml /home/juvelir/production/releases/20180314111308/config/database.yml"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 348ms
- * executing "ln -nfs /home/juvelir/production/shared/config/application.yml /home/juvelir/production/releases/20180314111308/config/application.yml"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 388ms
- * executing "ln -nfs /home/juvelir/production/shared/config/god.rb /home/juvelir/production/releases/20180314111308/config/god.rb"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 328ms
- * executing "ln -nfs /home/juvelir/production/shared/config/unicorn.rb /home/juvelir/production/releases/20180314111308/config/unicorn.rb"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 244ms
- * executing "ln -nfs /home/juvelir/production/shared/config/sphinx.yml /home/juvelir/production/releases/20180314111308/config/sphinx.yml"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 251ms
- * executing "ln -nfs /home/juvelir/production/shared/db/sphinx /home/juvelir/production/releases/20180314111308/db/sphinx"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 226ms
- * executing `deploy:create_symlink'
- * executing "rm -f /home/juvelir/production/current && ln -s /home/juvelir/production/releases/20180314111308 /home/juvelir/production/current"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 270ms
- ** transaction: commit
- * executing `deploy:restart'
- triggering before callbacks for `deploy:restart'
- * executing `god:restart'
- * executing "cd /home/juvelir/production/current && bundle exec god --port=57192 --pid=/home/juvelir/production/current/tmp/pids/god.pid restart watches"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
- ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
- ** [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.
- ** [out :: juvelirtorg.spb.ru] Sending 'restart' command
- ** [out :: juvelirtorg.spb.ru]
- ** [out :: juvelirtorg.spb.ru] The following watches were affected:
- ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_unicorn
- ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_delayed_job
- command finished in 1859ms
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
- ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
- ** [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.
- ** [out :: juvelirtorg.spb.ru] Sending 'restart' command
- ** [out :: juvelirtorg.spb.ru]
- ** [out :: juvelirtorg.spb.ru] The following watches were affected:
- ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_unicorn
- ** [out :: juvelirtorg.spb.ru]
- command finished in 1034ms
- triggering after callbacks for `deploy:restart'
- * executing `deploy:cleanup'
- * executing "ls -xt /home/juvelir/production/releases"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 274ms
- *** no old releases to clean up
- * executing `delayed_job:restart'
- * executing "chmod +x /home/juvelir/production/current/script/*"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 263ms
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- ** [out :: juvelirtorg.spb.ru] Your Gemfile lists the gem eventmachine (>= 0) more than once.
- ** [out :: juvelirtorg.spb.ru] You should probably keep only one of them.
- ** [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.
- ** [out :: juvelirtorg.spb.ru] Sending 'restart' command
- ** [out :: juvelirtorg.spb.ru]
- ** [out :: juvelirtorg.spb.ru] The following watches were affected:
- ** [out :: juvelirtorg.spb.ru] juvelirtorg_production_delayed_job
- command finished in 1071ms
- triggering after callbacks for `deploy'
- * executing `jammit:upload_packages'
- /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)
- 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'
- 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'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/source/git.rb:155:in `specs'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/lazy_specification.rb:53:in `__materialize__'
- 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'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/spec_set.rb:85:in `map!'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/spec_set.rb:85:in `materialize'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/definition.rb:132:in `specs'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/definition.rb:177:in `specs_for'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/definition.rb:166:in `requested_specs'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/environment.rb:18:in `requested_specs'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/runtime.rb:13:in `setup'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:121:in `setup'
- from /home/juvelir/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler/setup.rb:17:in `<top (required)>'
- 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'
- 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'
- 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'
- from /home/juvelir/juvelirtorg/config/boot.rb:7:in `<top (required)>'
- 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'
- 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'
- from script/rails:5:in `<main>'
- ** Jammit assets packaged
- * 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"
- servers: ["juvelirtorg.spb.ru"]
- [juvelirtorg.spb.ru] executing command
- command finished in 272ms
- servers: ["juvelirtorg.spb.ru"]
- ** scp upload public/assets -> /home/juvelir/production/current/public
- *** upload via scp failed on juvelirtorg.spb.ru: SCP did not finish successfully () (SCP did not finish successfully ())
- upload via scp failed on juvelirtorg.spb.ru: SCP did not finish successfully () (SCP did not finish successfully ())
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement