Skip to main content

Deploy Ubuntu 18.04 Bionic Beaver Discussion

General • Asked by Chris Oliver
Thanks for this article, Chris! I'm struggling to get past the step of installing NGINX with Passenger. The command 
sudo apt-get install -y nginx-extras passenger
...results in a message about several dependencies that are not installable. Do you know how to get around this?


# Add Passenger APT repository
sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bionic main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update

Make sure it's bionic and not xenial - if you've already run this step, you'll have to update 
 /etc/apt/sources.list.d/passenger.list
to make sure it's bionic as well


phusionpassenger - just updated its nginx - passenger instructions & software.

https://www.phusionpassenger.com/library/install/nginx/install/oss/bionic/

Thanks btihen! I'll get the tutorial updated for its changes shortly!

When I tried to start nginx (sudo service nginx start), I got the following error:
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
Problem: There was no /usr/sbin/nginx directory.

I solved the problem by: sudo apt-get install nginx
but I am wondering why it happened...
Did Phusion change the way Passenger is installed with nginx?

On another note: It would be nice for us newbies to describe Passenger and Capistrano and why you are installing them.

Thanks for the guide...
I had the same issue, Earl. I think the author assumed that by installing the passenger module, nginx would be installed automatically as a dependency. Maybe there's been a change in the repository, but in my case nginx didn't install either, it had to be done specifically with
sudo apt install nginx


I get the error:

The following packages have unmet dependencies:
libnginx-mod-http-passenger : Depends: passenger (= 1:5.3.4-1~bionic1) but it is not going to be installed
Depends: nginx-common (= 1.14.0-0ubuntu1) but 1.14.0-0ubuntu1.1 is to be installed

When I just followed this. Seems some packages were updated but the requirements on nginx requires the old version?

Hey Daniel,

Looks like there's just a temporary issue with Passenger's package as of last night. They're fixing it but here's a workaround: https://github.com/phusion/passenger/issues/2122#issuecomment-423355568

We ran into the same thing on Hatchbox and the workaround fixes it.


I am wondering if there is a variant toturial for the Puma, Nginx and Capistrano setup? Is Puma a less viable app server for production? Can we invoke a small discussion on this?

Something I'll probably add a some point soon now that Puma ships with Rails by default.

Puma is great too, but this tutorial is intended for beginners and Puma requires you to setup, run, manage, and monitor a separate process on the server independent of NGINX. It's just a lot less beginner friendly in production so that's why Passenger is the default. It's much easier to get up and running to learn the ropes and once you've done it successfully you can swap over to Puma if you like.


Hello Chris,
it's the first time I'm trying to deploy an app on a server.
for the moment i have 2 problems.
first, optionnal: I don't have secrets.yml, secrets.yml.example and database.yml.example in my rails app. Do I have to create them and if yes what do I put in my secrets.yml (On the other hand, I have credentials.yml.enc and master.key)
secondly, i'm at the first deploy step and every time i run "cap production deploy" that stop at "git:check" with this message :
[email protected]: Permission denied (publickey,password).
01 fatal: Could not read from remote repository.
01
01 Please make sure you have the correct access rights
01 and the repository exists.
I had, beforedeploying, generate a pair of key in the sudo user on the server, I had add this public key to the deploy key section of my repo git. I tried to clone the repo on the server but I have the same message. but on local no problem. Do you have an idea of what I did wrong (I look for a solution on google, I try change the git address and several other things since one day). Did I miss something.
And of course thank you very much, Chris, for this article.

Hey Glory!

Sounds like your server can't authenticate with your git repo. There are two options for this.

  1. You can add SSH keys on your server. Take the public key from the server and add it as a deploy key on your git repo.
  2. Let Capistrano forward your development machine's ssh key to the server and use it to clone your git repo.

I usually use #2.

They outline a bunch of details of this here in the Capistrano docs: https://capistranorb.com/documentation/getting-started/authentication-and-authorisation/

Also, don't worry about secrets.yml. You'll need to symlink master.key on your server though so it can decrypt credentials. You'll go into the shared folder, and create the master.key file and then add it to the list of files to symlink every deploy. That should be all you need for that since the credentials.yml.enc is already stored in your git repo.

Hello Chris,
thanks for your answer.
About secrets.yml, I found it.
About git it's exactly the problem. Since the begin I did #1 but as I say that did not work.
So perhaps I've forgoten to do something, or I don't no what. So to be sur i'm going to delete the server and restart all from the beginning. I don't really understand the #2 for git authentication on my server, but I'm going to read the docs you send me, I hope that will works this time.
Thank you again for your work.


Hello,
Thanks for this nice tuto !
I follow instructions but finally I have a problem on cap production deploy.
Seems to upload from git perfectly but problem with bundle install :

*Your bundle only supports platforms ["x86-mingw32"] but your local platforms are
["ruby", "x86_64-linux"], and there's no compatible match between those two
lists.
*

Can you help me ?
Thanks


Soo close to deploying... stuck on capistrano... feeling like giving up on it all.. any help is appreciated.

Logfile created on 2019-02-06 14:39:16 -0800 by logger.rb/66358

INFO ---------------------------------------------------------------------------
INFO START 2019-02-06 14:39:16 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [a31dcb3c] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [a31dcb3c] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [7cf4009d] Finished in 9.738 seconds with exit status 0 (successful).
INFO [1bc30033] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [1bc30033] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [815d8d82] Finished in 0.099 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [0bab996b] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [0bab996b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [1b1ff650] Finished in 0.343 seconds with exit status 0 (successful).
INFO [3e2bc2a2] Running /usr/bin/env git ls-remote github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [3e2bc2a2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote github.com/derfois/deploy_test.git HEAD )
DEBUG [e303ccb9] fatal: 'github.com/derfois/deploy_test.git' does not appear to be a git repository
DEBUG [e303ccb9] fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
INFO ---------------------------------------------------------------------------
INFO START 2019-02-06 14:41:59 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [fcf0536e] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [fcf0536e] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [34cf6a8c] Finished in 7.630 seconds with exit status 0 (successful).
INFO [14301f23] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [14301f23] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [0d9ec59c] Finished in 0.100 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [9bfe4a9e] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [9bfe4a9e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [1d5ae582] Finished in 0.113 seconds with exit status 0 (successful).
INFO [ec9af45f] Running /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [ec9af45f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD )
DEBUG [187f6861] 371d8e27172fe3f834b3ae925d3f41df102f6072 HEAD
INFO [187f6861] Finished in 0.415 seconds with exit status 0 (successful).
INFO [46b79fa3] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases as [email protected]
DEBUG [46b79fa3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases )
INFO [9343c517] Finished in 0.100 seconds with exit status 0 (successful).
INFO [1e1f5d6f] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets as [email protected]
DEBUG [1e1f5d6f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets )
INFO [4176bb83] Finished in 0.100 seconds with exit status 0 (successful).
INFO [1e722a60] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config as [email protected]
DEBUG [1e722a60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config )
INFO [ebe5efaa] Finished in 0.101 seconds with exit status 0 (successful).
DEBUG [86e35634] Running [ -f /home/deploy/deploy_test/shared/config/database.yml ] as [email protected]
DEBUG [86e35634] Command: [ -f /home/deploy/deploy_test/shared/config/database.yml ]
DEBUG [b0d1aa5e] Finished in 0.052 seconds with exit status 1 (failed).
ERROR linked file /home/deploy/deploy_test/shared/config/database.yml does not exist on 104.248.186.100
INFO ---------------------------------------------------------------------------
INFO START 2019-02-06 15:13:33 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [f6357166] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [f6357166] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [f38c6047] Finished in 7.829 seconds with exit status 0 (successful).
INFO [3277e39b] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [3277e39b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [8d4217f6] Finished in 0.092 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [db7a45fe] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [db7a45fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [b9cce045] Finished in 0.100 seconds with exit status 0 (successful).
INFO [4deffb66] Running /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [4deffb66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD )
DEBUG [ffd48265] 6d98648b72b354686eaf3bc46327c9fbe945f9ae HEAD
INFO [ffd48265] Finished in 0.797 seconds with exit status 0 (successful).
INFO [8b33307b] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases as [email protected]
DEBUG [8b33307b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases )
INFO [0fca57e0] Finished in 0.097 seconds with exit status 0 (successful).
INFO [6a1acfad] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets as [email protected]
DEBUG [6a1acfad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets )
INFO [63960cf0] Finished in 0.095 seconds with exit status 0 (successful).
INFO [d6a5e685] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config as [email protected]
DEBUG [d6a5e685] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config )
INFO [88ee8d0a] Finished in 0.098 seconds with exit status 0 (successful).
DEBUG [8ceadb08] Running [ -f /home/deploy/deploy_test/shared/config/database.yml ] as [email protected]
DEBUG [8ceadb08] Command: [ -f /home/deploy/deploy_test/shared/config/database.yml ]
DEBUG [59b17cb6] Finished in 0.097 seconds with exit status 0 (successful).
DEBUG [dc2adbec] Running [ -f /home/deploy/deploy_test/shared/config/secrets.yml ] as [email protected]
DEBUG [dc2adbec] Command: [ -f /home/deploy/deploy_test/shared/config/secrets.yml ]
DEBUG [93d89732] Finished in 0.092 seconds with exit status 0 (successful).
DEBUG [7951e3e7] Running [ -f /home/deploy/deploy_test/current/REVISION ] as [email protected]
DEBUG [7951e3e7] Command: [ -f /home/deploy/deploy_test/current/REVISION ]
DEBUG [081e2f40] Finished in 0.051 seconds with exit status 1 (failed).
DEBUG [2b78897a] Running [ -f /home/deploy/deploy_test/repo/HEAD ] as [email protected]
DEBUG [2b78897a] Command: [ -f /home/deploy/deploy_test/repo/HEAD ]
DEBUG [bedc6fc9] Finished in 0.220 seconds with exit status 1 (failed).
DEBUG [50a90fe3] Running if test ! -d /home/deploy/deploy_test; then echo "Directory does not exist '/home/deploy/deploy_test'" 1>&2; false; fi as [email protected]
DEBUG [50a90fe3] Command: if test ! -d /home/deploy/deploy_test; then echo "Directory does not exist '/home/deploy/deploy_test'" 1>&2; false; fi
DEBUG [3fb3ac35] Finished in 0.050 seconds with exit status 0 (successful).
INFO [e0b05115] Running /usr/bin/env git clone --mirror https://github.com/derfois/deploy_test.git /home/deploy/deploy_test/repo as [email protected]
DEBUG [e0b05115] Command: cd /home/deploy/deploy_test && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git clone --mirror https://github.com/derfois/deploy_test.git /home/deploy/deploy_test/repo )
DEBUG [a2d1dd5a] Cloning into bare repository '/home/deploy/deploy_test/repo'...
INFO [a2d1dd5a] Finished in 0.419 seconds with exit status 0 (successful).
DEBUG [9e330f1b] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [9e330f1b] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [6d7cdee7] Finished in 0.098 seconds with exit status 0 (successful).
INFO [aed9ce4e] Running /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git as [email protected]
DEBUG [aed9ce4e] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git )
INFO [aa02924c] Finished in 0.056 seconds with exit status 0 (successful).
INFO [bf8db36a] Running /usr/bin/env git remote update --prune as [email protected]
DEBUG [bf8db36a] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote update --prune )
DEBUG [b8fe20de] Fetching origin
INFO [b8fe20de] Finished in 0.459 seconds with exit status 0 (successful).
DEBUG [4f8577f9] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [4f8577f9] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [046c4c7d] Finished in 0.092 seconds with exit status 0 (successful).
INFO [67181263] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190206231343 as [email protected]
DEBUG [67181263] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190206231343 )
INFO [f675c3fc] Finished in 0.094 seconds with exit status 0 (successful).
INFO [0460644a] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190206231343 as [email protected]
DEBUG [0460644a] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190206231343 )
INFO [e5b38b56] Finished in 0.113 seconds with exit status 0 (successful).
DEBUG [ee5db607] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [ee5db607] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [619435f8] Finished in 0.266 seconds with exit status 0 (successful).
DEBUG [fcc8bd97] Running /usr/bin/env git rev-list --max-count=1 master as [email protected]
DEBUG [fcc8bd97] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git rev-list --max-count=1 master )
DEBUG [cc3acdd8] 6d98648b72b354686eaf3bc46327c9fbe945f9ae
DEBUG [cc3acdd8] Finished in 0.099 seconds with exit status 0 (successful).
DEBUG [cde71551] Running if test ! -d /home/deploy/deploy_test/releases/20190206231343; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190206231343'" 1>&2; false; fi as [email protected]
DEBUG [cde71551] Command: if test ! -d /home/deploy/deploy_test/releases/20190206231343; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190206231343'" 1>&2; false; fi
DEBUG [5615ccc3] Finished in 0.098 seconds with exit status 0 (successful).
INFO [b7227daa] Running /usr/bin/env echo "6d98648b72b354686eaf3bc46327c9fbe945f9ae" > REVISION as [email protected]
DEBUG [b7227daa] Command: cd /home/deploy/deploy_test/releases/20190206231343 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env echo "6d98648b72b354686eaf3bc46327c9fbe945f9ae" > REVISION )
INFO [d5ee05dd] Finished in 0.101 seconds with exit status 0 (successful).
INFO [cbbeb55e] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190206231343/config as [email protected]
DEBUG [cbbeb55e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190206231343/config )
INFO [74fd2036] Finished in 0.103 seconds with exit status 0 (successful).
DEBUG [e6334313] Running [ -L /home/deploy/deploy_test/releases/20190206231343/config/database.yml ] as [email protected]
DEBUG [e6334313] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/config/database.yml ]
DEBUG [5ea59448] Finished in 0.098 seconds with exit status 1 (failed).
DEBUG [e7f003da] Running [ -f /home/deploy/deploy_test/releases/20190206231343/config/database.yml ] as [email protected]
DEBUG [e7f003da] Command: [ -f /home/deploy/deploy_test/releases/20190206231343/config/database.yml ]
DEBUG [554dd0c0] Finished in 0.192 seconds with exit status 1 (failed).
INFO [3dad41f6] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190206231343/config/database.yml as [email protected]
DEBUG [3dad41f6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190206231343/config/database.yml )
INFO [e26e5d0d] Finished in 0.096 seconds with exit status 0 (successful).
DEBUG [ed1545c0] Running [ -L /home/deploy/deploy_test/releases/20190206231343/config/secrets.yml ] as [email protected]
DEBUG [ed1545c0] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/config/secrets.yml ]
DEBUG [e4c86e39] Finished in 0.093 seconds with exit status 1 (failed).
DEBUG [eb3b6a4e] Running [ -f /home/deploy/deploy_test/releases/20190206231343/config/secrets.yml ] as [email protected]
DEBUG [eb3b6a4e] Command: [ -f /home/deploy/deploy_test/releases/20190206231343/config/secrets.yml ]
DEBUG [b6cb39a4] Finished in 0.063 seconds with exit status 1 (failed).
INFO [d81b881f] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190206231343/config/secrets.yml as [email protected]
DEBUG [d81b881f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190206231343/config/secrets.yml )
INFO [2ee77bd4] Finished in 0.096 seconds with exit status 0 (successful).
INFO [bee6514a] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190206231343 /home/deploy/deploy_test/releases/20190206231343/tmp /home/deploy/deploy_test/releases/20190206231343/vendor /home/deploy/deploy_test/releases/20190206231343/public as [email protected]
DEBUG [bee6514a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190206231343 /home/deploy/deploy_test/releases/20190206231343/tmp /home/deploy/deploy_test/releases/20190206231343/vendor /home/deploy/deploy_test/releases/20190206231343/public )
INFO [a0584661] Finished in 0.098 seconds with exit status 0 (successful).
DEBUG [00de7dec] Running [ -L /home/deploy/deploy_test/releases/20190206231343/log ] as [email protected]
DEBUG [00de7dec] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/log ]
DEBUG [7ec5c962] Finished in 0.161 seconds with exit status 1 (failed).
DEBUG [5f7cc497] Running [ -d /home/deploy/deploy_test/releases/20190206231343/log ] as [email protected]
DEBUG [5f7cc497] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/log ]
DEBUG [7e785033] Finished in 0.092 seconds with exit status 0 (successful).
INFO [d71a4373] Running /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190206231343/log as [email protected]
DEBUG [d71a4373] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190206231343/log )
INFO [8090678c] Finished in 0.052 seconds with exit status 0 (successful).
INFO [cc47ecc8] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190206231343/log as [email protected]
DEBUG [cc47ecc8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190206231343/log )
INFO [01a77d11] Finished in 0.096 seconds with exit status 0 (successful).
DEBUG [e54ba5da] Running [ -L /home/deploy/deploy_test/releases/20190206231343/tmp/pids ] as [email protected]
DEBUG [e54ba5da] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/tmp/pids ]
DEBUG [3c1e431c] Finished in 0.096 seconds with exit status 1 (failed).
DEBUG [e621f899] Running [ -d /home/deploy/deploy_test/releases/20190206231343/tmp/pids ] as [email protected]
DEBUG [e621f899] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/tmp/pids ]
DEBUG [2c2bee58] Finished in 0.089 seconds with exit status 1 (failed).
INFO [b3c872f1] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190206231343/tmp/pids as [email protected]
DEBUG [b3c872f1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190206231343/tmp/pids )
INFO [fb38b831] Finished in 0.096 seconds with exit status 0 (successful).
DEBUG [d9b70ef9] Running [ -L /home/deploy/deploy_test/releases/20190206231343/tmp/cache ] as [email protected]
DEBUG [d9b70ef9] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/tmp/cache ]
DEBUG [220d118a] Finished in 0.098 seconds with exit status 1 (failed).
DEBUG [3b216a4b] Running [ -d /home/deploy/deploy_test/releases/20190206231343/tmp/cache ] as [email protected]
DEBUG [3b216a4b] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/tmp/cache ]
DEBUG [b5a51e9b] Finished in 0.047 seconds with exit status 1 (failed).
INFO [a9db0809] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190206231343/tmp/cache as [email protected]
DEBUG [a9db0809] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190206231343/tmp/cache )
INFO [53083361] Finished in 0.094 seconds with exit status 0 (successful).
DEBUG [168b24ea] Running [ -L /home/deploy/deploy_test/releases/20190206231343/tmp/sockets ] as [email protected]
DEBUG [168b24ea] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/tmp/sockets ]
DEBUG [d373aeff] Finished in 0.094 seconds with exit status 1 (failed).
DEBUG [d75d661c] Running [ -d /home/deploy/deploy_test/releases/20190206231343/tmp/sockets ] as [email protected]
DEBUG [d75d661c] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/tmp/sockets ]
DEBUG [a5228d11] Finished in 0.094 seconds with exit status 1 (failed).
INFO [8f8a0c1e] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190206231343/tmp/sockets as [email protected]
DEBUG [8f8a0c1e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190206231343/tmp/sockets )
INFO [0785f5b8] Finished in 0.276 seconds with exit status 0 (successful).
DEBUG [82b70805] Running [ -L /home/deploy/deploy_test/releases/20190206231343/vendor/bundle ] as [email protected]
DEBUG [82b70805] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/vendor/bundle ]
DEBUG [3badffbd] Finished in 0.094 seconds with exit status 1 (failed).
DEBUG [8f2805cc] Running [ -d /home/deploy/deploy_test/releases/20190206231343/vendor/bundle ] as [email protected]
DEBUG [8f2805cc] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/vendor/bundle ]
DEBUG [bc55cf1b] Finished in 0.057 seconds with exit status 1 (failed).
INFO [9891c176] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190206231343/vendor/bundle as [email protected]
DEBUG [9891c176] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190206231343/vendor/bundle )
INFO [3dc26204] Finished in 0.095 seconds with exit status 0 (successful).
DEBUG [008c817e] Running [ -L /home/deploy/deploy_test/releases/20190206231343/public/system ] as [email protected]
DEBUG [008c817e] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/public/system ]
DEBUG [1bd6b404] Finished in 0.094 seconds with exit status 1 (failed).
DEBUG [667d96e9] Running [ -d /home/deploy/deploy_test/releases/20190206231343/public/system ] as [email protected]
DEBUG [667d96e9] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/public/system ]
DEBUG [35badf77] Finished in 0.270 seconds with exit status 1 (failed).
INFO [c25b2edb] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190206231343/public/system as [email protected]
DEBUG [c25b2edb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190206231343/public/system )
INFO [dd76c675] Finished in 0.102 seconds with exit status 0 (successful).
DEBUG [fc7f5724] Running [ -L /home/deploy/deploy_test/releases/20190206231343/public/uploads ] as [email protected]
DEBUG [fc7f5724] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/public/uploads ]
DEBUG [53dee28e] Finished in 0.095 seconds with exit status 1 (failed).
DEBUG [289d58c4] Running [ -d /home/deploy/deploy_test/releases/20190206231343/public/uploads ] as [email protected]
DEBUG [289d58c4] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/public/uploads ]
DEBUG [f4a239c2] Finished in 0.052 seconds with exit status 1 (failed).
INFO [45c67ea3] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190206231343/public/uploads as [email protected]
DEBUG [45c67ea3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190206231343/public/uploads )
INFO [37c0471e] Finished in 0.096 seconds with exit status 0 (successful).
DEBUG [d0afe973] Running [ -L /home/deploy/deploy_test/releases/20190206231343/public/assets ] as [email protected]
DEBUG [d0afe973] Command: [ -L /home/deploy/deploy_test/releases/20190206231343/public/assets ]
DEBUG [29a93705] Finished in 0.100 seconds with exit status 1 (failed).
DEBUG [bea3d0e6] Running [ -d /home/deploy/deploy_test/releases/20190206231343/public/assets ] as [email protected]
DEBUG [bea3d0e6] Command: [ -d /home/deploy/deploy_test/releases/20190206231343/public/assets ]
DEBUG [fa55addc] Finished in 0.099 seconds with exit status 1 (failed).
INFO [08f75b1b] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190206231343/public/assets as [email protected]
DEBUG [08f75b1b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190206231343/public/assets )
INFO [fd82b411] Finished in 0.347 seconds with exit status 0 (successful).
DEBUG [b34555a2] Running if test ! -d /home/deploy/deploy_test/releases/20190206231343; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190206231343'" 1>&2; false; fi as [email protected]
DEBUG [b34555a2] Command: if test ! -d /home/deploy/deploy_test/releases/20190206231343; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190206231343'" 1>&2; false; fi
DEBUG [e149152c] Finished in 0.092 seconds with exit status 0 (successful).
DEBUG [b56cdda7] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle as [email protected]
DEBUG [b56cdda7] Command: cd /home/deploy/deploy_test/releases/20190206231343 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle )
DEBUG [9f79c0eb] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in find_spec_for_exe'
DEBUG [9f79c0eb] :
DEBUG [9f79c0eb] can't find gem bundler (>= 0.a) with executable bundle
DEBUG [9f79c0eb] (
DEBUG [9f79c0eb] Gem::GemNotFoundException
DEBUG [9f79c0eb] )
DEBUG [9f79c0eb] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in
activate_bin_path'
DEBUG [9f79c0eb] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in <main>'
DEBUG [9f79c0eb] Finished in 0.817 seconds with exit status 1 (failed).
INFO [d7d37689] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet as [email protected]
DEBUG [d7d37689] Command: cd /home/deploy/deploy_test/releases/20190206231343 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet )
DEBUG [649687a8] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in
find_spec_for_exe'
DEBUG [649687a8] :
DEBUG [649687a8] can't find gem bundler (>= 0.a) with executable bundle
DEBUG 649687a8
DEBUG [649687a8] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in activate_bin_path'
DEBUG [649687a8] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in
'
INFO ---------------------------------------------------------------------------
INFO START 2019-02-06 16:54:59 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [dcd5486e] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [dcd5486e] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [dcac7789] Finished in 7.624 seconds with exit status 0 (successful).
INFO [00840911] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [00840911] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [958eb74d] Finished in 0.114 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [3d03ca35] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [3d03ca35] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [4b5ac22f] Finished in 0.112 seconds with exit status 0 (successful).
INFO [45184329] Running /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [45184329] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD )
DEBUG [a50f79e3] c04b679b5e878ead9c1056c10780282cbeaf234b HEAD
INFO [a50f79e3] Finished in 0.443 seconds with exit status 0 (successful).
INFO [0fdb8c28] Running /usr/bin/env mkdir -p /deploy_test/shared /deploy_test/releases as [email protected]
DEBUG [0fdb8c28] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /deploy_test/shared /deploy_test/releases )
DEBUG [3963e65b] mkdir:
DEBUG [3963e65b] cannot create directory ‘/deploy_test’
DEBUG [3963e65b] : Permission denied
DEBUG [3963e65b]

