Last active
March 27, 2020 13:31
-
-
Save lennart/d2eab716d5b589da869a7c6f86ec6cc2 to your computer and use it in GitHub Desktop.
Log of a deploy and rollback with multiple asset manifests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Logfile created on 2020-03-27 14:25:53 +0100 by logger.rb/66358 | |
INFO --------------------------------------------------------------------------- | |
INFO START 2020-03-27 14:25:53 +0100 cap staging deploy | |
INFO --------------------------------------------------------------------------- | |
DEBUG [9303ea55] Running /usr/bin/env which passenger as [email protected] | |
DEBUG [9303ea55] Command: /usr/bin/env which passenger | |
DEBUG [9303ea55] Finished in 0.381 seconds with exit status 1 (failed). | |
DEBUG [34ddfb7b] Running ~/.rvm/bin/rvm version as [email protected] | |
DEBUG [34ddfb7b] Command: ~/.rvm/bin/rvm version | |
DEBUG [34ddfb7b] rvm 1.29.7-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] | |
DEBUG [34ddfb7b] Finished in 0.359 seconds with exit status 0 (successful). | |
DEBUG [0116b8ec] Running ~/.rvm/bin/rvm current as [email protected] | |
DEBUG [0116b8ec] Command: ~/.rvm/bin/rvm current | |
DEBUG [0116b8ec] ruby-2.3.5 | |
DEBUG [0116b8ec] Finished in 0.310 seconds with exit status 0 (successful). | |
DEBUG [cf8c66f9] Running ~/.rvm/bin/rvm 2.6.5 do ruby --version as [email protected] | |
DEBUG [cf8c66f9] Command: ~/.rvm/bin/rvm 2.6.5 do ruby --version | |
DEBUG [cf8c66f9] ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux] | |
DEBUG [cf8c66f9] Finished in 0.529 seconds with exit status 0 (successful). | |
INFO [98a8e50b] Running /usr/bin/env mkdir -p /tmp as [email protected] | |
DEBUG [98a8e50b] Command: /usr/bin/env mkdir -p /tmp | |
INFO [98a8e50b] Finished in 0.086 seconds with exit status 0 (successful). | |
DEBUG Uploading /tmp/git-ssh-example.com-staging-m.sh 0.0% | |
INFO Uploading /tmp/git-ssh-example.com-staging-m.sh 100.0% | |
INFO [20a229e7] Running /usr/bin/env chmod 700 /tmp/git-ssh-example.com-staging-m.sh as [email protected] | |
DEBUG [20a229e7] Command: /usr/bin/env chmod 700 /tmp/git-ssh-example.com-staging-m.sh | |
INFO [20a229e7] Finished in 0.088 seconds with exit status 0 (successful). | |
INFO [430cf49f] Running /usr/bin/env git ls-remote [email protected]:user/project.git HEAD as [email protected] | |
DEBUG [430cf49f] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env git ls-remote [email protected]:user/project.git HEAD ) | |
DEBUG [430cf49f] 341626c31262de81d2492bdd280d0021c13c45ac HEAD | |
INFO [430cf49f] Finished in 1.489 seconds with exit status 0 (successful). | |
INFO [733be671] Running /usr/bin/env mkdir -p /var/www/staging.example.com/shared /var/www/staging.example.com/releases as [email protected] | |
DEBUG [733be671] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/shared /var/www/staging.example.com/releases | |
INFO [733be671] Finished in 0.046 seconds with exit status 0 (successful). | |
INFO [df6f1884] Running /usr/bin/env mkdir -p /var/www/staging.example.com/shared/log /var/www/staging.example.com/shared/tmp/pids /var/www/staging.example.com/shared/tmp/cache /var/www/staging.example.com/shared/tmp/sockets /var/www/staging.example.com/shared/vendor/bundle /var/www/staging.example.com/shared/public/system /var/www/staging.example.com/shared/storage /var/www/staging.example.com/shared/public/assets as [email protected] | |
DEBUG [df6f1884] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/shared/log /var/www/staging.example.com/shared/tmp/pids /var/www/staging.example.com/shared/tmp/cache /var/www/staging.example.com/shared/tmp/sockets /var/www/staging.example.com/shared/vendor/bundle /var/www/staging.example.com/shared/public/system /var/www/staging.example.com/shared/storage /var/www/staging.example.com/shared/public/assets | |
INFO [df6f1884] Finished in 0.086 seconds with exit status 0 (successful). | |
INFO [25e9b5ae] Running /usr/bin/env mkdir -p /var/www/staging.example.com/shared/config as [email protected] | |
DEBUG [25e9b5ae] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/shared/config | |
INFO [25e9b5ae] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [218bf63c] Running [ -f /var/www/staging.example.com/shared/config/database.yml ] as [email protected] | |
DEBUG [218bf63c] Command: [ -f /var/www/staging.example.com/shared/config/database.yml ] | |
DEBUG [218bf63c] Finished in 0.086 seconds with exit status 0 (successful). | |
DEBUG [e87b60d6] Running [ -f /var/www/staging.example.com/shared/config/master.key ] as [email protected] | |
DEBUG [e87b60d6] Command: [ -f /var/www/staging.example.com/shared/config/master.key ] | |
DEBUG [e87b60d6] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [c3e1bc73] Running [ -f /var/www/staging.example.com/current/REVISION ] as [email protected] | |
DEBUG [c3e1bc73] Command: [ -f /var/www/staging.example.com/current/REVISION ] | |
DEBUG [c3e1bc73] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [554f711a] Running /usr/bin/env cat /var/www/staging.example.com/current/REVISION 2>/dev/null as [email protected] | |
DEBUG [554f711a] Command: /usr/bin/env cat /var/www/staging.example.com/current/REVISION 2>/dev/null | |
DEBUG [554f711a] 5cb879f568b100e21c2e78f217d691c859e80255 | |
DEBUG [554f711a] Finished in 0.092 seconds with exit status 0 (successful). | |
DEBUG [b13213cf] Running [ -d /var/www/staging.example.com/current ] as [email protected] | |
DEBUG [b13213cf] Command: [ -d /var/www/staging.example.com/current ] | |
DEBUG [b13213cf] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [ff725c20] Running if test ! -d /var/www/staging.example.com/current; then echo "Directory does not exist '/var/www/staging.example.com/current'" 1>&2; false; fi as [email protected] | |
DEBUG [ff725c20] Command: if test ! -d /var/www/staging.example.com/current; then echo "Directory does not exist '/var/www/staging.example.com/current'" 1>&2; false; fi | |
DEBUG [ff725c20] Finished in 0.088 seconds with exit status 0 (successful). | |
DEBUG [fdc05241] Running /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] as [email protected] | |
DEBUG [fdc05241] Command: cd /var/www/staging.example.com/current && /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] | |
DEBUG [fdc05241] Finished in 0.089 seconds with exit status 0 (successful). | |
DEBUG [12850284] Running /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) as [email protected] | |
DEBUG [12850284] Command: cd /var/www/staging.example.com/current && /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) | |
DEBUG [12850284] Finished in 0.090 seconds with exit status 0 (successful). | |
INFO [c4a4611a] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiqctl quiet /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid as [email protected] | |
DEBUG [c4a4611a] Command: cd /var/www/staging.example.com/current && ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiqctl quiet /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid | |
INFO [c4a4611a] Finished in 0.977 seconds with exit status 0 (successful). | |
DEBUG [b303274e] Running [ -f /var/www/staging.example.com/repo/HEAD ] as [email protected] | |
DEBUG [b303274e] Command: [ -f /var/www/staging.example.com/repo/HEAD ] | |
DEBUG [b303274e] Finished in 0.085 seconds with exit status 0 (successful). | |
INFO The repository mirror is at /var/www/staging.example.com/repo | |
DEBUG [5d8a0dbc] Running if test ! -d /var/www/staging.example.com/repo; then echo "Directory does not exist '/var/www/staging.example.com/repo'" 1>&2; false; fi as [email protected] | |
DEBUG [5d8a0dbc] Command: if test ! -d /var/www/staging.example.com/repo; then echo "Directory does not exist '/var/www/staging.example.com/repo'" 1>&2; false; fi | |
DEBUG [5d8a0dbc] Finished in 0.088 seconds with exit status 0 (successful). | |
INFO [7f87dc16] Running /usr/bin/env git remote set-url origin [email protected]:user/project.git as [email protected] | |
DEBUG [7f87dc16] Command: cd /var/www/staging.example.com/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env git remote set-url origin [email protected]:user/project.git ) | |
INFO [7f87dc16] Finished in 0.090 seconds with exit status 0 (successful). | |
INFO [618d91ea] Running /usr/bin/env git remote update --prune as [email protected] | |
DEBUG [618d91ea] Command: cd /var/www/staging.example.com/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env git remote update --prune ) | |
DEBUG [618d91ea] Fetching origin | |
INFO [618d91ea] Finished in 1.649 seconds with exit status 0 (successful). | |
DEBUG [89597252] Running if test ! -d /var/www/staging.example.com/repo; then echo "Directory does not exist '/var/www/staging.example.com/repo'" 1>&2; false; fi as [email protected] | |
DEBUG [89597252] Command: if test ! -d /var/www/staging.example.com/repo; then echo "Directory does not exist '/var/www/staging.example.com/repo'" 1>&2; false; fi | |
DEBUG [89597252] Finished in 0.041 seconds with exit status 0 (successful). | |
INFO [95ff644b] Running /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559 as [email protected] | |
DEBUG [95ff644b] Command: cd /var/www/staging.example.com/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559 ) | |
INFO [95ff644b] Finished in 0.089 seconds with exit status 0 (successful). | |
INFO [9ea96782] Running /usr/bin/env git archive staging | /usr/bin/env tar -x -f - -C /var/www/staging.example.com/releases/20200327132559 as [email protected] | |
DEBUG [9ea96782] Command: cd /var/www/staging.example.com/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env git archive staging | /usr/bin/env tar -x -f - -C /var/www/staging.example.com/releases/20200327132559 ) | |
INFO [9ea96782] Finished in 0.229 seconds with exit status 0 (successful). | |
DEBUG [8c6fb32d] Running if test ! -d /var/www/staging.example.com/repo; then echo "Directory does not exist '/var/www/staging.example.com/repo'" 1>&2; false; fi as [email protected] | |
DEBUG [8c6fb32d] Command: if test ! -d /var/www/staging.example.com/repo; then echo "Directory does not exist '/var/www/staging.example.com/repo'" 1>&2; false; fi | |
DEBUG [8c6fb32d] Finished in 0.088 seconds with exit status 0 (successful). | |
DEBUG [1920f59b] Running /usr/bin/env git rev-list --max-count=1 staging as [email protected] | |
DEBUG [1920f59b] Command: cd /var/www/staging.example.com/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env git rev-list --max-count=1 staging ) | |
DEBUG [1920f59b] 5cb879f568b100e21c2e78f217d691c859e80255 | |
DEBUG [1920f59b] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [1ec2217d] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [1ec2217d] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [1ec2217d] Finished in 0.087 seconds with exit status 0 (successful). | |
INFO [54389dff] Running /usr/bin/env echo "5cb879f568b100e21c2e78f217d691c859e80255" > REVISION as [email protected] | |
DEBUG [54389dff] Command: cd /var/www/staging.example.com/releases/20200327132559 && /usr/bin/env echo "5cb879f568b100e21c2e78f217d691c859e80255" > REVISION | |
INFO [54389dff] Finished in 0.091 seconds with exit status 0 (successful). | |
INFO [c9f31836] Running /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559/config as [email protected] | |
DEBUG [c9f31836] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559/config | |
INFO [c9f31836] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [a4363e98] Running [ -L /var/www/staging.example.com/releases/20200327132559/config/database.yml ] as [email protected] | |
DEBUG [a4363e98] Command: [ -L /var/www/staging.example.com/releases/20200327132559/config/database.yml ] | |
DEBUG [a4363e98] Finished in 0.090 seconds with exit status 1 (failed). | |
DEBUG [cff01bff] Running [ -f /var/www/staging.example.com/releases/20200327132559/config/database.yml ] as [email protected] | |
DEBUG [cff01bff] Command: [ -f /var/www/staging.example.com/releases/20200327132559/config/database.yml ] | |
DEBUG [cff01bff] Finished in 0.087 seconds with exit status 0 (successful). | |
INFO [706b8b8a] Running /usr/bin/env rm /var/www/staging.example.com/releases/20200327132559/config/database.yml as [email protected] | |
DEBUG [706b8b8a] Command: /usr/bin/env rm /var/www/staging.example.com/releases/20200327132559/config/database.yml | |
INFO [706b8b8a] Finished in 0.090 seconds with exit status 0 (successful). | |
INFO [fbf09816] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/config/database.yml /var/www/staging.example.com/releases/20200327132559/config/database.yml as [email protected] | |
DEBUG [fbf09816] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/config/database.yml /var/www/staging.example.com/releases/20200327132559/config/database.yml | |
INFO [fbf09816] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [cf648ce7] Running [ -L /var/www/staging.example.com/releases/20200327132559/config/master.key ] as [email protected] | |
DEBUG [cf648ce7] Command: [ -L /var/www/staging.example.com/releases/20200327132559/config/master.key ] | |
DEBUG [cf648ce7] Finished in 0.087 seconds with exit status 1 (failed). | |
DEBUG [399fa173] Running [ -f /var/www/staging.example.com/releases/20200327132559/config/master.key ] as [email protected] | |
DEBUG [399fa173] Command: [ -f /var/www/staging.example.com/releases/20200327132559/config/master.key ] | |
DEBUG [399fa173] Finished in 0.087 seconds with exit status 1 (failed). | |
INFO [a44f1a93] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/config/master.key /var/www/staging.example.com/releases/20200327132559/config/master.key as [email protected] | |
DEBUG [a44f1a93] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/config/master.key /var/www/staging.example.com/releases/20200327132559/config/master.key | |
INFO [a44f1a93] Finished in 0.090 seconds with exit status 0 (successful). | |
INFO [67e27b47] Running /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559 /var/www/staging.example.com/releases/20200327132559/tmp /var/www/staging.example.com/releases/20200327132559/vendor /var/www/staging.example.com/releases/20200327132559/public as [email protected] | |
DEBUG [67e27b47] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559 /var/www/staging.example.com/releases/20200327132559/tmp /var/www/staging.example.com/releases/20200327132559/vendor /var/www/staging.example.com/releases/20200327132559/public | |
INFO [67e27b47] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [2b40e6a9] Running [ -L /var/www/staging.example.com/releases/20200327132559/log ] as [email protected] | |
DEBUG [2b40e6a9] Command: [ -L /var/www/staging.example.com/releases/20200327132559/log ] | |
DEBUG [2b40e6a9] Finished in 0.085 seconds with exit status 1 (failed). | |
DEBUG [e7f1b0d3] Running [ -d /var/www/staging.example.com/releases/20200327132559/log ] as [email protected] | |
DEBUG [e7f1b0d3] Command: [ -d /var/www/staging.example.com/releases/20200327132559/log ] | |
DEBUG [e7f1b0d3] Finished in 0.086 seconds with exit status 0 (successful). | |
INFO [56f8c07c] Running /usr/bin/env rm -rf /var/www/staging.example.com/releases/20200327132559/log as [email protected] | |
DEBUG [56f8c07c] Command: /usr/bin/env rm -rf /var/www/staging.example.com/releases/20200327132559/log | |
INFO [56f8c07c] Finished in 0.087 seconds with exit status 0 (successful). | |
INFO [e63a83c3] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/log /var/www/staging.example.com/releases/20200327132559/log as [email protected] | |
DEBUG [e63a83c3] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/log /var/www/staging.example.com/releases/20200327132559/log | |
INFO [e63a83c3] Finished in 0.088 seconds with exit status 0 (successful). | |
DEBUG [222bc7d7] Running [ -L /var/www/staging.example.com/releases/20200327132559/tmp/pids ] as [email protected] | |
DEBUG [222bc7d7] Command: [ -L /var/www/staging.example.com/releases/20200327132559/tmp/pids ] | |
DEBUG [222bc7d7] Finished in 0.089 seconds with exit status 1 (failed). | |
DEBUG [e1c6ca88] Running [ -d /var/www/staging.example.com/releases/20200327132559/tmp/pids ] as [email protected] | |
DEBUG [e1c6ca88] Command: [ -d /var/www/staging.example.com/releases/20200327132559/tmp/pids ] | |
DEBUG [e1c6ca88] Finished in 0.089 seconds with exit status 1 (failed). | |
INFO [982c731b] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/tmp/pids /var/www/staging.example.com/releases/20200327132559/tmp/pids as [email protected] | |
DEBUG [982c731b] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/tmp/pids /var/www/staging.example.com/releases/20200327132559/tmp/pids | |
INFO [982c731b] Finished in 0.090 seconds with exit status 0 (successful). | |
DEBUG [5c56ea18] Running [ -L /var/www/staging.example.com/releases/20200327132559/tmp/cache ] as [email protected] | |
DEBUG [5c56ea18] Command: [ -L /var/www/staging.example.com/releases/20200327132559/tmp/cache ] | |
DEBUG [5c56ea18] Finished in 0.086 seconds with exit status 1 (failed). | |
DEBUG [eef03386] Running [ -d /var/www/staging.example.com/releases/20200327132559/tmp/cache ] as [email protected] | |
DEBUG [eef03386] Command: [ -d /var/www/staging.example.com/releases/20200327132559/tmp/cache ] | |
DEBUG [eef03386] Finished in 0.089 seconds with exit status 1 (failed). | |
INFO [0053402b] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/tmp/cache /var/www/staging.example.com/releases/20200327132559/tmp/cache as [email protected] | |
DEBUG [0053402b] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/tmp/cache /var/www/staging.example.com/releases/20200327132559/tmp/cache | |
INFO [0053402b] Finished in 0.088 seconds with exit status 0 (successful). | |
DEBUG [cbbc464a] Running [ -L /var/www/staging.example.com/releases/20200327132559/tmp/sockets ] as [email protected] | |
DEBUG [cbbc464a] Command: [ -L /var/www/staging.example.com/releases/20200327132559/tmp/sockets ] | |
DEBUG [cbbc464a] Finished in 0.086 seconds with exit status 1 (failed). | |
DEBUG [f0e29798] Running [ -d /var/www/staging.example.com/releases/20200327132559/tmp/sockets ] as [email protected] | |
DEBUG [f0e29798] Command: [ -d /var/www/staging.example.com/releases/20200327132559/tmp/sockets ] | |
DEBUG [f0e29798] Finished in 0.087 seconds with exit status 1 (failed). | |
INFO [073f9186] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/tmp/sockets /var/www/staging.example.com/releases/20200327132559/tmp/sockets as [email protected] | |
DEBUG [073f9186] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/tmp/sockets /var/www/staging.example.com/releases/20200327132559/tmp/sockets | |
INFO [073f9186] Finished in 0.090 seconds with exit status 0 (successful). | |
DEBUG [a603ab39] Running [ -L /var/www/staging.example.com/releases/20200327132559/vendor/bundle ] as [email protected] | |
DEBUG [a603ab39] Command: [ -L /var/www/staging.example.com/releases/20200327132559/vendor/bundle ] | |
DEBUG [a603ab39] Finished in 0.086 seconds with exit status 1 (failed). | |
DEBUG [4b2761ce] Running [ -d /var/www/staging.example.com/releases/20200327132559/vendor/bundle ] as [email protected] | |
DEBUG [4b2761ce] Command: [ -d /var/www/staging.example.com/releases/20200327132559/vendor/bundle ] | |
DEBUG [4b2761ce] Finished in 0.086 seconds with exit status 1 (failed). | |
INFO [3ac2043b] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/vendor/bundle /var/www/staging.example.com/releases/20200327132559/vendor/bundle as [email protected] | |
DEBUG [3ac2043b] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/vendor/bundle /var/www/staging.example.com/releases/20200327132559/vendor/bundle | |
INFO [3ac2043b] Finished in 0.091 seconds with exit status 0 (successful). | |
DEBUG [718fe3b9] Running [ -L /var/www/staging.example.com/releases/20200327132559/public/system ] as [email protected] | |
DEBUG [718fe3b9] Command: [ -L /var/www/staging.example.com/releases/20200327132559/public/system ] | |
DEBUG [718fe3b9] Finished in 0.086 seconds with exit status 1 (failed). | |
DEBUG [819236c0] Running [ -d /var/www/staging.example.com/releases/20200327132559/public/system ] as [email protected] | |
DEBUG [819236c0] Command: [ -d /var/www/staging.example.com/releases/20200327132559/public/system ] | |
DEBUG [819236c0] Finished in 0.088 seconds with exit status 1 (failed). | |
INFO [ea6d59aa] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/public/system /var/www/staging.example.com/releases/20200327132559/public/system as [email protected] | |
DEBUG [ea6d59aa] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/public/system /var/www/staging.example.com/releases/20200327132559/public/system | |
INFO [ea6d59aa] Finished in 0.086 seconds with exit status 0 (successful). | |
DEBUG [12d3b6e9] Running [ -L /var/www/staging.example.com/releases/20200327132559/storage ] as [email protected] | |
DEBUG [12d3b6e9] Command: [ -L /var/www/staging.example.com/releases/20200327132559/storage ] | |
DEBUG [12d3b6e9] Finished in 0.086 seconds with exit status 1 (failed). | |
DEBUG [caa9e68e] Running [ -d /var/www/staging.example.com/releases/20200327132559/storage ] as [email protected] | |
DEBUG [caa9e68e] Command: [ -d /var/www/staging.example.com/releases/20200327132559/storage ] | |
DEBUG [caa9e68e] Finished in 0.086 seconds with exit status 1 (failed). | |
INFO [725c71ef] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/storage /var/www/staging.example.com/releases/20200327132559/storage as [email protected] | |
DEBUG [725c71ef] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/storage /var/www/staging.example.com/releases/20200327132559/storage | |
INFO [725c71ef] Finished in 0.091 seconds with exit status 0 (successful). | |
DEBUG [f09fd48f] Running [ -L /var/www/staging.example.com/releases/20200327132559/public/assets ] as [email protected] | |
DEBUG [f09fd48f] Command: [ -L /var/www/staging.example.com/releases/20200327132559/public/assets ] | |
DEBUG [f09fd48f] Finished in 0.086 seconds with exit status 1 (failed). | |
DEBUG [4ba09b59] Running [ -d /var/www/staging.example.com/releases/20200327132559/public/assets ] as [email protected] | |
DEBUG [4ba09b59] Command: [ -d /var/www/staging.example.com/releases/20200327132559/public/assets ] | |
DEBUG [4ba09b59] Finished in 0.088 seconds with exit status 1 (failed). | |
INFO [6aa98ce3] Running /usr/bin/env ln -s /var/www/staging.example.com/shared/public/assets /var/www/staging.example.com/releases/20200327132559/public/assets as [email protected] | |
DEBUG [6aa98ce3] Command: /usr/bin/env ln -s /var/www/staging.example.com/shared/public/assets /var/www/staging.example.com/releases/20200327132559/public/assets | |
INFO [6aa98ce3] Finished in 0.089 seconds with exit status 0 (successful). | |
DEBUG [570633f2] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [570633f2] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [570633f2] Finished in 0.086 seconds with exit status 0 (successful). | |
DEBUG [6e644e70] Running ~/.rvm/bin/rvm 2.6.5 do bundle check --gemfile /var/www/staging.example.com/releases/20200327132559/Gemfile --path /var/www/staging.example.com/shared/bundle as [email protected] | |
DEBUG [6e644e70] Command: cd /var/www/staging.example.com/releases/20200327132559 && ~/.rvm/bin/rvm 2.6.5 do bundle check --gemfile /var/www/staging.example.com/releases/20200327132559/Gemfile --path /var/www/staging.example.com/shared/bundle | |
DEBUG [6e644e70] Warning: the running version of Bundler (2.0.2) is older than the version that created the lockfile (2.1.4). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. | |
DEBUG [6e644e70] The following gems are missing | |
* public_suffix (3.0.3) | |
* addressable (2.5.2) | |
DEBUG [6e644e70] * ast (2.4.0) | |
DEBUG [6e644e70] * descendants_tracker (0.0.4) | |
* ice_nine (0.11.2) | |
DEBUG [6e644e70] * axiom-types (0.1.1) | |
* coderay (1.1.2) | |
DEBUG [6e644e70] * better_errors (2.5.0) | |
DEBUG [6e644e70] * bindex (0.5.0) | |
DEBUG [6e644e70] * debug_inspector (0.0.3) | |
DEBUG [6e644e70] * binding_of_caller (0.8.0) | |
DEBUG [6e644e70] * uniform_notifier (1.11.0) | |
DEBUG [6e644e70] * bullet (5.7.5) | |
DEBUG [6e644e70] * callsite (0.0.11) | |
DEBUG [6e644e70] * capistrano-passenger (0.2.0) | |
* capistrano-sidekiq (1.0.2) | |
DEBUG [6e644e70] * xpath (3.2.0) | |
DEBUG [6e644e70] * capybara (3.9.0) | |
DEBUG [6e644e70] * childprocess (0.9.0) | |
DEBUG [6e644e70] * choice (0.2.0) | |
DEBUG [6e644e70] * cliver (0.3.2) | |
DEBUG [6e644e70] * coercible (1.0.0) | |
DEBUG [6e644e70] * equalizer (0.0.11) | |
DEBUG [6e644e70] * virtus (1.0.5) | |
DEBUG [6e644e70] * codeclimate-engine-rb (0.4.1) | |
DEBUG [6e644e70] * safe_yaml (1.0.5) | |
DEBUG [6e644e70] * crack (0.4.3) | |
DEBUG [6e644e70] * database_cleaner (1.7.0) | |
DEBUG [6e644e70] * docile (1.3.1) | |
DEBUG [6e644e70] * erubis (2.7.0) | |
DEBUG [6e644e70] * faker (1.9.1) | |
DEBUG [6e644e70] * path_expander (1.0.3) | |
DEBUG [6e644e70] * sexp_processor (4.11.0) | |
DEBUG [6e644e70] * ruby_parser (3.11.0) | |
DEBUG [6e644e70] * flay (2.12.0) | |
DEBUG [6e644e70] * flog (4.6.2) | |
DEBUG [6e644e70] * formatador (0.2.5) | |
DEBUG [6e644e70] * ruby_dep (1.5.0) | |
DEBUG [6e644e70] * listen (3.1.5) | |
DEBUG [6e644e70] * lumberjack (1.0.13) | |
DEBUG [6e644e70] * nenv (0.3.0) | |
DEBUG [6e644e70] * shellany (0.0.1) | |
DEBUG [6e644e70] * notiffany (0.1.1) | |
DEBUG [6e644e70] * pry (0.11.3) | |
DEBUG [6e644e70] * guard (2.14.2) | |
DEBUG [6e644e70] * guard-compat (1.2.1) | |
DEBUG [6e644e70] * guard-minitest (2.4.6) | |
DEBUG [6e644e70] * hashdiff (1.0.0) | |
DEBUG [6e644e70] * jaro_winkler (1.5.1) | |
DEBUG [6e644e70] * launchy (2.4.3) | |
DEBUG [6e644e70] * lol_dba (2.1.5) | |
DEBUG [6e644e70] * rack-contrib (2.1.0) | |
DEBUG [6e644e70] * meta_request (0.6.0) | |
DEBUG [6e644e70] * parallel (1.12.1) | |
DEBUG [6e644e70] * parser (2.5.1.2) | |
DEBUG [6e644e70] * poltergeist (1.18.1) | |
DEBUG [6e644e70] * powerpack (0.1.2) | |
DEBUG [6e644e70] * rack_session_access (0.2.0) | |
DEBUG [6e644e70] * rails-controller-testing (1.0.2) | |
DEBUG [6e644e70] * ruby-graphviz (1.2.3) | |
DEBUG [6e644e70] * rails-erd (1.5.2) | |
DEBUG [6e644e70] * rainbow (3.0.0) | |
DEBUG [6e644e70] * reek (4.8.2) | |
DEBUG [6e644e70] * request-log-analyzer (1.13.4) | |
DEBUG [6e644e70] * ruby-progressbar (1.10.0) | |
DEBUG [6e644e70] * unicode-display_width (1.4.0) | |
DEBUG [6e644e70] * rubocop (0.59.2) | |
DEBUG [6e644e70] * tty-which (0.3.0) | |
DEBUG [6e644e70] * rubycritic (3.5.2) | |
DEBUG [6e644e70] * selenium-webdriver (3.8.0) | |
DEBUG [6e644e70] * simplecov-html (0.10.2) | |
DEBUG [6e644e70] * simplecov (0.16.1) | |
DEBUG [6e644e70] * spring (2.0.2) | |
DEBUG [6e644e70] * traceroute (0.6.2) | |
DEBUG [6e644e70] * web-console (3.7.0) | |
DEBUG [6e644e70] * webmock (3.8.0) | |
DEBUG [6e644e70] Install missing gems with `bundle install` | |
DEBUG [6e644e70] Finished in 0.882 seconds with exit status 1 (failed). | |
INFO [2667d39f] Running ~/.rvm/bin/rvm 2.6.5 do bundle install --gemfile /var/www/staging.example.com/releases/20200327132559/Gemfile --path /var/www/staging.example.com/shared/bundle --binstubs /var/www/staging.example.com/shared/bin --jobs 4 --without development test --deployment --quiet as [email protected] | |
DEBUG [2667d39f] Command: cd /var/www/staging.example.com/releases/20200327132559 && ~/.rvm/bin/rvm 2.6.5 do bundle install --gemfile /var/www/staging.example.com/releases/20200327132559/Gemfile --path /var/www/staging.example.com/shared/bundle --binstubs /var/www/staging.example.com/shared/bin --jobs 4 --without development test --deployment --quiet | |
DEBUG [2667d39f] Warning, new version of rvm available '1.29.10', you are using older version '1.29.7-next'. | |
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc | |
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc | |
INFO [2667d39f] Finished in 1.253 seconds with exit status 0 (successful). | |
DEBUG [870e9b58] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [870e9b58] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [870e9b58] Finished in 0.088 seconds with exit status 0 (successful). | |
INFO [7026839e] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec rake assets:precompile as [email protected] | |
DEBUG [7026839e] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec rake assets:precompile ) | |
DEBUG [7026839e] [2K | |
DEBUG [7026839e] [1G | |
DEBUG [7026839e] yarn install v1.21.1 | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] info No lockfile found. | |
DEBUG [7026839e] [2K[1G[1/4] Resolving packages... | |
DEBUG [7026839e] [1G⠁ | |
DEBUG [7026839e] [0K | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] [2/4] Fetching packages... | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] [3/4] Linking dependencies... | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] [4/4] Building fresh packages... | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] success Saved lockfile. | |
DEBUG [7026839e] [2K[1G | |
DEBUG [7026839e] Done in 0.04s. | |
INFO [7026839e] Finished in 3.934 seconds with exit status 0 (successful). | |
DEBUG [153dcad0] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [153dcad0] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [153dcad0] Finished in 0.089 seconds with exit status 0 (successful). | |
INFO [0b953ecb] Running /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559/assets_manifest_backup as [email protected] | |
DEBUG [0b953ecb] Command: cd /var/www/staging.example.com/releases/20200327132559 && /usr/bin/env mkdir -p /var/www/staging.example.com/releases/20200327132559/assets_manifest_backup | |
INFO [0b953ecb] Finished in 0.090 seconds with exit status 0 (successful). | |
DEBUG [f36c3bc2] Running /usr/bin/env ls /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest* as [email protected] | |
DEBUG [f36c3bc2] Command: cd /var/www/staging.example.com/releases/20200327132559 && /usr/bin/env ls /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest* | |
DEBUG [f36c3bc2] /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
/var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
/var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [f36c3bc2] Finished in 0.090 seconds with exit status 0 (successful). | |
DEBUG [9a0cc426] Running /usr/bin/env ls /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest* as [email protected] | |
DEBUG [9a0cc426] Command: cd /var/www/staging.example.com/releases/20200327132559 && /usr/bin/env ls /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest* | |
DEBUG [9a0cc426] /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
/var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
/var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [9a0cc426] Finished in 0.091 seconds with exit status 0 (successful). | |
INFO [49badaf3] Running /usr/bin/env cp /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json /var/www/staging.example.com/releases/20200327132559/assets_manifest_backup as [email protected] | |
DEBUG [49badaf3] Command: cd /var/www/staging.example.com/releases/20200327132559 && /usr/bin/env cp /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200327132559/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json /var/www/staging.example.com/releases/20200327132559/assets_manifest_backup | |
INFO [49badaf3] Finished in 0.089 seconds with exit status 0 (successful). | |
INFO [deploy:migrate] Run `rake db:migrate` | |
DEBUG [fe972ec3] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [fe972ec3] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [fe972ec3] Finished in 0.085 seconds with exit status 0 (successful). | |
INFO [a6b13945] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec rake db:migrate as [email protected] | |
DEBUG [a6b13945] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec rake db:migrate ) | |
INFO [a6b13945] Finished in 2.896 seconds with exit status 0 (successful). | |
DEBUG [e863cf7f] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [e863cf7f] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [e863cf7f] Finished in 0.092 seconds with exit status 0 (successful). | |
INFO [3d5827f3] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec whenever --update-crontab example.com_staging --set environment=staging --roles=app,web,db as [email protected] | |
DEBUG [3d5827f3] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec whenever --update-crontab example.com_staging --set environment=staging --roles=app,web,db ) | |
DEBUG [3d5827f3] [write] crontab file updated | |
INFO [3d5827f3] Finished in 1.075 seconds with exit status 0 (successful). | |
DEBUG [b102e57c] Running [ -d /var/www/staging.example.com/releases/20200327132559 ] as [email protected] | |
DEBUG [b102e57c] Command: [ -d /var/www/staging.example.com/releases/20200327132559 ] | |
DEBUG [b102e57c] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [eceeff68] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [eceeff68] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [eceeff68] Finished in 0.088 seconds with exit status 0 (successful). | |
DEBUG [97e9b051] Running /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] as [email protected] | |
DEBUG [97e9b051] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] ) | |
DEBUG [97e9b051] Finished in 0.090 seconds with exit status 0 (successful). | |
DEBUG [4411bab9] Running /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) as [email protected] | |
DEBUG [4411bab9] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) ) | |
DEBUG [4411bab9] Finished in 0.094 seconds with exit status 0 (successful). | |
INFO [c49b260a] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiqctl stop /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid 10 as [email protected] | |
DEBUG [c49b260a] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiqctl stop /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid 10 ) | |
DEBUG [c49b260a] Sidekiq shut down gracefully. | |
INFO [c49b260a] Finished in 2.013 seconds with exit status 0 (successful). | |
INFO [e8309fde] Running /usr/bin/env ln -s /var/www/staging.example.com/releases/20200327132559 /var/www/staging.example.com/releases/current as [email protected] | |
DEBUG [e8309fde] Command: ( export RAILS_ENV="staging" ; /usr/bin/env ln -s /var/www/staging.example.com/releases/20200327132559 /var/www/staging.example.com/releases/current ) | |
INFO [e8309fde] Finished in 0.088 seconds with exit status 0 (successful). | |
INFO [69ee7511] Running /usr/bin/env mv /var/www/staging.example.com/releases/current /var/www/staging.example.com as [email protected] | |
DEBUG [69ee7511] Command: ( export RAILS_ENV="staging" ; /usr/bin/env mv /var/www/staging.example.com/releases/current /var/www/staging.example.com ) | |
INFO [69ee7511] Finished in 0.091 seconds with exit status 0 (successful). | |
DEBUG [4ae609be] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [4ae609be] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [4ae609be] Finished in 0.089 seconds with exit status 0 (successful). | |
DEBUG [ca9326bd] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger -v as [email protected] | |
DEBUG [ca9326bd] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger -v ) | |
DEBUG [ca9326bd] Phusion Passenger 5.3.5 | |
DEBUG [ca9326bd] Finished in 0.969 seconds with exit status 0 (successful). | |
INFO [99d4ab2d] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger-config restart-app /var/www/staging.example.com --ignore-app-not-running as [email protected] | |
DEBUG [99d4ab2d] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger-config restart-app /var/www/staging.example.com --ignore-app-not-running ) | |
DEBUG [99d4ab2d] *** Cleaning stale instance directory /var/run/passenger-instreg/passenger.2LeONN7 | |
DEBUG [99d4ab2d] Warning: Directory not empty @ dir_s_rmdir - /var/run/passenger-instreg/passenger.2LeONN7 | |
DEBUG [99d4ab2d] *** Cleaning stale instance directory /var/run/passenger-instreg/passenger.bQheIdm | |
DEBUG [99d4ab2d] Warning: Directory not empty @ dir_s_rmdir - /var/run/passenger-instreg/passenger.bQheIdm | |
DEBUG [99d4ab2d] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/staging.example.com'. | |
INFO [99d4ab2d] Finished in 1.085 seconds with exit status 0 (successful). | |
DEBUG [5d586109] Running if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi as [email protected] | |
DEBUG [5d586109] Command: if test ! -d /var/www/staging.example.com/releases/20200327132559; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200327132559'" 1>&2; false; fi | |
DEBUG [5d586109] Finished in 0.085 seconds with exit status 0 (successful). | |
DEBUG [791b8f53] Running /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] as [email protected] | |
DEBUG [791b8f53] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] ) | |
DEBUG [791b8f53] Finished in 0.090 seconds with exit status 1 (failed). | |
INFO [e35899f8] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiq --index 0 --pidfile /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid --environment staging --logfile /var/www/staging.example.com/shared/log/sidekiq.log --daemon as [email protected] | |
DEBUG [e35899f8] Command: cd /var/www/staging.example.com/releases/20200327132559 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiq --index 0 --pidfile /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid --environment staging --logfile /var/www/staging.example.com/shared/log/sidekiq.log --daemon ) | |
INFO [e35899f8] Finished in 1.172 seconds with exit status 0 (successful). | |
DEBUG [bdd44d3a] Running /usr/bin/env ls -x /var/www/staging.example.com/releases as [email protected] | |
DEBUG [bdd44d3a] Command: ( export RAILS_ENV="staging" ; /usr/bin/env ls -x /var/www/staging.example.com/releases ) | |
DEBUG [bdd44d3a] 20200311160940 20200323135136 20200323135339 20200324131346 20200324132121 | |
20200324132300 20200324141507 20200324142100 20200324142142 20200327132559 | |
DEBUG [bdd44d3a] Finished in 0.088 seconds with exit status 0 (successful). | |
INFO Keeping 10 of 10 deployed releases on staging.example.com | |
DEBUG [4a2aca36] Running [ -d /var/www/staging.example.com/current ] as [email protected] | |
DEBUG [4a2aca36] Command: [ -d /var/www/staging.example.com/current ] | |
DEBUG [4a2aca36] Finished in 0.087 seconds with exit status 0 (successful). | |
DEBUG [f77944d9] Running /usr/bin/env readlink /var/www/staging.example.com/current as [email protected] | |
DEBUG [f77944d9] Command: ( export RAILS_ENV="staging" ; /usr/bin/env readlink /var/www/staging.example.com/current ) | |
DEBUG [f77944d9] /var/www/staging.example.com/releases/20200327132559 | |
DEBUG [f77944d9] Finished in 0.089 seconds with exit status 0 (successful). | |
INFO No old releases (keeping newest 10) on staging.example.com | |
DEBUG [0ea57f6e] Running if test ! -d /var/www/staging.example.com/releases; then echo "Directory does not exist '/var/www/staging.example.com/releases'" 1>&2; false; fi as [email protected] | |
DEBUG [0ea57f6e] Command: if test ! -d /var/www/staging.example.com/releases; then echo "Directory does not exist '/var/www/staging.example.com/releases'" 1>&2; false; fi | |
DEBUG [0ea57f6e] Finished in 0.086 seconds with exit status 0 (successful). | |
INFO [d62deeec] Running /usr/bin/env echo "Branch staging (at 5cb879f568b100e21c2e78f217d691c859e80255) deployed as release 20200327132559 by m" >> /var/www/staging.example.com/revisions.log as [email protected] | |
DEBUG [d62deeec] Command: cd /var/www/staging.example.com/releases && ( export RAILS_ENV="staging" ; /usr/bin/env echo "Branch staging (at 5cb879f568b100e21c2e78f217d691c859e80255) deployed as release 20200327132559 by m" >> /var/www/staging.example.com/revisions.log ) | |
INFO [d62deeec] Finished in 0.089 seconds with exit status 0 (successful). | |
INFO --------------------------------------------------------------------------- | |
INFO START 2020-03-27 14:26:27 +0100 cap staging deploy:rollback | |
INFO --------------------------------------------------------------------------- | |
DEBUG [c9e23eea] Running /usr/bin/env which passenger as [email protected] | |
DEBUG [c9e23eea] Command: /usr/bin/env which passenger | |
DEBUG [c9e23eea] Finished in 0.484 seconds with exit status 1 (failed). | |
DEBUG [90c7d539] Running ~/.rvm/bin/rvm version as [email protected] | |
DEBUG [90c7d539] Command: ~/.rvm/bin/rvm version | |
DEBUG [90c7d539] rvm 1.29.7-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] | |
DEBUG [90c7d539] Finished in 0.359 seconds with exit status 0 (successful). | |
DEBUG [bcc858b2] Running ~/.rvm/bin/rvm current as [email protected] | |
DEBUG [bcc858b2] Command: ~/.rvm/bin/rvm current | |
DEBUG [bcc858b2] ruby-2.3.5 | |
DEBUG [bcc858b2] Finished in 0.329 seconds with exit status 0 (successful). | |
DEBUG [55bda1e1] Running ~/.rvm/bin/rvm 2.6.5 do ruby --version as [email protected] | |
DEBUG [55bda1e1] Command: ~/.rvm/bin/rvm 2.6.5 do ruby --version | |
DEBUG [55bda1e1] ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux] | |
DEBUG [55bda1e1] Finished in 0.543 seconds with exit status 0 (successful). | |
INFO [5f223b2e] Running /usr/bin/env mkdir -p /tmp as [email protected] | |
DEBUG [5f223b2e] Command: /usr/bin/env mkdir -p /tmp | |
INFO [5f223b2e] Finished in 0.111 seconds with exit status 0 (successful). | |
DEBUG Uploading /tmp/git-ssh-example.com-staging-m.sh 0.0% | |
INFO Uploading /tmp/git-ssh-example.com-staging-m.sh 100.0% | |
INFO [6cfc5eee] Running /usr/bin/env chmod 700 /tmp/git-ssh-example.com-staging-m.sh as [email protected] | |
DEBUG [6cfc5eee] Command: /usr/bin/env chmod 700 /tmp/git-ssh-example.com-staging-m.sh | |
INFO [6cfc5eee] Finished in 0.112 seconds with exit status 0 (successful). | |
INFO [c71c2449] Running /usr/bin/env git ls-remote [email protected]:user/project.git HEAD as [email protected] | |
DEBUG [c71c2449] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-example.com-staging-m.sh" ; /usr/bin/env git ls-remote [email protected]:user/project.git HEAD ) | |
DEBUG [c71c2449] 341626c31262de81d2492bdd280d0021c13c45ac HEAD | |
INFO [c71c2449] Finished in 1.475 seconds with exit status 0 (successful). | |
INFO [cef19d2e] Running /usr/bin/env mkdir -p /var/www/staging.example.com/shared /var/www/staging.example.com/releases as [email protected] | |
DEBUG [cef19d2e] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/shared /var/www/staging.example.com/releases | |
INFO [cef19d2e] Finished in 0.067 seconds with exit status 0 (successful). | |
INFO [9cc4682c] Running /usr/bin/env mkdir -p /var/www/staging.example.com/shared/log /var/www/staging.example.com/shared/tmp/pids /var/www/staging.example.com/shared/tmp/cache /var/www/staging.example.com/shared/tmp/sockets /var/www/staging.example.com/shared/vendor/bundle /var/www/staging.example.com/shared/public/system /var/www/staging.example.com/shared/storage /var/www/staging.example.com/shared/public/assets as [email protected] | |
DEBUG [9cc4682c] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/shared/log /var/www/staging.example.com/shared/tmp/pids /var/www/staging.example.com/shared/tmp/cache /var/www/staging.example.com/shared/tmp/sockets /var/www/staging.example.com/shared/vendor/bundle /var/www/staging.example.com/shared/public/system /var/www/staging.example.com/shared/storage /var/www/staging.example.com/shared/public/assets | |
INFO [9cc4682c] Finished in 0.110 seconds with exit status 0 (successful). | |
INFO [f1f5fcc0] Running /usr/bin/env mkdir -p /var/www/staging.example.com/shared/config as [email protected] | |
DEBUG [f1f5fcc0] Command: /usr/bin/env mkdir -p /var/www/staging.example.com/shared/config | |
INFO [f1f5fcc0] Finished in 0.115 seconds with exit status 0 (successful). | |
DEBUG [6e8f8914] Running [ -f /var/www/staging.example.com/shared/config/database.yml ] as [email protected] | |
DEBUG [6e8f8914] Command: [ -f /var/www/staging.example.com/shared/config/database.yml ] | |
DEBUG [6e8f8914] Finished in 0.111 seconds with exit status 0 (successful). | |
DEBUG [f77d505e] Running [ -f /var/www/staging.example.com/shared/config/master.key ] as [email protected] | |
DEBUG [f77d505e] Command: [ -f /var/www/staging.example.com/shared/config/master.key ] | |
DEBUG [f77d505e] Finished in 0.106 seconds with exit status 0 (successful). | |
DEBUG [e85df84b] Running [ -f /var/www/staging.example.com/current/REVISION ] as [email protected] | |
DEBUG [e85df84b] Command: [ -f /var/www/staging.example.com/current/REVISION ] | |
DEBUG [e85df84b] Finished in 0.109 seconds with exit status 0 (successful). | |
DEBUG [3ca0da8d] Running /usr/bin/env cat /var/www/staging.example.com/current/REVISION 2>/dev/null as [email protected] | |
DEBUG [3ca0da8d] Command: /usr/bin/env cat /var/www/staging.example.com/current/REVISION 2>/dev/null | |
DEBUG [3ca0da8d] 5cb879f568b100e21c2e78f217d691c859e80255 | |
DEBUG [3ca0da8d] Finished in 0.114 seconds with exit status 0 (successful). | |
DEBUG [62db6ab3] Running [ -d /var/www/staging.example.com/current ] as [email protected] | |
DEBUG [62db6ab3] Command: [ -d /var/www/staging.example.com/current ] | |
DEBUG [62db6ab3] Finished in 0.110 seconds with exit status 0 (successful). | |
DEBUG [8dad45d7] Running if test ! -d /var/www/staging.example.com/current; then echo "Directory does not exist '/var/www/staging.example.com/current'" 1>&2; false; fi as [email protected] | |
DEBUG [8dad45d7] Command: if test ! -d /var/www/staging.example.com/current; then echo "Directory does not exist '/var/www/staging.example.com/current'" 1>&2; false; fi | |
DEBUG [8dad45d7] Finished in 0.112 seconds with exit status 0 (successful). | |
DEBUG [cfaf55df] Running /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] as [email protected] | |
DEBUG [cfaf55df] Command: cd /var/www/staging.example.com/current && /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] | |
DEBUG [cfaf55df] Finished in 0.113 seconds with exit status 0 (successful). | |
DEBUG [b50b4df2] Running /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) as [email protected] | |
DEBUG [b50b4df2] Command: cd /var/www/staging.example.com/current && /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) | |
DEBUG [b50b4df2] Finished in 0.115 seconds with exit status 0 (successful). | |
INFO [55b9b4d3] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiqctl quiet /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid as [email protected] | |
DEBUG [55b9b4d3] Command: cd /var/www/staging.example.com/current && ~/.rvm/bin/rvm 2.6.5 do bundle exec sidekiqctl quiet /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid | |
INFO [55b9b4d3] Finished in 0.969 seconds with exit status 0 (successful). | |
DEBUG [5d5dc49b] Running /usr/bin/env ls -xt /var/www/staging.example.com/releases as [email protected] | |
DEBUG [5d5dc49b] Command: /usr/bin/env ls -xt /var/www/staging.example.com/releases | |
DEBUG [5d5dc49b] 20200327132559 20200324142142 20200324142100 20200324141507 20200324132300 | |
20200324132121 20200324131346 20200323135339 20200323135136 20200311160940 | |
DEBUG [5d5dc49b] Finished in 0.104 seconds with exit status 0 (successful). | |
DEBUG [4a53ea5e] Running if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi as [email protected] | |
DEBUG [4a53ea5e] Command: if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi | |
DEBUG [4a53ea5e] Finished in 0.110 seconds with exit status 0 (successful). | |
DEBUG [8a0aff45] Running ~/.rvm/bin/rvm 2.6.5 do bundle check --gemfile /var/www/staging.example.com/releases/20200324142142/Gemfile --path /var/www/staging.example.com/shared/bundle as [email protected] | |
DEBUG [8a0aff45] Command: cd /var/www/staging.example.com/releases/20200324142142 && ~/.rvm/bin/rvm 2.6.5 do bundle check --gemfile /var/www/staging.example.com/releases/20200324142142/Gemfile --path /var/www/staging.example.com/shared/bundle | |
DEBUG [8a0aff45] Warning: the running version of Bundler (2.0.2) is older than the version that created the lockfile (2.1.4). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. | |
DEBUG [8a0aff45] The Gemfile's dependencies are satisfied | |
DEBUG [8a0aff45] Finished in 0.870 seconds with exit status 0 (successful). | |
INFO The Gemfile's dependencies are satisfied, skipping installation | |
DEBUG [c6493a8b] Running if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi as [email protected] | |
DEBUG [c6493a8b] Command: if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi | |
DEBUG [c6493a8b] Finished in 0.110 seconds with exit status 0 (successful). | |
DEBUG [87fbfffc] Running /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest* as [email protected] | |
DEBUG [87fbfffc] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest* | |
DEBUG [87fbfffc] /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
/var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
/var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [87fbfffc] Finished in 0.111 seconds with exit status 0 (successful). | |
DEBUG [5acb8ebc] Running /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest* as [email protected] | |
DEBUG [5acb8ebc] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest* | |
DEBUG [5acb8ebc] /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
/var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
/var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [5acb8ebc] Finished in 0.111 seconds with exit status 0 (successful). | |
DEBUG [4d0b70f4] Running /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json as [email protected] | |
DEBUG [4d0b70f4] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [4d0b70f4] /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
/var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
/var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [4d0b70f4] Finished in 0.112 seconds with exit status 0 (successful). | |
DEBUG [f2c98cd7] Running /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json as [email protected] | |
DEBUG [f2c98cd7] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env ls /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [f2c98cd7] /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
/var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
/var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
DEBUG [f2c98cd7] Finished in 0.108 seconds with exit status 0 (successful). | |
INFO [f917a85c] Running /usr/bin/env cp /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json as [email protected] | |
DEBUG [f917a85c] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env cp /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-49452b840b29729d8f962b70cd40a490.json | |
INFO [f917a85c] Finished in 0.135 seconds with exit status 0 (successful). | |
INFO [f66025c9] Running /usr/bin/env cp /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json as [email protected] | |
DEBUG [f66025c9] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env cp /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-ea56ed5cebf64bf5a4914c9cada61d94.json | |
INFO [f66025c9] Finished in 0.110 seconds with exit status 0 (successful). | |
INFO [ff4bbf69] Running /usr/bin/env cp /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json as [email protected] | |
DEBUG [ff4bbf69] Command: cd /var/www/staging.example.com/releases/20200324142142 && /usr/bin/env cp /var/www/staging.example.com/releases/20200324142142/assets_manifest_backup/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json /var/www/staging.example.com/releases/20200324142142/public/assets/.sprockets-manifest-f9644879936d50a06a0cfcb2891c48bd.json | |
INFO [ff4bbf69] Finished in 0.112 seconds with exit status 0 (successful). | |
DEBUG [d8db09cc] Running if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi as [email protected] | |
DEBUG [d8db09cc] Command: if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi | |
DEBUG [d8db09cc] Finished in 0.108 seconds with exit status 0 (successful). | |
INFO [d6ac331f] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec whenever --update-crontab example.com_staging --set environment=staging --roles=app,web,db as [email protected] | |
DEBUG [d6ac331f] Command: cd /var/www/staging.example.com/releases/20200324142142 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec whenever --update-crontab example.com_staging --set environment=staging --roles=app,web,db ) | |
DEBUG [d6ac331f] [write] crontab file updated | |
INFO [d6ac331f] Finished in 1.145 seconds with exit status 0 (successful). | |
INFO [44959f80] Running /usr/bin/env ln -s /var/www/staging.example.com/releases/20200324142142 /var/www/staging.example.com/releases/current as [email protected] | |
DEBUG [44959f80] Command: ( export RAILS_ENV="staging" ; /usr/bin/env ln -s /var/www/staging.example.com/releases/20200324142142 /var/www/staging.example.com/releases/current ) | |
INFO [44959f80] Finished in 0.113 seconds with exit status 0 (successful). | |
INFO [165d26c0] Running /usr/bin/env mv /var/www/staging.example.com/releases/current /var/www/staging.example.com as [email protected] | |
DEBUG [165d26c0] Command: ( export RAILS_ENV="staging" ; /usr/bin/env mv /var/www/staging.example.com/releases/current /var/www/staging.example.com ) | |
INFO [165d26c0] Finished in 0.112 seconds with exit status 0 (successful). | |
DEBUG [e117aef4] Running if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi as [email protected] | |
DEBUG [e117aef4] Command: if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi | |
DEBUG [e117aef4] Finished in 0.108 seconds with exit status 0 (successful). | |
DEBUG [1e484cad] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger -v as [email protected] | |
DEBUG [1e484cad] Command: cd /var/www/staging.example.com/releases/20200324142142 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger -v ) | |
DEBUG [1e484cad] Phusion Passenger 5.3.5 | |
DEBUG [1e484cad] Finished in 1.012 seconds with exit status 0 (successful). | |
INFO [5a95629e] Running ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger-config restart-app /var/www/staging.example.com --ignore-app-not-running as [email protected] | |
DEBUG [5a95629e] Command: cd /var/www/staging.example.com/releases/20200324142142 && ( export RAILS_ENV="staging" ; ~/.rvm/bin/rvm 2.6.5 do bundle exec passenger-config restart-app /var/www/staging.example.com --ignore-app-not-running ) | |
DEBUG [5a95629e] *** Cleaning stale instance directory /var/run/passenger-instreg/passenger.2LeONN7 | |
DEBUG [5a95629e] Warning: Directory not empty @ dir_s_rmdir - /var/run/passenger-instreg/passenger.2LeONN7 | |
DEBUG [5a95629e] *** Cleaning stale instance directory /var/run/passenger-instreg/passenger.bQheIdm | |
DEBUG [5a95629e] Warning: Directory not empty @ dir_s_rmdir - /var/run/passenger-instreg/passenger.bQheIdm | |
DEBUG [5a95629e] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/staging.example.com'. | |
INFO [5a95629e] Finished in 1.083 seconds with exit status 0 (successful). | |
DEBUG [fc6570b7] Running if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi as [email protected] | |
DEBUG [fc6570b7] Command: if test ! -d /var/www/staging.example.com/releases/20200324142142; then echo "Directory does not exist '/var/www/staging.example.com/releases/20200324142142'" 1>&2; false; fi | |
DEBUG [fc6570b7] Finished in 0.107 seconds with exit status 0 (successful). | |
DEBUG [937ae94b] Running /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] as [email protected] | |
DEBUG [937ae94b] Command: cd /var/www/staging.example.com/releases/20200324142142 && ( export RAILS_ENV="staging" ; /usr/bin/env [ -f /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ] ) | |
DEBUG [937ae94b] Finished in 0.114 seconds with exit status 0 (successful). | |
DEBUG [7151288d] Running /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) as [email protected] | |
DEBUG [7151288d] Command: cd /var/www/staging.example.com/releases/20200324142142 && ( export RAILS_ENV="staging" ; /usr/bin/env kill -0 $( cat /var/www/staging.example.com/shared/tmp/pids/sidekiq-0.pid ) ) | |
DEBUG [7151288d] Finished in 0.115 seconds with exit status 0 (successful). | |
DEBUG [5f1c5494] Running /usr/bin/env ls -xt /var/www/staging.example.com/releases as [email protected] | |
DEBUG [5f1c5494] Command: ( export RAILS_ENV="staging" ; /usr/bin/env ls -xt /var/www/staging.example.com/releases ) | |
DEBUG [5f1c5494] 20200327132559 20200324142142 20200324142100 20200324141507 20200324132300 | |
20200324132121 20200324131346 20200323135339 20200323135136 20200311160940 | |
DEBUG [5f1c5494] Finished in 0.113 seconds with exit status 0 (successful). | |
DEBUG [86a7825f] Running [ `readlink /var/www/staging.example.com/current` != /var/www/staging.example.com/releases/20200327132559 ] as [email protected] | |
DEBUG [86a7825f] Command: [ `readlink /var/www/staging.example.com/current` != /var/www/staging.example.com/releases/20200327132559 ] | |
DEBUG [86a7825f] Finished in 0.112 seconds with exit status 0 (successful). | |
INFO [c6eb8dbb] Running /usr/bin/env tar -czf /var/www/staging.example.com/rolled-back-release-20200327132559.tar.gz /var/www/staging.example.com/releases/20200327132559 as [email protected] | |
DEBUG [c6eb8dbb] Command: ( export RAILS_ENV="staging" ; /usr/bin/env tar -czf /var/www/staging.example.com/rolled-back-release-20200327132559.tar.gz /var/www/staging.example.com/releases/20200327132559 ) | |
DEBUG [c6eb8dbb] tar: Removing leading `/' from member names | |
INFO [c6eb8dbb] Finished in 1.041 seconds with exit status 0 (successful). | |
INFO [81c096d3] Running /usr/bin/env rm -rf /var/www/staging.example.com/releases/20200327132559 as [email protected] | |
DEBUG [81c096d3] Command: ( export RAILS_ENV="staging" ; /usr/bin/env rm -rf /var/www/staging.example.com/releases/20200327132559 ) | |
INFO [81c096d3] Finished in 0.141 seconds with exit status 0 (successful). | |
DEBUG [7b4eb4b8] Running if test ! -d /var/www/staging.example.com/releases; then echo "Directory does not exist '/var/www/staging.example.com/releases'" 1>&2; false; fi as [email protected] | |
DEBUG [7b4eb4b8] Command: if test ! -d /var/www/staging.example.com/releases; then echo "Directory does not exist '/var/www/staging.example.com/releases'" 1>&2; false; fi | |
DEBUG [7b4eb4b8] Finished in 0.111 seconds with exit status 0 (successful). | |
INFO [22e18b58] Running /usr/bin/env echo "m rolled back to release 20200324142142" >> /var/www/staging.example.com/revisions.log as [email protected] | |
DEBUG [22e18b58] Command: cd /var/www/staging.example.com/releases && ( export RAILS_ENV="staging" ; /usr/bin/env echo "m rolled back to release 20200324142142" >> /var/www/staging.example.com/revisions.log ) | |
INFO [22e18b58] Finished in 0.113 seconds with exit status 0 (successful). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment