diff --git a/db/migrate/20200112200527_add_admin_to_users.rb b/db/migrate/20200112200527_add_admin_to_users.rb new file mode 100644 index 0000000..6b84193 --- /dev/null +++ b/db/migrate/20200112200527_add_admin_to_users.rb @@ -0,0 +1,5 @@ +class AddAdminToUsers < ActiveRecord::Migration[6.0] + def change + add_column :users, :admin, :boolean + end +end diff --git a/db/schema.rb b/db/schema.rb index 0780079..4225b04 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2019_09_27_154659) do +ActiveRecord::Schema.define(version: 2020_01_12_200527) do create_table "articles", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| t.string "title" @@ -48,6 +48,7 @@ ActiveRecord::Schema.define(version: 2019_09_27_154659) do t.string "password_digest" t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.boolean "admin" end create_table "vouchers", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4", force: :cascade do |t| diff --git a/log/capistrano.log b/log/capistrano.log new file mode 100644 index 0000000..8e45dd0 --- /dev/null +++ b/log/capistrano.log @@ -0,0 +1,831 @@ +# Logfile created on 2020-01-12 19:02:57 +0100 by logger.rb/66358 + INFO --------------------------------------------------------------------------- + INFO START 2020-01-12 19:02:57 +0100 cap production deploy + INFO --------------------------------------------------------------------------- + DEBUG [0bfda424] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net + DEBUG [0bfda424] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] + DEBUG [0bfda424] Finished in 4.639 seconds with exit status 0 (successful). + DEBUG [a6d033fd] Running /usr/bin/env which passenger as deploy@vereto.net + DEBUG [a6d033fd] Command: /usr/bin/env which passenger + DEBUG [a6d033fd] /usr/bin/passenger + DEBUG [a6d033fd] Finished in 0.163 seconds with exit status 0 (successful). + INFO [46df2e39] Running /usr/bin/env mkdir -p /tmp as deploy@vereto.net + DEBUG [46df2e39] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /tmp ) + INFO [46df2e39] Finished in 0.154 seconds with exit status 0 (successful). + DEBUG Uploading /tmp/git-ssh-vereto-api-production-baron.sh 0.0% + INFO Uploading /tmp/git-ssh-vereto-api-production-baron.sh 100.0% + INFO [a942ccd8] Running /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh as deploy@vereto.net + DEBUG [a942ccd8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh ) + INFO [a942ccd8] Finished in 0.144 seconds with exit status 0 (successful). + INFO [317f4056] Running /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD as deploy@vereto.net + DEBUG [317f4056] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD ) + DEBUG [317f4056] 685b28714bc97dafc7df189b286bd95986ade0df HEAD + INFO [317f4056] Finished in 0.890 seconds with exit status 0 (successful). + INFO [05ae7d60] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases as deploy@vereto.net + DEBUG [05ae7d60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases ) + INFO [05ae7d60] Finished in 0.157 seconds with exit status 0 (successful). + INFO [c213b307] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets as deploy@vereto.net + DEBUG [c213b307] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets ) + INFO [c213b307] Finished in 0.147 seconds with exit status 0 (successful). + INFO [d337f1ac] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config as deploy@vereto.net + DEBUG [d337f1ac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config ) + INFO [d337f1ac] Finished in 0.145 seconds with exit status 0 (successful). + DEBUG [7e8ac4de] Running [ -f /home/deploy/vereto-api/shared/config/database.yml ] as deploy@vereto.net + DEBUG [7e8ac4de] Command: [ -f /home/deploy/vereto-api/shared/config/database.yml ] + DEBUG [7e8ac4de] Finished in 0.144 seconds with exit status 0 (successful). + DEBUG [a081fe54] Running [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] as deploy@vereto.net + DEBUG [a081fe54] Command: [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] + DEBUG [a081fe54] Finished in 0.154 seconds with exit status 0 (successful). + DEBUG [ec5bf915] Running [ -f /home/deploy/vereto-api/current/REVISION ] as deploy@vereto.net + DEBUG [ec5bf915] Command: [ -f /home/deploy/vereto-api/current/REVISION ] + DEBUG [ec5bf915] Finished in 0.160 seconds with exit status 0 (successful). + DEBUG [bd594c96] Running /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null as deploy@vereto.net + DEBUG [bd594c96] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null ) + DEBUG [bd594c96] afe097aac8d02176ebe68c8449ce7c936979f891 + DEBUG [bd594c96] Finished in 0.153 seconds with exit status 0 (successful). + DEBUG [617470d7] Running [ -f /home/deploy/vereto-api/repo/HEAD ] as deploy@vereto.net + DEBUG [617470d7] Command: [ -f /home/deploy/vereto-api/repo/HEAD ] + DEBUG [617470d7] Finished in 0.138 seconds with exit status 0 (successful). + INFO The repository mirror is at /home/deploy/vereto-api/repo + DEBUG [7f0ac10d] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [7f0ac10d] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [7f0ac10d] Finished in 0.149 seconds with exit status 0 (successful). + INFO [f4699e03] Running /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git as deploy@vereto.net + DEBUG [f4699e03] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git ) + INFO [f4699e03] Finished in 0.159 seconds with exit status 0 (successful). + INFO [f7e31e39] Running /usr/bin/env git remote update --prune as deploy@vereto.net + DEBUG [f7e31e39] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote update --prune ) + DEBUG [f7e31e39] Fetching origin + DEBUG [f7e31e39] From https://gitlab.com/spengreb/vereto-api + afe097a..685b287 master -> master + INFO [f7e31e39] Finished in 1.202 seconds with exit status 0 (successful). + DEBUG [eb19d044] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [eb19d044] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [eb19d044] Finished in 0.152 seconds with exit status 0 (successful). + INFO [112b89c6] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 as deploy@vereto.net + DEBUG [112b89c6] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 ) + INFO [112b89c6] Finished in 0.157 seconds with exit status 0 (successful). + INFO [885af707] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180304 as deploy@vereto.net + DEBUG [885af707] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180304 ) + INFO [885af707] Finished in 0.181 seconds with exit status 0 (successful). + DEBUG [e960dc48] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [e960dc48] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [e960dc48] Finished in 0.151 seconds with exit status 0 (successful). + DEBUG [c9f891a8] Running /usr/bin/env git rev-list --max-count=1 master as deploy@vereto.net + DEBUG [c9f891a8] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git rev-list --max-count=1 master ) + DEBUG [c9f891a8] 685b28714bc97dafc7df189b286bd95986ade0df + DEBUG [c9f891a8] Finished in 0.150 seconds with exit status 0 (successful). + DEBUG [849b1f48] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net + DEBUG [849b1f48] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi + DEBUG [849b1f48] Finished in 0.153 seconds with exit status 0 (successful). + INFO [4b6f1afd] Running /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION as deploy@vereto.net + DEBUG [4b6f1afd] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION ) + INFO [4b6f1afd] Finished in 0.146 seconds with exit status 0 (successful). + INFO [9de06430] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/config as deploy@vereto.net + DEBUG [9de06430] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/config ) + INFO [9de06430] Finished in 0.163 seconds with exit status 0 (successful). + DEBUG [adc8c214] Running [ -L /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] as deploy@vereto.net + DEBUG [adc8c214] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] + DEBUG [adc8c214] Finished in 0.135 seconds with exit status 1 (failed). + DEBUG [b6784838] Running [ -f /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] as deploy@vereto.net + DEBUG [b6784838] Command: [ -f /home/deploy/vereto-api/releases/20200112180304/config/database.yml ] + DEBUG [b6784838] Finished in 0.140 seconds with exit status 0 (successful). + INFO [f5b3c498] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/database.yml as deploy@vereto.net + DEBUG [f5b3c498] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/database.yml ) + INFO [f5b3c498] Finished in 0.146 seconds with exit status 0 (successful). + INFO [cf2e1e0e] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180304/config/database.yml as deploy@vereto.net + DEBUG [cf2e1e0e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180304/config/database.yml ) + INFO [cf2e1e0e] Finished in 0.146 seconds with exit status 0 (successful). + DEBUG [193fa731] Running [ -L /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] as deploy@vereto.net + DEBUG [193fa731] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] + DEBUG [193fa731] Finished in 0.154 seconds with exit status 1 (failed). + DEBUG [41fe6883] Running [ -f /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] as deploy@vereto.net + DEBUG [41fe6883] Command: [ -f /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ] + DEBUG [41fe6883] Finished in 0.140 seconds with exit status 0 (successful). + INFO [1a89441f] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml as deploy@vereto.net + DEBUG [1a89441f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ) + INFO [1a89441f] Finished in 0.145 seconds with exit status 0 (successful). + INFO [2fab4fe8] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml as deploy@vereto.net + DEBUG [2fab4fe8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180304/config/secrets.yml ) + INFO [2fab4fe8] Finished in 0.145 seconds with exit status 0 (successful). + INFO [875add94] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 /home/deploy/vereto-api/releases/20200112180304/tmp /home/deploy/vereto-api/releases/20200112180304/vendor /home/deploy/vereto-api/releases/20200112180304/public as deploy@vereto.net + DEBUG [875add94] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304 /home/deploy/vereto-api/releases/20200112180304/tmp /home/deploy/vereto-api/releases/20200112180304/vendor /home/deploy/vereto-api/releases/20200112180304/public ) + INFO [875add94] Finished in 0.149 seconds with exit status 0 (successful). + DEBUG [37f9b40f] Running [ -L /home/deploy/vereto-api/releases/20200112180304/log ] as deploy@vereto.net + DEBUG [37f9b40f] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/log ] + DEBUG [37f9b40f] Finished in 0.143 seconds with exit status 1 (failed). + DEBUG [15a14261] Running [ -d /home/deploy/vereto-api/releases/20200112180304/log ] as deploy@vereto.net + DEBUG [15a14261] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/log ] + DEBUG [15a14261] Finished in 0.146 seconds with exit status 0 (successful). + INFO [58e073bd] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180304/log as deploy@vereto.net + DEBUG [58e073bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180304/log ) + INFO [58e073bd] Finished in 0.146 seconds with exit status 0 (successful). + INFO [3a5399bd] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180304/log as deploy@vereto.net + DEBUG [3a5399bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180304/log ) + INFO [3a5399bd] Finished in 0.142 seconds with exit status 0 (successful). + DEBUG [3f09dec9] Running [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] as deploy@vereto.net + DEBUG [3f09dec9] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] + DEBUG [3f09dec9] Finished in 0.145 seconds with exit status 1 (failed). + DEBUG [04182ed4] Running [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] as deploy@vereto.net + DEBUG [04182ed4] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/pids ] + DEBUG [04182ed4] Finished in 0.139 seconds with exit status 1 (failed). + INFO [c6601b43] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180304/tmp/pids as deploy@vereto.net + DEBUG [c6601b43] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180304/tmp/pids ) + INFO [c6601b43] Finished in 0.141 seconds with exit status 0 (successful). + DEBUG [33567bb7] Running [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] as deploy@vereto.net + DEBUG [33567bb7] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] + DEBUG [33567bb7] Finished in 0.158 seconds with exit status 1 (failed). + DEBUG [e3c57431] Running [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] as deploy@vereto.net + DEBUG [e3c57431] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/cache ] + DEBUG [e3c57431] Finished in 0.155 seconds with exit status 1 (failed). + INFO [5daf57b4] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180304/tmp/cache as deploy@vereto.net + DEBUG [5daf57b4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180304/tmp/cache ) + INFO [5daf57b4] Finished in 0.155 seconds with exit status 0 (successful). + DEBUG [95ab55c7] Running [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] as deploy@vereto.net + DEBUG [95ab55c7] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] + DEBUG [95ab55c7] Finished in 0.141 seconds with exit status 1 (failed). + DEBUG [a9e5acb2] Running [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] as deploy@vereto.net + DEBUG [a9e5acb2] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ] + DEBUG [a9e5acb2] Finished in 0.146 seconds with exit status 1 (failed). + INFO [a696ce2d] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180304/tmp/sockets as deploy@vereto.net + DEBUG [a696ce2d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180304/tmp/sockets ) + INFO [a696ce2d] Finished in 0.164 seconds with exit status 0 (successful). + DEBUG [80cd1ead] Running [ -L /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] as deploy@vereto.net + DEBUG [80cd1ead] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] + DEBUG [80cd1ead] Finished in 0.155 seconds with exit status 1 (failed). + DEBUG [3cc2d67e] Running [ -d /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] as deploy@vereto.net + DEBUG [3cc2d67e] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ] + DEBUG [3cc2d67e] Finished in 0.140 seconds with exit status 1 (failed). + INFO [f9403bf3] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180304/vendor/bundle as deploy@vereto.net + DEBUG [f9403bf3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180304/vendor/bundle ) + INFO [f9403bf3] Finished in 0.151 seconds with exit status 0 (successful). + DEBUG [4422d958] Running [ -L /home/deploy/vereto-api/releases/20200112180304/public/system ] as deploy@vereto.net + DEBUG [4422d958] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/public/system ] + DEBUG [4422d958] Finished in 0.148 seconds with exit status 1 (failed). + DEBUG [704ebdc9] Running [ -d /home/deploy/vereto-api/releases/20200112180304/public/system ] as deploy@vereto.net + DEBUG [704ebdc9] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/public/system ] + DEBUG [704ebdc9] Finished in 0.152 seconds with exit status 1 (failed). + INFO [1a9a0d9e] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180304/public/system as deploy@vereto.net + DEBUG [1a9a0d9e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180304/public/system ) + INFO [1a9a0d9e] Finished in 0.148 seconds with exit status 0 (successful). + DEBUG [cab53086] Running [ -L /home/deploy/vereto-api/releases/20200112180304/public,uploads ] as deploy@vereto.net + DEBUG [cab53086] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/public,uploads ] + DEBUG [cab53086] Finished in 0.154 seconds with exit status 1 (failed). + DEBUG [5fafbb79] Running [ -d /home/deploy/vereto-api/releases/20200112180304/public,uploads ] as deploy@vereto.net + DEBUG [5fafbb79] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/public,uploads ] + DEBUG [5fafbb79] Finished in 0.142 seconds with exit status 1 (failed). + INFO [e05e2468] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180304/public,uploads as deploy@vereto.net + DEBUG [e05e2468] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180304/public,uploads ) + INFO [e05e2468] Finished in 0.157 seconds with exit status 0 (successful). + DEBUG [16b17f8b] Running [ -L /home/deploy/vereto-api/releases/20200112180304/public/assets ] as deploy@vereto.net + DEBUG [16b17f8b] Command: [ -L /home/deploy/vereto-api/releases/20200112180304/public/assets ] + DEBUG [16b17f8b] Finished in 0.154 seconds with exit status 1 (failed). + DEBUG [8e544951] Running [ -d /home/deploy/vereto-api/releases/20200112180304/public/assets ] as deploy@vereto.net + DEBUG [8e544951] Command: [ -d /home/deploy/vereto-api/releases/20200112180304/public/assets ] + DEBUG [8e544951] Finished in 0.144 seconds with exit status 1 (failed). + INFO [1a4d4574] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180304/public/assets as deploy@vereto.net + DEBUG [1a4d4574] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180304/public/assets ) + INFO [1a4d4574] Finished in 0.164 seconds with exit status 0 (successful). + DEBUG [5a8ddfec] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net + DEBUG [5a8ddfec] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi + DEBUG [5a8ddfec] Finished in 0.149 seconds with exit status 0 (successful). + DEBUG [9fa017c4] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle as deploy@vereto.net + DEBUG [9fa017c4] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle ) + DEBUG [9fa017c4] The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. + DEBUG [9fa017c4] The following gems are missing + DEBUG [9fa017c4] * byebug (11.0.1) + DEBUG [9fa017c4] * database_cleaner (1.7.0) + DEBUG [9fa017c4] * diff-lcs (1.3) + DEBUG [9fa017c4] * factory_girl (4.9.0) + DEBUG [9fa017c4] * factory_girl_rails (4.9.0) + DEBUG [9fa017c4] * faker (2.4.0) + DEBUG [9fa017c4] * ffi (1.11.1) + DEBUG [9fa017c4] * rb-fsevent (0.10.3) + DEBUG [9fa017c4] * rb-inotify (0.10.0) + DEBUG [9fa017c4] * ruby_dep (1.5.0) + DEBUG [9fa017c4] * listen (3.1.5) + DEBUG [9fa017c4] * rspec-support (3.8.2) + DEBUG [9fa017c4] * rspec-core (3.8.2) + DEBUG [9fa017c4] * rspec-expectations (3.8.4) + DEBUG [9fa017c4] * rspec-mocks (3.8.1) + DEBUG [9fa017c4] * rspec-rails (3.8.2) + DEBUG [9fa017c4] * shoulda-matchers (3.1.3) + DEBUG [9fa017c4] * spring (2.1.0) + DEBUG [9fa017c4] * spring-watcher-listen (2.0.1) + DEBUG [9fa017c4] Install missing gems with `bundle install` + DEBUG [9fa017c4] Finished in 1.104 seconds with exit status 1 (failed). + INFO [b7ea496b] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet as deploy@vereto.net + DEBUG [b7ea496b] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet ) + INFO [b7ea496b] Finished in 1.475 seconds with exit status 0 (successful). + DEBUG [b6c90dcf] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net + DEBUG [b6c90dcf] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi + DEBUG [b6c90dcf] Finished in 0.139 seconds with exit status 0 (successful). + INFO [c3757336] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@vereto.net + DEBUG [c3757336] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) + INFO [c3757336] Finished in 3.021 seconds with exit status 0 (successful). + DEBUG [ac7ded1e] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net + DEBUG [ac7ded1e] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi + DEBUG [ac7ded1e] Finished in 0.151 seconds with exit status 0 (successful). + INFO [841da4c3] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup as deploy@vereto.net + DEBUG [841da4c3] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup ) + INFO [841da4c3] Finished in 0.166 seconds with exit status 0 (successful). + DEBUG [c1a6f937] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* as deploy@vereto.net + DEBUG [c1a6f937] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* ) + DEBUG [c1a6f937] /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json + DEBUG [c1a6f937] Finished in 0.149 seconds with exit status 0 (successful). + DEBUG [3c3615c3] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* as deploy@vereto.net + DEBUG [3c3615c3] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest* ) + DEBUG [3c3615c3] /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json + DEBUG [3c3615c3] Finished in 0.149 seconds with exit status 0 (successful). + INFO [54ca007c] Running /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup as deploy@vereto.net + DEBUG [54ca007c] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180304/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180304/assets_manifest_backup ) + INFO [54ca007c] Finished in 0.148 seconds with exit status 0 (successful). + INFO [deploy:migrate] Run `rake db:migrate` + DEBUG [48fb7fc0] Running if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi as deploy@vereto.net + DEBUG [48fb7fc0] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180304; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180304'" 1>&2; false; fi + DEBUG [48fb7fc0] Finished in 0.137 seconds with exit status 0 (successful). + INFO [91bd8fa3] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@vereto.net + DEBUG [91bd8fa3] Command: cd /home/deploy/vereto-api/releases/20200112180304 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) + DEBUG [91bd8fa3] rake aborted! + DEBUG [91bd8fa3] Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") + DEBUG [91bd8fa3] /home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `connect' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `initialize' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:231:in `retrieve_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:199:in `connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/tasks/database_tasks.rb:238:in `migrate' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:85:in `block (3 levels) in
' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `each' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `block (2 levels) in
' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `' +/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load' +/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `
' + DEBUG [91bd8fa3] Tasks: TOP => db:migrate + DEBUG [91bd8fa3] (See full trace by running task with --trace) + INFO --------------------------------------------------------------------------- + INFO START 2020-01-12 19:04:56 +0100 cap production deploy + INFO --------------------------------------------------------------------------- + DEBUG [2df39f0e] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net + DEBUG [2df39f0e] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] + DEBUG [2df39f0e] Finished in 4.957 seconds with exit status 0 (successful). + DEBUG [08684a53] Running /usr/bin/env which passenger as deploy@vereto.net + DEBUG [08684a53] Command: /usr/bin/env which passenger + DEBUG [08684a53] /usr/bin/passenger + DEBUG [08684a53] Finished in 0.142 seconds with exit status 0 (successful). + INFO [990eb3d2] Running /usr/bin/env mkdir -p /tmp as deploy@vereto.net + DEBUG [990eb3d2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /tmp ) + INFO [990eb3d2] Finished in 0.139 seconds with exit status 0 (successful). + DEBUG Uploading /tmp/git-ssh-vereto-api-production-baron.sh 0.0% + INFO Uploading /tmp/git-ssh-vereto-api-production-baron.sh 100.0% + INFO [f9d299b2] Running /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh as deploy@vereto.net + DEBUG [f9d299b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh ) + INFO [f9d299b2] Finished in 0.140 seconds with exit status 0 (successful). + INFO [1a2d7687] Running /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD as deploy@vereto.net + DEBUG [1a2d7687] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD ) + DEBUG [1a2d7687] 685b28714bc97dafc7df189b286bd95986ade0df HEAD + INFO [1a2d7687] Finished in 0.857 seconds with exit status 0 (successful). + INFO [06539811] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases as deploy@vereto.net + DEBUG [06539811] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases ) + INFO [06539811] Finished in 0.134 seconds with exit status 0 (successful). + INFO [db20ebc7] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets as deploy@vereto.net + DEBUG [db20ebc7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets ) + INFO [db20ebc7] Finished in 0.139 seconds with exit status 0 (successful). + INFO [a92e9eee] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config as deploy@vereto.net + DEBUG [a92e9eee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config ) + INFO [a92e9eee] Finished in 0.138 seconds with exit status 0 (successful). + DEBUG [b602e1de] Running [ -f /home/deploy/vereto-api/shared/config/database.yml ] as deploy@vereto.net + DEBUG [b602e1de] Command: [ -f /home/deploy/vereto-api/shared/config/database.yml ] + DEBUG [b602e1de] Finished in 0.139 seconds with exit status 0 (successful). + DEBUG [f1ee2af0] Running [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] as deploy@vereto.net + DEBUG [f1ee2af0] Command: [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] + DEBUG [f1ee2af0] Finished in 0.135 seconds with exit status 0 (successful). + DEBUG [40f6fc73] Running [ -f /home/deploy/vereto-api/current/REVISION ] as deploy@vereto.net + DEBUG [40f6fc73] Command: [ -f /home/deploy/vereto-api/current/REVISION ] + DEBUG [40f6fc73] Finished in 0.146 seconds with exit status 0 (successful). + DEBUG [f309f49f] Running /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null as deploy@vereto.net + DEBUG [f309f49f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null ) + DEBUG [f309f49f] afe097aac8d02176ebe68c8449ce7c936979f891 + DEBUG [f309f49f] Finished in 0.162 seconds with exit status 0 (successful). + DEBUG [c231e5e2] Running [ -f /home/deploy/vereto-api/repo/HEAD ] as deploy@vereto.net + DEBUG [c231e5e2] Command: [ -f /home/deploy/vereto-api/repo/HEAD ] + DEBUG [c231e5e2] Finished in 0.150 seconds with exit status 0 (successful). + INFO The repository mirror is at /home/deploy/vereto-api/repo + DEBUG [d987cc72] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [d987cc72] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [d987cc72] Finished in 0.147 seconds with exit status 0 (successful). + INFO [77078138] Running /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git as deploy@vereto.net + DEBUG [77078138] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git ) + INFO [77078138] Finished in 0.152 seconds with exit status 0 (successful). + INFO [4b6b4821] Running /usr/bin/env git remote update --prune as deploy@vereto.net + DEBUG [4b6b4821] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote update --prune ) + DEBUG [4b6b4821] Fetching origin + INFO [4b6b4821] Finished in 0.863 seconds with exit status 0 (successful). + DEBUG [44be1206] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [44be1206] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [44be1206] Finished in 0.140 seconds with exit status 0 (successful). + INFO [862203e6] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 as deploy@vereto.net + DEBUG [862203e6] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 ) + INFO [862203e6] Finished in 0.154 seconds with exit status 0 (successful). + INFO [e745806c] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180503 as deploy@vereto.net + DEBUG [e745806c] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112180503 ) + INFO [e745806c] Finished in 0.167 seconds with exit status 0 (successful). + DEBUG [78109546] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [78109546] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [78109546] Finished in 0.140 seconds with exit status 0 (successful). + DEBUG [365f19d8] Running /usr/bin/env git rev-list --max-count=1 master as deploy@vereto.net + DEBUG [365f19d8] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git rev-list --max-count=1 master ) + DEBUG [365f19d8] 685b28714bc97dafc7df189b286bd95986ade0df + DEBUG [365f19d8] Finished in 0.152 seconds with exit status 0 (successful). + DEBUG [58e6085e] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net + DEBUG [58e6085e] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi + DEBUG [58e6085e] Finished in 0.149 seconds with exit status 0 (successful). + INFO [e37cc7d0] Running /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION as deploy@vereto.net + DEBUG [e37cc7d0] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION ) + INFO [e37cc7d0] Finished in 0.142 seconds with exit status 0 (successful). + INFO [9a9d9d42] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/config as deploy@vereto.net + DEBUG [9a9d9d42] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/config ) + INFO [9a9d9d42] Finished in 0.137 seconds with exit status 0 (successful). + DEBUG [6eda3eee] Running [ -L /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] as deploy@vereto.net + DEBUG [6eda3eee] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] + DEBUG [6eda3eee] Finished in 0.166 seconds with exit status 1 (failed). + DEBUG [5268b737] Running [ -f /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] as deploy@vereto.net + DEBUG [5268b737] Command: [ -f /home/deploy/vereto-api/releases/20200112180503/config/database.yml ] + DEBUG [5268b737] Finished in 0.135 seconds with exit status 0 (successful). + INFO [784316d4] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/database.yml as deploy@vereto.net + DEBUG [784316d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/database.yml ) + INFO [784316d4] Finished in 0.151 seconds with exit status 0 (successful). + INFO [8a1f5f15] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180503/config/database.yml as deploy@vereto.net + DEBUG [8a1f5f15] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112180503/config/database.yml ) + INFO [8a1f5f15] Finished in 0.156 seconds with exit status 0 (successful). + DEBUG [7786faea] Running [ -L /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] as deploy@vereto.net + DEBUG [7786faea] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] + DEBUG [7786faea] Finished in 0.131 seconds with exit status 1 (failed). + DEBUG [f361af21] Running [ -f /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] as deploy@vereto.net + DEBUG [f361af21] Command: [ -f /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ] + DEBUG [f361af21] Finished in 0.133 seconds with exit status 0 (successful). + INFO [4ccf40d3] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml as deploy@vereto.net + DEBUG [4ccf40d3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ) + INFO [4ccf40d3] Finished in 0.140 seconds with exit status 0 (successful). + INFO [a5af2051] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml as deploy@vereto.net + DEBUG [a5af2051] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112180503/config/secrets.yml ) + INFO [a5af2051] Finished in 0.160 seconds with exit status 0 (successful). + INFO [0d4e9176] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 /home/deploy/vereto-api/releases/20200112180503/tmp /home/deploy/vereto-api/releases/20200112180503/vendor /home/deploy/vereto-api/releases/20200112180503/public as deploy@vereto.net + DEBUG [0d4e9176] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503 /home/deploy/vereto-api/releases/20200112180503/tmp /home/deploy/vereto-api/releases/20200112180503/vendor /home/deploy/vereto-api/releases/20200112180503/public ) + INFO [0d4e9176] Finished in 0.145 seconds with exit status 0 (successful). + DEBUG [c87b3da9] Running [ -L /home/deploy/vereto-api/releases/20200112180503/log ] as deploy@vereto.net + DEBUG [c87b3da9] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/log ] + DEBUG [c87b3da9] Finished in 0.151 seconds with exit status 1 (failed). + DEBUG [26ce470e] Running [ -d /home/deploy/vereto-api/releases/20200112180503/log ] as deploy@vereto.net + DEBUG [26ce470e] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/log ] + DEBUG [26ce470e] Finished in 0.137 seconds with exit status 0 (successful). + INFO [33db9051] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180503/log as deploy@vereto.net + DEBUG [33db9051] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112180503/log ) + INFO [33db9051] Finished in 0.141 seconds with exit status 0 (successful). + INFO [580e1643] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180503/log as deploy@vereto.net + DEBUG [580e1643] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112180503/log ) + INFO [580e1643] Finished in 0.135 seconds with exit status 0 (successful). + DEBUG [81726969] Running [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] as deploy@vereto.net + DEBUG [81726969] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] + DEBUG [81726969] Finished in 0.139 seconds with exit status 1 (failed). + DEBUG [c2c4d1eb] Running [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] as deploy@vereto.net + DEBUG [c2c4d1eb] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/pids ] + DEBUG [c2c4d1eb] Finished in 0.156 seconds with exit status 1 (failed). + INFO [bc6ff5bc] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180503/tmp/pids as deploy@vereto.net + DEBUG [bc6ff5bc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112180503/tmp/pids ) + INFO [bc6ff5bc] Finished in 0.142 seconds with exit status 0 (successful). + DEBUG [54b3e19c] Running [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] as deploy@vereto.net + DEBUG [54b3e19c] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] + DEBUG [54b3e19c] Finished in 0.142 seconds with exit status 1 (failed). + DEBUG [a174d23a] Running [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] as deploy@vereto.net + DEBUG [a174d23a] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/cache ] + DEBUG [a174d23a] Finished in 0.136 seconds with exit status 1 (failed). + INFO [81685617] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180503/tmp/cache as deploy@vereto.net + DEBUG [81685617] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112180503/tmp/cache ) + INFO [81685617] Finished in 0.147 seconds with exit status 0 (successful). + DEBUG [9433b7dd] Running [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] as deploy@vereto.net + DEBUG [9433b7dd] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] + DEBUG [9433b7dd] Finished in 0.132 seconds with exit status 1 (failed). + DEBUG [00106824] Running [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] as deploy@vereto.net + DEBUG [00106824] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ] + DEBUG [00106824] Finished in 0.139 seconds with exit status 1 (failed). + INFO [2dd9817b] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180503/tmp/sockets as deploy@vereto.net + DEBUG [2dd9817b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112180503/tmp/sockets ) + INFO [2dd9817b] Finished in 0.144 seconds with exit status 0 (successful). + DEBUG [765ecc4a] Running [ -L /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] as deploy@vereto.net + DEBUG [765ecc4a] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] + DEBUG [765ecc4a] Finished in 0.146 seconds with exit status 1 (failed). + DEBUG [47084d16] Running [ -d /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] as deploy@vereto.net + DEBUG [47084d16] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ] + DEBUG [47084d16] Finished in 0.157 seconds with exit status 1 (failed). + INFO [d705855d] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180503/vendor/bundle as deploy@vereto.net + DEBUG [d705855d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112180503/vendor/bundle ) + INFO [d705855d] Finished in 0.142 seconds with exit status 0 (successful). + DEBUG [f9f65385] Running [ -L /home/deploy/vereto-api/releases/20200112180503/public/system ] as deploy@vereto.net + DEBUG [f9f65385] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/public/system ] + DEBUG [f9f65385] Finished in 0.142 seconds with exit status 1 (failed). + DEBUG [5e23c4da] Running [ -d /home/deploy/vereto-api/releases/20200112180503/public/system ] as deploy@vereto.net + DEBUG [5e23c4da] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/public/system ] + DEBUG [5e23c4da] Finished in 0.158 seconds with exit status 1 (failed). + INFO [2f6db027] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180503/public/system as deploy@vereto.net + DEBUG [2f6db027] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112180503/public/system ) + INFO [2f6db027] Finished in 0.147 seconds with exit status 0 (successful). + DEBUG [2e15be8a] Running [ -L /home/deploy/vereto-api/releases/20200112180503/public,uploads ] as deploy@vereto.net + DEBUG [2e15be8a] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/public,uploads ] + DEBUG [2e15be8a] Finished in 0.139 seconds with exit status 1 (failed). + DEBUG [a80e2fb2] Running [ -d /home/deploy/vereto-api/releases/20200112180503/public,uploads ] as deploy@vereto.net + DEBUG [a80e2fb2] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/public,uploads ] + DEBUG [a80e2fb2] Finished in 0.148 seconds with exit status 1 (failed). + INFO [3514dabc] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180503/public,uploads as deploy@vereto.net + DEBUG [3514dabc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112180503/public,uploads ) + INFO [3514dabc] Finished in 0.153 seconds with exit status 0 (successful). + DEBUG [06963f3b] Running [ -L /home/deploy/vereto-api/releases/20200112180503/public/assets ] as deploy@vereto.net + DEBUG [06963f3b] Command: [ -L /home/deploy/vereto-api/releases/20200112180503/public/assets ] + DEBUG [06963f3b] Finished in 0.130 seconds with exit status 1 (failed). + DEBUG [c894c3ed] Running [ -d /home/deploy/vereto-api/releases/20200112180503/public/assets ] as deploy@vereto.net + DEBUG [c894c3ed] Command: [ -d /home/deploy/vereto-api/releases/20200112180503/public/assets ] + DEBUG [c894c3ed] Finished in 0.133 seconds with exit status 1 (failed). + INFO [adfc3552] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180503/public/assets as deploy@vereto.net + DEBUG [adfc3552] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112180503/public/assets ) + INFO [adfc3552] Finished in 0.145 seconds with exit status 0 (successful). + DEBUG [08053a7c] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net + DEBUG [08053a7c] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi + DEBUG [08053a7c] Finished in 0.148 seconds with exit status 0 (successful). + DEBUG [42264a5c] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle as deploy@vereto.net + DEBUG [42264a5c] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle ) + DEBUG [42264a5c] The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. + DEBUG [42264a5c] The following gems are missing + DEBUG [42264a5c] * byebug (11.0.1) + DEBUG [42264a5c] * database_cleaner (1.7.0) + DEBUG [42264a5c] * diff-lcs (1.3) + DEBUG [42264a5c] * factory_girl (4.9.0) + DEBUG [42264a5c] * factory_girl_rails (4.9.0) + DEBUG [42264a5c] * faker (2.4.0) + DEBUG [42264a5c] * ffi (1.11.1) + DEBUG [42264a5c] * rb-fsevent (0.10.3) + DEBUG [42264a5c] * rb-inotify (0.10.0) + DEBUG [42264a5c] * ruby_dep (1.5.0) + DEBUG [42264a5c] * listen (3.1.5) + DEBUG [42264a5c] * rspec-support (3.8.2) + DEBUG [42264a5c] * rspec-core (3.8.2) + DEBUG [42264a5c] * rspec-expectations (3.8.4) + DEBUG [42264a5c] * rspec-mocks (3.8.1) + DEBUG [42264a5c] * rspec-rails (3.8.2) + DEBUG [42264a5c] * shoulda-matchers (3.1.3) + DEBUG [42264a5c] * spring (2.1.0) + DEBUG [42264a5c] * spring-watcher-listen (2.0.1) + DEBUG [42264a5c] Install missing gems with `bundle install` + DEBUG [42264a5c] Finished in 1.036 seconds with exit status 1 (failed). + INFO [58589ae9] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet as deploy@vereto.net + DEBUG [58589ae9] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet ) + INFO [58589ae9] Finished in 1.428 seconds with exit status 0 (successful). + DEBUG [51fd90dc] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net + DEBUG [51fd90dc] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi + DEBUG [51fd90dc] Finished in 0.149 seconds with exit status 0 (successful). + INFO [3b275660] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@vereto.net + DEBUG [3b275660] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) + INFO [3b275660] Finished in 2.931 seconds with exit status 0 (successful). + DEBUG [0220df78] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net + DEBUG [0220df78] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi + DEBUG [0220df78] Finished in 0.173 seconds with exit status 0 (successful). + INFO [97a38135] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup as deploy@vereto.net + DEBUG [97a38135] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup ) + INFO [97a38135] Finished in 0.155 seconds with exit status 0 (successful). + DEBUG [e3525e35] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* as deploy@vereto.net + DEBUG [e3525e35] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* ) + DEBUG [e3525e35] /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json + DEBUG [e3525e35] Finished in 0.141 seconds with exit status 0 (successful). + DEBUG [d892d7ee] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* as deploy@vereto.net + DEBUG [d892d7ee] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest* ) + DEBUG [d892d7ee] /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json + DEBUG [d892d7ee] Finished in 0.145 seconds with exit status 0 (successful). + INFO [0f8bac3c] Running /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup as deploy@vereto.net + DEBUG [0f8bac3c] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cp /home/deploy/vereto-api/releases/20200112180503/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112180503/assets_manifest_backup ) + INFO [0f8bac3c] Finished in 0.145 seconds with exit status 0 (successful). + INFO [deploy:migrate] Run `rake db:migrate` + DEBUG [e53fb518] Running if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi as deploy@vereto.net + DEBUG [e53fb518] Command: if test ! -d /home/deploy/vereto-api/releases/20200112180503; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112180503'" 1>&2; false; fi + DEBUG [e53fb518] Finished in 0.131 seconds with exit status 0 (successful). + INFO [8acc5095] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@vereto.net + DEBUG [8acc5095] Command: cd /home/deploy/vereto-api/releases/20200112180503 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) + DEBUG [8acc5095] rake aborted! + DEBUG [8acc5095] Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") + DEBUG [8acc5095] /home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `connect' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/mysql2-0.5.2/lib/mysql2/client.rb:90:in `initialize' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:879:in `new_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:923:in `checkout_new_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:902:in `try_to_checkout_new_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:863:in `acquire_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:587:in `checkout' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:431:in `connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:1111:in `retrieve_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:231:in `retrieve_connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/connection_handling.rb:199:in `connection' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/tasks/database_tasks.rb:238:in `migrate' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:85:in `block (3 levels) in
' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `each' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/activerecord-6.0.0/lib/active_record/railties/databases.rake:83:in `block (2 levels) in
' +/home/deploy/vereto-api/shared/bundle/ruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `' +/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `load' +/home/deploy/.rbenv/versions/2.6.4/bin/bundle:23:in `
' + DEBUG [8acc5095] Tasks: TOP => db:migrate + DEBUG [8acc5095] (See full trace by running task with --trace) + INFO --------------------------------------------------------------------------- + INFO START 2020-01-12 19:24:17 +0100 cap production deploy + INFO --------------------------------------------------------------------------- + DEBUG [6240ee6c] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net + DEBUG [6240ee6c] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] + INFO --------------------------------------------------------------------------- + INFO START 2020-01-12 19:24:32 +0100 cap production deploy + INFO --------------------------------------------------------------------------- + DEBUG [df7ca90a] Running [ -d $HOME/.rbenv/versions/2.6.4 ] as deploy@vereto.net + DEBUG [df7ca90a] Command: [ -d $HOME/.rbenv/versions/2.6.4 ] + DEBUG [df7ca90a] Finished in 0.807 seconds with exit status 0 (successful). + DEBUG [1d87a1d2] Running /usr/bin/env which passenger as deploy@vereto.net + DEBUG [1d87a1d2] Command: /usr/bin/env which passenger + DEBUG [1d87a1d2] /usr/bin/passenger + DEBUG [1d87a1d2] Finished in 0.163 seconds with exit status 0 (successful). + INFO [e21944d6] Running /usr/bin/env mkdir -p /tmp as deploy@vereto.net + DEBUG [e21944d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /tmp ) + INFO [e21944d6] Finished in 0.148 seconds with exit status 0 (successful). + DEBUG Uploading /tmp/git-ssh-vereto-api-production-baron.sh 0.0% + INFO Uploading /tmp/git-ssh-vereto-api-production-baron.sh 100.0% + INFO [68ac8e8a] Running /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh as deploy@vereto.net + DEBUG [68ac8e8a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env chmod 700 /tmp/git-ssh-vereto-api-production-baron.sh ) + INFO [68ac8e8a] Finished in 0.143 seconds with exit status 0 (successful). + INFO [f2013c4a] Running /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD as deploy@vereto.net + DEBUG [f2013c4a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git ls-remote https://gitlab.com/spengreb/vereto-api.git HEAD ) + DEBUG [f2013c4a] 685b28714bc97dafc7df189b286bd95986ade0df HEAD + INFO [f2013c4a] Finished in 0.920 seconds with exit status 0 (successful). + INFO [87eb243c] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases as deploy@vereto.net + DEBUG [87eb243c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared /home/deploy/vereto-api/releases ) + INFO [87eb243c] Finished in 0.163 seconds with exit status 0 (successful). + INFO [50e0d149] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets as deploy@vereto.net + DEBUG [50e0d149] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/shared/public/assets ) + INFO [50e0d149] Finished in 0.155 seconds with exit status 0 (successful). + INFO [2c28e22c] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config as deploy@vereto.net + DEBUG [2c28e22c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/shared/config ) + INFO [2c28e22c] Finished in 0.163 seconds with exit status 0 (successful). + DEBUG [c3bbf231] Running [ -f /home/deploy/vereto-api/shared/config/database.yml ] as deploy@vereto.net + DEBUG [c3bbf231] Command: [ -f /home/deploy/vereto-api/shared/config/database.yml ] + DEBUG [c3bbf231] Finished in 0.135 seconds with exit status 0 (successful). + DEBUG [bede3edd] Running [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] as deploy@vereto.net + DEBUG [bede3edd] Command: [ -f /home/deploy/vereto-api/shared/config/secrets.yml ] + DEBUG [bede3edd] Finished in 0.141 seconds with exit status 0 (successful). + DEBUG [89840692] Running [ -f /home/deploy/vereto-api/current/REVISION ] as deploy@vereto.net + DEBUG [89840692] Command: [ -f /home/deploy/vereto-api/current/REVISION ] + DEBUG [89840692] Finished in 0.149 seconds with exit status 0 (successful). + DEBUG [f273ba96] Running /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null as deploy@vereto.net + DEBUG [f273ba96] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cat /home/deploy/vereto-api/current/REVISION 2>/dev/null ) + DEBUG [f273ba96] afe097aac8d02176ebe68c8449ce7c936979f891 + DEBUG [f273ba96] Finished in 0.153 seconds with exit status 0 (successful). + DEBUG [67dc4aec] Running [ -f /home/deploy/vereto-api/repo/HEAD ] as deploy@vereto.net + DEBUG [67dc4aec] Command: [ -f /home/deploy/vereto-api/repo/HEAD ] + DEBUG [67dc4aec] Finished in 0.144 seconds with exit status 0 (successful). + INFO The repository mirror is at /home/deploy/vereto-api/repo + DEBUG [c9f795e2] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [c9f795e2] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [c9f795e2] Finished in 0.138 seconds with exit status 0 (successful). + INFO [58486dae] Running /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git as deploy@vereto.net + DEBUG [58486dae] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote set-url origin https://gitlab.com/spengreb/vereto-api.git ) + INFO [58486dae] Finished in 0.157 seconds with exit status 0 (successful). + INFO [3d74223a] Running /usr/bin/env git remote update --prune as deploy@vereto.net + DEBUG [3d74223a] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git remote update --prune ) + DEBUG [3d74223a] Fetching origin + INFO [3d74223a] Finished in 0.885 seconds with exit status 0 (successful). + DEBUG [94daea18] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [94daea18] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [94daea18] Finished in 0.150 seconds with exit status 0 (successful). + INFO [d18292d9] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 as deploy@vereto.net + DEBUG [d18292d9] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 ) + INFO [d18292d9] Finished in 0.157 seconds with exit status 0 (successful). + INFO [696034ef] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112182435 as deploy@vereto.net + DEBUG [696034ef] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /home/deploy/vereto-api/releases/20200112182435 ) + INFO [696034ef] Finished in 0.174 seconds with exit status 0 (successful). + DEBUG [b5afe61b] Running if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi as deploy@vereto.net + DEBUG [b5afe61b] Command: if test ! -d /home/deploy/vereto-api/repo; then echo "Directory does not exist '/home/deploy/vereto-api/repo'" 1>&2; false; fi + DEBUG [b5afe61b] Finished in 0.143 seconds with exit status 0 (successful). + DEBUG [beff5e03] Running /usr/bin/env git rev-list --max-count=1 master as deploy@vereto.net + DEBUG [beff5e03] Command: cd /home/deploy/vereto-api/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-vereto-api-production-baron.sh" ; /usr/bin/env git rev-list --max-count=1 master ) + DEBUG [beff5e03] 685b28714bc97dafc7df189b286bd95986ade0df + DEBUG [beff5e03] Finished in 0.145 seconds with exit status 0 (successful). + DEBUG [2ada25d2] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net + DEBUG [2ada25d2] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi + DEBUG [2ada25d2] Finished in 0.141 seconds with exit status 0 (successful). + INFO [d309c0df] Running /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION as deploy@vereto.net + DEBUG [d309c0df] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "685b28714bc97dafc7df189b286bd95986ade0df" >> REVISION ) + INFO [d309c0df] Finished in 0.141 seconds with exit status 0 (successful). + INFO [8e0693e1] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/config as deploy@vereto.net + DEBUG [8e0693e1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/config ) + INFO [8e0693e1] Finished in 0.149 seconds with exit status 0 (successful). + DEBUG [0cff24b8] Running [ -L /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] as deploy@vereto.net + DEBUG [0cff24b8] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] + DEBUG [0cff24b8] Finished in 0.146 seconds with exit status 1 (failed). + DEBUG [e3849d00] Running [ -f /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] as deploy@vereto.net + DEBUG [e3849d00] Command: [ -f /home/deploy/vereto-api/releases/20200112182435/config/database.yml ] + DEBUG [e3849d00] Finished in 0.157 seconds with exit status 0 (successful). + INFO [1ecd3d1d] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/database.yml as deploy@vereto.net + DEBUG [1ecd3d1d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/database.yml ) + INFO [1ecd3d1d] Finished in 0.155 seconds with exit status 0 (successful). + INFO [b320e15c] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112182435/config/database.yml as deploy@vereto.net + DEBUG [b320e15c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/database.yml /home/deploy/vereto-api/releases/20200112182435/config/database.yml ) + INFO [b320e15c] Finished in 0.143 seconds with exit status 0 (successful). + DEBUG [f764ba3a] Running [ -L /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] as deploy@vereto.net + DEBUG [f764ba3a] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] + DEBUG [f764ba3a] Finished in 0.147 seconds with exit status 1 (failed). + DEBUG [ff601627] Running [ -f /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] as deploy@vereto.net + DEBUG [ff601627] Command: [ -f /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ] + DEBUG [ff601627] Finished in 0.149 seconds with exit status 0 (successful). + INFO [d6f9e73d] Running /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml as deploy@vereto.net + DEBUG [d6f9e73d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ) + INFO [d6f9e73d] Finished in 0.142 seconds with exit status 0 (successful). + INFO [08b88919] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml as deploy@vereto.net + DEBUG [08b88919] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/config/secrets.yml /home/deploy/vereto-api/releases/20200112182435/config/secrets.yml ) + INFO [08b88919] Finished in 0.160 seconds with exit status 0 (successful). + INFO [9a9817ba] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/20200112182435/tmp /home/deploy/vereto-api/releases/20200112182435/vendor /home/deploy/vereto-api/releases/20200112182435/public as deploy@vereto.net + DEBUG [9a9817ba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/20200112182435/tmp /home/deploy/vereto-api/releases/20200112182435/vendor /home/deploy/vereto-api/releases/20200112182435/public ) + INFO [9a9817ba] Finished in 0.147 seconds with exit status 0 (successful). + DEBUG [95ab69b6] Running [ -L /home/deploy/vereto-api/releases/20200112182435/log ] as deploy@vereto.net + DEBUG [95ab69b6] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/log ] + DEBUG [95ab69b6] Finished in 0.149 seconds with exit status 1 (failed). + DEBUG [adfca2a9] Running [ -d /home/deploy/vereto-api/releases/20200112182435/log ] as deploy@vereto.net + DEBUG [adfca2a9] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/log ] + DEBUG [adfca2a9] Finished in 0.145 seconds with exit status 0 (successful). + INFO [b5c0b847] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112182435/log as deploy@vereto.net + DEBUG [b5c0b847] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20200112182435/log ) + INFO [b5c0b847] Finished in 0.151 seconds with exit status 0 (successful). + INFO [bf94d7e0] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112182435/log as deploy@vereto.net + DEBUG [bf94d7e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/log /home/deploy/vereto-api/releases/20200112182435/log ) + INFO [bf94d7e0] Finished in 0.152 seconds with exit status 0 (successful). + DEBUG [430d613d] Running [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] as deploy@vereto.net + DEBUG [430d613d] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] + DEBUG [430d613d] Finished in 0.149 seconds with exit status 1 (failed). + DEBUG [ade8d62e] Running [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] as deploy@vereto.net + DEBUG [ade8d62e] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/pids ] + DEBUG [ade8d62e] Finished in 0.160 seconds with exit status 1 (failed). + INFO [9e5c9613] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112182435/tmp/pids as deploy@vereto.net + DEBUG [9e5c9613] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/pids /home/deploy/vereto-api/releases/20200112182435/tmp/pids ) + INFO [9e5c9613] Finished in 0.142 seconds with exit status 0 (successful). + DEBUG [9a05b42c] Running [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] as deploy@vereto.net + DEBUG [9a05b42c] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] + DEBUG [9a05b42c] Finished in 0.151 seconds with exit status 1 (failed). + DEBUG [fa645596] Running [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] as deploy@vereto.net + DEBUG [fa645596] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/cache ] + DEBUG [fa645596] Finished in 0.148 seconds with exit status 1 (failed). + INFO [5001b686] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112182435/tmp/cache as deploy@vereto.net + DEBUG [5001b686] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/cache /home/deploy/vereto-api/releases/20200112182435/tmp/cache ) + INFO [5001b686] Finished in 0.140 seconds with exit status 0 (successful). + DEBUG [5cac9a97] Running [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] as deploy@vereto.net + DEBUG [5cac9a97] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] + DEBUG [5cac9a97] Finished in 0.144 seconds with exit status 1 (failed). + DEBUG [c5c87f5b] Running [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] as deploy@vereto.net + DEBUG [c5c87f5b] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ] + DEBUG [c5c87f5b] Finished in 0.144 seconds with exit status 1 (failed). + INFO [016f4da1] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112182435/tmp/sockets as deploy@vereto.net + DEBUG [016f4da1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/tmp/sockets /home/deploy/vereto-api/releases/20200112182435/tmp/sockets ) + INFO [016f4da1] Finished in 0.144 seconds with exit status 0 (successful). + DEBUG [578a1b21] Running [ -L /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] as deploy@vereto.net + DEBUG [578a1b21] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] + DEBUG [578a1b21] Finished in 0.146 seconds with exit status 1 (failed). + DEBUG [c01a510e] Running [ -d /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] as deploy@vereto.net + DEBUG [c01a510e] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ] + DEBUG [c01a510e] Finished in 0.141 seconds with exit status 1 (failed). + INFO [c72b45c2] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112182435/vendor/bundle as deploy@vereto.net + DEBUG [c72b45c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/vendor/bundle /home/deploy/vereto-api/releases/20200112182435/vendor/bundle ) + INFO [c72b45c2] Finished in 0.152 seconds with exit status 0 (successful). + DEBUG [79fd7cba] Running [ -L /home/deploy/vereto-api/releases/20200112182435/public/system ] as deploy@vereto.net + DEBUG [79fd7cba] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/public/system ] + DEBUG [79fd7cba] Finished in 0.161 seconds with exit status 1 (failed). + DEBUG [3888da8c] Running [ -d /home/deploy/vereto-api/releases/20200112182435/public/system ] as deploy@vereto.net + DEBUG [3888da8c] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/public/system ] + DEBUG [3888da8c] Finished in 0.149 seconds with exit status 1 (failed). + INFO [c69be2c4] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112182435/public/system as deploy@vereto.net + DEBUG [c69be2c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/system /home/deploy/vereto-api/releases/20200112182435/public/system ) + INFO [c69be2c4] Finished in 0.143 seconds with exit status 0 (successful). + DEBUG [f696ca36] Running [ -L /home/deploy/vereto-api/releases/20200112182435/public,uploads ] as deploy@vereto.net + DEBUG [f696ca36] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/public,uploads ] + DEBUG [f696ca36] Finished in 0.149 seconds with exit status 1 (failed). + DEBUG [c1ecac81] Running [ -d /home/deploy/vereto-api/releases/20200112182435/public,uploads ] as deploy@vereto.net + DEBUG [c1ecac81] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/public,uploads ] + DEBUG [c1ecac81] Finished in 0.138 seconds with exit status 1 (failed). + INFO [954c8d19] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112182435/public,uploads as deploy@vereto.net + DEBUG [954c8d19] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public,uploads /home/deploy/vereto-api/releases/20200112182435/public,uploads ) + INFO [954c8d19] Finished in 0.154 seconds with exit status 0 (successful). + DEBUG [f5d50318] Running [ -L /home/deploy/vereto-api/releases/20200112182435/public/assets ] as deploy@vereto.net + DEBUG [f5d50318] Command: [ -L /home/deploy/vereto-api/releases/20200112182435/public/assets ] + DEBUG [f5d50318] Finished in 0.154 seconds with exit status 1 (failed). + DEBUG [1bf5b63d] Running [ -d /home/deploy/vereto-api/releases/20200112182435/public/assets ] as deploy@vereto.net + DEBUG [1bf5b63d] Command: [ -d /home/deploy/vereto-api/releases/20200112182435/public/assets ] + DEBUG [1bf5b63d] Finished in 0.159 seconds with exit status 1 (failed). + INFO [fd40a83a] Running /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112182435/public/assets as deploy@vereto.net + DEBUG [fd40a83a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/shared/public/assets /home/deploy/vereto-api/releases/20200112182435/public/assets ) + INFO [fd40a83a] Finished in 0.156 seconds with exit status 0 (successful). + DEBUG [c90839fa] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net + DEBUG [c90839fa] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi + DEBUG [c90839fa] Finished in 0.146 seconds with exit status 0 (successful). + DEBUG [f15c11ea] Running $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle as deploy@vereto.net + DEBUG [f15c11ea] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle check --path /home/deploy/vereto-api/shared/bundle ) + DEBUG [f15c11ea] The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. + DEBUG [f15c11ea] The following gems are missing + DEBUG [f15c11ea] * byebug (11.0.1) + DEBUG [f15c11ea] * database_cleaner (1.7.0) + * diff-lcs (1.3) + DEBUG [f15c11ea] * factory_girl (4.9.0) + DEBUG [f15c11ea] * factory_girl_rails (4.9.0) + DEBUG [f15c11ea] * faker (2.4.0) + DEBUG [f15c11ea] * ffi (1.11.1) + DEBUG [f15c11ea] * rb-fsevent (0.10.3) + DEBUG [f15c11ea] * rb-inotify (0.10.0) + DEBUG [f15c11ea] * ruby_dep (1.5.0) + DEBUG [f15c11ea] * listen (3.1.5) + DEBUG [f15c11ea] * rspec-support (3.8.2) + DEBUG [f15c11ea] * rspec-core (3.8.2) + DEBUG [f15c11ea] * rspec-expectations (3.8.4) + DEBUG [f15c11ea] * rspec-mocks (3.8.1) + DEBUG [f15c11ea] * rspec-rails (3.8.2) + DEBUG [f15c11ea] * shoulda-matchers (3.1.3) + DEBUG [f15c11ea] * spring (2.1.0) + DEBUG [f15c11ea] * spring-watcher-listen (2.0.1) + DEBUG [f15c11ea] Install missing gems with `bundle install` + DEBUG [f15c11ea] Finished in 1.145 seconds with exit status 1 (failed). + INFO [f4b1a6c8] Running $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet as deploy@vereto.net + DEBUG [f4b1a6c8] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; $HOME/.rbenv/bin/rbenv exec bundle install --path /home/deploy/vereto-api/shared/bundle --jobs 4 --without development test --deployment --quiet ) + INFO [f4b1a6c8] Finished in 1.458 seconds with exit status 0 (successful). + DEBUG [083c7b09] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net + DEBUG [083c7b09] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi + DEBUG [083c7b09] Finished in 0.144 seconds with exit status 0 (successful). + INFO [74b5355a] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@vereto.net + DEBUG [74b5355a] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) + INFO [74b5355a] Finished in 3.347 seconds with exit status 0 (successful). + DEBUG [bcaab755] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net + DEBUG [bcaab755] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi + DEBUG [bcaab755] Finished in 0.171 seconds with exit status 0 (successful). + INFO [03fce5fd] Running /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup as deploy@vereto.net + DEBUG [03fce5fd] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mkdir -p /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup ) + INFO [03fce5fd] Finished in 0.171 seconds with exit status 0 (successful). + DEBUG [9c051fcd] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* as deploy@vereto.net + DEBUG [9c051fcd] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* ) + DEBUG [9c051fcd] /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json + DEBUG [9c051fcd] Finished in 0.160 seconds with exit status 0 (successful). + DEBUG [2d485e18] Running /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* as deploy@vereto.net + DEBUG [2d485e18] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest* ) + DEBUG [2d485e18] /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json + DEBUG [2d485e18] Finished in 0.146 seconds with exit status 0 (successful). + INFO [c01143c6] Running /usr/bin/env cp /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup as deploy@vereto.net + DEBUG [c01143c6] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env cp /home/deploy/vereto-api/releases/20200112182435/public/assets/.sprockets-manifest-07b17ff0a8628b2e3a1d26300fa42980.json /home/deploy/vereto-api/releases/20200112182435/assets_manifest_backup ) + INFO [c01143c6] Finished in 0.160 seconds with exit status 0 (successful). + INFO [deploy:migrate] Run `rake db:migrate` + DEBUG [da7408a9] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net + DEBUG [da7408a9] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi + DEBUG [da7408a9] Finished in 0.142 seconds with exit status 0 (successful). + INFO [6ebdb16b] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@vereto.net + DEBUG [6ebdb16b] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" RAILS_ENV="production" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) + INFO [6ebdb16b] Finished in 2.782 seconds with exit status 0 (successful). + INFO [7d977893] Running /usr/bin/env ln -s /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/current as deploy@vereto.net + DEBUG [7d977893] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ln -s /home/deploy/vereto-api/releases/20200112182435 /home/deploy/vereto-api/releases/current ) + INFO [7d977893] Finished in 0.166 seconds with exit status 0 (successful). + INFO [9ebd8e24] Running /usr/bin/env mv /home/deploy/vereto-api/releases/current /home/deploy/vereto-api as deploy@vereto.net + DEBUG [9ebd8e24] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env mv /home/deploy/vereto-api/releases/current /home/deploy/vereto-api ) + INFO [9ebd8e24] Finished in 0.150 seconds with exit status 0 (successful). + DEBUG [6554130c] Running if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi as deploy@vereto.net + DEBUG [6554130c] Command: if test ! -d /home/deploy/vereto-api/releases/20200112182435; then echo "Directory does not exist '/home/deploy/vereto-api/releases/20200112182435'" 1>&2; false; fi + DEBUG [6554130c] Finished in 0.142 seconds with exit status 0 (successful). + DEBUG [9b35c06c] Running /usr/bin/env passenger -v as deploy@vereto.net + DEBUG [9b35c06c] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env passenger -v ) + DEBUG [9b35c06c] Phusion Passenger 6.0.4 + DEBUG [9b35c06c] Finished in 0.415 seconds with exit status 0 (successful). + INFO [75542702] Running /usr/bin/env passenger-config restart-app /home/deploy/vereto-api --ignore-app-not-running as deploy@vereto.net + DEBUG [75542702] Command: cd /home/deploy/vereto-api/releases/20200112182435 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env passenger-config restart-app /home/deploy/vereto-api --ignore-app-not-running ) + DEBUG [75542702] Restarting /home/deploy/vereto-api/current (production) + INFO [75542702] Finished in 0.603 seconds with exit status 0 (successful). + DEBUG [f772232d] Running /usr/bin/env ls -x /home/deploy/vereto-api/releases as deploy@vereto.net + DEBUG [f772232d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env ls -x /home/deploy/vereto-api/releases ) + DEBUG [f772232d] 20191021090614 20191021091123 20191021091244 20191021092428 20191021092833 +20200112180304 20200112180503 20200112182435 + DEBUG [f772232d] Finished in 0.167 seconds with exit status 0 (successful). + INFO Keeping 5 of 8 deployed releases on vereto.net + DEBUG [5fa8e710] Running [ -d /home/deploy/vereto-api/current ] as deploy@vereto.net + DEBUG [5fa8e710] Command: [ -d /home/deploy/vereto-api/current ] + DEBUG [5fa8e710] Finished in 0.148 seconds with exit status 0 (successful). + DEBUG [e344c210] Running /usr/bin/env readlink /home/deploy/vereto-api/current as deploy@vereto.net + DEBUG [e344c210] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env readlink /home/deploy/vereto-api/current ) + DEBUG [e344c210] /home/deploy/vereto-api/releases/20200112182435 + DEBUG [e344c210] Finished in 0.147 seconds with exit status 0 (successful). + INFO [b7971284] Running /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20191021090614 /home/deploy/vereto-api/releases/20191021091123 /home/deploy/vereto-api/releases/20191021091244 as deploy@vereto.net + DEBUG [b7971284] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env rm -rf /home/deploy/vereto-api/releases/20191021090614 /home/deploy/vereto-api/releases/20191021091123 /home/deploy/vereto-api/releases/20191021091244 ) + INFO [b7971284] Finished in 0.220 seconds with exit status 0 (successful). + DEBUG [c4f0a0b2] Running if test ! -d /home/deploy/vereto-api/releases; then echo "Directory does not exist '/home/deploy/vereto-api/releases'" 1>&2; false; fi as deploy@vereto.net + DEBUG [c4f0a0b2] Command: if test ! -d /home/deploy/vereto-api/releases; then echo "Directory does not exist '/home/deploy/vereto-api/releases'" 1>&2; false; fi + DEBUG [c4f0a0b2] Finished in 0.137 seconds with exit status 0 (successful). + INFO [265c25a7] Running /usr/bin/env echo "Branch master (at 685b28714bc97dafc7df189b286bd95986ade0df) deployed as release 20200112182435 by baron" >> /home/deploy/vereto-api/revisions.log as deploy@vereto.net + DEBUG [265c25a7] Command: cd /home/deploy/vereto-api/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.6.4" ; /usr/bin/env echo "Branch master (at 685b28714bc97dafc7df189b286bd95986ade0df) deployed as release 20200112182435 by baron" >> /home/deploy/vereto-api/revisions.log ) + INFO [265c25a7] Finished in 0.144 seconds with exit status 0 (successful). diff --git a/log/development.log b/log/development.log index 6226df9..b373323 100644 --- a/log/development.log +++ b/log/development.log @@ -2638,3 +2638,465 @@ Processing by AuthenticationController#authenticate as HTML Completed 200 OK in 582ms (Views: 0.4ms | ActiveRecord: 1.5ms | Allocations: 2056) +Started POST "/login" for 127.0.0.1 at 2020-01-12 19:02:09 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (10.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 610ms (Views: 1.0ms | ActiveRecord: 10.7ms | Allocations: 2060) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 20:36:21 +0100 +  (11.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (3.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (5.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 643ms (Views: 0.8ms | ActiveRecord: 15.5ms | Allocations: 10096) + + +  (11.7ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.3ms) SELECT GET_LOCK('1433072424460498080', 0) +  (5.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC +Migrating to AddAdminToUsers (20200112200527) +  (37.4ms) ALTER TABLE `users` ADD `admin` tinyint(1) +  (0.1ms) BEGIN + primary::SchemaMigration Create (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20200112200527') +  (5.5ms) COMMIT + ActiveRecord::InternalMetadata Load (1.2ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1 +  (0.6ms) SELECT RELEASE_LOCK('1433072424460498080') +  (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC +Started GET "/users" for ::1 at 2020-01-12 21:07:20 +0100 +  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (1.6ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC + +AbstractController::ActionNotFound (The action 'index' could not be found for UsersController): + +actionpack (6.0.0) lib/abstract_controller/base.rb:131:in `process' +actionpack (6.0.0) lib/action_controller/metal.rb:191:in `dispatch' +actionpack (6.0.0) lib/action_controller/metal.rb:252:in `dispatch' +actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:51:in `dispatch' +actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:33:in `serve' +actionpack (6.0.0) lib/action_dispatch/journey/router.rb:49:in `block in serve' +actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in `each' +actionpack (6.0.0) lib/action_dispatch/journey/router.rb:32:in `serve' +actionpack (6.0.0) lib/action_dispatch/routing/route_set.rb:837:in `call' +rack (2.0.7) lib/rack/etag.rb:25:in `call' +rack (2.0.7) lib/rack/conditional_get.rb:25:in `call' +rack (2.0.7) lib/rack/head.rb:12:in `call' +activerecord (6.0.0) lib/active_record/migration.rb:567:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call' +activesupport (6.0.0) lib/active_support/callbacks.rb:101:in `run_callbacks' +actionpack (6.0.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' +rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' +railties (6.0.0) lib/rails/engine.rb:526:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/user" for ::1 at 2020-01-12 21:10:15 +0100 + +ActionController::RoutingError (No route matches [GET] "/user"): + +actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' +rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' +railties (6.0.0) lib/rails/engine.rb:526:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/user/1" for ::1 at 2020-01-12 21:10:20 +0100 + +ActionController::RoutingError (No route matches [GET] "/user/1"): + +actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' +rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' +railties (6.0.0) lib/rails/engine.rb:526:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +Started GET "/user/1" for ::1 at 2020-01-12 21:10:48 +0100 + +ActionController::RoutingError (No route matches [GET] "/user/1"): + +actionpack (6.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:36:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' +railties (6.0.0) lib/rails/rack/logger.rb:38:in `call_app' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `block in call' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `block in tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:28:in `tagged' +activesupport (6.0.0) lib/active_support/tagged_logging.rb:80:in `tagged' +railties (6.0.0) lib/rails/rack/logger.rb:26:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/request_id.rb:27:in `call' +rack (2.0.7) lib/rack/runtime.rb:22:in `call' +activesupport (6.0.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/executor.rb:14:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/static.rb:126:in `call' +rack (2.0.7) lib/rack/sendfile.rb:111:in `call' +actionpack (6.0.0) lib/action_dispatch/middleware/host_authorization.rb:83:in `call' +rack-cors (1.0.3) lib/rack/cors.rb:95:in `call' +railties (6.0.0) lib/rails/engine.rb:526:in `call' +puma (3.12.1) lib/puma/configuration.rb:227:in `call' +puma (3.12.1) lib/puma/server.rb:660:in `handle_request' +puma (3.12.1) lib/puma/server.rb:474:in `process_client' +puma (3.12.1) lib/puma/server.rb:334:in `block in run' +puma (3.12.1) lib/puma/thread_pool.rb:135:in `block in spawn_thread' +  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 + User Load (0.5ms) SELECT `users`.* FROM `users` LIMIT 11 + User Load (0.6ms) SELECT `users`.* FROM `users` ORDER BY `users`.`id` ASC LIMIT 1 +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:18:30 +0100 +  (0.5ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 +  (0.8ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 609ms (Views: 0.7ms | ActiveRecord: 2.2ms | Allocations: 10799) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:21:11 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 593ms (Views: 0.5ms | ActiveRecord: 0.7ms | Allocations: 2084) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:21:40 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (2.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 593ms (Views: 0.6ms | ActiveRecord: 3.0ms | Allocations: 2084) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:22:03 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (1.9ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 596ms (Views: 0.7ms | ActiveRecord: 2.0ms | Allocations: 2080) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:22:46 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 589ms (Views: 0.5ms | ActiveRecord: 1.0ms | Allocations: 2068) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:24:10 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 580ms (Views: 0.6ms | ActiveRecord: 1.2ms | Allocations: 2064) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:25:50 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 582ms (Views: 0.6ms | ActiveRecord: 0.6ms | Allocations: 2064) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:27:36 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 577ms (Views: 0.3ms | ActiveRecord: 1.3ms | Allocations: 2068) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:27:52 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (1.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 601ms (Views: 0.5ms | ActiveRecord: 2.1ms | Allocations: 2068) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:28:51 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 599ms (Views: 0.6ms | ActiveRecord: 0.7ms | Allocations: 2069) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:29:34 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (1.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 578ms (Views: 0.9ms | ActiveRecord: 1.1ms | Allocations: 2065) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:30:00 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 577ms (Views: 0.6ms | ActiveRecord: 0.9ms | Allocations: 2064) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:30:21 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 579ms (Views: 0.5ms | ActiveRecord: 0.6ms | Allocations: 2083) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:30:46 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (2.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 583ms (Views: 0.5ms | ActiveRecord: 2.0ms | Allocations: 2065) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:31:07 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.7ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 571ms (Views: 0.6ms | ActiveRecord: 0.7ms | Allocations: 2067) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:32:18 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 568ms (Views: 0.4ms | ActiveRecord: 0.4ms | Allocations: 2065) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:32:50 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 573ms (Views: 0.5ms | ActiveRecord: 0.7ms | Allocations: 2064) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:32:58 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (0.6ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 599ms (Views: 0.5ms | ActiveRecord: 0.7ms | Allocations: 2065) + + +Started POST "/login" for 127.0.0.1 at 2020-01-12 21:33:14 +0100 +Processing by AuthenticationController#authenticate as HTML + Parameters: {"email"=>"conor@manusit.com", "password"=>"[FILTERED]", "authentication"=>{"email"=>"conor@manusit.com", "password"=>"[FILTERED]"}} +Unpermitted parameter: :authentication +Unpermitted parameter: :authentication + User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 + ↳ app/auth/authenticate_user.rb:17:in `user' + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/auth/authenticate_user.rb:17:in `user' +Unpermitted parameter: :authentication + CACHE User Load (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'conor@manusit.com' LIMIT 1 [["email", "conor@manusit.com"], ["LIMIT", 1]] + ↳ app/controllers/authentication_controller.rb:7:in `authenticate' +Completed 200 OK in 567ms (Views: 0.6ms | ActiveRecord: 1.2ms | Allocations: 2065) + +