DEBUG [3963e65b] mkdir:
DEBUG [3963e65b] cannot create directory ‘/deploy_test’
DEBUG [3963e65b] : Permission denied
DEBUG [3963e65b]

INFO ---------------------------------------------------------------------------
INFO START 2019-02-06 16:56:43 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [1b0d46de] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [1b0d46de] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [06dbe4b0] Finished in 6.729 seconds with exit status 0 (successful).
INFO [e6900aca] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [e6900aca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [c4b6852f] Finished in 0.129 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [fd7170d4] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [fd7170d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [f4280de4] Finished in 0.111 seconds with exit status 0 (successful).
INFO [a5c1b3e2] Running /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [a5c1b3e2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD )
DEBUG [736fa0d6] a8698152af6bf06b9510c12ce60364c55651c4b3 HEAD
INFO [736fa0d6] Finished in 0.348 seconds with exit status 0 (successful).
INFO [072bdaf8] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases as [email protected]
DEBUG [072bdaf8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases )
INFO [6f3103ee] Finished in 0.128 seconds with exit status 0 (successful).
INFO [3f447f73] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets as [email protected]
DEBUG [3f447f73] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets )
INFO [f1529d5f] Finished in 0.111 seconds with exit status 0 (successful).
INFO [19197f27] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config as [email protected]
DEBUG [19197f27] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config )
INFO [f463b71f] Finished in 0.122 seconds with exit status 0 (successful).
DEBUG [e70ee7f6] Running [ -f /home/deploy/deploy_test/shared/config/database.yml ] as [email protected]
DEBUG [e70ee7f6] Command: [ -f /home/deploy/deploy_test/shared/config/database.yml ]
DEBUG [17caed1d] Finished in 0.115 seconds with exit status 0 (successful).
DEBUG [d87d6b0f] Running [ -f /home/deploy/deploy_test/shared/config/secrets.yml ] as [email protected]
DEBUG [d87d6b0f] Command: [ -f /home/deploy/deploy_test/shared/config/secrets.yml ]
DEBUG [e4609d4a] Finished in 0.114 seconds with exit status 0 (successful).
DEBUG [5bee3e80] Running [ -f /home/deploy/deploy_test/current/REVISION ] as [email protected]
DEBUG [5bee3e80] Command: [ -f /home/deploy/deploy_test/current/REVISION ]
DEBUG [3a0a33ba] Finished in 0.118 seconds with exit status 1 (failed).
DEBUG [76c5e689] Running [ -f /home/deploy/deploy_test/repo/HEAD ] as [email protected]
DEBUG [76c5e689] Command: [ -f /home/deploy/deploy_test/repo/HEAD ]
DEBUG [a8d5edd7] Finished in 0.130 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/deploy_test/repo
DEBUG [0afc03d5] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [0afc03d5] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [18523dfd] Finished in 0.162 seconds with exit status 0 (successful).
INFO [fb923d69] Running /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git as [email protected]
DEBUG [fb923d69] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git )
INFO [2008bc77] Finished in 0.119 seconds with exit status 0 (successful).
INFO [c0ab5ddf] Running /usr/bin/env git remote update --prune as [email protected]
DEBUG [c0ab5ddf] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote update --prune )
DEBUG [2d19c522] Fetching origin
DEBUG [2d19c522] From https://github.com/derfois/deploy_test
DEBUG [2d19c522] 6d98648..a869815 master -> master
INFO [2d19c522] Finished in 0.413 seconds with exit status 0 (successful).
DEBUG [fbb326a6] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [fbb326a6] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [aba3e7a6] Finished in 0.119 seconds with exit status 0 (successful).
INFO [9ec03844] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190207005651 as [email protected]
DEBUG [9ec03844] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190207005651 )
INFO [6870a108] Finished in 0.120 seconds with exit status 0 (successful).
INFO [06637b07] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190207005651 as [email protected]
DEBUG [06637b07] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190207005651 )
INFO [8429a5a8] Finished in 0.131 seconds with exit status 0 (successful).
DEBUG [4b3ca4ad] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [4b3ca4ad] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [13d059d1] Finished in 0.108 seconds with exit status 0 (successful).
DEBUG [7bb0eb3c] Running /usr/bin/env git rev-list --max-count=1 master as [email protected]
DEBUG [7bb0eb3c] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git rev-list --max-count=1 master )
DEBUG [ccb7cde2] a8698152af6bf06b9510c12ce60364c55651c4b3
DEBUG [ccb7cde2] Finished in 0.127 seconds with exit status 0 (successful).
DEBUG [0cd5f130] Running if test ! -d /home/deploy/deploy_test/releases/20190207005651; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190207005651'" 1>&2; false; fi as [email protected]
DEBUG [0cd5f130] Command: if test ! -d /home/deploy/deploy_test/releases/20190207005651; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190207005651'" 1>&2; false; fi
DEBUG [06d3a7e7] Finished in 0.122 seconds with exit status 0 (successful).
INFO [237e6df0] Running /usr/bin/env echo "a8698152af6bf06b9510c12ce60364c55651c4b3" > REVISION as [email protected]
DEBUG [237e6df0] Command: cd /home/deploy/deploy_test/releases/20190207005651 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env echo "a8698152af6bf06b9510c12ce60364c55651c4b3" > REVISION )
INFO [1f0c535b] Finished in 0.115 seconds with exit status 0 (successful).
INFO [5665adfd] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190207005651/config as [email protected]
DEBUG [5665adfd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190207005651/config )
INFO [75707713] Finished in 0.108 seconds with exit status 0 (successful).
DEBUG [5953987a] Running [ -L /home/deploy/deploy_test/releases/20190207005651/config/database.yml ] as [email protected]
DEBUG [5953987a] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/config/database.yml ]
DEBUG [8379caf0] Finished in 0.117 seconds with exit status 1 (failed).
DEBUG [9152b59d] Running [ -f /home/deploy/deploy_test/releases/20190207005651/config/database.yml ] as [email protected]
DEBUG [9152b59d] Command: [ -f /home/deploy/deploy_test/releases/20190207005651/config/database.yml ]
DEBUG [6426d314] Finished in 0.112 seconds with exit status 1 (failed).
INFO [1866e909] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190207005651/config/database.yml as [email protected]
DEBUG [1866e909] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190207005651/config/database.yml )
INFO [5978bb48] Finished in 0.116 seconds with exit status 0 (successful).
DEBUG [4199739f] Running [ -L /home/deploy/deploy_test/releases/20190207005651/config/secrets.yml ] as [email protected]
DEBUG [4199739f] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/config/secrets.yml ]
DEBUG [f7e8ba6d] Finished in 0.128 seconds with exit status 1 (failed).
DEBUG [4c80b6da] Running [ -f /home/deploy/deploy_test/releases/20190207005651/config/secrets.yml ] as [email protected]
DEBUG [4c80b6da] Command: [ -f /home/deploy/deploy_test/releases/20190207005651/config/secrets.yml ]
DEBUG [5c77b848] Finished in 0.169 seconds with exit status 1 (failed).
INFO [68eb98a0] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190207005651/config/secrets.yml as [email protected]
DEBUG [68eb98a0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190207005651/config/secrets.yml )
INFO [78d3be4c] Finished in 0.140 seconds with exit status 0 (successful).
INFO [411703ff] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190207005651 /home/deploy/deploy_test/releases/20190207005651/tmp /home/deploy/deploy_test/releases/20190207005651/vendor /home/deploy/deploy_test/releases/20190207005651/public as [email protected]
DEBUG [411703ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190207005651 /home/deploy/deploy_test/releases/20190207005651/tmp /home/deploy/deploy_test/releases/20190207005651/vendor /home/deploy/deploy_test/releases/20190207005651/public )
INFO [8f236bdf] Finished in 0.129 seconds with exit status 0 (successful).
DEBUG [ce1aa3a2] Running [ -L /home/deploy/deploy_test/releases/20190207005651/log ] as [email protected]
DEBUG [ce1aa3a2] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/log ]
DEBUG [df04755c] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [b5511076] Running [ -d /home/deploy/deploy_test/releases/20190207005651/log ] as [email protected]
DEBUG [b5511076] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/log ]
DEBUG [4ef04ff5] Finished in 0.122 seconds with exit status 0 (successful).
INFO [e7a3ab16] Running /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190207005651/log as [email protected]
DEBUG [e7a3ab16] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190207005651/log )
INFO [e1d511d2] Finished in 0.112 seconds with exit status 0 (successful).
INFO [63678bfc] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190207005651/log as [email protected]
DEBUG [63678bfc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190207005651/log )
INFO [a746b875] Finished in 0.130 seconds with exit status 0 (successful).
DEBUG [e6342b94] Running [ -L /home/deploy/deploy_test/releases/20190207005651/tmp/pids ] as [email protected]
DEBUG [e6342b94] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/tmp/pids ]
DEBUG [c319b8fc] Finished in 0.113 seconds with exit status 1 (failed).
DEBUG [1722fc9b] Running [ -d /home/deploy/deploy_test/releases/20190207005651/tmp/pids ] as [email protected]
DEBUG [1722fc9b] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/tmp/pids ]
DEBUG [cb8bf5a9] Finished in 0.120 seconds with exit status 1 (failed).
INFO [ad18fa91] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190207005651/tmp/pids as [email protected]
DEBUG [ad18fa91] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190207005651/tmp/pids )
INFO [3b0e6557] Finished in 0.116 seconds with exit status 0 (successful).
DEBUG [47fa1442] Running [ -L /home/deploy/deploy_test/releases/20190207005651/tmp/cache ] as [email protected]
DEBUG [47fa1442] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/tmp/cache ]
DEBUG [04f675be] Finished in 0.107 seconds with exit status 1 (failed).
DEBUG [ef92a3d5] Running [ -d /home/deploy/deploy_test/releases/20190207005651/tmp/cache ] as [email protected]
DEBUG [ef92a3d5] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/tmp/cache ]
DEBUG [94c3d4fc] Finished in 0.116 seconds with exit status 1 (failed).
INFO [fadde418] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190207005651/tmp/cache as [email protected]
DEBUG [fadde418] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190207005651/tmp/cache )
INFO [45022f34] Finished in 0.124 seconds with exit status 0 (successful).
DEBUG [e92d8be2] Running [ -L /home/deploy/deploy_test/releases/20190207005651/tmp/sockets ] as [email protected]
DEBUG [e92d8be2] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/tmp/sockets ]
DEBUG [d7068e39] Finished in 0.110 seconds with exit status 1 (failed).
DEBUG [47a6136f] Running [ -d /home/deploy/deploy_test/releases/20190207005651/tmp/sockets ] as [email protected]
DEBUG [47a6136f] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/tmp/sockets ]
DEBUG [7f74f147] Finished in 0.120 seconds with exit status 1 (failed).
INFO [18838003] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190207005651/tmp/sockets as [email protected]
DEBUG [18838003] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190207005651/tmp/sockets )
INFO [a3fccb73] Finished in 0.116 seconds with exit status 0 (successful).
DEBUG [672bd1b5] Running [ -L /home/deploy/deploy_test/releases/20190207005651/vendor/bundle ] as [email protected]
DEBUG [672bd1b5] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/vendor/bundle ]
DEBUG [36ae8508] Finished in 0.100 seconds with exit status 1 (failed).
DEBUG [9712c255] Running [ -d /home/deploy/deploy_test/releases/20190207005651/vendor/bundle ] as [email protected]
DEBUG [9712c255] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/vendor/bundle ]
DEBUG [5e4d40e4] Finished in 0.107 seconds with exit status 1 (failed).
INFO [5f4eb932] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190207005651/vendor/bundle as [email protected]
DEBUG [5f4eb932] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190207005651/vendor/bundle )
INFO [80d89008] Finished in 0.113 seconds with exit status 0 (successful).
DEBUG [f8e8fc64] Running [ -L /home/deploy/deploy_test/releases/20190207005651/public/system ] as [email protected]
DEBUG [f8e8fc64] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/public/system ]
DEBUG [c9e6f813] Finished in 0.113 seconds with exit status 1 (failed).
DEBUG [7a005cdf] Running [ -d /home/deploy/deploy_test/releases/20190207005651/public/system ] as [email protected]
DEBUG [7a005cdf] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/public/system ]
DEBUG [89b2dca0] Finished in 0.119 seconds with exit status 1 (failed).
INFO [edc78b73] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190207005651/public/system as [email protected]
DEBUG [edc78b73] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190207005651/public/system )
INFO [44ac6791] Finished in 0.120 seconds with exit status 0 (successful).
DEBUG [fa3d5887] Running [ -L /home/deploy/deploy_test/releases/20190207005651/public/uploads ] as [email protected]
DEBUG [fa3d5887] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/public/uploads ]
DEBUG [b02152d8] Finished in 0.123 seconds with exit status 1 (failed).
DEBUG [9993e9f5] Running [ -d /home/deploy/deploy_test/releases/20190207005651/public/uploads ] as [email protected]
DEBUG [9993e9f5] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/public/uploads ]
DEBUG [e2d4cbc6] Finished in 0.125 seconds with exit status 1 (failed).
INFO [91659164] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190207005651/public/uploads as [email protected]
DEBUG [91659164] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190207005651/public/uploads )
INFO [f8b08fcf] Finished in 0.110 seconds with exit status 0 (successful).
DEBUG [1e011074] Running [ -L /home/deploy/deploy_test/releases/20190207005651/public/assets ] as [email protected]
DEBUG [1e011074] Command: [ -L /home/deploy/deploy_test/releases/20190207005651/public/assets ]
DEBUG [da0c5114] Finished in 0.115 seconds with exit status 1 (failed).
DEBUG [30639ebc] Running [ -d /home/deploy/deploy_test/releases/20190207005651/public/assets ] as [email protected]0
DEBUG [30639ebc] Command: [ -d /home/deploy/deploy_test/releases/20190207005651/public/assets ]
DEBUG [5bf39588] Finished in 0.116 seconds with exit status 1 (failed).
INFO [904de6a8] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190207005651/public/assets as [email protected]
DEBUG [904de6a8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190207005651/public/assets )
INFO [9987b7e3] Finished in 0.127 seconds with exit status 0 (successful).
DEBUG [bf9dd3d4] Running if test ! -d /home/deploy/deploy_test/releases/20190207005651; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190207005651'" 1>&2; false; fi as [email protected]
DEBUG [bf9dd3d4] Command: if test ! -d /home/deploy/deploy_test/releases/20190207005651; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190207005651'" 1>&2; false; fi
DEBUG [eaf37f49] Finished in 0.115 seconds with exit status 0 (successful).
DEBUG [90ab28df] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle as [email protected]
DEBUG [90ab28df] Command: cd /home/deploy/deploy_test/releases/20190207005651 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle )
DEBUG [78704ad4] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in find_spec_for_exe'
DEBUG [78704ad4] :
DEBUG [78704ad4] can't find gem bundler (>= 0.a) with executable bundle
DEBUG [78704ad4] (
DEBUG [78704ad4] Gem::GemNotFoundException
DEBUG [78704ad4] )
DEBUG [78704ad4] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in
activate_bin_path'
DEBUG [78704ad4] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in <main>'
DEBUG [78704ad4] Finished in 0.372 seconds with exit status 1 (failed).
INFO [19597333] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet as [email protected]
DEBUG [19597333] Command: cd /home/deploy/deploy_test/releases/20190207005651 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet )
DEBUG [c54f7aac] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in
find_spec_for_exe'
DEBUG [c54f7aac] :
DEBUG [c54f7aac] can't find gem bundler (>= 0.a) with executable bundle
DEBUG c54f7aac
DEBUG [c54f7aac] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in activate_bin_path'
DEBUG [c54f7aac] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in
'
INFO ---------------------------------------------------------------------------
INFO START 2019-02-08 13:42:12 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [74d0d0ea] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [74d0d0ea] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [034fb4b2] Finished in 8.751 seconds with exit status 0 (successful).
INFO [1dedacf7] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [1dedacf7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [654ee856] Finished in 0.607 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [d3298a66] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [d3298a66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [c14b4ed5] Finished in 0.404 seconds with exit status 0 (successful).
INFO [23eee8db] Running /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [23eee8db] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD )
DEBUG [14ef9111] a8698152af6bf06b9510c12ce60364c55651c4b3 HEAD
INFO [14ef9111] Finished in 1.265 seconds with exit status 0 (successful).
INFO [1a11566b] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases as [email protected]
DEBUG [1a11566b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases )
INFO [ebad033f] Finished in 0.206 seconds with exit status 0 (successful).
INFO [de7493ad] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets as [email protected]
DEBUG [de7493ad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets )
INFO [6c511c03] Finished in 0.592 seconds with exit status 0 (successful).
INFO [908529f4] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config as [email protected]
DEBUG [908529f4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config )
INFO [c6f68dd5] Finished in 0.611 seconds with exit status 0 (successful).
DEBUG [c9226db9] Running [ -f /home/deploy/deploy_test/shared/config/database.yml ] as [email protected]
DEBUG [c9226db9] Command: [ -f /home/deploy/deploy_test/shared/config/database.yml ]
DEBUG [67f63fd5] Finished in 0.448 seconds with exit status 0 (successful).
DEBUG [9bdc5583] Running [ -f /home/deploy/deploy_test/shared/config/secrets.yml ] as [email protected]
DEBUG [9bdc5583] Command: [ -f /home/deploy/deploy_test/shared/config/secrets.yml ]
DEBUG [18dc81ea] Finished in 0.774 seconds with exit status 0 (successful).
DEBUG [82d2a517] Running [ -f /home/deploy/deploy_test/current/REVISION ] as [email protected]
DEBUG [82d2a517] Command: [ -f /home/deploy/deploy_test/current/REVISION ]
DEBUG [fd776a5c] Finished in 0.521 seconds with exit status 1 (failed).
DEBUG [466e07b7] Running [ -f /home/deploy/deploy_test/repo/HEAD ] as [email protected]
DEBUG [466e07b7] Command: [ -f /home/deploy/deploy_test/repo/HEAD ]
DEBUG [2f6e5cee] Finished in 0.621 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/deploy_test/repo
DEBUG [99761caf] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [99761caf] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [00c7bc41] Finished in 0.699 seconds with exit status 0 (successful).
INFO [5a570b70] Running /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git as [email protected]
DEBUG [5a570b70] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git )
INFO [48bc44ae] Finished in 0.404 seconds with exit status 0 (successful).
INFO [ff9b9ff2] Running /usr/bin/env git remote update --prune as [email protected]
DEBUG [ff9b9ff2] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote update --prune )
DEBUG [df9ff11d] Fetching origin
INFO [df9ff11d] Finished in 1.257 seconds with exit status 0 (successful).
DEBUG [243d8a62] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [243d8a62] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [5f803905] Finished in 0.795 seconds with exit status 0 (successful).
INFO [e19179c8] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208214227 as [email protected]
DEBUG [e19179c8] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208214227 )
INFO [94a28dff] Finished in 0.618 seconds with exit status 0 (successful).
INFO [dd73218f] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190208214227 as [email protected]
DEBUG [dd73218f] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190208214227 )
INFO [f8fda15a] Finished in 0.403 seconds with exit status 0 (successful).
DEBUG [d0c01cd1] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [d0c01cd1] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [7144e0a7] Finished in 0.818 seconds with exit status 0 (successful).
DEBUG [91225061] Running /usr/bin/env git rev-list --max-count=1 master as [email protected]
DEBUG [91225061] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git rev-list --max-count=1 master )
DEBUG [7f1b85e2] a8698152af6bf06b9510c12ce60364c55651c4b3
DEBUG [7f1b85e2] Finished in 0.619 seconds with exit status 0 (successful).
DEBUG [adba0b59] Running if test ! -d /home/deploy/deploy_test/releases/20190208214227; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208214227'" 1>&2; false; fi as [email protected]
DEBUG [adba0b59] Command: if test ! -d /home/deploy/deploy_test/releases/20190208214227; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208214227'" 1>&2; false; fi
DEBUG [d652d414] Finished in 0.546 seconds with exit status 0 (successful).
INFO [55175769] Running /usr/bin/env echo "a8698152af6bf06b9510c12ce60364c55651c4b3" > REVISION as [email protected]
DEBUG [55175769] Command: cd /home/deploy/deploy_test/releases/20190208214227 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env echo "a8698152af6bf06b9510c12ce60364c55651c4b3" > REVISION )
INFO [e4d66f60] Finished in 0.680 seconds with exit status 0 (successful).
INFO [21fd6ec8] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208214227/config as [email protected]
DEBUG [21fd6ec8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208214227/config )
INFO [e6fe51ec] Finished in 0.330 seconds with exit status 0 (successful).
DEBUG [e3fffb41] Running [ -L /home/deploy/deploy_test/releases/20190208214227/config/database.yml ] as [email protected]
DEBUG [e3fffb41] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/config/database.yml ]
DEBUG [19f03307] Finished in 0.902 seconds with exit status 1 (failed).
DEBUG [9272df15] Running [ -f /home/deploy/deploy_test/releases/20190208214227/config/database.yml ] as [email protected]
DEBUG [9272df15] Command: [ -f /home/deploy/deploy_test/releases/20190208214227/config/database.yml ]
DEBUG [dc2b9512] Finished in 0.607 seconds with exit status 1 (failed).
INFO [cd46850c] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190208214227/config/database.yml as [email protected]
DEBUG [cd46850c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190208214227/config/database.yml )
INFO [41630b3a] Finished in 0.492 seconds with exit status 0 (successful).
DEBUG [ae042620] Running [ -L /home/deploy/deploy_test/releases/20190208214227/config/secrets.yml ] as [email protected]
DEBUG [ae042620] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/config/secrets.yml ]
DEBUG [a1aacc60] Finished in 0.737 seconds with exit status 1 (failed).
DEBUG [c59b7b1c] Running [ -f /home/deploy/deploy_test/releases/20190208214227/config/secrets.yml ] as [email protected]
DEBUG [c59b7b1c] Command: [ -f /home/deploy/deploy_test/releases/20190208214227/config/secrets.yml ]
DEBUG [412de5a1] Finished in 0.522 seconds with exit status 1 (failed).
INFO [68893a46] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190208214227/config/secrets.yml as [email protected]
DEBUG [68893a46] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190208214227/config/secrets.yml )
INFO [ef22d3af] Finished in 0.705 seconds with exit status 0 (successful).
INFO [1887ee9d] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208214227 /home/deploy/deploy_test/releases/20190208214227/tmp /home/deploy/deploy_test/releases/20190208214227/vendor /home/deploy/deploy_test/releases/20190208214227/public as [email protected]
DEBUG [1887ee9d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208214227 /home/deploy/deploy_test/releases/20190208214227/tmp /home/deploy/deploy_test/releases/20190208214227/vendor /home/deploy/deploy_test/releases/20190208214227/public )
INFO [ec66e38e] Finished in 0.618 seconds with exit status 0 (successful).
DEBUG [2430fb96] Running [ -L /home/deploy/deploy_test/releases/20190208214227/log ] as [email protected]
DEBUG [2430fb96] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/log ]
DEBUG [4599e8e6] Finished in 0.361 seconds with exit status 1 (failed).
DEBUG [052178fe] Running [ -d /home/deploy/deploy_test/releases/20190208214227/log ] as [email protected]
DEBUG [052178fe] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/log ]
DEBUG [42007634] Finished in 0.575 seconds with exit status 0 (successful).
INFO [0565718a] Running /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190208214227/log as [email protected]
DEBUG [0565718a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190208214227/log )
INFO [03ce4fff] Finished in 0.486 seconds with exit status 0 (successful).
INFO [b06aa744] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190208214227/log as [email protected]
DEBUG [b06aa744] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190208214227/log )
INFO [a1862313] Finished in 0.413 seconds with exit status 0 (successful).
DEBUG [5aab15ab] Running [ -L /home/deploy/deploy_test/releases/20190208214227/tmp/pids ] as [email protected]
DEBUG [5aab15ab] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/tmp/pids ]
DEBUG [a996a833] Finished in 0.583 seconds with exit status 1 (failed).
DEBUG [78274a72] Running [ -d /home/deploy/deploy_test/releases/20190208214227/tmp/pids ] as [email protected]
DEBUG [78274a72] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/tmp/pids ]
DEBUG [722de531] Finished in 0.635 seconds with exit status 1 (failed).
INFO [3f12aa2e] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190208214227/tmp/pids as [email protected]
DEBUG [3f12aa2e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190208214227/tmp/pids )
INFO [44162c2d] Finished in 0.434 seconds with exit status 0 (successful).
DEBUG [97b63cda] Running [ -L /home/deploy/deploy_test/releases/20190208214227/tmp/cache ] as [email protected]
DEBUG [97b63cda] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/tmp/cache ]
DEBUG [7184bedb] Finished in 0.796 seconds with exit status 1 (failed).
DEBUG [d1d1e18a] Running [ -d /home/deploy/deploy_test/releases/20190208214227/tmp/cache ] as [email protected]
DEBUG [d1d1e18a] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/tmp/cache ]
DEBUG [bbe280b3] Finished in 0.617 seconds with exit status 1 (failed).
INFO [bc622248] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190208214227/tmp/cache as [email protected]
DEBUG [bc622248] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190208214227/tmp/cache )
INFO [cc3de003] Finished in 0.482 seconds with exit status 0 (successful).
DEBUG [3a4a4c78] Running [ -L /home/deploy/deploy_test/releases/20190208214227/tmp/sockets ] as [email protected]
DEBUG [3a4a4c78] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/tmp/sockets ]
DEBUG [57d8ac4d] Finished in 0.749 seconds with exit status 1 (failed).
DEBUG [90f252a4] Running [ -d /home/deploy/deploy_test/releases/20190208214227/tmp/sockets ] as [email protected]
DEBUG [90f252a4] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/tmp/sockets ]
DEBUG [6cbb90f5] Finished in 0.418 seconds with exit status 1 (failed).
INFO [c737238e] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190208214227/tmp/sockets as [email protected]
DEBUG [c737238e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190208214227/tmp/sockets )
INFO [dcece9ff] Finished in 0.317 seconds with exit status 0 (successful).
DEBUG [fddabb0e] Running [ -L /home/deploy/deploy_test/releases/20190208214227/vendor/bundle ] as [email protected]
DEBUG [fddabb0e] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/vendor/bundle ]
DEBUG [73b1fd1d] Finished in 0.553 seconds with exit status 1 (failed).
DEBUG [229bd48f] Running [ -d /home/deploy/deploy_test/releases/20190208214227/vendor/bundle ] as [email protected]
DEBUG [229bd48f] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/vendor/bundle ]
DEBUG [969a8b29] Finished in 0.371 seconds with exit status 1 (failed).
INFO [b266bd06] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190208214227/vendor/bundle as [email protected]
DEBUG [b266bd06] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190208214227/vendor/bundle )
INFO [19060549] Finished in 0.702 seconds with exit status 0 (successful).
DEBUG [2474e2a5] Running [ -L /home/deploy/deploy_test/releases/20190208214227/public/system ] as [email protected]
DEBUG [2474e2a5] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/public/system ]
DEBUG [b06ac4c3] Finished in 0.704 seconds with exit status 1 (failed).
DEBUG [c18b6e36] Running [ -d /home/deploy/deploy_test/releases/20190208214227/public/system ] as [email protected]
DEBUG [c18b6e36] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/public/system ]
DEBUG [ea5edc17] Finished in 0.504 seconds with exit status 1 (failed).
INFO [bb341993] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190208214227/public/system as [email protected]
DEBUG [bb341993] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190208214227/public/system )
INFO [70bd6adb] Finished in 0.679 seconds with exit status 0 (successful).
DEBUG [79d5c679] Running [ -L /home/deploy/deploy_test/releases/20190208214227/public/uploads ] as [email protected]
DEBUG [79d5c679] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/public/uploads ]
DEBUG [2a8bd815] Finished in 0.378 seconds with exit status 1 (failed).
DEBUG [4844453c] Running [ -d /home/deploy/deploy_test/releases/20190208214227/public/uploads ] as [email protected]
DEBUG [4844453c] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/public/uploads ]
DEBUG [f7451465] Finished in 0.827 seconds with exit status 1 (failed).
INFO [6f73da3a] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190208214227/public/uploads as [email protected]
DEBUG [6f73da3a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190208214227/public/uploads )
INFO [482f4d91] Finished in 0.328 seconds with exit status 0 (successful).
DEBUG [fd13ba1f] Running [ -L /home/deploy/deploy_test/releases/20190208214227/public/assets ] as [email protected]
DEBUG [fd13ba1f] Command: [ -L /home/deploy/deploy_test/releases/20190208214227/public/assets ]
DEBUG [ba5db225] Finished in 0.354 seconds with exit status 1 (failed).
DEBUG [0eedac1b] Running [ -d /home/deploy/deploy_test/releases/20190208214227/public/assets ] as [email protected]
DEBUG [0eedac1b] Command: [ -d /home/deploy/deploy_test/releases/20190208214227/public/assets ]
DEBUG [006996d8] Finished in 0.556 seconds with exit status 1 (failed).
INFO [af793857] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190208214227/public/assets as [email protected]
DEBUG [af793857] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190208214227/public/assets )
INFO [70ce4382] Finished in 0.681 seconds with exit status 0 (successful).
DEBUG [f0c8212e] Running if test ! -d /home/deploy/deploy_test/releases/20190208214227; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208214227'" 1>&2; false; fi as [email protected]
DEBUG [f0c8212e] Command: if test ! -d /home/deploy/deploy_test/releases/20190208214227; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208214227'" 1>&2; false; fi
DEBUG [06f7935f] Finished in 0.321 seconds with exit status 0 (successful).
DEBUG [b7976ad8] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle as [email protected]
DEBUG [b7976ad8] Command: cd /home/deploy/deploy_test/releases/20190208214227 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle )
DEBUG [57f91c78] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in find_spec_for_exe'
DEBUG [57f91c78] :
DEBUG [57f91c78] can't find gem bundler (>= 0.a) with executable bundle
DEBUG [57f91c78] (
DEBUG [57f91c78] Gem::GemNotFoundException
DEBUG [57f91c78] )
DEBUG [57f91c78] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in
activate_bin_path'
DEBUG [57f91c78] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in <main>'
DEBUG [57f91c78] Finished in 1.332 seconds with exit status 1 (failed).
INFO [6fca48f3] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet as [email protected]
DEBUG [6fca48f3] Command: cd /home/deploy/deploy_test/releases/20190208214227 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet )
DEBUG [c1d2eecb] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in
find_spec_for_exe'
DEBUG [c1d2eecb] :
DEBUG [c1d2eecb] can't find gem bundler (>= 0.a) with executable bundle
DEBUG c1d2eecb
DEBUG [c1d2eecb] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in activate_bin_path'
DEBUG [c1d2eecb] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in
'
INFO ---------------------------------------------------------------------------
INFO START 2019-02-08 14:11:57 -0800 cap production deploy
INFO ---------------------------------------------------------------------------
DEBUG [c4a898e5] Running [ -d $HOME/.rbenv/versions/2.5.3 ] as [email protected]
DEBUG [c4a898e5] Command: [ -d $HOME/.rbenv/versions/2.5.3 ]
DEBUG [d9e897f8] Finished in 8.860 seconds with exit status 0 (successful).
INFO [b9bbfdd2] Running /usr/bin/env mkdir -p /tmp as [email protected]
DEBUG [b9bbfdd2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /tmp )
INFO [554c4aa1] Finished in 0.617 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-deploy_test-production-batden.sh 0.0%
INFO Uploading /tmp/git-ssh-deploy_test-production-batden.sh 100.0%
INFO [7257ebc5] Running /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh as [email protected]
DEBUG [7257ebc5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-deploy_test-production-batden.sh )
INFO [5108189d] Finished in 0.640 seconds with exit status 0 (successful).
INFO [b3c0c4ed] Running /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD as [email protected]
DEBUG [b3c0c4ed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git ls-remote https://github.com/derfois/deploy_test.git HEAD )
DEBUG [c5d103a9] c629b16fb31299d372a457be10701d5e471e6139 HEAD
INFO [c5d103a9] Finished in 1.043 seconds with exit status 0 (successful).
INFO [1e65e689] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases as [email protected]
DEBUG [1e65e689] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared /home/deploy/deploy_test/releases )
INFO [c41b109c] Finished in 0.555 seconds with exit status 0 (successful).
INFO [90eca8e8] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets as [email protected]
DEBUG [90eca8e8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/shared/public/assets )
INFO [25d61104] Finished in 0.849 seconds with exit status 0 (successful).
INFO [91a0b18a] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config as [email protected]
DEBUG [91a0b18a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/shared/config )
INFO [c68c5d78] Finished in 0.617 seconds with exit status 0 (successful).
DEBUG [02ace422] Running [ -f /home/deploy/deploy_test/shared/config/database.yml ] as [email protected]
DEBUG [02ace422] Command: [ -f /home/deploy/deploy_test/shared/config/database.yml ]
DEBUG [959c68c7] Finished in 0.609 seconds with exit status 0 (successful).
DEBUG [46ad5f29] Running [ -f /home/deploy/deploy_test/shared/config/secrets.yml ] as [email protected]
DEBUG [46ad5f29] Command: [ -f /home/deploy/deploy_test/shared/config/secrets.yml ]
DEBUG [680fd184] Finished in 0.613 seconds with exit status 0 (successful).
DEBUG [e1fa2243] Running [ -f /home/deploy/deploy_test/current/REVISION ] as [email protected]
DEBUG [e1fa2243] Command: [ -f /home/deploy/deploy_test/current/REVISION ]
DEBUG [3538b38a] Finished in 0.424 seconds with exit status 1 (failed).
DEBUG [48dccb17] Running [ -f /home/deploy/deploy_test/repo/HEAD ] as [email protected]
DEBUG [48dccb17] Command: [ -f /home/deploy/deploy_test/repo/HEAD ]
DEBUG [059147b9] Finished in 0.472 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/deploy_test/repo
DEBUG [66c91340] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [66c91340] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [b9517789] Finished in 0.328 seconds with exit status 0 (successful).
INFO [bf9167e7] Running /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git as [email protected]
DEBUG [bf9167e7] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote set-url origin https://github.com/derfois/deploy_test.git )
INFO [d3050840] Finished in 0.622 seconds with exit status 0 (successful).
INFO [d0421d49] Running /usr/bin/env git remote update --prune as [email protected]
DEBUG [d0421d49] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git remote update --prune )
DEBUG [941731d2] Fetching origin
DEBUG [941731d2] From https://github.com/derfois/deploy_test
DEBUG [941731d2] a869815..c629b16 master -> master
INFO [941731d2] Finished in 1.044 seconds with exit status 0 (successful).
DEBUG [77d89691] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [77d89691] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [7f8cfaec] Finished in 0.459 seconds with exit status 0 (successful).
INFO [08948933] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208221213 as [email protected]
DEBUG [08948933] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208221213 )
INFO [841cafcc] Finished in 0.357 seconds with exit status 0 (successful).
INFO [86719d9d] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190208221213 as [email protected]
DEBUG [86719d9d] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/deploy_test/releases/20190208221213 )
INFO [692c2c2c] Finished in 0.608 seconds with exit status 0 (successful).
DEBUG [d0ebf422] Running if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi as [email protected]
DEBUG [d0ebf422] Command: if test ! -d /home/deploy/deploy_test/repo; then echo "Directory does not exist '/home/deploy/deploy_test/repo'" 1>&2; false; fi
DEBUG [962352fb] Finished in 0.458 seconds with exit status 0 (successful).
DEBUG [35f24059] Running /usr/bin/env git rev-list --max-count=1 master as [email protected]
DEBUG [35f24059] Command: cd /home/deploy/deploy_test/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-deploy_test-production-batden.sh" ; /usr/bin/env git rev-list --max-count=1 master )
DEBUG [6d8943cc] c629b16fb31299d372a457be10701d5e471e6139
DEBUG [6d8943cc] Finished in 0.314 seconds with exit status 0 (successful).
DEBUG [0fe245c0] Running if test ! -d /home/deploy/deploy_test/releases/20190208221213; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208221213'" 1>&2; false; fi as [email protected]
DEBUG [0fe245c0] Command: if test ! -d /home/deploy/deploy_test/releases/20190208221213; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208221213'" 1>&2; false; fi
DEBUG [266b70cb] Finished in 0.436 seconds with exit status 0 (successful).
INFO [26f7d3a4] Running /usr/bin/env echo "c629b16fb31299d372a457be10701d5e471e6139" > REVISION as [email protected]
DEBUG [26f7d3a4] Command: cd /home/deploy/deploy_test/releases/20190208221213 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env echo "c629b16fb31299d372a457be10701d5e471e6139" > REVISION )
INFO [1dec58df] Finished in 0.374 seconds with exit status 0 (successful).
INFO [965492d4] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208221213/config as [email protected]
DEBUG [965492d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208221213/config )
INFO [0e2885c8] Finished in 0.568 seconds with exit status 0 (successful).
DEBUG [6d16992a] Running [ -L /home/deploy/deploy_test/releases/20190208221213/config/database.yml ] as [email protected]
DEBUG [6d16992a] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/config/database.yml ]
DEBUG [761507fe] Finished in 0.897 seconds with exit status 1 (failed).
DEBUG [4392d559] Running [ -f /home/deploy/deploy_test/releases/20190208221213/config/database.yml ] as [email protected]
DEBUG [4392d559] Command: [ -f /home/deploy/deploy_test/releases/20190208221213/config/database.yml ]
DEBUG [9f8ff8fb] Finished in 0.435 seconds with exit status 1 (failed).
INFO [91d3d9e0] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190208221213/config/database.yml as [email protected]
DEBUG [91d3d9e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/database.yml /home/deploy/deploy_test/releases/20190208221213/config/database.yml )
INFO [857bca19] Finished in 0.800 seconds with exit status 0 (successful).
DEBUG [4f89aab6] Running [ -L /home/deploy/deploy_test/releases/20190208221213/config/secrets.yml ] as [email protected]
DEBUG [4f89aab6] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/config/secrets.yml ]
DEBUG [86cb2a25] Finished in 0.613 seconds with exit status 1 (failed).
DEBUG [be636354] Running [ -f /home/deploy/deploy_test/releases/20190208221213/config/secrets.yml ] as [email protected]
DEBUG [be636354] Command: [ -f /home/deploy/deploy_test/releases/20190208221213/config/secrets.yml ]
DEBUG [e44d29e0] Finished in 0.397 seconds with exit status 1 (failed).
INFO [cfcd74de] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190208221213/config/secrets.yml as [email protected]
DEBUG [cfcd74de] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/config/secrets.yml /home/deploy/deploy_test/releases/20190208221213/config/secrets.yml )
INFO [2e6bcf32] Finished in 0.830 seconds with exit status 0 (successful).
INFO [3f8cc975] Running /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208221213 /home/deploy/deploy_test/releases/20190208221213/tmp /home/deploy/deploy_test/releases/20190208221213/vendor /home/deploy/deploy_test/releases/20190208221213/public as [email protected]
DEBUG [3f8cc975] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env mkdir -p /home/deploy/deploy_test/releases/20190208221213 /home/deploy/deploy_test/releases/20190208221213/tmp /home/deploy/deploy_test/releases/20190208221213/vendor /home/deploy/deploy_test/releases/20190208221213/public )
INFO [96aa3920] Finished in 0.612 seconds with exit status 0 (successful).
DEBUG [2483cf11] Running [ -L /home/deploy/deploy_test/releases/20190208221213/log ] as [email protected]
DEBUG [2483cf11] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/log ]
DEBUG [511d295d] Finished in 0.610 seconds with exit status 1 (failed).
DEBUG [d3ba96be] Running [ -d /home/deploy/deploy_test/releases/20190208221213/log ] as [email protected]
DEBUG [d3ba96be] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/log ]
DEBUG [dc19985d] Finished in 0.614 seconds with exit status 0 (successful).
INFO [0b84325f] Running /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190208221213/log as [email protected]
DEBUG [0b84325f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env rm -rf /home/deploy/deploy_test/releases/20190208221213/log )
INFO [f869820c] Finished in 0.392 seconds with exit status 0 (successful).
INFO [b1aa0094] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190208221213/log as [email protected]
DEBUG [b1aa0094] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/log /home/deploy/deploy_test/releases/20190208221213/log )
INFO [0949c7d4] Finished in 0.837 seconds with exit status 0 (successful).
DEBUG [e0b7bb47] Running [ -L /home/deploy/deploy_test/releases/20190208221213/tmp/pids ] as [email protected]
DEBUG [e0b7bb47] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/tmp/pids ]
DEBUG [dc992826] Finished in 0.611 seconds with exit status 1 (failed).
DEBUG [01459d30] Running [ -d /home/deploy/deploy_test/releases/20190208221213/tmp/pids ] as [email protected]
DEBUG [01459d30] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/tmp/pids ]
DEBUG [e40d8455] Finished in 0.612 seconds with exit status 1 (failed).
INFO [72f380c2] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190208221213/tmp/pids as [email protected]
DEBUG [72f380c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/pids /home/deploy/deploy_test/releases/20190208221213/tmp/pids )
INFO [e2b91f1b] Finished in 0.326 seconds with exit status 0 (successful).
DEBUG [fc0b8e66] Running [ -L /home/deploy/deploy_test/releases/20190208221213/tmp/cache ] as [email protected]
DEBUG [fc0b8e66] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/tmp/cache ]
DEBUG [991c4ed2] Finished in 0.750 seconds with exit status 1 (failed).
DEBUG [4dec0500] Running [ -d /home/deploy/deploy_test/releases/20190208221213/tmp/cache ] as [email protected]
DEBUG [4dec0500] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/tmp/cache ]
DEBUG [86df6125] Finished in 0.767 seconds with exit status 1 (failed).
INFO [6256aa9d] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190208221213/tmp/cache as [email protected]
DEBUG [6256aa9d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/cache /home/deploy/deploy_test/releases/20190208221213/tmp/cache )
INFO [271e16d3] Finished in 0.310 seconds with exit status 0 (successful).
DEBUG [a6e23c9e] Running [ -L /home/deploy/deploy_test/releases/20190208221213/tmp/sockets ] as [email protected]
DEBUG [a6e23c9e] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/tmp/sockets ]
DEBUG [5efe2538] Finished in 0.341 seconds with exit status 1 (failed).
DEBUG [4998e766] Running [ -d /home/deploy/deploy_test/releases/20190208221213/tmp/sockets ] as [email protected]
DEBUG [4998e766] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/tmp/sockets ]
DEBUG [e55c5fc5] Finished in 0.575 seconds with exit status 1 (failed).
INFO [55428b9b] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190208221213/tmp/sockets as [email protected]
DEBUG [55428b9b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/tmp/sockets /home/deploy/deploy_test/releases/20190208221213/tmp/sockets )
INFO [fee6d287] Finished in 0.618 seconds with exit status 0 (successful).
DEBUG [9206d37e] Running [ -L /home/deploy/deploy_test/releases/20190208221213/vendor/bundle ] as [email protected]
DEBUG [9206d37e] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/vendor/bundle ]
DEBUG [842b31b4] Finished in 0.588 seconds with exit status 1 (failed).
DEBUG [b403de0d] Running [ -d /home/deploy/deploy_test/releases/20190208221213/vendor/bundle ] as [email protected]
DEBUG [b403de0d] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/vendor/bundle ]
DEBUG [b78ba513] Finished in 0.638 seconds with exit status 1 (failed).
INFO [08518cc9] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190208221213/vendor/bundle as [email protected]
DEBUG [08518cc9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/vendor/bundle /home/deploy/deploy_test/releases/20190208221213/vendor/bundle )
INFO [8f78e224] Finished in 0.370 seconds with exit status 0 (successful).
DEBUG [44e66ee9] Running [ -L /home/deploy/deploy_test/releases/20190208221213/public/system ] as [email protected]
DEBUG [44e66ee9] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/public/system ]
DEBUG [a7f4a2dc] Finished in 0.851 seconds with exit status 1 (failed).
DEBUG [f5b36b2b] Running [ -d /home/deploy/deploy_test/releases/20190208221213/public/system ] as [email protected]
DEBUG [f5b36b2b] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/public/system ]
DEBUG [329574a4] Finished in 0.615 seconds with exit status 1 (failed).
INFO [8357f644] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190208221213/public/system as [email protected]
DEBUG [8357f644] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/system /home/deploy/deploy_test/releases/20190208221213/public/system )
INFO [0a8d47bf] Finished in 0.539 seconds with exit status 0 (successful).
DEBUG [86f59a27] Running [ -L /home/deploy/deploy_test/releases/20190208221213/public/uploads ] as [email protected]
DEBUG [86f59a27] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/public/uploads ]
DEBUG [fff30e9e] Finished in 0.691 seconds with exit status 1 (failed).
DEBUG [a3d66f5f] Running [ -d /home/deploy/deploy_test/releases/20190208221213/public/uploads ] as [email protected]
DEBUG [a3d66f5f] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/public/uploads ]
DEBUG [b690f7d8] Finished in 0.423 seconds with exit status 1 (failed).
INFO [8ce20ce5] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190208221213/public/uploads as [email protected]
DEBUG [8ce20ce5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/uploads /home/deploy/deploy_test/releases/20190208221213/public/uploads )
INFO [ca23b112] Finished in 0.809 seconds with exit status 0 (successful).
DEBUG [ecc9732c] Running [ -L /home/deploy/deploy_test/releases/20190208221213/public/assets ] as [email protected]
DEBUG [ecc9732c] Command: [ -L /home/deploy/deploy_test/releases/20190208221213/public/assets ]
DEBUG [f894789b] Finished in 0.609 seconds with exit status 1 (failed).
DEBUG [f32e0085] Running [ -d /home/deploy/deploy_test/releases/20190208221213/public/assets ] as [email protected]
DEBUG [f32e0085] Command: [ -d /home/deploy/deploy_test/releases/20190208221213/public/assets ]
DEBUG [fe2f4b68] Finished in 0.467 seconds with exit status 1 (failed).
INFO [2a9c03ab] Running /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190208221213/public/assets as [email protected]
DEBUG [2a9c03ab] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; /usr/bin/env ln -s /home/deploy/deploy_test/shared/public/assets /home/deploy/deploy_test/releases/20190208221213/public/assets )
INFO [a2c66505] Finished in 0.762 seconds with exit status 0 (successful).
DEBUG [e3d242e5] Running if test ! -d /home/deploy/deploy_test/releases/20190208221213; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208221213'" 1>&2; false; fi as [email protected]
DEBUG [e3d242e5] Command: if test ! -d /home/deploy/deploy_test/releases/20190208221213; then echo "Directory does not exist '/home/deploy/deploy_test/releases/20190208221213'" 1>&2; false; fi
DEBUG [255ca5fc] Finished in 0.306 seconds with exit status 0 (successful).
DEBUG [1c87ac51] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle as [email protected]
DEBUG [1c87ac51] Command: cd /home/deploy/deploy_test/releases/20190208221213 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/deploy_test/shared/bundle )
DEBUG [e2b97660] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in find_spec_for_exe'
DEBUG [e2b97660] :
DEBUG [e2b97660] can't find gem bundler (>= 0.a) with executable bundle
DEBUG [e2b97660] (
DEBUG [e2b97660] Gem::GemNotFoundException
DEBUG [e2b97660] )
DEBUG [e2b97660] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in
activate_bin_path'
DEBUG [e2b97660] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in <main>'
DEBUG [e2b97660] Finished in 1.355 seconds with exit status 1 (failed).
INFO [707e9dab] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet as [email protected]
DEBUG [707e9dab] Command: cd /home/deploy/deploy_test/releases/20190208221213 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.5.3" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/deploy_test/shared/bundle --jobs 4 --without development test --deployment --quiet )
DEBUG [46014532] /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:289:in
find_spec_for_exe'
DEBUG [46014532] :
DEBUG [46014532] can't find gem bundler (>= 0.a) with executable bundle
DEBUG 46014532
DEBUG [46014532] from /home/deploy/.rbenv/versions/2.5.3/lib/ruby/2.5.0/rubygems.rb:308:in activate_bin_path'
DEBUG [46014532] from /home/deploy/.rbenv/versions/2.5.3/bin/bundle:23:in
'


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.