# Logfile created on 2022-12-29 15:23:55 +0700 by logger.rb/v1.4.3 INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:23:55 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [2a8e6f8e] Running [ -d ~/.rvm ] as deploy@18.138.250.247 DEBUG [2a8e6f8e] Command: [ -d ~/.rvm ] DEBUG [2a8e6f8e] Finished in 1.131 seconds with exit status 1 (failed). DEBUG [57e71300] Running [ -d /usr/local/rvm ] as deploy@18.138.250.247 DEBUG [57e71300] Command: [ -d /usr/local/rvm ] DEBUG [57e71300] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [b20a2542] Running ~/.rvm/bin/rvm version as deploy@18.138.250.247 DEBUG [b20a2542] Command: ~/.rvm/bin/rvm version DEBUG [b20a2542] bash: /home/deploy/.rvm/bin/rvm: No such file or directory INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:24:17 +0700 cap development deploy INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO [63a42b88] Running /usr/bin/env mkdir -p /tmp as deploy@18.138.250.247 DEBUG [63a42b88] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /tmp ) INFO [63a42b88] Finished in 1.164 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-0bc2baf3196d5fffcfde.sh 0.0% INFO Uploading /tmp/git-ssh-0bc2baf3196d5fffcfde.sh 100.0% INFO [4b903de6] Running /usr/bin/env chmod 700 /tmp/git-ssh-0bc2baf3196d5fffcfde.sh as deploy@18.138.250.247 DEBUG [4b903de6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env chmod 700 /tmp/git-ssh-0bc2baf3196d5fffcfde.sh ) INFO [4b903de6] Finished in 0.105 seconds with exit status 0 (successful). INFO [8a90ed47] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.138.250.247 DEBUG [8a90ed47] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0bc2baf3196d5fffcfde.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [8a90ed47] Warning: Permanently added 'github.com,20.205.243.166' (ECDSA) to the list of known hosts. DEBUG [8a90ed47] f9742bc92abf5b128c72b6bc41ba50302ac884fc HEAD INFO [8a90ed47] Finished in 4.466 seconds with exit status 0 (successful). INFO [a87cbfcf] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared /home/deploy/aoumi_server/releases as deploy@18.138.250.247 DEBUG [a87cbfcf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared /home/deploy/aoumi_server/releases ) INFO [a87cbfcf] Finished in 1.127 seconds with exit status 0 (successful). INFO [9cb23c38] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/shared/public/assets as deploy@18.138.250.247 DEBUG [9cb23c38] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/shared/public/assets ) INFO [9cb23c38] Finished in 1.166 seconds with exit status 0 (successful). INFO [3b1a44c6] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/config as deploy@18.138.250.247 DEBUG [3b1a44c6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/config ) INFO [3b1a44c6] Finished in 1.239 seconds with exit status 0 (successful). DEBUG [e60c1e58] Running [ -f /home/deploy/aoumi_server/shared/config/database.yml ] as deploy@18.138.250.247 DEBUG [e60c1e58] Command: [ -f /home/deploy/aoumi_server/shared/config/database.yml ] DEBUG [e60c1e58] Finished in 1.099 seconds with exit status 1 (failed). ERROR linked file /home/deploy/aoumi_server/shared/config/database.yml does not exist on 18.138.250.247 INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:28:09 +0700 cap development deploy INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO [f7e87520] Running /usr/bin/env mkdir -p /tmp as deploy@18.138.250.247 DEBUG [f7e87520] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /tmp ) INFO [f7e87520] Finished in 1.252 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-d4b1a5e283ce86eeb036.sh 0.0% INFO Uploading /tmp/git-ssh-d4b1a5e283ce86eeb036.sh 100.0% INFO [e310ed95] Running /usr/bin/env chmod 700 /tmp/git-ssh-d4b1a5e283ce86eeb036.sh as deploy@18.138.250.247 DEBUG [e310ed95] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env chmod 700 /tmp/git-ssh-d4b1a5e283ce86eeb036.sh ) INFO [e310ed95] Finished in 0.114 seconds with exit status 0 (successful). INFO [52c0d7fd] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.138.250.247 DEBUG [52c0d7fd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [52c0d7fd] f9742bc92abf5b128c72b6bc41ba50302ac884fc HEAD INFO [52c0d7fd] Finished in 4.189 seconds with exit status 0 (successful). INFO [27342aeb] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared /home/deploy/aoumi_server/releases as deploy@18.138.250.247 DEBUG [27342aeb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared /home/deploy/aoumi_server/releases ) INFO [27342aeb] Finished in 1.132 seconds with exit status 0 (successful). INFO [c910af20] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/shared/public/assets as deploy@18.138.250.247 DEBUG [c910af20] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/shared/public/assets ) INFO [c910af20] Finished in 1.289 seconds with exit status 0 (successful). INFO [c321b8c0] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/config as deploy@18.138.250.247 DEBUG [c321b8c0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/config ) INFO [c321b8c0] Finished in 1.123 seconds with exit status 0 (successful). DEBUG [117e1335] Running [ -f /home/deploy/aoumi_server/shared/config/database.yml ] as deploy@18.138.250.247 DEBUG [117e1335] Command: [ -f /home/deploy/aoumi_server/shared/config/database.yml ] DEBUG [117e1335] Finished in 1.100 seconds with exit status 0 (successful). DEBUG [29f7654a] Running [ -f /home/deploy/aoumi_server/shared/config/application.yml ] as deploy@18.138.250.247 DEBUG [29f7654a] Command: [ -f /home/deploy/aoumi_server/shared/config/application.yml ] DEBUG [29f7654a] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [dd1e8d62] Running [ -f /home/deploy/aoumi_server/shared/puma.rb ] as deploy@18.138.250.247 DEBUG [dd1e8d62] Command: [ -f /home/deploy/aoumi_server/shared/puma.rb ] DEBUG [dd1e8d62] Finished in 1.117 seconds with exit status 1 (failed). WARN puma.rb NOT FOUND! DEBUG Uploading /home/deploy/aoumi_server/shared/puma.rb 0.0% INFO Uploading /home/deploy/aoumi_server/shared/puma.rb 100.0% INFO puma.rb generated DEBUG [014a1f96] Running [ -f /home/deploy/aoumi_server/current/REVISION ] as deploy@18.138.250.247 DEBUG [014a1f96] Command: [ -f /home/deploy/aoumi_server/current/REVISION ] DEBUG [014a1f96] Finished in 1.122 seconds with exit status 1 (failed). DEBUG [ddc322ee] Running [ -f /home/deploy/aoumi_server/repo/HEAD ] as deploy@18.138.250.247 DEBUG [ddc322ee] Command: [ -f /home/deploy/aoumi_server/repo/HEAD ] DEBUG [ddc322ee] Finished in 1.141 seconds with exit status 1 (failed). DEBUG [1e0fc10e] Running if test ! -d /home/deploy/aoumi_server; then echo "Directory does not exist '/home/deploy/aoumi_server'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [1e0fc10e] Command: if test ! -d /home/deploy/aoumi_server; then echo "Directory does not exist '/home/deploy/aoumi_server'" 1>&2; false; fi DEBUG [1e0fc10e] Finished in 0.103 seconds with exit status 0 (successful). INFO [45199e28] Running /usr/bin/env git clone --mirror git@github.com:huythanh176/aoumi_server.git /home/deploy/aoumi_server/repo as deploy@18.138.250.247 DEBUG [45199e28] Command: cd /home/deploy/aoumi_server && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env git clone --mirror git@github.com:huythanh176/aoumi_server.git /home/deploy/aoumi_server/repo ) DEBUG [45199e28] Cloning into bare repository '/home/deploy/aoumi_server/repo'... INFO [45199e28] Finished in 4.571 seconds with exit status 0 (successful). DEBUG [d24519d5] Running if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [d24519d5] Command: if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi DEBUG [d24519d5] Finished in 1.130 seconds with exit status 0 (successful). INFO [8898329c] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.138.250.247 DEBUG [8898329c] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [8898329c] Finished in 0.118 seconds with exit status 0 (successful). INFO [b5e1abe1] Running /usr/bin/env git remote update --prune as deploy@18.138.250.247 DEBUG [b5e1abe1] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env git remote update --prune ) DEBUG [b5e1abe1] Fetching origin INFO [b5e1abe1] Finished in 3.040 seconds with exit status 0 (successful). DEBUG [a2a356b0] Running if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [a2a356b0] Command: if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi DEBUG [a2a356b0] Finished in 1.183 seconds with exit status 0 (successful). INFO [ce140847] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229082822 as deploy@18.138.250.247 DEBUG [ce140847] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229082822 ) INFO [ce140847] Finished in 0.108 seconds with exit status 0 (successful). INFO [5e3a2ca3] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/aoumi_server/releases/20221229082822 as deploy@18.138.250.247 DEBUG [5e3a2ca3] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/aoumi_server/releases/20221229082822 ) INFO [5e3a2ca3] Finished in 0.211 seconds with exit status 0 (successful). DEBUG [9866a158] Running if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [9866a158] Command: if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi DEBUG [9866a158] Finished in 1.214 seconds with exit status 0 (successful). DEBUG [5584b941] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.138.250.247 DEBUG [5584b941] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d4b1a5e283ce86eeb036.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [5584b941] a1603adb02b5d0a128ffdea5b628d6fb9ab7440c DEBUG [5584b941] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [7a4ce097] Running if test ! -d /home/deploy/aoumi_server/releases/20221229082822; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229082822'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [7a4ce097] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229082822; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229082822'" 1>&2; false; fi DEBUG [7a4ce097] Finished in 1.162 seconds with exit status 0 (successful). INFO [c66029ea] Running /usr/bin/env echo "a1603adb02b5d0a128ffdea5b628d6fb9ab7440c" > REVISION as deploy@18.138.250.247 DEBUG [c66029ea] Command: cd /home/deploy/aoumi_server/releases/20221229082822 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env echo "a1603adb02b5d0a128ffdea5b628d6fb9ab7440c" > REVISION ) INFO [c66029ea] Finished in 0.521 seconds with exit status 0 (successful). INFO [a33e0c7b] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229082822/config as deploy@18.138.250.247 DEBUG [a33e0c7b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229082822/config ) INFO [a33e0c7b] Finished in 1.364 seconds with exit status 0 (successful). DEBUG [7b15fc1e] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/config/database.yml ] as deploy@18.138.250.247 DEBUG [7b15fc1e] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/config/database.yml ] DEBUG [7b15fc1e] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [7a63e7e7] Running [ -f /home/deploy/aoumi_server/releases/20221229082822/config/database.yml ] as deploy@18.138.250.247 DEBUG [7a63e7e7] Command: [ -f /home/deploy/aoumi_server/releases/20221229082822/config/database.yml ] DEBUG [7a63e7e7] Finished in 0.155 seconds with exit status 0 (successful). INFO [bfd87a7d] Running /usr/bin/env rm /home/deploy/aoumi_server/releases/20221229082822/config/database.yml as deploy@18.138.250.247 DEBUG [bfd87a7d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env rm /home/deploy/aoumi_server/releases/20221229082822/config/database.yml ) INFO [bfd87a7d] Finished in 0.106 seconds with exit status 0 (successful). INFO [1c78ae69] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/database.yml /home/deploy/aoumi_server/releases/20221229082822/config/database.yml as deploy@18.138.250.247 DEBUG [1c78ae69] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/database.yml /home/deploy/aoumi_server/releases/20221229082822/config/database.yml ) INFO [1c78ae69] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [19738e67] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/config/application.yml ] as deploy@18.138.250.247 DEBUG [19738e67] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/config/application.yml ] DEBUG [19738e67] Finished in 0.113 seconds with exit status 1 (failed). DEBUG [f7bdc359] Running [ -f /home/deploy/aoumi_server/releases/20221229082822/config/application.yml ] as deploy@18.138.250.247 DEBUG [f7bdc359] Command: [ -f /home/deploy/aoumi_server/releases/20221229082822/config/application.yml ] DEBUG [f7bdc359] Finished in 0.150 seconds with exit status 1 (failed). INFO [598b3421] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/application.yml /home/deploy/aoumi_server/releases/20221229082822/config/application.yml as deploy@18.138.250.247 DEBUG [598b3421] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/application.yml /home/deploy/aoumi_server/releases/20221229082822/config/application.yml ) INFO [598b3421] Finished in 0.115 seconds with exit status 0 (successful). INFO [297b175c] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229082822 /home/deploy/aoumi_server/releases/20221229082822/tmp /home/deploy/aoumi_server/releases/20221229082822/vendor /home/deploy/aoumi_server/releases/20221229082822/public as deploy@18.138.250.247 DEBUG [297b175c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229082822 /home/deploy/aoumi_server/releases/20221229082822/tmp /home/deploy/aoumi_server/releases/20221229082822/vendor /home/deploy/aoumi_server/releases/20221229082822/public ) INFO [297b175c] Finished in 1.148 seconds with exit status 0 (successful). DEBUG [c43320b1] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/log ] as deploy@18.138.250.247 DEBUG [c43320b1] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/log ] DEBUG [c43320b1] Finished in 0.132 seconds with exit status 1 (failed). DEBUG [14cdc1c2] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/log ] as deploy@18.138.250.247 DEBUG [14cdc1c2] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/log ] DEBUG [14cdc1c2] Finished in 0.158 seconds with exit status 0 (successful). INFO [14ca7d31] Running /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229082822/log as deploy@18.138.250.247 DEBUG [14ca7d31] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229082822/log ) INFO [14ca7d31] Finished in 0.110 seconds with exit status 0 (successful). INFO [e5f1f5d4] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/releases/20221229082822/log as deploy@18.138.250.247 DEBUG [e5f1f5d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/releases/20221229082822/log ) INFO [e5f1f5d4] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [981af959] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/tmp/pids ] as deploy@18.138.250.247 DEBUG [981af959] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/tmp/pids ] DEBUG [981af959] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [83871e15] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/tmp/pids ] as deploy@18.138.250.247 DEBUG [83871e15] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/tmp/pids ] DEBUG [83871e15] Finished in 0.146 seconds with exit status 0 (successful). INFO [b8916ef6] Running /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229082822/tmp/pids as deploy@18.138.250.247 DEBUG [b8916ef6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229082822/tmp/pids ) INFO [b8916ef6] Finished in 0.125 seconds with exit status 0 (successful). INFO [b7970f53] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/releases/20221229082822/tmp/pids as deploy@18.138.250.247 DEBUG [b7970f53] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/releases/20221229082822/tmp/pids ) INFO [b7970f53] Finished in 0.159 seconds with exit status 0 (successful). DEBUG [0087aaec] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/tmp/cache ] as deploy@18.138.250.247 DEBUG [0087aaec] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/tmp/cache ] DEBUG [0087aaec] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [9a6a4e5d] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/tmp/cache ] as deploy@18.138.250.247 DEBUG [9a6a4e5d] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/tmp/cache ] DEBUG [9a6a4e5d] Finished in 0.510 seconds with exit status 1 (failed). INFO [04272fec] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/releases/20221229082822/tmp/cache as deploy@18.138.250.247 DEBUG [04272fec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/releases/20221229082822/tmp/cache ) INFO [04272fec] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [5c965714] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/tmp/sockets ] as deploy@18.138.250.247 DEBUG [5c965714] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/tmp/sockets ] DEBUG [5c965714] Finished in 0.189 seconds with exit status 1 (failed). DEBUG [9edcbeb6] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/tmp/sockets ] as deploy@18.138.250.247 DEBUG [9edcbeb6] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/tmp/sockets ] DEBUG [9edcbeb6] Finished in 0.120 seconds with exit status 1 (failed). INFO [4c8fc998] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/releases/20221229082822/tmp/sockets as deploy@18.138.250.247 DEBUG [4c8fc998] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/releases/20221229082822/tmp/sockets ) INFO [4c8fc998] Finished in 0.167 seconds with exit status 0 (successful). DEBUG [a14414bf] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/vendor/bundle ] as deploy@18.138.250.247 DEBUG [a14414bf] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/vendor/bundle ] DEBUG [a14414bf] Finished in 0.113 seconds with exit status 1 (failed). DEBUG [0a34c5e1] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/vendor/bundle ] as deploy@18.138.250.247 DEBUG [0a34c5e1] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/vendor/bundle ] DEBUG [0a34c5e1] Finished in 0.164 seconds with exit status 1 (failed). INFO [aa01a797] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/releases/20221229082822/vendor/bundle as deploy@18.138.250.247 DEBUG [aa01a797] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/releases/20221229082822/vendor/bundle ) INFO [aa01a797] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [660b1b43] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/public/system ] as deploy@18.138.250.247 DEBUG [660b1b43] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/public/system ] DEBUG [660b1b43] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [b3783dd7] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/public/system ] as deploy@18.138.250.247 DEBUG [b3783dd7] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/public/system ] DEBUG [b3783dd7] Finished in 0.102 seconds with exit status 1 (failed). INFO [a125b093] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/releases/20221229082822/public/system as deploy@18.138.250.247 DEBUG [a125b093] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/releases/20221229082822/public/system ) INFO [a125b093] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [652b1135] Running [ -L /home/deploy/aoumi_server/releases/20221229082822/public/assets ] as deploy@18.138.250.247 DEBUG [652b1135] Command: [ -L /home/deploy/aoumi_server/releases/20221229082822/public/assets ] DEBUG [652b1135] Finished in 0.110 seconds with exit status 1 (failed). DEBUG [05a95e61] Running [ -d /home/deploy/aoumi_server/releases/20221229082822/public/assets ] as deploy@18.138.250.247 DEBUG [05a95e61] Command: [ -d /home/deploy/aoumi_server/releases/20221229082822/public/assets ] DEBUG [05a95e61] Finished in 0.145 seconds with exit status 1 (failed). INFO [dab1a5da] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/assets /home/deploy/aoumi_server/releases/20221229082822/public/assets as deploy@18.138.250.247 DEBUG [dab1a5da] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/assets /home/deploy/aoumi_server/releases/20221229082822/public/assets ) INFO [dab1a5da] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [6568df4b] Running if test ! -d /home/deploy/aoumi_server/releases/20221229082822; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229082822'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [6568df4b] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229082822; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229082822'" 1>&2; false; fi DEBUG [6568df4b] Finished in 1.302 seconds with exit status 0 (successful). INFO [71986123] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.138.250.247 DEBUG [71986123] Command: cd /home/deploy/aoumi_server/releases/20221229082822 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [71986123] Finished in 0.345 seconds with exit status 0 (successful). INFO [d09edd7f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/aoumi_server/shared/bundle as deploy@18.138.250.247 DEBUG [d09edd7f] Command: cd /home/deploy/aoumi_server/releases/20221229082822 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/aoumi_server/shared/bundle ) INFO [d09edd7f] Finished in 0.350 seconds with exit status 0 (successful). INFO [22b7c7c4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.138.250.247 DEBUG [22b7c7c4] Command: cd /home/deploy/aoumi_server/releases/20221229082822 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [22b7c7c4] Finished in 0.313 seconds with exit status 0 (successful). DEBUG [fadbe3fd] Running if test ! -d /home/deploy/aoumi_server/releases/20221229082822; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229082822'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [fadbe3fd] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229082822; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229082822'" 1>&2; false; fi DEBUG [fadbe3fd] Finished in 1.208 seconds with exit status 0 (successful). DEBUG [7ae95cfe] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.138.250.247 DEBUG [7ae95cfe] Command: cd /home/deploy/aoumi_server/releases/20221229082822 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [7ae95cfe] The following gems are missing DEBUG [7ae95cfe] * rails (7.0.3.1) DEBUG [7ae95cfe] * mysql2 (0.5.4) DEBUG [7ae95cfe] * puma (5.6.4) DEBUG [7ae95cfe] * config (4.0.0) DEBUG [7ae95cfe] * bootsnap (1.12.0) DEBUG [7ae95cfe] * rack-cors (1.1.1) DEBUG [7ae95cfe] * devise (4.8.1) DEBUG [7ae95cfe] * jwt (2.4.1) DEBUG [7ae95cfe] * dotenv-rails (2.7.6) DEBUG [7ae95cfe] * capistrano (3.17.0) DEBUG [7ae95cfe] * capistrano-rails (1.6.2) DEBUG [7ae95cfe] * capistrano-bundler (2.1.0) DEBUG [7ae95cfe] * capistrano-rbenv (2.2.0) DEBUG [7ae95cfe] * capistrano3-puma (5.2.0) DEBUG [7ae95cfe] * actioncable (7.0.3.1) DEBUG [7ae95cfe] * actionmailbox (7.0.3.1) DEBUG [7ae95cfe] * actionmailer (7.0.3.1) DEBUG [7ae95cfe] * actionpack (7.0.3.1) DEBUG [7ae95cfe] * actiontext (7.0.3.1) DEBUG [7ae95cfe] * actionview (7.0.3.1) DEBUG [7ae95cfe] * activejob (7.0.3.1) DEBUG [7ae95cfe] * activemodel (7.0.3.1) DEBUG [7ae95cfe] * activerecord (7.0.3.1) DEBUG [7ae95cfe] * activestorage (7.0.3.1) DEBUG [7ae95cfe] * activesupport (7.0.3.1) DEBUG [7ae95cfe] * railties (7.0.3.1) DEBUG [7ae95cfe] * nio4r (2.5.8) DEBUG [7ae95cfe] * deep_merge (1.2.2) DEBUG [7ae95cfe] * dry-validation (1.8.1) DEBUG [7ae95cfe] * msgpack (1.4.5) DEBUG [7ae95cfe] * rack (2.2.4) DEBUG [7ae95cfe] * bcrypt (3.1.17) DEBUG [7ae95cfe] * orm_adapter (0.5.0) DEBUG [7ae95cfe] * responders (3.0.1) DEBUG [7ae95cfe] * warden (1.2.9) DEBUG [7ae95cfe] * dotenv (2.7.6) DEBUG [7ae95cfe] * airbrussh (1.4.1) DEBUG [7ae95cfe] * i18n (1.12.0) DEBUG [7ae95cfe] * rake (13.0.6) DEBUG [7ae95cfe] * sshkit (1.21.2) DEBUG [7ae95cfe] * websocket-driver (0.7.5) DEBUG [7ae95cfe] * mail (2.7.1) DEBUG [7ae95cfe] * net-imap (0.2.3) DEBUG [7ae95cfe] * net-smtp (0.3.1) DEBUG [7ae95cfe] * rails-dom-testing (2.0.3) DEBUG [7ae95cfe] * rack-test (2.0.2) DEBUG [7ae95cfe] * rails-html-sanitizer (1.4.3) DEBUG [7ae95cfe] * globalid (1.0.0) DEBUG [7ae95cfe] * nokogiri (1.13.7) DEBUG [7ae95cfe] * builder (3.2.4) DEBUG [7ae95cfe] * erubi (1.10.0) DEBUG [7ae95cfe] * marcel (1.0.2) DEBUG [7ae95cfe] * mini_mime (1.1.2) DEBUG [7ae95cfe] * concurrent-ruby (1.1.10) DEBUG [7ae95cfe] * minitest (5.16.2) DEBUG [7ae95cfe] * tzinfo (2.0.5) DEBUG [7ae95cfe] * method_source (1.0.0) DEBUG [7ae95cfe] * thor (1.2.1) DEBUG [7ae95cfe] * zeitwerk (2.6.0) DEBUG [7ae95cfe] * dry-container (0.10.0) DEBUG [7ae95cfe] * dry-core (0.8.0) DEBUG [7ae95cfe] * dry-initializer (3.1.1) DEBUG [7ae95cfe] * dry-schema (1.9.3) DEBUG [7ae95cfe] * net-scp (1.2.1) DEBUG [7ae95cfe] * net-ssh (7.0.1) DEBUG [7ae95cfe] * websocket-extensions (0.1.5) DEBUG [7ae95cfe] * digest (3.1.0) DEBUG [7ae95cfe] * net-protocol (0.1.3) DEBUG [7ae95cfe] * strscan (3.0.3) DEBUG [7ae95cfe] * timeout (0.3.0) DEBUG [7ae95cfe] * loofah (2.18.0) DEBUG [7ae95cfe] * racc (1.6.0) DEBUG [7ae95cfe] * dry-configurable (0.15.0) DEBUG [7ae95cfe] * dry-logic (1.2.0) DEBUG [7ae95cfe] * dry-types (1.5.1) DEBUG [7ae95cfe] * crass (1.0.6) DEBUG [7ae95cfe] * dry-inflector (0.3.0) DEBUG [7ae95cfe] Install missing gems with `bundle install` DEBUG [7ae95cfe] Finished in 0.596 seconds with exit status 1 (failed). INFO [3ba63560] Running $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet as deploy@18.138.250.247 DEBUG [3ba63560] Command: cd /home/deploy/aoumi_server/releases/20221229082822 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet ) DEBUG [3ba63560] Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/ext/mysql2 /home/deploy/.rbenv/versions/3.0.3/bin/ruby -I /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0 -r ./siteconf20221229-19747-5ahr3y.rb extconf.rb checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes checking for rb_enc_interned_str() in ruby.h... yes *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/deploy/.rbenv/versions/3.0.3/bin/$(RUBY_BASE_NAME) --with-mysql-dir --without-mysql-dir --with-mysql-include --without-mysql-include=${mysql-dir}/include --with-mysql-lib --without-mysql-lib=${mysql-dir}/lib --with-mysql-config --without-mysql-config --with-mysqlclient-dir --without-mysqlclient-dir --with-mysqlclient-include --without-mysqlclient-include=${mysqlclient-dir}/include --with-mysqlclient-lib --without-mysqlclient-lib=${mysqlclient-dir}/lib --with-mysqlclientlib --without-mysqlclientlib /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/mkmf.rb:1050:in `block in find_library': undefined method `split' for nil:NilClass (NoMethodError) from /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/mkmf.rb:1050:in `collect' from /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/mkmf.rb:1050:in `find_library' from extconf.rb:103:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0/mysql2-0.5.4/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4 for inspection. Results logged to /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0/mysql2-0.5.4/gem_make.out /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:93:in `run' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:47:in `block in build' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/tempfile.rb:317:in `open' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:26:in `build' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:159:in `build_extension' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:193:in `block in build_extensions' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in `each' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in `build_extensions' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/3.0.0/rubygems/installer.rb:845:in `build_extensions' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/rubygems_gem_installer.rb:71:in `build_extensions' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/rubygems_gem_installer.rb:28:in `install' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/source/rubygems.rb:200:in `install' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/installer/gem_installer.rb:54:in `install' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/installer/parallel_installer.rb:186:in `do_install' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/installer/parallel_installer.rb:177:in `block in worker_pool' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/worker.rb:62:in `apply_func' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/worker.rb:57:in `block in process_queue' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/worker.rb:54:in `loop' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/worker.rb:54:in `process_queue' /home/deploy/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/bundler-2.2.32/lib/bundler/worker.rb:91:in `block (2 levels) in create_threads' An error occurred while installing mysql2 (0.5.4), and Bundler cannot continue. In Gemfile: mysql2 INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:32:02 +0700 cap development deploy INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO [37dea078] Running /usr/bin/env mkdir -p /tmp as deploy@18.138.250.247 DEBUG [37dea078] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /tmp ) INFO [37dea078] Finished in 1.409 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-e274f90364ebdfb9387f.sh 0.0% INFO Uploading /tmp/git-ssh-e274f90364ebdfb9387f.sh 100.0% INFO [f81a364a] Running /usr/bin/env chmod 700 /tmp/git-ssh-e274f90364ebdfb9387f.sh as deploy@18.138.250.247 DEBUG [f81a364a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env chmod 700 /tmp/git-ssh-e274f90364ebdfb9387f.sh ) INFO [f81a364a] Finished in 0.114 seconds with exit status 0 (successful). INFO [ba043a40] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.138.250.247 DEBUG [ba043a40] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-e274f90364ebdfb9387f.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ba043a40] f9742bc92abf5b128c72b6bc41ba50302ac884fc HEAD INFO [ba043a40] Finished in 3.992 seconds with exit status 0 (successful). INFO [0f75944a] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared /home/deploy/aoumi_server/releases as deploy@18.138.250.247 DEBUG [0f75944a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared /home/deploy/aoumi_server/releases ) INFO [0f75944a] Finished in 1.398 seconds with exit status 0 (successful). INFO [4ad15e43] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/shared/public/assets as deploy@18.138.250.247 DEBUG [4ad15e43] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/shared/public/assets ) INFO [4ad15e43] Finished in 1.222 seconds with exit status 0 (successful). INFO [51945dcc] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/config as deploy@18.138.250.247 DEBUG [51945dcc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/shared/config ) INFO [51945dcc] Finished in 1.245 seconds with exit status 0 (successful). DEBUG [1426cf50] Running [ -f /home/deploy/aoumi_server/shared/config/database.yml ] as deploy@18.138.250.247 DEBUG [1426cf50] Command: [ -f /home/deploy/aoumi_server/shared/config/database.yml ] DEBUG [1426cf50] Finished in 1.148 seconds with exit status 0 (successful). DEBUG [52b605a1] Running [ -f /home/deploy/aoumi_server/shared/config/application.yml ] as deploy@18.138.250.247 DEBUG [52b605a1] Command: [ -f /home/deploy/aoumi_server/shared/config/application.yml ] DEBUG [52b605a1] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [883ca4ac] Running [ -f /home/deploy/aoumi_server/shared/puma.rb ] as deploy@18.138.250.247 DEBUG [883ca4ac] Command: [ -f /home/deploy/aoumi_server/shared/puma.rb ] DEBUG [883ca4ac] Finished in 1.180 seconds with exit status 0 (successful). DEBUG [69791503] Running [ -f /home/deploy/aoumi_server/current/REVISION ] as deploy@18.138.250.247 DEBUG [69791503] Command: [ -f /home/deploy/aoumi_server/current/REVISION ] DEBUG [69791503] Finished in 1.169 seconds with exit status 1 (failed). DEBUG [e177a384] Running [ -f /home/deploy/aoumi_server/repo/HEAD ] as deploy@18.138.250.247 DEBUG [e177a384] Command: [ -f /home/deploy/aoumi_server/repo/HEAD ] DEBUG [e177a384] Finished in 1.216 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/aoumi_server/repo DEBUG [1ab93521] Running if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [1ab93521] Command: if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi DEBUG [1ab93521] Finished in 1.193 seconds with exit status 0 (successful). INFO [b6d794a2] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.138.250.247 DEBUG [b6d794a2] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-e274f90364ebdfb9387f.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [b6d794a2] Finished in 0.122 seconds with exit status 0 (successful). INFO [81ec3628] Running /usr/bin/env git remote update --prune as deploy@18.138.250.247 DEBUG [81ec3628] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-e274f90364ebdfb9387f.sh" ; /usr/bin/env git remote update --prune ) DEBUG [81ec3628] Fetching origin INFO [81ec3628] Finished in 3.257 seconds with exit status 0 (successful). DEBUG [fa28b2bd] Running if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [fa28b2bd] Command: if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi DEBUG [fa28b2bd] Finished in 1.226 seconds with exit status 0 (successful). INFO [4db7229f] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229083216 as deploy@18.138.250.247 DEBUG [4db7229f] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-e274f90364ebdfb9387f.sh" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229083216 ) INFO [4db7229f] Finished in 0.106 seconds with exit status 0 (successful). INFO [ec7c9de8] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/aoumi_server/releases/20221229083216 as deploy@18.138.250.247 DEBUG [ec7c9de8] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-e274f90364ebdfb9387f.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/aoumi_server/releases/20221229083216 ) INFO [ec7c9de8] Finished in 0.219 seconds with exit status 0 (successful). DEBUG [6faa38de] Running if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [6faa38de] Command: if test ! -d /home/deploy/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/aoumi_server/repo'" 1>&2; false; fi DEBUG [6faa38de] Finished in 1.193 seconds with exit status 0 (successful). DEBUG [0501873f] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.138.250.247 DEBUG [0501873f] Command: cd /home/deploy/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-e274f90364ebdfb9387f.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [0501873f] a1603adb02b5d0a128ffdea5b628d6fb9ab7440c DEBUG [0501873f] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [7441fac5] Running if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [7441fac5] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi DEBUG [7441fac5] Finished in 1.153 seconds with exit status 0 (successful). INFO [6a74c92e] Running /usr/bin/env echo "a1603adb02b5d0a128ffdea5b628d6fb9ab7440c" > REVISION as deploy@18.138.250.247 DEBUG [6a74c92e] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env echo "a1603adb02b5d0a128ffdea5b628d6fb9ab7440c" > REVISION ) INFO [6a74c92e] Finished in 0.114 seconds with exit status 0 (successful). INFO [60dc527d] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229083216/config as deploy@18.138.250.247 DEBUG [60dc527d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229083216/config ) INFO [60dc527d] Finished in 1.247 seconds with exit status 0 (successful). DEBUG [d2cc8e88] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/config/database.yml ] as deploy@18.138.250.247 DEBUG [d2cc8e88] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/config/database.yml ] DEBUG [d2cc8e88] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [8408186e] Running [ -f /home/deploy/aoumi_server/releases/20221229083216/config/database.yml ] as deploy@18.138.250.247 DEBUG [8408186e] Command: [ -f /home/deploy/aoumi_server/releases/20221229083216/config/database.yml ] DEBUG [8408186e] Finished in 0.156 seconds with exit status 0 (successful). INFO [0efe28ff] Running /usr/bin/env rm /home/deploy/aoumi_server/releases/20221229083216/config/database.yml as deploy@18.138.250.247 DEBUG [0efe28ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env rm /home/deploy/aoumi_server/releases/20221229083216/config/database.yml ) INFO [0efe28ff] Finished in 0.106 seconds with exit status 0 (successful). INFO [a69031c1] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/database.yml /home/deploy/aoumi_server/releases/20221229083216/config/database.yml as deploy@18.138.250.247 DEBUG [a69031c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/database.yml /home/deploy/aoumi_server/releases/20221229083216/config/database.yml ) INFO [a69031c1] Finished in 0.177 seconds with exit status 0 (successful). DEBUG [61f2a79e] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/config/application.yml ] as deploy@18.138.250.247 DEBUG [61f2a79e] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/config/application.yml ] DEBUG [61f2a79e] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [65fd0ada] Running [ -f /home/deploy/aoumi_server/releases/20221229083216/config/application.yml ] as deploy@18.138.250.247 DEBUG [65fd0ada] Command: [ -f /home/deploy/aoumi_server/releases/20221229083216/config/application.yml ] DEBUG [65fd0ada] Finished in 0.146 seconds with exit status 1 (failed). INFO [83d96e5a] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/application.yml /home/deploy/aoumi_server/releases/20221229083216/config/application.yml as deploy@18.138.250.247 DEBUG [83d96e5a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/config/application.yml /home/deploy/aoumi_server/releases/20221229083216/config/application.yml ) INFO [83d96e5a] Finished in 0.104 seconds with exit status 0 (successful). INFO [2d803f7c] Running /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229083216 /home/deploy/aoumi_server/releases/20221229083216/tmp /home/deploy/aoumi_server/releases/20221229083216/vendor /home/deploy/aoumi_server/releases/20221229083216/public as deploy@18.138.250.247 DEBUG [2d803f7c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env mkdir -p /home/deploy/aoumi_server/releases/20221229083216 /home/deploy/aoumi_server/releases/20221229083216/tmp /home/deploy/aoumi_server/releases/20221229083216/vendor /home/deploy/aoumi_server/releases/20221229083216/public ) INFO [2d803f7c] Finished in 1.152 seconds with exit status 0 (successful). DEBUG [665bda1c] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/log ] as deploy@18.138.250.247 DEBUG [665bda1c] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/log ] DEBUG [665bda1c] Finished in 0.115 seconds with exit status 1 (failed). DEBUG [d60fe69d] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/log ] as deploy@18.138.250.247 DEBUG [d60fe69d] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/log ] DEBUG [d60fe69d] Finished in 0.154 seconds with exit status 0 (successful). INFO [9eaf6b5d] Running /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229083216/log as deploy@18.138.250.247 DEBUG [9eaf6b5d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229083216/log ) INFO [9eaf6b5d] Finished in 0.109 seconds with exit status 0 (successful). INFO [f9b0b6b2] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/releases/20221229083216/log as deploy@18.138.250.247 DEBUG [f9b0b6b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/log /home/deploy/aoumi_server/releases/20221229083216/log ) INFO [f9b0b6b2] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [44f98a92] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/tmp/pids ] as deploy@18.138.250.247 DEBUG [44f98a92] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/tmp/pids ] DEBUG [44f98a92] Finished in 0.114 seconds with exit status 1 (failed). DEBUG [d4675e15] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/tmp/pids ] as deploy@18.138.250.247 DEBUG [d4675e15] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/tmp/pids ] DEBUG [d4675e15] Finished in 0.160 seconds with exit status 0 (successful). INFO [2ac44f37] Running /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229083216/tmp/pids as deploy@18.138.250.247 DEBUG [2ac44f37] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env rm -rf /home/deploy/aoumi_server/releases/20221229083216/tmp/pids ) INFO [2ac44f37] Finished in 0.167 seconds with exit status 0 (successful). INFO [07eb2b36] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/releases/20221229083216/tmp/pids as deploy@18.138.250.247 DEBUG [07eb2b36] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/pids /home/deploy/aoumi_server/releases/20221229083216/tmp/pids ) INFO [07eb2b36] Finished in 0.171 seconds with exit status 0 (successful). DEBUG [94a85d25] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/tmp/cache ] as deploy@18.138.250.247 DEBUG [94a85d25] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/tmp/cache ] DEBUG [94a85d25] Finished in 0.116 seconds with exit status 1 (failed). DEBUG [d098f453] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/tmp/cache ] as deploy@18.138.250.247 DEBUG [d098f453] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/tmp/cache ] DEBUG [d098f453] Finished in 0.160 seconds with exit status 1 (failed). INFO [465777cd] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/releases/20221229083216/tmp/cache as deploy@18.138.250.247 DEBUG [465777cd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/cache /home/deploy/aoumi_server/releases/20221229083216/tmp/cache ) INFO [465777cd] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [66a0fbf0] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/tmp/sockets ] as deploy@18.138.250.247 DEBUG [66a0fbf0] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/tmp/sockets ] DEBUG [66a0fbf0] Finished in 0.222 seconds with exit status 1 (failed). DEBUG [56f6ea23] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/tmp/sockets ] as deploy@18.138.250.247 DEBUG [56f6ea23] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/tmp/sockets ] DEBUG [56f6ea23] Finished in 0.109 seconds with exit status 1 (failed). INFO [e01738d6] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/releases/20221229083216/tmp/sockets as deploy@18.138.250.247 DEBUG [e01738d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/tmp/sockets /home/deploy/aoumi_server/releases/20221229083216/tmp/sockets ) INFO [e01738d6] Finished in 0.183 seconds with exit status 0 (successful). DEBUG [f2d2e401] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/vendor/bundle ] as deploy@18.138.250.247 DEBUG [f2d2e401] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/vendor/bundle ] DEBUG [f2d2e401] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [29a3491f] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/vendor/bundle ] as deploy@18.138.250.247 DEBUG [29a3491f] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/vendor/bundle ] DEBUG [29a3491f] Finished in 0.158 seconds with exit status 1 (failed). INFO [60502937] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/releases/20221229083216/vendor/bundle as deploy@18.138.250.247 DEBUG [60502937] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/vendor/bundle /home/deploy/aoumi_server/releases/20221229083216/vendor/bundle ) INFO [60502937] Finished in 0.125 seconds with exit status 0 (successful). DEBUG [2c722ac4] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/public/system ] as deploy@18.138.250.247 DEBUG [2c722ac4] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/public/system ] DEBUG [2c722ac4] Finished in 0.163 seconds with exit status 1 (failed). DEBUG [56420b4e] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/public/system ] as deploy@18.138.250.247 DEBUG [56420b4e] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/public/system ] DEBUG [56420b4e] Finished in 0.142 seconds with exit status 1 (failed). INFO [ac551765] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/releases/20221229083216/public/system as deploy@18.138.250.247 DEBUG [ac551765] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/system /home/deploy/aoumi_server/releases/20221229083216/public/system ) INFO [ac551765] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [98f68d62] Running [ -L /home/deploy/aoumi_server/releases/20221229083216/public/assets ] as deploy@18.138.250.247 DEBUG [98f68d62] Command: [ -L /home/deploy/aoumi_server/releases/20221229083216/public/assets ] DEBUG [98f68d62] Finished in 0.115 seconds with exit status 1 (failed). DEBUG [4d82735e] Running [ -d /home/deploy/aoumi_server/releases/20221229083216/public/assets ] as deploy@18.138.250.247 DEBUG [4d82735e] Command: [ -d /home/deploy/aoumi_server/releases/20221229083216/public/assets ] DEBUG [4d82735e] Finished in 0.177 seconds with exit status 1 (failed). INFO [9b52366d] Running /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/assets /home/deploy/aoumi_server/releases/20221229083216/public/assets as deploy@18.138.250.247 DEBUG [9b52366d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; /usr/bin/env ln -s /home/deploy/aoumi_server/shared/public/assets /home/deploy/aoumi_server/releases/20221229083216/public/assets ) INFO [9b52366d] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [30c3c3c8] Running if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [30c3c3c8] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi DEBUG [30c3c3c8] Finished in 1.345 seconds with exit status 0 (successful). INFO [65ea7873] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.138.250.247 DEBUG [65ea7873] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [65ea7873] Finished in 0.467 seconds with exit status 0 (successful). INFO [589c8262] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/aoumi_server/shared/bundle as deploy@18.138.250.247 DEBUG [589c8262] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/aoumi_server/shared/bundle ) INFO [589c8262] Finished in 0.338 seconds with exit status 0 (successful). INFO [665eab92] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.138.250.247 DEBUG [665eab92] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [665eab92] Finished in 0.312 seconds with exit status 0 (successful). DEBUG [51cbfbf8] Running if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [51cbfbf8] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi DEBUG [51cbfbf8] Finished in 1.125 seconds with exit status 0 (successful). DEBUG [4d1d02be] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.138.250.247 DEBUG [4d1d02be] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [4d1d02be] The following gems are missing DEBUG [4d1d02be] * mysql2 (0.5.4) DEBUG [4d1d02be] Install missing gems with `bundle install` DEBUG [4d1d02be] Finished in 0.524 seconds with exit status 1 (failed). INFO [118c4411] Running $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet as deploy@18.138.250.247 DEBUG [118c4411] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" ; $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet ) INFO [118c4411] Finished in 9.713 seconds with exit status 0 (successful). DEBUG [40b083cf] Running if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi as deploy@18.138.250.247 DEBUG [40b083cf] Command: if test ! -d /home/deploy/aoumi_server/releases/20221229083216; then echo "Directory does not exist '/home/deploy/aoumi_server/releases/20221229083216'" 1>&2; false; fi DEBUG [40b083cf] Finished in 1.331 seconds with exit status 0 (successful). INFO [342ce2d3] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.138.250.247 DEBUG [342ce2d3] Command: cd /home/deploy/aoumi_server/releases/20221229083216 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [342ce2d3] rake aborted! DEBUG [342ce2d3] NoMethodError: undefined method `>' for nil:NilClass DEBUG [342ce2d3] /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /home/deploy/aoumi_server/releases/20221229083216/config/application.rb:7:in `' /home/deploy/aoumi_server/releases/20221229083216/Rakefile:4:in `require_relative' /home/deploy/aoumi_server/releases/20221229083216/Rakefile:4:in `' /home/deploy/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' /home/deploy/.rbenv/versions/3.0.3/bin/bundle:23:in `load' /home/deploy/.rbenv/versions/3.0.3/bin/bundle:23:in `
' DEBUG [342ce2d3] (See full trace by running task with --trace) INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:33:32 +0700 cap development deploy:test INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:33:47 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:34:52 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [9acd5f76] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [9acd5f76] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [9acd5f76] Finished in 1.397 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:35:40 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [2199b5a5] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [2199b5a5] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [2199b5a5] Finished in 2.866 seconds with exit status 0 (successful). DEBUG [d14ac208] Running /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle as deploy@18.138.250.247 DEBUG [d14ac208] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle ) DEBUG [d14ac208] /home/deploy/.rbenv/bin/rbenv exec bundle DEBUG [d14ac208] Finished in 2.130 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [8ca7880c] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@18.138.250.247 DEBUG [8ca7880c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ ) DEBUG [8ca7880c] sudo DEBUG [8ca7880c] : DEBUG [8ca7880c] no tty present and no askpass program specified DEBUG [8ca7880c] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:36:15 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [11f3fb2e] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [11f3fb2e] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [11f3fb2e] Finished in 2.262 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:37:08 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [fa950887] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [fa950887] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [fa950887] Finished in 4.084 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:38:15 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [a8dd318a] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [a8dd318a] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [a8dd318a] Finished in 5.245 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:39:19 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [c4a5526c] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [c4a5526c] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:39:51 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [2da7fb4c] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [2da7fb4c] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:43:37 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [5b286ca9] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [5b286ca9] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:44:07 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [51dd0fe0] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [51dd0fe0] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:45:21 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [73506df0] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [73506df0] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:45:31 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ba5bbeae] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [ba5bbeae] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:47:19 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [75976a14] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.138.250.247 DEBUG [75976a14] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:51:43 +0700 cap development deploy:test INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:51:49 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:52:05 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [cce4aa94] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [cce4aa94] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:54:00 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [f162cd35] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [f162cd35] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [f162cd35] Finished in 2.291 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:54:09 +0700 cap development deploy:test INFO --------------------------------------------------------------------------- DEBUG [54c87512] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [54c87512] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [54c87512] Finished in 1.812 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:54:14 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d7ba4549] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [d7ba4549] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [d7ba4549] Finished in 1.888 seconds with exit status 0 (successful). INFO [1daa0512] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [1daa0512] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /tmp ) INFO [1daa0512] Finished in 0.341 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-5e0090dedbd28c9116b4.sh 0.0% INFO Uploading /tmp/git-ssh-5e0090dedbd28c9116b4.sh 100.0% INFO [3e29775d] Running /usr/bin/env chmod 700 /tmp/git-ssh-5e0090dedbd28c9116b4.sh as deploy@18.136.197.163 DEBUG [3e29775d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-5e0090dedbd28c9116b4.sh ) INFO [3e29775d] Finished in 0.346 seconds with exit status 0 (successful). INFO [a87bfffa] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [a87bfffa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5e0090dedbd28c9116b4.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a87bfffa] f9742bc92abf5b128c72b6bc41ba50302ac884fc HEAD INFO [a87bfffa] Finished in 3.353 seconds with exit status 0 (successful). INFO [15a5236f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [15a5236f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [15a5236f] Finished in 0.354 seconds with exit status 0 (successful). INFO [b471cb26] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [b471cb26] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [b471cb26] Finished in 0.394 seconds with exit status 0 (successful). INFO [a84762d9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [a84762d9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [a84762d9] Finished in 0.352 seconds with exit status 0 (successful). DEBUG [38cf8f1a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [38cf8f1a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [38cf8f1a] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [9d378970] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [9d378970] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [9d378970] Finished in 0.369 seconds with exit status 0 (successful). DEBUG [6d62defd] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [6d62defd] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [6d62defd] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [f405baed] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [f405baed] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [f405baed] Finished in 0.354 seconds with exit status 0 (successful). DEBUG [fb6bc688] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [fb6bc688] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [fb6bc688] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [fb6bc688] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [982620c7] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [982620c7] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [982620c7] Finished in 0.371 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [bc1b9a24] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bc1b9a24] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bc1b9a24] Finished in 0.394 seconds with exit status 0 (successful). INFO [a13177b1] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [a13177b1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5e0090dedbd28c9116b4.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [a13177b1] Finished in 0.378 seconds with exit status 0 (successful). INFO [9ecc6664] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [9ecc6664] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5e0090dedbd28c9116b4.sh" ; /usr/bin/env git remote update --prune ) DEBUG [9ecc6664] Fetching origin DEBUG [9ecc6664] From github.com:huythanh176/aoumi_server + fbafcc7...0cbeb5f develop -> develop (forced update) INFO [9ecc6664] Finished in 3.657 seconds with exit status 0 (successful). DEBUG [8a1a6d70] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8a1a6d70] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8a1a6d70] Finished in 0.307 seconds with exit status 0 (successful). INFO [1880857f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229085424 as deploy@18.136.197.163 DEBUG [1880857f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5e0090dedbd28c9116b4.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229085424 ) INFO [1880857f] Finished in 0.402 seconds with exit status 0 (successful). INFO [cfed110f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229085424 as deploy@18.136.197.163 DEBUG [cfed110f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5e0090dedbd28c9116b4.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229085424 ) INFO [cfed110f] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [5a5ccdba] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5a5ccdba] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5a5ccdba] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [f9beff00] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [f9beff00] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5e0090dedbd28c9116b4.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f9beff00] 0cbeb5fbdbca8143d135579a30c657a4eaa6a4b9 DEBUG [f9beff00] Finished in 0.350 seconds with exit status 0 (successful). DEBUG [e5ab0a6a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e5ab0a6a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi DEBUG [e5ab0a6a] Finished in 0.410 seconds with exit status 0 (successful). INFO [adce7f3a] Running /usr/bin/env echo "0cbeb5fbdbca8143d135579a30c657a4eaa6a4b9" > REVISION as deploy@18.136.197.163 DEBUG [adce7f3a] Command: cd /home/deploy/apps/aoumi_server/releases/20221229085424 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo "0cbeb5fbdbca8143d135579a30c657a4eaa6a4b9" > REVISION ) INFO [adce7f3a] Finished in 0.362 seconds with exit status 0 (successful). INFO [09646803] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229085424/config as deploy@18.136.197.163 DEBUG [09646803] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229085424/config ) INFO [09646803] Finished in 0.416 seconds with exit status 0 (successful). DEBUG [4c5c048d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml ] as deploy@18.136.197.163 DEBUG [4c5c048d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml ] DEBUG [4c5c048d] Finished in 0.362 seconds with exit status 1 (failed). DEBUG [ea653e16] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml ] as deploy@18.136.197.163 DEBUG [ea653e16] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml ] DEBUG [ea653e16] Finished in 0.400 seconds with exit status 0 (successful). INFO [853f2bc5] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml as deploy@18.136.197.163 DEBUG [853f2bc5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml ) INFO [853f2bc5] Finished in 0.361 seconds with exit status 0 (successful). INFO [8ff05562] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml as deploy@18.136.197.163 DEBUG [8ff05562] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229085424/config/database.yml ) INFO [8ff05562] Finished in 0.427 seconds with exit status 0 (successful). DEBUG [c0e925af] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.yml ] as deploy@18.136.197.163 DEBUG [c0e925af] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.yml ] DEBUG [c0e925af] Finished in 0.352 seconds with exit status 1 (failed). DEBUG [9589bacf] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.yml ] as deploy@18.136.197.163 DEBUG [9589bacf] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.yml ] DEBUG [9589bacf] Finished in 0.396 seconds with exit status 1 (failed). INFO [aa2dfd39] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.yml as deploy@18.136.197.163 DEBUG [aa2dfd39] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.yml ) INFO [aa2dfd39] Finished in 0.356 seconds with exit status 0 (successful). INFO [2ab09cd4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229085424 /home/deploy/apps/aoumi_server/releases/20221229085424/tmp /home/deploy/apps/aoumi_server/releases/20221229085424/vendor /home/deploy/apps/aoumi_server/releases/20221229085424/public as deploy@18.136.197.163 DEBUG [2ab09cd4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229085424 /home/deploy/apps/aoumi_server/releases/20221229085424/tmp /home/deploy/apps/aoumi_server/releases/20221229085424/vendor /home/deploy/apps/aoumi_server/releases/20221229085424/public ) INFO [2ab09cd4] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [7b4e7da8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/log ] as deploy@18.136.197.163 DEBUG [7b4e7da8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/log ] DEBUG [7b4e7da8] Finished in 0.364 seconds with exit status 1 (failed). DEBUG [af916450] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/log ] as deploy@18.136.197.163 DEBUG [af916450] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/log ] DEBUG [af916450] Finished in 0.431 seconds with exit status 0 (successful). INFO [ea43fd71] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229085424/log as deploy@18.136.197.163 DEBUG [ea43fd71] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229085424/log ) INFO [ea43fd71] Finished in 0.357 seconds with exit status 0 (successful). INFO [b81cf28c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229085424/log as deploy@18.136.197.163 DEBUG [b81cf28c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229085424/log ) INFO [b81cf28c] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [78218992] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids ] as deploy@18.136.197.163 DEBUG [78218992] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids ] DEBUG [78218992] Finished in 0.352 seconds with exit status 1 (failed). DEBUG [1000f2d1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids ] as deploy@18.136.197.163 DEBUG [1000f2d1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids ] DEBUG [1000f2d1] Finished in 0.421 seconds with exit status 0 (successful). INFO [3603859b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids as deploy@18.136.197.163 DEBUG [3603859b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids ) INFO [3603859b] Finished in 0.382 seconds with exit status 0 (successful). INFO [396a5ca1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids as deploy@18.136.197.163 DEBUG [396a5ca1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/pids ) INFO [396a5ca1] Finished in 0.453 seconds with exit status 0 (successful). DEBUG [325ecd34] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/cache ] as deploy@18.136.197.163 DEBUG [325ecd34] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/cache ] DEBUG [325ecd34] Finished in 0.460 seconds with exit status 1 (failed). DEBUG [ed3961ab] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/cache ] as deploy@18.136.197.163 DEBUG [ed3961ab] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/cache ] DEBUG [ed3961ab] Finished in 0.469 seconds with exit status 1 (failed). INFO [9ce37c67] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/cache as deploy@18.136.197.163 DEBUG [9ce37c67] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/cache ) INFO [9ce37c67] Finished in 0.360 seconds with exit status 0 (successful). DEBUG [9e9a3bf7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/sockets ] as deploy@18.136.197.163 DEBUG [9e9a3bf7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/sockets ] DEBUG [9e9a3bf7] Finished in 0.585 seconds with exit status 1 (failed). DEBUG [a1213770] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/sockets ] as deploy@18.136.197.163 DEBUG [a1213770] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/sockets ] DEBUG [a1213770] Finished in 0.369 seconds with exit status 1 (failed). INFO [d6b44de7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/sockets as deploy@18.136.197.163 DEBUG [d6b44de7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229085424/tmp/sockets ) INFO [d6b44de7] Finished in 0.398 seconds with exit status 0 (successful). DEBUG [73c36541] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/vendor/bundle ] as deploy@18.136.197.163 DEBUG [73c36541] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/vendor/bundle ] DEBUG [73c36541] Finished in 0.424 seconds with exit status 1 (failed). DEBUG [e6aa94be] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/vendor/bundle ] as deploy@18.136.197.163 DEBUG [e6aa94be] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/vendor/bundle ] DEBUG [e6aa94be] Finished in 0.482 seconds with exit status 1 (failed). INFO [b5a8cc94] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229085424/vendor/bundle as deploy@18.136.197.163 DEBUG [b5a8cc94] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229085424/vendor/bundle ) INFO [b5a8cc94] Finished in 0.355 seconds with exit status 0 (successful). DEBUG [46372f25] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/public/system ] as deploy@18.136.197.163 DEBUG [46372f25] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/public/system ] DEBUG [46372f25] Finished in 0.403 seconds with exit status 1 (failed). DEBUG [651de2a1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/public/system ] as deploy@18.136.197.163 DEBUG [651de2a1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/public/system ] DEBUG [651de2a1] Finished in 0.345 seconds with exit status 1 (failed). INFO [f349a4f2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229085424/public/system as deploy@18.136.197.163 DEBUG [f349a4f2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229085424/public/system ) INFO [f349a4f2] Finished in 0.397 seconds with exit status 0 (successful). DEBUG [7517d8d9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/public/uploads ] as deploy@18.136.197.163 DEBUG [7517d8d9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/public/uploads ] DEBUG [7517d8d9] Finished in 0.348 seconds with exit status 1 (failed). DEBUG [4b36a237] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/public/uploads ] as deploy@18.136.197.163 DEBUG [4b36a237] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/public/uploads ] DEBUG [4b36a237] Finished in 0.421 seconds with exit status 1 (failed). INFO [27c0aa74] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229085424/public/uploads as deploy@18.136.197.163 DEBUG [27c0aa74] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229085424/public/uploads ) INFO [27c0aa74] Finished in 0.369 seconds with exit status 0 (successful). DEBUG [e2a91b30] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/public/assets ] as deploy@18.136.197.163 DEBUG [e2a91b30] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229085424/public/assets ] DEBUG [e2a91b30] Finished in 0.414 seconds with exit status 1 (failed). DEBUG [8d7d9716] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/public/assets ] as deploy@18.136.197.163 DEBUG [8d7d9716] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229085424/public/assets ] DEBUG [8d7d9716] Finished in 0.344 seconds with exit status 1 (failed). INFO [210729ae] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229085424/public/assets as deploy@18.136.197.163 DEBUG [210729ae] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229085424/public/assets ) INFO [210729ae] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [586dfad8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [586dfad8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi DEBUG [586dfad8] Finished in 0.359 seconds with exit status 0 (successful). INFO [f073d834] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [f073d834] Command: cd /home/deploy/apps/aoumi_server/releases/20221229085424 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f073d834] Finished in 0.561 seconds with exit status 0 (successful). INFO [32bc0269] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [32bc0269] Command: cd /home/deploy/apps/aoumi_server/releases/20221229085424 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [32bc0269] Finished in 0.495 seconds with exit status 0 (successful). INFO [45085b9a] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [45085b9a] Command: cd /home/deploy/apps/aoumi_server/releases/20221229085424 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [45085b9a] Finished in 0.539 seconds with exit status 0 (successful). DEBUG [5629dbb4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5629dbb4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi DEBUG [5629dbb4] Finished in 0.428 seconds with exit status 0 (successful). DEBUG [cf22b98e] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [cf22b98e] Command: cd /home/deploy/apps/aoumi_server/releases/20221229085424 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [cf22b98e] The Gemfile's dependencies are satisfied DEBUG [cf22b98e] Finished in 0.778 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [d34c488e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d34c488e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229085424; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229085424'" 1>&2; false; fi DEBUG [d34c488e] Finished in 0.360 seconds with exit status 0 (successful). INFO [5b9d94f7] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [5b9d94f7] Command: cd /home/deploy/apps/aoumi_server/releases/20221229085424 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [5b9d94f7] rake aborted! DEBUG [5b9d94f7] NoMethodError: undefined method `>' for nil:NilClass DEBUG [5b9d94f7] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' /home/deploy/apps/aoumi_server/releases/20221229085424/config/application.rb:7:in `' /home/deploy/apps/aoumi_server/releases/20221229085424/Rakefile:4:in `require_relative' /home/deploy/apps/aoumi_server/releases/20221229085424/Rakefile:4:in `' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' /home/deploy/.rbenv/versions/3.0.3/bin/bundle:25:in `load' /home/deploy/.rbenv/versions/3.0.3/bin/bundle:25:in `
' DEBUG [5b9d94f7] (See full trace by running task with --trace) INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:55:09 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [f3de8c9e] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [f3de8c9e] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [f3de8c9e] Finished in 1.944 seconds with exit status 0 (successful). DEBUG [649f82f1] Running /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle as deploy@18.136.197.163 DEBUG [649f82f1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle ) DEBUG [649f82f1] /home/deploy/.rbenv/bin/rbenv exec bundle DEBUG [649f82f1] Finished in 0.371 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [5003a385] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@18.136.197.163 DEBUG [5003a385] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ ) DEBUG [5003a385] sudo DEBUG [5003a385] : DEBUG [5003a385] no tty present and no askpass program specified DEBUG [5003a385] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:57:45 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [3547af12] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [3547af12] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [3547af12] Finished in 1.838 seconds with exit status 0 (successful). DEBUG [dbce1a22] Running /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle as deploy@18.136.197.163 DEBUG [dbce1a22] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle ) DEBUG [dbce1a22] /home/deploy/.rbenv/bin/rbenv exec bundle DEBUG [dbce1a22] Finished in 0.399 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [ecf52a76] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@18.136.197.163 DEBUG [ecf52a76] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ ) DEBUG [ecf52a76] sudo DEBUG [ecf52a76] : DEBUG [ecf52a76] no tty present and no askpass program specified DEBUG [ecf52a76] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 15:59:20 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [a0cb2ca6] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [a0cb2ca6] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [a0cb2ca6] Finished in 2.304 seconds with exit status 0 (successful). DEBUG [b962e4fa] Running /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle as deploy@18.136.197.163 DEBUG [b962e4fa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle ) DEBUG [b962e4fa] /home/deploy/.rbenv/bin/rbenv exec bundle DEBUG [b962e4fa] DEBUG [b962e4fa] Finished in 0.353 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [c0b4a0b6] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@18.136.197.163 DEBUG [c0b4a0b6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ ) DEBUG [c0b4a0b6] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:01:22 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [1e4f9c1c] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [1e4f9c1c] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [1e4f9c1c] Finished in 1.786 seconds with exit status 0 (successful). DEBUG [08a86cb0] Running /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle as deploy@18.136.197.163 DEBUG [08a86cb0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle ) DEBUG [08a86cb0] /home/deploy/.rbenv/bin/rbenv exec bundle DEBUG [08a86cb0] DEBUG [08a86cb0] Finished in 0.351 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [5c8a36d6] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@18.136.197.163 DEBUG [5c8a36d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ ) DEBUG [5c8a36d6] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:03:48 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [b5715a02] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [b5715a02] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [b5715a02] Finished in 1.836 seconds with exit status 0 (successful). DEBUG [bd0ca462] Running /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle as deploy@18.136.197.163 DEBUG [bd0ca462] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo $HOME/.rbenv/bin/rbenv exec bundle ) DEBUG [bd0ca462] /home/deploy/.rbenv/bin/rbenv exec bundle DEBUG [bd0ca462] DEBUG [bd0ca462] Finished in 0.368 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [aa5d2574] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@18.136.197.163 DEBUG [aa5d2574] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ ) DEBUG [aa5d2574] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:05:09 +0700 cap development deploy:test INFO --------------------------------------------------------------------------- DEBUG [b1f18b28] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [b1f18b28] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [b1f18b28] Finished in 2.204 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:05:38 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [a70ff1be] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [a70ff1be] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [a70ff1be] Finished in 1.864 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:10:51 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [34c62e59] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [34c62e59] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [34c62e59] Finished in 1.837 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:10:57 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [75d4da5d] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [75d4da5d] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [75d4da5d] Finished in 1.838 seconds with exit status 0 (successful). INFO [fcd0f44c] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [fcd0f44c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /tmp ) INFO [fcd0f44c] Finished in 0.344 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-b217969d299d7d3244e7.sh 0.0% INFO Uploading /tmp/git-ssh-b217969d299d7d3244e7.sh 100.0% INFO [fcaa1a66] Running /usr/bin/env chmod 700 /tmp/git-ssh-b217969d299d7d3244e7.sh as deploy@18.136.197.163 DEBUG [fcaa1a66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-b217969d299d7d3244e7.sh ) INFO [fcaa1a66] Finished in 0.382 seconds with exit status 0 (successful). INFO [9b8fd74e] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [9b8fd74e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b217969d299d7d3244e7.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [9b8fd74e] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [9b8fd74e] HEAD INFO [9b8fd74e] Finished in 3.504 seconds with exit status 0 (successful). INFO [87aa0aba] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [87aa0aba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [87aa0aba] Finished in 0.475 seconds with exit status 0 (successful). INFO [31918ea1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [31918ea1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [31918ea1] Finished in 0.393 seconds with exit status 0 (successful). INFO [857f8fdb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [857f8fdb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [857f8fdb] Finished in 0.345 seconds with exit status 0 (successful). DEBUG [5cdd19fc] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [5cdd19fc] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [5cdd19fc] Finished in 0.561 seconds with exit status 0 (successful). DEBUG [26ce101a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [26ce101a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [26ce101a] Finished in 0.365 seconds with exit status 0 (successful). DEBUG [ecc3699f] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [ecc3699f] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ecc3699f] Finished in 0.376 seconds with exit status 0 (successful). DEBUG [754a1112] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [754a1112] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [754a1112] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [5dd3dc3d] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [5dd3dc3d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [5dd3dc3d] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [5dd3dc3d] DEBUG [5dd3dc3d] Finished in 0.425 seconds with exit status 0 (successful). DEBUG [3a021556] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [3a021556] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [3a021556] Finished in 0.419 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [6ff53cb9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6ff53cb9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6ff53cb9] Finished in 0.513 seconds with exit status 0 (successful). INFO [57901df6] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [57901df6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b217969d299d7d3244e7.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [57901df6] Finished in 0.409 seconds with exit status 0 (successful). INFO [885513d4] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [885513d4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b217969d299d7d3244e7.sh" ; /usr/bin/env git remote update --prune ) DEBUG [885513d4] Fetching origin DEBUG [885513d4] INFO [885513d4] Finished in 3.681 seconds with exit status 0 (successful). DEBUG [5a08c6c8] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5a08c6c8] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5a08c6c8] Finished in 0.399 seconds with exit status 0 (successful). INFO [f3522a5d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091108 as deploy@18.136.197.163 DEBUG [f3522a5d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b217969d299d7d3244e7.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091108 ) INFO [f3522a5d] Finished in 0.393 seconds with exit status 0 (successful). INFO [081d72b5] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229091108 as deploy@18.136.197.163 DEBUG [081d72b5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b217969d299d7d3244e7.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229091108 ) INFO [081d72b5] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [9a003221] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [9a003221] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9a003221] Finished in 0.416 seconds with exit status 0 (successful). DEBUG [1a5f8969] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [1a5f8969] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b217969d299d7d3244e7.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [1a5f8969] 0cbeb5fbdbca8143d135579a30c657a4eaa6a4b9 DEBUG [1a5f8969] DEBUG [1a5f8969] Finished in 0.350 seconds with exit status 0 (successful). DEBUG [a176e208] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a176e208] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi DEBUG [a176e208] Finished in 0.427 seconds with exit status 0 (successful). INFO [16bf8b51] Running /usr/bin/env echo "0cbeb5fbdbca8143d135579a30c657a4eaa6a4b9" > REVISION as deploy@18.136.197.163 DEBUG [16bf8b51] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091108 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo "0cbeb5fbdbca8143d135579a30c657a4eaa6a4b9" > REVISION ) INFO [16bf8b51] Finished in 0.368 seconds with exit status 0 (successful). INFO [78b9feb5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091108/config as deploy@18.136.197.163 DEBUG [78b9feb5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091108/config ) INFO [78b9feb5] Finished in 0.400 seconds with exit status 0 (successful). DEBUG [bf6ff520] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml ] as deploy@18.136.197.163 DEBUG [bf6ff520] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml ] DEBUG [bf6ff520] Finished in 0.366 seconds with exit status 1 (failed). DEBUG [a0a2e70e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml ] as deploy@18.136.197.163 DEBUG [a0a2e70e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml ] DEBUG [a0a2e70e] Finished in 0.412 seconds with exit status 0 (successful). INFO [11e0f503] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml as deploy@18.136.197.163 DEBUG [11e0f503] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml ) INFO [11e0f503] Finished in 0.346 seconds with exit status 0 (successful). INFO [6d1fa1b4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml as deploy@18.136.197.163 DEBUG [6d1fa1b4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229091108/config/database.yml ) INFO [6d1fa1b4] Finished in 0.400 seconds with exit status 0 (successful). DEBUG [4d09a790] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.yml ] as deploy@18.136.197.163 DEBUG [4d09a790] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.yml ] DEBUG [4d09a790] Finished in 0.352 seconds with exit status 1 (failed). DEBUG [be6f2a88] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.yml ] as deploy@18.136.197.163 DEBUG [be6f2a88] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.yml ] DEBUG [be6f2a88] Finished in 0.420 seconds with exit status 1 (failed). INFO [87016e57] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.yml as deploy@18.136.197.163 DEBUG [87016e57] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.yml ) INFO [87016e57] Finished in 0.361 seconds with exit status 0 (successful). INFO [e39db60c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091108 /home/deploy/apps/aoumi_server/releases/20221229091108/tmp /home/deploy/apps/aoumi_server/releases/20221229091108/vendor /home/deploy/apps/aoumi_server/releases/20221229091108/public as deploy@18.136.197.163 DEBUG [e39db60c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091108 /home/deploy/apps/aoumi_server/releases/20221229091108/tmp /home/deploy/apps/aoumi_server/releases/20221229091108/vendor /home/deploy/apps/aoumi_server/releases/20221229091108/public ) INFO [e39db60c] Finished in 0.452 seconds with exit status 0 (successful). DEBUG [276466b0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/log ] as deploy@18.136.197.163 DEBUG [276466b0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/log ] DEBUG [276466b0] Finished in 0.350 seconds with exit status 1 (failed). DEBUG [5a6b5182] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/log ] as deploy@18.136.197.163 DEBUG [5a6b5182] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/log ] DEBUG [5a6b5182] Finished in 0.398 seconds with exit status 0 (successful). INFO [84ebaea1] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091108/log as deploy@18.136.197.163 DEBUG [84ebaea1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091108/log ) INFO [84ebaea1] Finished in 0.366 seconds with exit status 0 (successful). INFO [3daceaca] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229091108/log as deploy@18.136.197.163 DEBUG [3daceaca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229091108/log ) INFO [3daceaca] Finished in 0.400 seconds with exit status 0 (successful). DEBUG [f0aa90a6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids ] as deploy@18.136.197.163 DEBUG [f0aa90a6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids ] DEBUG [f0aa90a6] Finished in 0.412 seconds with exit status 1 (failed). DEBUG [66dbfbf6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids ] as deploy@18.136.197.163 DEBUG [66dbfbf6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids ] DEBUG [66dbfbf6] Finished in 0.389 seconds with exit status 0 (successful). INFO [b0f675ff] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids as deploy@18.136.197.163 DEBUG [b0f675ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids ) INFO [b0f675ff] Finished in 0.381 seconds with exit status 0 (successful). INFO [0669b165] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids as deploy@18.136.197.163 DEBUG [0669b165] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/pids ) INFO [0669b165] Finished in 0.399 seconds with exit status 0 (successful). DEBUG [b94d90ef] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/cache ] as deploy@18.136.197.163 DEBUG [b94d90ef] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/cache ] DEBUG [b94d90ef] Finished in 0.380 seconds with exit status 1 (failed). DEBUG [03b11981] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/cache ] as deploy@18.136.197.163 DEBUG [03b11981] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/cache ] DEBUG [03b11981] Finished in 0.754 seconds with exit status 1 (failed). INFO [776a4e1f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/cache as deploy@18.136.197.163 DEBUG [776a4e1f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/cache ) INFO [776a4e1f] Finished in 0.883 seconds with exit status 0 (successful). DEBUG [9e1cf944] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/sockets ] as deploy@18.136.197.163 DEBUG [9e1cf944] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/sockets ] DEBUG [9e1cf944] Finished in 0.890 seconds with exit status 1 (failed). DEBUG [503c26ff] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/sockets ] as deploy@18.136.197.163 DEBUG [503c26ff] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/sockets ] DEBUG [503c26ff] Finished in 0.540 seconds with exit status 1 (failed). INFO [f026c3f2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/sockets as deploy@18.136.197.163 DEBUG [f026c3f2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229091108/tmp/sockets ) INFO [f026c3f2] Finished in 0.645 seconds with exit status 0 (successful). DEBUG [2091fb81] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/vendor/bundle ] as deploy@18.136.197.163 DEBUG [2091fb81] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/vendor/bundle ] DEBUG [2091fb81] Finished in 0.363 seconds with exit status 1 (failed). DEBUG [bb7bb9ce] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/vendor/bundle ] as deploy@18.136.197.163 DEBUG [bb7bb9ce] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/vendor/bundle ] DEBUG [bb7bb9ce] Finished in 0.432 seconds with exit status 1 (failed). INFO [60c99cca] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229091108/vendor/bundle as deploy@18.136.197.163 DEBUG [60c99cca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229091108/vendor/bundle ) INFO [60c99cca] Finished in 0.354 seconds with exit status 0 (successful). DEBUG [0637156b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/public/system ] as deploy@18.136.197.163 DEBUG [0637156b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/public/system ] DEBUG [0637156b] Finished in 0.392 seconds with exit status 1 (failed). DEBUG [548b3c32] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/public/system ] as deploy@18.136.197.163 DEBUG [548b3c32] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/public/system ] DEBUG [548b3c32] Finished in 0.346 seconds with exit status 1 (failed). INFO [9a62f7a2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229091108/public/system as deploy@18.136.197.163 DEBUG [9a62f7a2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229091108/public/system ) INFO [9a62f7a2] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [4f095121] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/public/uploads ] as deploy@18.136.197.163 DEBUG [4f095121] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/public/uploads ] DEBUG [4f095121] Finished in 0.360 seconds with exit status 1 (failed). DEBUG [782edb8d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/public/uploads ] as deploy@18.136.197.163 DEBUG [782edb8d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/public/uploads ] DEBUG [782edb8d] Finished in 0.397 seconds with exit status 1 (failed). INFO [8b79e40c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229091108/public/uploads as deploy@18.136.197.163 DEBUG [8b79e40c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229091108/public/uploads ) INFO [8b79e40c] Finished in 0.347 seconds with exit status 0 (successful). DEBUG [25c1c59b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/public/assets ] as deploy@18.136.197.163 DEBUG [25c1c59b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091108/public/assets ] DEBUG [25c1c59b] Finished in 0.407 seconds with exit status 1 (failed). DEBUG [e431d766] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/public/assets ] as deploy@18.136.197.163 DEBUG [e431d766] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091108/public/assets ] DEBUG [e431d766] Finished in 0.366 seconds with exit status 1 (failed). INFO [4de87aee] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229091108/public/assets as deploy@18.136.197.163 DEBUG [4de87aee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229091108/public/assets ) INFO [4de87aee] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [f266a1fd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f266a1fd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi DEBUG [f266a1fd] Finished in 0.349 seconds with exit status 0 (successful). INFO [53314bc0] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [53314bc0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091108 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [53314bc0] Finished in 0.541 seconds with exit status 0 (successful). INFO [c069d4ef] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [c069d4ef] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091108 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [c069d4ef] Finished in 0.519 seconds with exit status 0 (successful). INFO [47a36c45] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [47a36c45] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091108 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [47a36c45] Finished in 0.650 seconds with exit status 0 (successful). DEBUG [f2d736e5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f2d736e5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi DEBUG [f2d736e5] Finished in 0.354 seconds with exit status 0 (successful). DEBUG [b8de781b] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [b8de781b] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091108 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [b8de781b] The Gemfile's dependencies are satisfied DEBUG [b8de781b] DEBUG [b8de781b] Finished in 0.806 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [4f07ee0a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4f07ee0a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091108'" 1>&2; false; fi DEBUG [4f07ee0a] Finished in 0.355 seconds with exit status 0 (successful). INFO [bb1f1049] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [bb1f1049] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091108 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [bb1f1049] rake aborted! DEBUG [bb1f1049] DEBUG [bb1f1049] NoMethodError: undefined method `>' for nil:NilClass DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/apps/aoumi_server/releases/20221229091108/config/application.rb:7:in `' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/apps/aoumi_server/releases/20221229091108/Rakefile:4:in `require_relative' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/apps/aoumi_server/releases/20221229091108/Rakefile:4:in `' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/.rbenv/versions/3.0.3/bin/bundle:25:in `load' DEBUG [bb1f1049] DEBUG [bb1f1049] /home/deploy/.rbenv/versions/3.0.3/bin/bundle:25:in `
' DEBUG [bb1f1049] DEBUG [bb1f1049] (See full trace by running task with --trace) DEBUG [bb1f1049] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:13:23 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [adf56937] Running [ -d $HOME/.rbenv/versions/3.0.3 ] as deploy@18.136.197.163 DEBUG [adf56937] Command: [ -d $HOME/.rbenv/versions/3.0.3 ] DEBUG [adf56937] Finished in 1.792 seconds with exit status 0 (successful). INFO [a20bb75e] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [a20bb75e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /tmp ) INFO [a20bb75e] Finished in 0.340 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-12f74b17f38e7514fc24.sh 0.0% INFO Uploading /tmp/git-ssh-12f74b17f38e7514fc24.sh 100.0% INFO [a440ff98] Running /usr/bin/env chmod 700 /tmp/git-ssh-12f74b17f38e7514fc24.sh as deploy@18.136.197.163 DEBUG [a440ff98] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env chmod 700 /tmp/git-ssh-12f74b17f38e7514fc24.sh ) INFO [a440ff98] Finished in 0.351 seconds with exit status 0 (successful). INFO [220911b5] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [220911b5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12f74b17f38e7514fc24.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [220911b5] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [220911b5] HEAD INFO [220911b5] Finished in 3.288 seconds with exit status 0 (successful). INFO [d41d1cb6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [d41d1cb6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [d41d1cb6] Finished in 0.375 seconds with exit status 0 (successful). INFO [a683b3ff] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [a683b3ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [a683b3ff] Finished in 0.389 seconds with exit status 0 (successful). INFO [cc136f4e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [cc136f4e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [cc136f4e] Finished in 0.343 seconds with exit status 0 (successful). DEBUG [66f79512] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [66f79512] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [66f79512] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [637a0a4c] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [637a0a4c] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [637a0a4c] Finished in 0.336 seconds with exit status 0 (successful). DEBUG [2960fd52] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [2960fd52] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [2960fd52] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [c518466d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [c518466d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [c518466d] Finished in 0.338 seconds with exit status 0 (successful). DEBUG [99a01a59] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [99a01a59] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [99a01a59] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [99a01a59] DEBUG [99a01a59] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [cec36968] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [cec36968] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [cec36968] Finished in 0.340 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [a25ae88a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a25ae88a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [a25ae88a] Finished in 0.415 seconds with exit status 0 (successful). INFO [63ef3ba6] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [63ef3ba6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12f74b17f38e7514fc24.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [63ef3ba6] Finished in 0.414 seconds with exit status 0 (successful). INFO [3c52ae82] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [3c52ae82] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12f74b17f38e7514fc24.sh" ; /usr/bin/env git remote update --prune ) DEBUG [3c52ae82] Fetching origin DEBUG [3c52ae82] DEBUG [3c52ae82] remote: Enumerating objects: 20, done. DEBUG [3c52ae82] DEBUG [3c52ae82] remote: Counting objects: 5% (1/20) DEBUG [3c52ae82] remote: Counting objects: 10% (2/20) DEBUG [3c52ae82] remote: Counting objects: 15% (3/20) DEBUG [3c52ae82] remote: Counting objects: 20% (4/20) DEBUG [3c52ae82] remote: Counting objects: 25% (5/20) DEBUG [3c52ae82] remote: Counting objects: 30% (6/20) DEBUG [3c52ae82] remote: Counting objects: 35% (7/20) DEBUG [3c52ae82] remote: Counting objects: 40% (8/20) DEBUG [3c52ae82] remote: Counting objects: 45% (9/20) DEBUG [3c52ae82] remote: Counting objects: 50% (10/20) DEBUG [3c52ae82] remote: Counting objects: 55% (11/20) DEBUG [3c52ae82] remote: Counting objects: 60% (12/20) DEBUG [3c52ae82] remote: Counting objects: 65% (13/20) DEBUG [3c52ae82] remote: Counting objects: 70% (14/20) DEBUG [3c52ae82] remote: Counting objects: 75% (15/20) DEBUG [3c52ae82] remote: Counting objects: 80% (16/20) DEBUG [3c52ae82] remote: Counting objects: 85% (17/20) DEBUG [3c52ae82] remote: Counting objects: 90% (18/20) DEBUG [3c52ae82] remote: Counting objects: 95% (19/20) DEBUG [3c52ae82] remote: Counting objects: 100% (20/20) DEBUG [3c52ae82] remote: Counting objects: 100% (20/20), done. DEBUG [3c52ae82] DEBUG [3c52ae82] remote: Compressing objects: 25% (1/4) DEBUG [3c52ae82] remote: Compressing objects: 50% (2/4) DEBUG [3c52ae82] remote: Compressing objects: 75% (3/4) DEBUG [3c52ae82] remote: Compressing objects: 100% (4/4) DEBUG [3c52ae82] remote: Compressing objects: 100% (4/4), done. DEBUG [3c52ae82] DEBUG [3c52ae82] remote: Total 11 (delta 7), reused 11 (delta 7), pack-reused 0 DEBUG [3c52ae82] DEBUG [3c52ae82] Unpacking objects: 9% (1/11) DEBUG [3c52ae82] Unpacking objects: 18% (2/11) DEBUG [3c52ae82] Unpacking objects: 27% (3/11) DEBUG [3c52ae82] Unpacking objects: 36% (4/11) DEBUG [3c52ae82] Unpacking objects: 45% (5/11) DEBUG [3c52ae82] Unpacking objects: 54% (6/11) DEBUG [3c52ae82] Unpacking objects: 63% (7/11) DEBUG [3c52ae82] Unpacking objects: 72% (8/11) DEBUG [3c52ae82] Unpacking objects: 81% (9/11) DEBUG [3c52ae82] Unpacking objects: 90% (10/11) DEBUG [3c52ae82] Unpacking objects: 100% (11/11) DEBUG [3c52ae82] Unpacking objects: 100% (11/11), done. DEBUG [3c52ae82] DEBUG [3c52ae82] From github.com:huythanh176/aoumi_server DEBUG [3c52ae82] DEBUG [3c52ae82] + 0cbeb5f...d880871 develop -> develop (forced update) DEBUG [3c52ae82] INFO [3c52ae82] Finished in 3.860 seconds with exit status 0 (successful). DEBUG [f68215c2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f68215c2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f68215c2] Finished in 0.415 seconds with exit status 0 (successful). INFO [ace31881] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091333 as deploy@18.136.197.163 DEBUG [ace31881] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12f74b17f38e7514fc24.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091333 ) INFO [ace31881] Finished in 0.424 seconds with exit status 0 (successful). INFO [10116684] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229091333 as deploy@18.136.197.163 DEBUG [10116684] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12f74b17f38e7514fc24.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229091333 ) INFO [10116684] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [911b4df6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [911b4df6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [911b4df6] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [56090f23] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [56090f23] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12f74b17f38e7514fc24.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [56090f23] d880871374408defe4dcbe60cd080d0d14f5e35a DEBUG [56090f23] DEBUG [56090f23] Finished in 0.367 seconds with exit status 0 (successful). DEBUG [3f4eafea] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [3f4eafea] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi DEBUG [3f4eafea] Finished in 0.416 seconds with exit status 0 (successful). INFO [c9801e48] Running /usr/bin/env echo "d880871374408defe4dcbe60cd080d0d14f5e35a" > REVISION as deploy@18.136.197.163 DEBUG [c9801e48] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091333 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env echo "d880871374408defe4dcbe60cd080d0d14f5e35a" > REVISION ) INFO [c9801e48] Finished in 0.399 seconds with exit status 0 (successful). INFO [af8a9cfc] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091333/config as deploy@18.136.197.163 DEBUG [af8a9cfc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091333/config ) INFO [af8a9cfc] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [33be3a28] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml ] as deploy@18.136.197.163 DEBUG [33be3a28] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml ] DEBUG [33be3a28] Finished in 0.338 seconds with exit status 1 (failed). DEBUG [d699798e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml ] as deploy@18.136.197.163 DEBUG [d699798e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml ] DEBUG [d699798e] Finished in 0.458 seconds with exit status 0 (successful). INFO [4c3b04b5] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml as deploy@18.136.197.163 DEBUG [4c3b04b5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml ) INFO [4c3b04b5] Finished in 0.392 seconds with exit status 0 (successful). INFO [984c80e6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml as deploy@18.136.197.163 DEBUG [984c80e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229091333/config/database.yml ) INFO [984c80e6] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [800c90e1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.yml ] as deploy@18.136.197.163 DEBUG [800c90e1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.yml ] DEBUG [800c90e1] Finished in 0.366 seconds with exit status 1 (failed). DEBUG [086229ce] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.yml ] as deploy@18.136.197.163 DEBUG [086229ce] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.yml ] DEBUG [086229ce] Finished in 0.412 seconds with exit status 1 (failed). INFO [d90d3ffb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.yml as deploy@18.136.197.163 DEBUG [d90d3ffb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.yml ) INFO [d90d3ffb] Finished in 0.357 seconds with exit status 0 (successful). INFO [f5871a36] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091333 /home/deploy/apps/aoumi_server/releases/20221229091333/tmp /home/deploy/apps/aoumi_server/releases/20221229091333/vendor /home/deploy/apps/aoumi_server/releases/20221229091333/public as deploy@18.136.197.163 DEBUG [f5871a36] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229091333 /home/deploy/apps/aoumi_server/releases/20221229091333/tmp /home/deploy/apps/aoumi_server/releases/20221229091333/vendor /home/deploy/apps/aoumi_server/releases/20221229091333/public ) INFO [f5871a36] Finished in 0.397 seconds with exit status 0 (successful). DEBUG [5adae41c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/log ] as deploy@18.136.197.163 DEBUG [5adae41c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/log ] DEBUG [5adae41c] Finished in 0.331 seconds with exit status 1 (failed). DEBUG [7df4f206] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/log ] as deploy@18.136.197.163 DEBUG [7df4f206] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/log ] DEBUG [7df4f206] Finished in 0.392 seconds with exit status 0 (successful). INFO [5b4dce4a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091333/log as deploy@18.136.197.163 DEBUG [5b4dce4a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091333/log ) INFO [5b4dce4a] Finished in 0.358 seconds with exit status 0 (successful). INFO [93a76a60] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229091333/log as deploy@18.136.197.163 DEBUG [93a76a60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229091333/log ) INFO [93a76a60] Finished in 0.394 seconds with exit status 0 (successful). DEBUG [6f3d4c34] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids ] as deploy@18.136.197.163 DEBUG [6f3d4c34] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids ] DEBUG [6f3d4c34] Finished in 0.359 seconds with exit status 1 (failed). DEBUG [bf333785] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids ] as deploy@18.136.197.163 DEBUG [bf333785] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids ] DEBUG [bf333785] Finished in 0.381 seconds with exit status 0 (successful). INFO [f00672e7] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids as deploy@18.136.197.163 DEBUG [f00672e7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids ) INFO [f00672e7] Finished in 0.351 seconds with exit status 0 (successful). INFO [8f0d05a8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids as deploy@18.136.197.163 DEBUG [8f0d05a8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/pids ) INFO [8f0d05a8] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [92897ec1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/cache ] as deploy@18.136.197.163 DEBUG [92897ec1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/cache ] DEBUG [92897ec1] Finished in 0.341 seconds with exit status 1 (failed). DEBUG [7327fbbb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/cache ] as deploy@18.136.197.163 DEBUG [7327fbbb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/cache ] DEBUG [7327fbbb] Finished in 0.412 seconds with exit status 1 (failed). INFO [ebc9aa49] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/cache as deploy@18.136.197.163 DEBUG [ebc9aa49] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/cache ) INFO [ebc9aa49] Finished in 0.344 seconds with exit status 0 (successful). DEBUG [5919a038] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/sockets ] as deploy@18.136.197.163 DEBUG [5919a038] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/sockets ] DEBUG [5919a038] Finished in 0.518 seconds with exit status 1 (failed). DEBUG [5ab6a4b4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/sockets ] as deploy@18.136.197.163 DEBUG [5ab6a4b4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/sockets ] DEBUG [5ab6a4b4] Finished in 0.399 seconds with exit status 1 (failed). INFO [ceb2c13f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/sockets as deploy@18.136.197.163 DEBUG [ceb2c13f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229091333/tmp/sockets ) INFO [ceb2c13f] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [8002e19f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/vendor/bundle ] as deploy@18.136.197.163 DEBUG [8002e19f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/vendor/bundle ] DEBUG [8002e19f] Finished in 0.442 seconds with exit status 1 (failed). DEBUG [e6b458d1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/vendor/bundle ] as deploy@18.136.197.163 DEBUG [e6b458d1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/vendor/bundle ] DEBUG [e6b458d1] Finished in 0.487 seconds with exit status 1 (failed). INFO [1fc366d8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229091333/vendor/bundle as deploy@18.136.197.163 DEBUG [1fc366d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229091333/vendor/bundle ) INFO [1fc366d8] Finished in 0.355 seconds with exit status 0 (successful). DEBUG [a43dd76f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/public/system ] as deploy@18.136.197.163 DEBUG [a43dd76f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/public/system ] DEBUG [a43dd76f] Finished in 0.375 seconds with exit status 1 (failed). DEBUG [918ec680] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/public/system ] as deploy@18.136.197.163 DEBUG [918ec680] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/public/system ] DEBUG [918ec680] Finished in 0.357 seconds with exit status 1 (failed). INFO [5644183e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229091333/public/system as deploy@18.136.197.163 DEBUG [5644183e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229091333/public/system ) INFO [5644183e] Finished in 0.420 seconds with exit status 0 (successful). DEBUG [0d4386d8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/public/uploads ] as deploy@18.136.197.163 DEBUG [0d4386d8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/public/uploads ] DEBUG [0d4386d8] Finished in 0.360 seconds with exit status 1 (failed). DEBUG [21ff2cdc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/public/uploads ] as deploy@18.136.197.163 DEBUG [21ff2cdc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/public/uploads ] DEBUG [21ff2cdc] Finished in 0.384 seconds with exit status 1 (failed). INFO [42a75bf7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229091333/public/uploads as deploy@18.136.197.163 DEBUG [42a75bf7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229091333/public/uploads ) INFO [42a75bf7] Finished in 0.345 seconds with exit status 0 (successful). DEBUG [4041fa64] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/public/assets ] as deploy@18.136.197.163 DEBUG [4041fa64] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229091333/public/assets ] DEBUG [4041fa64] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [12f67186] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/public/assets ] as deploy@18.136.197.163 DEBUG [12f67186] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229091333/public/assets ] DEBUG [12f67186] Finished in 0.338 seconds with exit status 1 (failed). INFO [8240d674] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229091333/public/assets as deploy@18.136.197.163 DEBUG [8240d674] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229091333/public/assets ) INFO [8240d674] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [05135d79] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [05135d79] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi DEBUG [05135d79] Finished in 0.358 seconds with exit status 0 (successful). INFO [4db3f3c4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [4db3f3c4] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091333 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [4db3f3c4] Finished in 0.537 seconds with exit status 0 (successful). INFO [94bb1b4f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [94bb1b4f] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091333 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [94bb1b4f] Finished in 0.507 seconds with exit status 0 (successful). INFO [e4788003] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [e4788003] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091333 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e4788003] Finished in 0.559 seconds with exit status 0 (successful). DEBUG [67de61d1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [67de61d1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi DEBUG [67de61d1] Finished in 0.339 seconds with exit status 0 (successful). DEBUG [ceb3c31e] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [ceb3c31e] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091333 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ceb3c31e] The Gemfile's dependencies are satisfied DEBUG [ceb3c31e] DEBUG [ceb3c31e] Finished in 0.732 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [aa5e23fe] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [aa5e23fe] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229091333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229091333'" 1>&2; false; fi DEBUG [aa5e23fe] Finished in 0.357 seconds with exit status 0 (successful). INFO [852151b5] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [852151b5] Command: cd /home/deploy/apps/aoumi_server/releases/20221229091333 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.3" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [852151b5] rake aborted! DEBUG [852151b5] DEBUG [852151b5] NoMethodError: undefined method `>' for nil:NilClass DEBUG [852151b5] DEBUG [852151b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/apps/aoumi_server/releases/20221229091333/config/application.rb:7:in `' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/apps/aoumi_server/releases/20221229091333/Rakefile:4:in `require_relative' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/apps/aoumi_server/releases/20221229091333/Rakefile:4:in `' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/.rbenv/versions/3.0.3/bin/bundle:25:in `load' DEBUG [852151b5] DEBUG [852151b5] /home/deploy/.rbenv/versions/3.0.3/bin/bundle:25:in `
' DEBUG [852151b5] DEBUG [852151b5] (See full trace by running task with --trace) DEBUG [852151b5] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:24:39 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [77d618cf] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [77d618cf] Command: ~/.rvm/bin/rvm version DEBUG [77d618cf] rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [77d618cf] DEBUG [77d618cf] Finished in 2.213 seconds with exit status 0 (successful). DEBUG [de0a1058] Running ~/.rvm/bin/rvm current as deploy@18.136.197.163 DEBUG [de0a1058] Command: ~/.rvm/bin/rvm current DEBUG [de0a1058] ruby-3.0.3 DEBUG [de0a1058] DEBUG [de0a1058] Finished in 0.534 seconds with exit status 0 (successful). DEBUG [5a062b6b] Running ~/.rvm/bin/rvm default do ruby --version as deploy@18.136.197.163 DEBUG [5a062b6b] Command: ~/.rvm/bin/rvm default do ruby --version DEBUG [5a062b6b] ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux] DEBUG [5a062b6b] DEBUG [5a062b6b] Finished in 0.723 seconds with exit status 0 (successful). INFO [24acabb0] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [24acabb0] Command: /usr/bin/env mkdir -p /tmp INFO [24acabb0] Finished in 0.411 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-974a1e30be4d487ad82a.sh 0.0% INFO Uploading /tmp/git-ssh-974a1e30be4d487ad82a.sh 100.0% INFO [b8f0e863] Running /usr/bin/env chmod 700 /tmp/git-ssh-974a1e30be4d487ad82a.sh as deploy@18.136.197.163 DEBUG [b8f0e863] Command: /usr/bin/env chmod 700 /tmp/git-ssh-974a1e30be4d487ad82a.sh INFO [b8f0e863] Finished in 0.343 seconds with exit status 0 (successful). INFO [86c0f365] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [86c0f365] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-974a1e30be4d487ad82a.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [86c0f365] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [86c0f365] HEAD INFO [86c0f365] Finished in 3.610 seconds with exit status 0 (successful). INFO [146d8834] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [146d8834] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [146d8834] Finished in 0.316 seconds with exit status 0 (successful). INFO [c18ef48d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [c18ef48d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets INFO [c18ef48d] Finished in 0.555 seconds with exit status 0 (successful). INFO [d921d121] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [d921d121] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config INFO [d921d121] Finished in 0.356 seconds with exit status 0 (successful). DEBUG [3d714698] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [3d714698] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [3d714698] Finished in 0.381 seconds with exit status 0 (successful). DEBUG [19590d80] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [19590d80] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [19590d80] Finished in 0.351 seconds with exit status 0 (successful). DEBUG [ed28fee7] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [ed28fee7] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ed28fee7] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [dec1508e] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [dec1508e] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [dec1508e] Finished in 0.348 seconds with exit status 0 (successful). DEBUG [649a2ba2] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [649a2ba2] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [649a2ba2] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [649a2ba2] DEBUG [649a2ba2] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [76f3b067] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [76f3b067] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [76f3b067] Finished in 0.351 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [f0773d6a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f0773d6a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f0773d6a] Finished in 0.383 seconds with exit status 0 (successful). INFO [7306126e] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [7306126e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-974a1e30be4d487ad82a.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [7306126e] Finished in 0.365 seconds with exit status 0 (successful). INFO [a6da3d77] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [a6da3d77] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-974a1e30be4d487ad82a.sh" ; /usr/bin/env git remote update --prune ) DEBUG [a6da3d77] Fetching origin DEBUG [a6da3d77] INFO [a6da3d77] Finished in 3.688 seconds with exit status 0 (successful). DEBUG [cb39a57f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cb39a57f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [cb39a57f] Finished in 0.391 seconds with exit status 0 (successful). INFO [8ba104c8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229092451 as deploy@18.136.197.163 DEBUG [8ba104c8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-974a1e30be4d487ad82a.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229092451 ) INFO [8ba104c8] Finished in 0.413 seconds with exit status 0 (successful). INFO [a88daf32] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229092451 as deploy@18.136.197.163 DEBUG [a88daf32] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-974a1e30be4d487ad82a.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229092451 ) INFO [a88daf32] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [5a68e6db] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5a68e6db] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5a68e6db] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [82402cdf] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [82402cdf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-974a1e30be4d487ad82a.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [82402cdf] d880871374408defe4dcbe60cd080d0d14f5e35a DEBUG [82402cdf] DEBUG [82402cdf] Finished in 0.359 seconds with exit status 0 (successful). DEBUG [a9f17425] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a9f17425] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi DEBUG [a9f17425] Finished in 0.380 seconds with exit status 0 (successful). INFO [d5699849] Running /usr/bin/env echo "d880871374408defe4dcbe60cd080d0d14f5e35a" > REVISION as deploy@18.136.197.163 DEBUG [d5699849] Command: cd /home/deploy/apps/aoumi_server/releases/20221229092451 && /usr/bin/env echo "d880871374408defe4dcbe60cd080d0d14f5e35a" > REVISION INFO [d5699849] Finished in 0.346 seconds with exit status 0 (successful). INFO [7d225357] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229092451/config as deploy@18.136.197.163 DEBUG [7d225357] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229092451/config INFO [7d225357] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [20ebaae0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml ] as deploy@18.136.197.163 DEBUG [20ebaae0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml ] DEBUG [20ebaae0] Finished in 0.350 seconds with exit status 1 (failed). DEBUG [5e2e631b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml ] as deploy@18.136.197.163 DEBUG [5e2e631b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml ] DEBUG [5e2e631b] Finished in 0.382 seconds with exit status 0 (successful). INFO [37f286e9] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml as deploy@18.136.197.163 DEBUG [37f286e9] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml INFO [37f286e9] Finished in 0.319 seconds with exit status 0 (successful). INFO [185bb5aa] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml as deploy@18.136.197.163 DEBUG [185bb5aa] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229092451/config/database.yml INFO [185bb5aa] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [fd7874fa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.yml ] as deploy@18.136.197.163 DEBUG [fd7874fa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.yml ] DEBUG [fd7874fa] Finished in 0.363 seconds with exit status 1 (failed). DEBUG [f8d3d304] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.yml ] as deploy@18.136.197.163 DEBUG [f8d3d304] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.yml ] DEBUG [f8d3d304] Finished in 0.410 seconds with exit status 1 (failed). INFO [381e3ac3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.yml as deploy@18.136.197.163 DEBUG [381e3ac3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.yml INFO [381e3ac3] Finished in 0.397 seconds with exit status 0 (successful). INFO [c742941d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229092451 /home/deploy/apps/aoumi_server/releases/20221229092451/tmp /home/deploy/apps/aoumi_server/releases/20221229092451/vendor /home/deploy/apps/aoumi_server/releases/20221229092451/public as deploy@18.136.197.163 DEBUG [c742941d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229092451 /home/deploy/apps/aoumi_server/releases/20221229092451/tmp /home/deploy/apps/aoumi_server/releases/20221229092451/vendor /home/deploy/apps/aoumi_server/releases/20221229092451/public INFO [c742941d] Finished in 0.414 seconds with exit status 0 (successful). DEBUG [56098385] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/log ] as deploy@18.136.197.163 DEBUG [56098385] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/log ] DEBUG [56098385] Finished in 0.429 seconds with exit status 1 (failed). DEBUG [e55dabf4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/log ] as deploy@18.136.197.163 DEBUG [e55dabf4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/log ] DEBUG [e55dabf4] Finished in 0.399 seconds with exit status 0 (successful). INFO [de882a2d] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229092451/log as deploy@18.136.197.163 DEBUG [de882a2d] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229092451/log INFO [de882a2d] Finished in 0.337 seconds with exit status 0 (successful). INFO [99ae3b74] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229092451/log as deploy@18.136.197.163 DEBUG [99ae3b74] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229092451/log INFO [99ae3b74] Finished in 0.415 seconds with exit status 0 (successful). DEBUG [d114a0b0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids ] as deploy@18.136.197.163 DEBUG [d114a0b0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids ] DEBUG [d114a0b0] Finished in 0.369 seconds with exit status 1 (failed). DEBUG [761f93d3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids ] as deploy@18.136.197.163 DEBUG [761f93d3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids ] DEBUG [761f93d3] Finished in 0.382 seconds with exit status 0 (successful). INFO [eec12681] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids as deploy@18.136.197.163 DEBUG [eec12681] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids INFO [eec12681] Finished in 0.354 seconds with exit status 0 (successful). INFO [9365b98f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids as deploy@18.136.197.163 DEBUG [9365b98f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/pids INFO [9365b98f] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [1e13f9eb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/cache ] as deploy@18.136.197.163 DEBUG [1e13f9eb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/cache ] DEBUG [1e13f9eb] Finished in 0.399 seconds with exit status 1 (failed). DEBUG [c2ddcee0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/cache ] as deploy@18.136.197.163 DEBUG [c2ddcee0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/cache ] DEBUG [c2ddcee0] Finished in 0.398 seconds with exit status 1 (failed). INFO [24c09422] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/cache as deploy@18.136.197.163 DEBUG [24c09422] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/cache INFO [24c09422] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [8282fe28] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/sockets ] as deploy@18.136.197.163 DEBUG [8282fe28] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/sockets ] DEBUG [8282fe28] Finished in 0.428 seconds with exit status 1 (failed). DEBUG [d2c17d42] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/sockets ] as deploy@18.136.197.163 DEBUG [d2c17d42] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/sockets ] DEBUG [d2c17d42] Finished in 0.343 seconds with exit status 1 (failed). INFO [3d8781b6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/sockets as deploy@18.136.197.163 DEBUG [3d8781b6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229092451/tmp/sockets INFO [3d8781b6] Finished in 0.381 seconds with exit status 0 (successful). DEBUG [927e0983] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/vendor/bundle ] as deploy@18.136.197.163 DEBUG [927e0983] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/vendor/bundle ] DEBUG [927e0983] Finished in 0.349 seconds with exit status 1 (failed). DEBUG [88dfbb6c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/vendor/bundle ] as deploy@18.136.197.163 DEBUG [88dfbb6c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/vendor/bundle ] DEBUG [88dfbb6c] Finished in 0.387 seconds with exit status 1 (failed). INFO [965018b3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229092451/vendor/bundle as deploy@18.136.197.163 DEBUG [965018b3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229092451/vendor/bundle INFO [965018b3] Finished in 0.378 seconds with exit status 0 (successful). DEBUG [25b22682] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/public/system ] as deploy@18.136.197.163 DEBUG [25b22682] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/public/system ] DEBUG [25b22682] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [13213acb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/public/system ] as deploy@18.136.197.163 DEBUG [13213acb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/public/system ] DEBUG [13213acb] Finished in 0.347 seconds with exit status 1 (failed). INFO [366a3273] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229092451/public/system as deploy@18.136.197.163 DEBUG [366a3273] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229092451/public/system INFO [366a3273] Finished in 0.381 seconds with exit status 0 (successful). DEBUG [ee7fb7fb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/public/uploads ] as deploy@18.136.197.163 DEBUG [ee7fb7fb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/public/uploads ] DEBUG [ee7fb7fb] Finished in 0.372 seconds with exit status 1 (failed). DEBUG [0d5822f8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/public/uploads ] as deploy@18.136.197.163 DEBUG [0d5822f8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/public/uploads ] DEBUG [0d5822f8] Finished in 0.482 seconds with exit status 1 (failed). INFO [f4795f0e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229092451/public/uploads as deploy@18.136.197.163 DEBUG [f4795f0e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229092451/public/uploads INFO [f4795f0e] Finished in 0.348 seconds with exit status 0 (successful). DEBUG [90c221d9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/public/assets ] as deploy@18.136.197.163 DEBUG [90c221d9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229092451/public/assets ] DEBUG [90c221d9] Finished in 0.448 seconds with exit status 1 (failed). DEBUG [a488adc8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/public/assets ] as deploy@18.136.197.163 DEBUG [a488adc8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229092451/public/assets ] DEBUG [a488adc8] Finished in 0.343 seconds with exit status 1 (failed). INFO [5bf5fb10] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229092451/public/assets as deploy@18.136.197.163 DEBUG [5bf5fb10] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229092451/public/assets INFO [5bf5fb10] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [a11ceca4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a11ceca4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi DEBUG [a11ceca4] Finished in 0.354 seconds with exit status 0 (successful). INFO [9b8a36e6] Running ~/.rvm/bin/rvm default do bundle config --local deployment true as deploy@18.136.197.163 DEBUG [9b8a36e6] Command: cd /home/deploy/apps/aoumi_server/releases/20221229092451 && ~/.rvm/bin/rvm default do bundle config --local deployment true INFO [9b8a36e6] Finished in 1.012 seconds with exit status 0 (successful). INFO [544a5968] Running ~/.rvm/bin/rvm default do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [544a5968] Command: cd /home/deploy/apps/aoumi_server/releases/20221229092451 && ~/.rvm/bin/rvm default do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [544a5968] Finished in 0.971 seconds with exit status 0 (successful). INFO [0707b67b] Running ~/.rvm/bin/rvm default do bundle config --local without development:test as deploy@18.136.197.163 DEBUG [0707b67b] Command: cd /home/deploy/apps/aoumi_server/releases/20221229092451 && ~/.rvm/bin/rvm default do bundle config --local without development:test INFO [0707b67b] Finished in 1.039 seconds with exit status 0 (successful). DEBUG [d498a230] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d498a230] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi DEBUG [d498a230] Finished in 0.347 seconds with exit status 0 (successful). DEBUG [2949794d] Running ~/.rvm/bin/rvm default do bundle check as deploy@18.136.197.163 DEBUG [2949794d] Command: cd /home/deploy/apps/aoumi_server/releases/20221229092451 && ~/.rvm/bin/rvm default do bundle check DEBUG [2949794d] The Gemfile's dependencies are satisfied DEBUG [2949794d] DEBUG [2949794d] Finished in 1.205 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [5c569528] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5c569528] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229092451; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229092451'" 1>&2; false; fi DEBUG [5c569528] Finished in 0.350 seconds with exit status 0 (successful). INFO [f2d00ab6] Running ~/.rvm/bin/rvm default do bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [f2d00ab6] Command: cd /home/deploy/apps/aoumi_server/releases/20221229092451 && ( export RAILS_ENV="development" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake assets:precompile ) DEBUG [f2d00ab6] rake aborted! DEBUG [f2d00ab6] DEBUG [f2d00ab6] NoMethodError: undefined method `>' for nil:NilClass DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/apps/aoumi_server/releases/20221229092451/config/application.rb:7:in `' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/apps/aoumi_server/releases/20221229092451/Rakefile:4:in `require_relative' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/apps/aoumi_server/releases/20221229092451/Rakefile:4:in `' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/.rvm/rubies/ruby-3.0.3/bin/bundle:30:in `load' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/.rvm/rubies/ruby-3.0.3/bin/bundle:30:in `
' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/.rvm/gems/ruby-3.0.3/bin/ruby_executable_hooks:22:in `eval' DEBUG [f2d00ab6] DEBUG [f2d00ab6] /home/deploy/.rvm/gems/ruby-3.0.3/bin/ruby_executable_hooks:22:in `
' DEBUG [f2d00ab6] DEBUG [f2d00ab6] (See full trace by running task with --trace) DEBUG [f2d00ab6] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:32:41 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [204d352b] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [204d352b] Command: ~/.rvm/bin/rvm version DEBUG [204d352b] rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [204d352b] DEBUG [204d352b] Finished in 2.000 seconds with exit status 0 (successful). DEBUG [a4286bb9] Running ~/.rvm/bin/rvm current as deploy@18.136.197.163 DEBUG [a4286bb9] Command: ~/.rvm/bin/rvm current DEBUG [a4286bb9] ruby-3.0.3 DEBUG [a4286bb9] DEBUG [a4286bb9] Finished in 0.564 seconds with exit status 0 (successful). DEBUG [9aef1443] Running ~/.rvm/bin/rvm default do ruby --version as deploy@18.136.197.163 DEBUG [9aef1443] Command: ~/.rvm/bin/rvm default do ruby --version DEBUG [9aef1443] ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux] DEBUG [9aef1443] DEBUG [9aef1443] Finished in 0.808 seconds with exit status 0 (successful). INFO [c8d7eca1] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [c8d7eca1] Command: /usr/bin/env mkdir -p /tmp INFO [c8d7eca1] Finished in 0.349 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-54b491906bfb9cd1909e.sh 0.0% INFO Uploading /tmp/git-ssh-54b491906bfb9cd1909e.sh 100.0% INFO [92cf7038] Running /usr/bin/env chmod 700 /tmp/git-ssh-54b491906bfb9cd1909e.sh as deploy@18.136.197.163 DEBUG [92cf7038] Command: /usr/bin/env chmod 700 /tmp/git-ssh-54b491906bfb9cd1909e.sh INFO [92cf7038] Finished in 0.350 seconds with exit status 0 (successful). INFO [b8f6f89d] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [b8f6f89d] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-54b491906bfb9cd1909e.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b8f6f89d] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [b8f6f89d] HEAD INFO [b8f6f89d] Finished in 3.511 seconds with exit status 0 (successful). INFO [18e66fde] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [18e66fde] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [18e66fde] Finished in 0.306 seconds with exit status 0 (successful). INFO [48271260] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [48271260] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets INFO [48271260] Finished in 0.360 seconds with exit status 0 (successful). INFO [8539d408] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [8539d408] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:33:10 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a69e3f82] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [a69e3f82] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:33:36 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [8782b0a6] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [8782b0a6] Command: ~/.rvm/bin/rvm version DEBUG [8782b0a6] rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [8782b0a6] DEBUG [8782b0a6] Finished in 1.995 seconds with exit status 0 (successful). DEBUG [c73c48b3] Running ~/.rvm/bin/rvm current as deploy@18.136.197.163 DEBUG [c73c48b3] Command: ~/.rvm/bin/rvm current DEBUG [c73c48b3] ruby-3.0.3 DEBUG [c73c48b3] DEBUG [c73c48b3] Finished in 0.538 seconds with exit status 0 (successful). DEBUG [6fe19532] Running ~/.rvm/bin/rvm default do ruby --version as deploy@18.136.197.163 DEBUG [6fe19532] Command: ~/.rvm/bin/rvm default do ruby --version DEBUG [6fe19532] ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux] DEBUG [6fe19532] DEBUG [6fe19532] Finished in 0.803 seconds with exit status 0 (successful). INFO [0445d871] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [0445d871] Command: /usr/bin/env mkdir -p /tmp INFO [0445d871] Finished in 0.341 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-9e25912522564d0488e1.sh 0.0% INFO Uploading /tmp/git-ssh-9e25912522564d0488e1.sh 100.0% INFO [b5ef5ad1] Running /usr/bin/env chmod 700 /tmp/git-ssh-9e25912522564d0488e1.sh as deploy@18.136.197.163 DEBUG [b5ef5ad1] Command: /usr/bin/env chmod 700 /tmp/git-ssh-9e25912522564d0488e1.sh INFO [b5ef5ad1] Finished in 0.390 seconds with exit status 0 (successful). INFO [a24f5d1c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [a24f5d1c] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9e25912522564d0488e1.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a24f5d1c] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [a24f5d1c] HEAD INFO [a24f5d1c] Finished in 3.475 seconds with exit status 0 (successful). INFO [4476ac95] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [4476ac95] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [4476ac95] Finished in 0.394 seconds with exit status 0 (successful). INFO [ec814570] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [ec814570] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets INFO [ec814570] Finished in 0.537 seconds with exit status 0 (successful). INFO [e32e37de] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [e32e37de] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config INFO [e32e37de] Finished in 0.424 seconds with exit status 0 (successful). DEBUG [ad003c83] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [ad003c83] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [ad003c83] Finished in 0.351 seconds with exit status 0 (successful). DEBUG [bb8d981c] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [bb8d981c] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [bb8d981c] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [845dc488] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [845dc488] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [845dc488] Finished in 0.364 seconds with exit status 0 (successful). DEBUG [9d0cdf16] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [9d0cdf16] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [9d0cdf16] Finished in 0.454 seconds with exit status 0 (successful). DEBUG [58301339] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [58301339] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [58301339] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [58301339] DEBUG [58301339] Finished in 0.374 seconds with exit status 0 (successful). DEBUG [5ed3492e] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [5ed3492e] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [5ed3492e] Finished in 0.941 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [2d502dba] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2d502dba] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2d502dba] Finished in 0.407 seconds with exit status 0 (successful). INFO [cda6215b] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [cda6215b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9e25912522564d0488e1.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [cda6215b] Finished in 0.671 seconds with exit status 0 (successful). INFO [e6f70fd4] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [e6f70fd4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9e25912522564d0488e1.sh" ; /usr/bin/env git remote update --prune ) DEBUG [e6f70fd4] Fetching origin DEBUG [e6f70fd4] DEBUG [e6f70fd4] remote: Enumerating objects: 22, done. DEBUG [e6f70fd4] DEBUG [e6f70fd4] remote: Counting objects: 4% (1/22) DEBUG [e6f70fd4] remote: Counting objects: 9% (2/22) DEBUG [e6f70fd4] remote: Counting objects: 13% (3/22) DEBUG [e6f70fd4] remote: Counting objects: 18% (4/22) DEBUG [e6f70fd4] remote: Counting objects: 22% (5/22) DEBUG [e6f70fd4] remote: Counting objects: 27% (6/22) DEBUG [e6f70fd4] remote: Counting objects: 31% (7/22) DEBUG [e6f70fd4] remote: Counting objects: 36% (8/22) DEBUG [e6f70fd4] remote: Counting objects: 40% (9/22) DEBUG [e6f70fd4] remote: Counting objects: 45% (10/22) DEBUG [e6f70fd4] remote: Counting objects: 50% (11/22) DEBUG [e6f70fd4] remote: Counting objects: 54% (12/22) DEBUG [e6f70fd4] remote: Counting objects: 59% (13/22) DEBUG [e6f70fd4] remote: Counting objects: 63% (14/22) DEBUG [e6f70fd4] remote: Counting objects: 68% (15/22) DEBUG [e6f70fd4] remote: Counting objects: 72% (16/22) DEBUG [e6f70fd4] remote: Counting objects: 77% (17/22) DEBUG [e6f70fd4] remote: Counting objects: 81% (18/22) DEBUG [e6f70fd4] remote: Counting objects: 86% (19/22) DEBUG [e6f70fd4] remote: Counting objects: 90% (20/22) DEBUG [e6f70fd4] remote: Counting objects: 95% (21/22) DEBUG [e6f70fd4] remote: Counting objects: 100% (22/22) DEBUG [e6f70fd4] remote: Counting objects: 100% (22/22), done. DEBUG [e6f70fd4] DEBUG [e6f70fd4] remote: Compressing objects: 25% (1/4) DEBUG [e6f70fd4] remote: Compressing objects: 50% (2/4) DEBUG [e6f70fd4] remote: Compressing objects: 75% (3/4) DEBUG [e6f70fd4] remote: Compressing objects: 100% (4/4) DEBUG [e6f70fd4] remote: Compressing objects: 100% (4/4), done. DEBUG [e6f70fd4] DEBUG [e6f70fd4] remote: Total 12 (delta 7), reused 12 (delta 7), pack-reused 0 DEBUG [e6f70fd4] DEBUG [e6f70fd4] Unpacking objects: 8% (1/12) DEBUG [e6f70fd4] Unpacking objects: 16% (2/12) DEBUG [e6f70fd4] Unpacking objects: 25% (3/12) DEBUG [e6f70fd4] Unpacking objects: 33% (4/12) DEBUG [e6f70fd4] Unpacking objects: 41% (5/12) DEBUG [e6f70fd4] Unpacking objects: 50% (6/12) DEBUG [e6f70fd4] Unpacking objects: 58% (7/12) DEBUG [e6f70fd4] Unpacking objects: 66% (8/12) DEBUG [e6f70fd4] Unpacking objects: 75% (9/12) DEBUG [e6f70fd4] Unpacking objects: 83% (10/12) DEBUG [e6f70fd4] Unpacking objects: 91% (11/12) DEBUG [e6f70fd4] Unpacking objects: 100% (12/12) DEBUG [e6f70fd4] Unpacking objects: 100% (12/12), done. DEBUG [e6f70fd4] DEBUG [e6f70fd4] From github.com:huythanh176/aoumi_server DEBUG [e6f70fd4] DEBUG [e6f70fd4] + d880871...ffa206f develop -> develop (forced update) DEBUG [e6f70fd4] INFO [e6f70fd4] Finished in 4.098 seconds with exit status 0 (successful). DEBUG [275d78ba] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [275d78ba] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [275d78ba] Finished in 0.375 seconds with exit status 0 (successful). INFO [5b4b0593] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093348 as deploy@18.136.197.163 DEBUG [5b4b0593] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9e25912522564d0488e1.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093348 ) INFO [5b4b0593] Finished in 0.438 seconds with exit status 0 (successful). INFO [702640b0] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229093348 as deploy@18.136.197.163 DEBUG [702640b0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9e25912522564d0488e1.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229093348 ) INFO [702640b0] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [d4c611ad] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d4c611ad] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d4c611ad] Finished in 0.397 seconds with exit status 0 (successful). DEBUG [d67e9910] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d67e9910] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9e25912522564d0488e1.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d67e9910] ffa206ff77c5e8fa467c3f8a5340e45b605402c0 DEBUG [d67e9910] DEBUG [d67e9910] Finished in 0.357 seconds with exit status 0 (successful). DEBUG [00884903] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093348; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093348'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [00884903] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093348; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093348'" 1>&2; false; fi DEBUG [00884903] Finished in 0.506 seconds with exit status 0 (successful). INFO [a4b09ee3] Running /usr/bin/env echo "ffa206ff77c5e8fa467c3f8a5340e45b605402c0" > REVISION as deploy@18.136.197.163 DEBUG [a4b09ee3] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093348 && /usr/bin/env echo "ffa206ff77c5e8fa467c3f8a5340e45b605402c0" > REVISION INFO [a4b09ee3] Finished in 0.423 seconds with exit status 0 (successful). INFO [ea0e11f0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093348/config as deploy@18.136.197.163 DEBUG [ea0e11f0] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093348/config INFO [ea0e11f0] Finished in 0.449 seconds with exit status 0 (successful). DEBUG [289fca8d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml ] as deploy@18.136.197.163 DEBUG [289fca8d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml ] DEBUG [289fca8d] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [a9baa13c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml ] as deploy@18.136.197.163 DEBUG [a9baa13c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml ] DEBUG [a9baa13c] Finished in 0.431 seconds with exit status 0 (successful). INFO [986add6e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml as deploy@18.136.197.163 DEBUG [986add6e] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml INFO [986add6e] Finished in 0.391 seconds with exit status 0 (successful). INFO [60193c7f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml as deploy@18.136.197.163 DEBUG [60193c7f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229093348/config/database.yml INFO [60193c7f] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [d1c9d252] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/config/application.yml ] as deploy@18.136.197.163 DEBUG [d1c9d252] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/config/application.yml ] DEBUG [d1c9d252] Finished in 0.427 seconds with exit status 1 (failed). DEBUG [03d95820] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229093348/config/application.yml ] as deploy@18.136.197.163 DEBUG [03d95820] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229093348/config/application.yml ] DEBUG [03d95820] Finished in 0.489 seconds with exit status 1 (failed). INFO [c622707c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229093348/config/application.yml as deploy@18.136.197.163 DEBUG [c622707c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229093348/config/application.yml INFO [c622707c] Finished in 0.375 seconds with exit status 0 (successful). INFO [a47236bf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093348 /home/deploy/apps/aoumi_server/releases/20221229093348/tmp /home/deploy/apps/aoumi_server/releases/20221229093348/vendor /home/deploy/apps/aoumi_server/releases/20221229093348/public as deploy@18.136.197.163 DEBUG [a47236bf] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093348 /home/deploy/apps/aoumi_server/releases/20221229093348/tmp /home/deploy/apps/aoumi_server/releases/20221229093348/vendor /home/deploy/apps/aoumi_server/releases/20221229093348/public INFO [a47236bf] Finished in 0.491 seconds with exit status 0 (successful). DEBUG [73806bb2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/log ] as deploy@18.136.197.163 DEBUG [73806bb2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/log ] DEBUG [73806bb2] Finished in 0.540 seconds with exit status 1 (failed). DEBUG [7e380cc3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/log ] as deploy@18.136.197.163 DEBUG [7e380cc3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/log ] DEBUG [7e380cc3] Finished in 0.414 seconds with exit status 0 (successful). INFO [7d2439ea] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093348/log as deploy@18.136.197.163 DEBUG [7d2439ea] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093348/log INFO [7d2439ea] Finished in 0.366 seconds with exit status 0 (successful). INFO [cd67c9ff] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229093348/log as deploy@18.136.197.163 DEBUG [cd67c9ff] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229093348/log INFO [cd67c9ff] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [0d683c6f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids ] as deploy@18.136.197.163 DEBUG [0d683c6f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids ] DEBUG [0d683c6f] Finished in 0.359 seconds with exit status 1 (failed). DEBUG [0a259117] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids ] as deploy@18.136.197.163 DEBUG [0a259117] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids ] DEBUG [0a259117] Finished in 0.435 seconds with exit status 0 (successful). INFO [056d9ec4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids as deploy@18.136.197.163 DEBUG [056d9ec4] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids INFO [056d9ec4] Finished in 0.570 seconds with exit status 0 (successful). INFO [ade0d3db] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids as deploy@18.136.197.163 DEBUG [ade0d3db] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/pids INFO [ade0d3db] Finished in 0.401 seconds with exit status 0 (successful). DEBUG [df3760a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/cache ] as deploy@18.136.197.163 DEBUG [df3760a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/cache ] DEBUG [df3760a3] Finished in 0.467 seconds with exit status 1 (failed). DEBUG [7703d1f0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/cache ] as deploy@18.136.197.163 DEBUG [7703d1f0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/cache ] DEBUG [7703d1f0] Finished in 0.468 seconds with exit status 1 (failed). INFO [df4cdd3c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/cache as deploy@18.136.197.163 DEBUG [df4cdd3c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/cache INFO [df4cdd3c] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [06b1d60c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/sockets ] as deploy@18.136.197.163 DEBUG [06b1d60c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/sockets ] DEBUG [06b1d60c] Finished in 0.404 seconds with exit status 1 (failed). DEBUG [7877d56e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/sockets ] as deploy@18.136.197.163 DEBUG [7877d56e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/sockets ] DEBUG [7877d56e] Finished in 0.371 seconds with exit status 1 (failed). INFO [86e3c634] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/sockets as deploy@18.136.197.163 DEBUG [86e3c634] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229093348/tmp/sockets INFO [86e3c634] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [dc151ce3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/vendor/bundle ] as deploy@18.136.197.163 DEBUG [dc151ce3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/vendor/bundle ] DEBUG [dc151ce3] Finished in 0.433 seconds with exit status 1 (failed). DEBUG [cc4640b0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/vendor/bundle ] as deploy@18.136.197.163 DEBUG [cc4640b0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/vendor/bundle ] DEBUG [cc4640b0] Finished in 0.396 seconds with exit status 1 (failed). INFO [5b2b40bb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229093348/vendor/bundle as deploy@18.136.197.163 DEBUG [5b2b40bb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229093348/vendor/bundle INFO [5b2b40bb] Finished in 0.371 seconds with exit status 0 (successful). DEBUG [f90e185b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/public/system ] as deploy@18.136.197.163 DEBUG [f90e185b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/public/system ] DEBUG [f90e185b] Finished in 0.461 seconds with exit status 1 (failed). DEBUG [80cdd22d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/public/system ] as deploy@18.136.197.163 DEBUG [80cdd22d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/public/system ] DEBUG [80cdd22d] Finished in 0.373 seconds with exit status 1 (failed). INFO [b84f2797] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229093348/public/system as deploy@18.136.197.163 DEBUG [b84f2797] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229093348/public/system INFO [b84f2797] Finished in 0.421 seconds with exit status 0 (successful). DEBUG [f2729215] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/public/uploads ] as deploy@18.136.197.163 DEBUG [f2729215] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/public/uploads ] DEBUG [f2729215] Finished in 0.478 seconds with exit status 1 (failed). DEBUG [b2c0f694] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/public/uploads ] as deploy@18.136.197.163 DEBUG [b2c0f694] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/public/uploads ] DEBUG [b2c0f694] Finished in 0.459 seconds with exit status 1 (failed). INFO [c830325b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229093348/public/uploads as deploy@18.136.197.163 DEBUG [c830325b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229093348/public/uploads INFO [c830325b] Finished in 0.359 seconds with exit status 0 (successful). DEBUG [08b961c9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/public/assets ] as deploy@18.136.197.163 DEBUG [08b961c9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093348/public/assets ] DEBUG [08b961c9] Finished in 0.427 seconds with exit status 1 (failed). DEBUG [90265c10] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/public/assets ] as deploy@18.136.197.163 DEBUG [90265c10] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093348/public/assets ] DEBUG [90265c10] Finished in 0.492 seconds with exit status 1 (failed). INFO [317cc18e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229093348/public/assets as deploy@18.136.197.163 DEBUG [317cc18e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229093348/public/assets INFO [317cc18e] Finished in 0.544 seconds with exit status 0 (successful). DEBUG [c6cd902b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093348; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093348'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c6cd902b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093348; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093348'" 1>&2; false; fi DEBUG [c6cd902b] Finished in 0.398 seconds with exit status 0 (successful). INFO [2c666b3e] Running ~/.rvm/bin/rvm default do bundle config --local deployment true as deploy@18.136.197.163 DEBUG [2c666b3e] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093348 && ~/.rvm/bin/rvm default do bundle config --local deployment true INFO [2c666b3e] Finished in 1.022 seconds with exit status 0 (successful). INFO [385bc60c] Running ~/.rvm/bin/rvm default do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [385bc60c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093348 && ~/.rvm/bin/rvm default do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [385bc60c] Finished in 1.146 seconds with exit status 0 (successful). INFO [c5d79f73] Running ~/.rvm/bin/rvm default do bundle config --local without development:test as deploy@18.136.197.163 DEBUG [c5d79f73] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093348 && ~/.rvm/bin/rvm default do bundle config --local without development:test INFO [c5d79f73] Finished in 1.110 seconds with exit status 0 (successful). DEBUG [5956179a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093348; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093348'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5956179a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093348; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093348'" 1>&2; false; fi DEBUG [5956179a] Finished in 0.456 seconds with exit status 0 (successful). DEBUG [e42ff868] Running ~/.rvm/bin/rvm default do bundle check as deploy@18.136.197.163 DEBUG [e42ff868] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093348 && ~/.rvm/bin/rvm default do bundle check DEBUG [e42ff868] Your Ruby version is 3.0.3, but your Gemfile specified 3.0.0 DEBUG [e42ff868] DEBUG [e42ff868] Finished in 1.033 seconds with exit status 18 (failed). INFO [eba7acce] Running ~/.rvm/bin/rvm default do bundle install --jobs 4 --quiet as deploy@18.136.197.163 DEBUG [eba7acce] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093348 && ~/.rvm/bin/rvm default do bundle install --jobs 4 --quiet DEBUG [eba7acce] Your Ruby version is 3.0.3, but your Gemfile specified 3.0.0 DEBUG [eba7acce] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:35:49 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [c559f1e7] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [c559f1e7] Command: ~/.rvm/bin/rvm version DEBUG [c559f1e7] rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [c559f1e7] DEBUG [c559f1e7] Finished in 2.082 seconds with exit status 0 (successful). DEBUG [514e33f1] Running ~/.rvm/bin/rvm current as deploy@18.136.197.163 DEBUG [514e33f1] Command: ~/.rvm/bin/rvm current DEBUG [514e33f1] ruby-3.0.3 DEBUG [514e33f1] DEBUG [514e33f1] Finished in 0.523 seconds with exit status 0 (successful). DEBUG [851f6148] Running ~/.rvm/bin/rvm default do ruby --version as deploy@18.136.197.163 DEBUG [851f6148] Command: ~/.rvm/bin/rvm default do ruby --version DEBUG [851f6148] ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux] DEBUG [851f6148] DEBUG [851f6148] Finished in 0.776 seconds with exit status 0 (successful). INFO [97eeec22] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [97eeec22] Command: /usr/bin/env mkdir -p /tmp INFO [97eeec22] Finished in 0.350 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-56d338a964d52bb8b08a.sh 0.0% INFO Uploading /tmp/git-ssh-56d338a964d52bb8b08a.sh 100.0% INFO [8bea5a46] Running /usr/bin/env chmod 700 /tmp/git-ssh-56d338a964d52bb8b08a.sh as deploy@18.136.197.163 DEBUG [8bea5a46] Command: /usr/bin/env chmod 700 /tmp/git-ssh-56d338a964d52bb8b08a.sh INFO [8bea5a46] Finished in 0.572 seconds with exit status 0 (successful). INFO [0e3d7d9a] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [0e3d7d9a] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56d338a964d52bb8b08a.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [0e3d7d9a] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [0e3d7d9a] HEAD INFO [0e3d7d9a] Finished in 3.445 seconds with exit status 0 (successful). INFO [59f8d61b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [59f8d61b] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [59f8d61b] Finished in 0.377 seconds with exit status 0 (successful). INFO [87aa8d6e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [87aa8d6e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets INFO [87aa8d6e] Finished in 0.382 seconds with exit status 0 (successful). INFO [f44dd84a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [f44dd84a] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config INFO [f44dd84a] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [cf02befb] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [cf02befb] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [cf02befb] Finished in 0.398 seconds with exit status 0 (successful). DEBUG [af95f332] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [af95f332] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [af95f332] Finished in 0.363 seconds with exit status 0 (successful). DEBUG [57c5b379] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [57c5b379] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [57c5b379] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [e84cc265] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [e84cc265] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [e84cc265] Finished in 0.555 seconds with exit status 0 (successful). DEBUG [f4f238cf] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [f4f238cf] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [f4f238cf] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [f4f238cf] DEBUG [f4f238cf] Finished in 0.397 seconds with exit status 0 (successful). DEBUG [c6b45c0e] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [c6b45c0e] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [c6b45c0e] Finished in 0.553 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [6a408219] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6a408219] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6a408219] Finished in 0.386 seconds with exit status 0 (successful). INFO [18acb7b2] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [18acb7b2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56d338a964d52bb8b08a.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [18acb7b2] Finished in 0.349 seconds with exit status 0 (successful). INFO [346be226] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [346be226] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56d338a964d52bb8b08a.sh" ; /usr/bin/env git remote update --prune ) INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:36:20 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a4a24b6a] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [a4a24b6a] Command: ~/.rvm/bin/rvm version DEBUG [a4a24b6a] rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [a4a24b6a] DEBUG [a4a24b6a] Finished in 1.980 seconds with exit status 0 (successful). DEBUG [a8a4a6a5] Running ~/.rvm/bin/rvm current as deploy@18.136.197.163 DEBUG [a8a4a6a5] Command: ~/.rvm/bin/rvm current DEBUG [a8a4a6a5] ruby-3.0.3 DEBUG [a8a4a6a5] DEBUG [a8a4a6a5] Finished in 0.518 seconds with exit status 0 (successful). DEBUG [bbf43448] Running ~/.rvm/bin/rvm default do ruby --version as deploy@18.136.197.163 DEBUG [bbf43448] Command: ~/.rvm/bin/rvm default do ruby --version DEBUG [bbf43448] ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x86_64-linux] DEBUG [bbf43448] DEBUG [bbf43448] Finished in 0.804 seconds with exit status 0 (successful). INFO [091830ae] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [091830ae] Command: /usr/bin/env mkdir -p /tmp INFO [091830ae] Finished in 0.351 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-a18de5211027b85f6b9e.sh 0.0% INFO Uploading /tmp/git-ssh-a18de5211027b85f6b9e.sh 100.0% INFO [9220de74] Running /usr/bin/env chmod 700 /tmp/git-ssh-a18de5211027b85f6b9e.sh as deploy@18.136.197.163 DEBUG [9220de74] Command: /usr/bin/env chmod 700 /tmp/git-ssh-a18de5211027b85f6b9e.sh INFO [9220de74] Finished in 0.338 seconds with exit status 0 (successful). INFO [0242bbad] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [0242bbad] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a18de5211027b85f6b9e.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [0242bbad] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [0242bbad] HEAD INFO [0242bbad] Finished in 3.558 seconds with exit status 0 (successful). INFO [aafe1103] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [aafe1103] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [aafe1103] Finished in 0.375 seconds with exit status 0 (successful). INFO [6a0defc4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [6a0defc4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets INFO [6a0defc4] Finished in 0.396 seconds with exit status 0 (successful). INFO [c5b2481e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [c5b2481e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config INFO [c5b2481e] Finished in 0.343 seconds with exit status 0 (successful). DEBUG [4a012641] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [4a012641] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [4a012641] Finished in 0.373 seconds with exit status 0 (successful). DEBUG [c3200db8] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [c3200db8] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [c3200db8] Finished in 0.349 seconds with exit status 0 (successful). DEBUG [a7baede5] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [a7baede5] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [a7baede5] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [4b045f26] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [4b045f26] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [4b045f26] Finished in 0.337 seconds with exit status 0 (successful). DEBUG [976f6974] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [976f6974] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [976f6974] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [976f6974] DEBUG [976f6974] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [d01c8f8b] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [d01c8f8b] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [d01c8f8b] Finished in 0.341 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [bf16e978] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bf16e978] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bf16e978] Finished in 0.379 seconds with exit status 0 (successful). INFO [cb45d07e] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [cb45d07e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a18de5211027b85f6b9e.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [cb45d07e] Finished in 0.342 seconds with exit status 0 (successful). INFO [82deef8c] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [82deef8c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a18de5211027b85f6b9e.sh" ; /usr/bin/env git remote update --prune ) DEBUG [82deef8c] Fetching origin DEBUG [82deef8c] INFO [82deef8c] Finished in 3.309 seconds with exit status 0 (successful). DEBUG [04ff4d4a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [04ff4d4a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [04ff4d4a] Finished in 0.299 seconds with exit status 0 (successful). INFO [27fdcb2c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093631 as deploy@18.136.197.163 DEBUG [27fdcb2c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a18de5211027b85f6b9e.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093631 ) INFO [27fdcb2c] Finished in 0.386 seconds with exit status 0 (successful). INFO [66e9095f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229093631 as deploy@18.136.197.163 DEBUG [66e9095f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a18de5211027b85f6b9e.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229093631 ) INFO [66e9095f] Finished in 0.366 seconds with exit status 0 (successful). DEBUG [79dac570] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [79dac570] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [79dac570] Finished in 0.375 seconds with exit status 0 (successful). DEBUG [570e4bac] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [570e4bac] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a18de5211027b85f6b9e.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [570e4bac] ffa206ff77c5e8fa467c3f8a5340e45b605402c0 DEBUG [570e4bac] DEBUG [570e4bac] Finished in 0.343 seconds with exit status 0 (successful). DEBUG [3d94c105] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093631; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093631'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [3d94c105] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093631; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093631'" 1>&2; false; fi DEBUG [3d94c105] Finished in 0.373 seconds with exit status 0 (successful). INFO [d7fd0281] Running /usr/bin/env echo "ffa206ff77c5e8fa467c3f8a5340e45b605402c0" > REVISION as deploy@18.136.197.163 DEBUG [d7fd0281] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093631 && /usr/bin/env echo "ffa206ff77c5e8fa467c3f8a5340e45b605402c0" > REVISION INFO [d7fd0281] Finished in 0.310 seconds with exit status 0 (successful). INFO [891c7764] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093631/config as deploy@18.136.197.163 DEBUG [891c7764] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093631/config INFO [891c7764] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [9f90ec0a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml ] as deploy@18.136.197.163 DEBUG [9f90ec0a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml ] DEBUG [9f90ec0a] Finished in 0.336 seconds with exit status 1 (failed). DEBUG [23c6659e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml ] as deploy@18.136.197.163 DEBUG [23c6659e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml ] DEBUG [23c6659e] Finished in 0.392 seconds with exit status 0 (successful). INFO [12a2475c] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml as deploy@18.136.197.163 DEBUG [12a2475c] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml INFO [12a2475c] Finished in 0.337 seconds with exit status 0 (successful). INFO [61e5896e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml as deploy@18.136.197.163 DEBUG [61e5896e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229093631/config/database.yml INFO [61e5896e] Finished in 0.528 seconds with exit status 0 (successful). DEBUG [d9511956] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/config/application.yml ] as deploy@18.136.197.163 DEBUG [d9511956] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/config/application.yml ] DEBUG [d9511956] Finished in 0.463 seconds with exit status 1 (failed). DEBUG [32f7e90b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229093631/config/application.yml ] as deploy@18.136.197.163 DEBUG [32f7e90b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229093631/config/application.yml ] DEBUG [32f7e90b] Finished in 0.343 seconds with exit status 1 (failed). INFO [9f23dec5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229093631/config/application.yml as deploy@18.136.197.163 DEBUG [9f23dec5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229093631/config/application.yml INFO [9f23dec5] Finished in 0.398 seconds with exit status 0 (successful). INFO [ac2471bb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093631 /home/deploy/apps/aoumi_server/releases/20221229093631/tmp /home/deploy/apps/aoumi_server/releases/20221229093631/vendor /home/deploy/apps/aoumi_server/releases/20221229093631/public as deploy@18.136.197.163 DEBUG [ac2471bb] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093631 /home/deploy/apps/aoumi_server/releases/20221229093631/tmp /home/deploy/apps/aoumi_server/releases/20221229093631/vendor /home/deploy/apps/aoumi_server/releases/20221229093631/public INFO [ac2471bb] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [d8c7430c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/log ] as deploy@18.136.197.163 DEBUG [d8c7430c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/log ] DEBUG [d8c7430c] Finished in 0.375 seconds with exit status 1 (failed). DEBUG [611739c7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/log ] as deploy@18.136.197.163 DEBUG [611739c7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/log ] DEBUG [611739c7] Finished in 0.342 seconds with exit status 0 (successful). INFO [3d96a672] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093631/log as deploy@18.136.197.163 DEBUG [3d96a672] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093631/log INFO [3d96a672] Finished in 0.376 seconds with exit status 0 (successful). INFO [b2dd0ef3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229093631/log as deploy@18.136.197.163 DEBUG [b2dd0ef3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229093631/log INFO [b2dd0ef3] Finished in 0.335 seconds with exit status 0 (successful). DEBUG [67325570] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids ] as deploy@18.136.197.163 DEBUG [67325570] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids ] DEBUG [67325570] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [3ff9f6b9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids ] as deploy@18.136.197.163 DEBUG [3ff9f6b9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids ] DEBUG [3ff9f6b9] Finished in 0.340 seconds with exit status 0 (successful). INFO [930e0826] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids as deploy@18.136.197.163 DEBUG [930e0826] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids INFO [930e0826] Finished in 0.397 seconds with exit status 0 (successful). INFO [5a2d744e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids as deploy@18.136.197.163 DEBUG [5a2d744e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/pids INFO [5a2d744e] Finished in 0.340 seconds with exit status 0 (successful). DEBUG [094d71ae] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/cache ] as deploy@18.136.197.163 DEBUG [094d71ae] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/cache ] DEBUG [094d71ae] Finished in 0.379 seconds with exit status 1 (failed). DEBUG [1a2601bc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/cache ] as deploy@18.136.197.163 DEBUG [1a2601bc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/cache ] DEBUG [1a2601bc] Finished in 0.348 seconds with exit status 1 (failed). INFO [930f1d6d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/cache as deploy@18.136.197.163 DEBUG [930f1d6d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/cache INFO [930f1d6d] Finished in 0.375 seconds with exit status 0 (successful). DEBUG [4132cf4e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/sockets ] as deploy@18.136.197.163 DEBUG [4132cf4e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/sockets ] DEBUG [4132cf4e] Finished in 0.342 seconds with exit status 1 (failed). DEBUG [6176bc00] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/sockets ] as deploy@18.136.197.163 DEBUG [6176bc00] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/sockets ] DEBUG [6176bc00] Finished in 0.377 seconds with exit status 1 (failed). INFO [2884c141] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/sockets as deploy@18.136.197.163 DEBUG [2884c141] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229093631/tmp/sockets INFO [2884c141] Finished in 0.344 seconds with exit status 0 (successful). DEBUG [fc521296] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/vendor/bundle ] as deploy@18.136.197.163 DEBUG [fc521296] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/vendor/bundle ] DEBUG [fc521296] Finished in 0.382 seconds with exit status 1 (failed). DEBUG [2c8cfa99] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/vendor/bundle ] as deploy@18.136.197.163 DEBUG [2c8cfa99] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/vendor/bundle ] DEBUG [2c8cfa99] Finished in 0.358 seconds with exit status 1 (failed). INFO [6fe36aee] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229093631/vendor/bundle as deploy@18.136.197.163 DEBUG [6fe36aee] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229093631/vendor/bundle INFO [6fe36aee] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [6b3a2e90] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/public/system ] as deploy@18.136.197.163 DEBUG [6b3a2e90] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/public/system ] DEBUG [6b3a2e90] Finished in 0.379 seconds with exit status 1 (failed). DEBUG [df53e81f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/public/system ] as deploy@18.136.197.163 DEBUG [df53e81f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/public/system ] DEBUG [df53e81f] Finished in 0.407 seconds with exit status 1 (failed). INFO [a164f884] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229093631/public/system as deploy@18.136.197.163 DEBUG [a164f884] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229093631/public/system INFO [a164f884] Finished in 0.336 seconds with exit status 0 (successful). DEBUG [a1351155] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/public/uploads ] as deploy@18.136.197.163 DEBUG [a1351155] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/public/uploads ] DEBUG [a1351155] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [34720b0a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/public/uploads ] as deploy@18.136.197.163 DEBUG [34720b0a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/public/uploads ] DEBUG [34720b0a] Finished in 0.472 seconds with exit status 1 (failed). INFO [900820fc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229093631/public/uploads as deploy@18.136.197.163 DEBUG [900820fc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229093631/public/uploads INFO [900820fc] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [cff36142] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/public/assets ] as deploy@18.136.197.163 DEBUG [cff36142] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093631/public/assets ] DEBUG [cff36142] Finished in 0.346 seconds with exit status 1 (failed). DEBUG [941dc1d9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/public/assets ] as deploy@18.136.197.163 DEBUG [941dc1d9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093631/public/assets ] DEBUG [941dc1d9] Finished in 0.476 seconds with exit status 1 (failed). INFO [0dd26037] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229093631/public/assets as deploy@18.136.197.163 DEBUG [0dd26037] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229093631/public/assets INFO [0dd26037] Finished in 0.339 seconds with exit status 0 (successful). DEBUG [bbe4f7fb] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093631; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093631'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bbe4f7fb] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093631; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093631'" 1>&2; false; fi DEBUG [bbe4f7fb] Finished in 0.421 seconds with exit status 0 (successful). INFO [30cfd3fb] Running ~/.rvm/bin/rvm default do bundle config --local deployment true as deploy@18.136.197.163 DEBUG [30cfd3fb] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093631 && ~/.rvm/bin/rvm default do bundle config --local deployment true INFO [30cfd3fb] Finished in 0.989 seconds with exit status 0 (successful). INFO [cea90177] Running ~/.rvm/bin/rvm default do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [cea90177] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093631 && ~/.rvm/bin/rvm default do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [cea90177] Finished in 0.956 seconds with exit status 0 (successful). INFO [742f4276] Running ~/.rvm/bin/rvm default do bundle config --local without development:test as deploy@18.136.197.163 DEBUG [742f4276] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093631 && ~/.rvm/bin/rvm default do bundle config --local without development:test INFO [742f4276] Finished in 1.032 seconds with exit status 0 (successful). DEBUG [3cf86bbc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093631; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093631'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [3cf86bbc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093631; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093631'" 1>&2; false; fi DEBUG [3cf86bbc] Finished in 0.373 seconds with exit status 0 (successful). DEBUG [7d8a446c] Running ~/.rvm/bin/rvm default do bundle check as deploy@18.136.197.163 DEBUG [7d8a446c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093631 && ~/.rvm/bin/rvm default do bundle check DEBUG [7d8a446c] Your Ruby version is 3.0.3, but your Gemfile specified 3.0.0 DEBUG [7d8a446c] DEBUG [7d8a446c] Finished in 1.183 seconds with exit status 18 (failed). INFO [95493340] Running ~/.rvm/bin/rvm default do bundle install --jobs 4 --quiet as deploy@18.136.197.163 DEBUG [95493340] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093631 && ~/.rvm/bin/rvm default do bundle install --jobs 4 --quiet DEBUG [95493340] Your Ruby version is 3.0.3, but your Gemfile specified 3.0.0 DEBUG [95493340] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:37:00 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [2bdb45fb] Running ~/.rvm/bin/rvm version as deploy@18.136.197.163 DEBUG [2bdb45fb] Command: ~/.rvm/bin/rvm version DEBUG [2bdb45fb] rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [2bdb45fb] DEBUG [2bdb45fb] Finished in 2.008 seconds with exit status 0 (successful). DEBUG [1def5138] Running ~/.rvm/bin/rvm current as deploy@18.136.197.163 DEBUG [1def5138] Command: ~/.rvm/bin/rvm current DEBUG [1def5138] ruby-3.0.3 DEBUG [1def5138] DEBUG [1def5138] Finished in 0.526 seconds with exit status 0 (successful). DEBUG [cff751c5] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@18.136.197.163 DEBUG [cff751c5] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [cff751c5] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [cff751c5] DEBUG [cff751c5] Finished in 0.768 seconds with exit status 0 (successful). INFO [219f5aad] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [219f5aad] Command: /usr/bin/env mkdir -p /tmp INFO [219f5aad] Finished in 0.347 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-76e0c77d2952ec4adb29.sh 0.0% INFO Uploading /tmp/git-ssh-76e0c77d2952ec4adb29.sh 100.0% INFO [98168d53] Running /usr/bin/env chmod 700 /tmp/git-ssh-76e0c77d2952ec4adb29.sh as deploy@18.136.197.163 DEBUG [98168d53] Command: /usr/bin/env chmod 700 /tmp/git-ssh-76e0c77d2952ec4adb29.sh INFO [98168d53] Finished in 0.360 seconds with exit status 0 (successful). INFO [62d2459a] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [62d2459a] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-76e0c77d2952ec4adb29.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [62d2459a] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [62d2459a] DEBUG [62d2459a] HEAD INFO [62d2459a] Finished in 3.612 seconds with exit status 0 (successful). INFO [ff6ca678] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [ff6ca678] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [ff6ca678] Finished in 0.311 seconds with exit status 0 (successful). INFO [4dbc507d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [4dbc507d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets INFO [4dbc507d] Finished in 0.383 seconds with exit status 0 (successful). INFO [e30a1bd5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [e30a1bd5] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config INFO [e30a1bd5] Finished in 0.348 seconds with exit status 0 (successful). DEBUG [58d64a94] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [58d64a94] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [58d64a94] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [c68feb2c] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [c68feb2c] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [c68feb2c] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [233c22d5] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [233c22d5] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [233c22d5] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [2a1c11d8] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [2a1c11d8] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [2a1c11d8] Finished in 0.349 seconds with exit status 0 (successful). DEBUG [33af9127] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [33af9127] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [33af9127] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [33af9127] DEBUG [33af9127] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [9e18658f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [9e18658f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [9e18658f] Finished in 0.348 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [bff12a63] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bff12a63] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bff12a63] Finished in 0.413 seconds with exit status 0 (successful). INFO [08802a6b] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [08802a6b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-76e0c77d2952ec4adb29.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [08802a6b] Finished in 0.359 seconds with exit status 0 (successful). INFO [1b74e5b9] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [1b74e5b9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-76e0c77d2952ec4adb29.sh" ; /usr/bin/env git remote update --prune ) DEBUG [1b74e5b9] Fetching origin DEBUG [1b74e5b9] INFO [1b74e5b9] Finished in 3.501 seconds with exit status 0 (successful). DEBUG [a0a8bbc3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a0a8bbc3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [a0a8bbc3] Finished in 0.408 seconds with exit status 0 (successful). INFO [39b75394] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093711 as deploy@18.136.197.163 DEBUG [39b75394] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-76e0c77d2952ec4adb29.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093711 ) INFO [39b75394] Finished in 0.386 seconds with exit status 0 (successful). INFO [4de15a87] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229093711 as deploy@18.136.197.163 DEBUG [4de15a87] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-76e0c77d2952ec4adb29.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229093711 ) INFO [4de15a87] Finished in 0.379 seconds with exit status 0 (successful). DEBUG [5d36dc01] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5d36dc01] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5d36dc01] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [19622951] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [19622951] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-76e0c77d2952ec4adb29.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [19622951] ffa206ff77c5e8fa467c3f8a5340e45b605402c0 DEBUG [19622951] DEBUG [19622951] Finished in 0.348 seconds with exit status 0 (successful). DEBUG [bf02b5d0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bf02b5d0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi DEBUG [bf02b5d0] Finished in 0.393 seconds with exit status 0 (successful). INFO [dc047934] Running /usr/bin/env echo "ffa206ff77c5e8fa467c3f8a5340e45b605402c0" > REVISION as deploy@18.136.197.163 DEBUG [dc047934] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093711 && /usr/bin/env echo "ffa206ff77c5e8fa467c3f8a5340e45b605402c0" > REVISION INFO [dc047934] Finished in 0.351 seconds with exit status 0 (successful). INFO [b52cb091] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093711/config as deploy@18.136.197.163 DEBUG [b52cb091] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093711/config INFO [b52cb091] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [f7f0dfff] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml ] as deploy@18.136.197.163 DEBUG [f7f0dfff] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml ] DEBUG [f7f0dfff] Finished in 0.354 seconds with exit status 1 (failed). DEBUG [7fe5c81f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml ] as deploy@18.136.197.163 DEBUG [7fe5c81f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml ] DEBUG [7fe5c81f] Finished in 0.394 seconds with exit status 0 (successful). INFO [66acc4f7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml as deploy@18.136.197.163 DEBUG [66acc4f7] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml INFO [66acc4f7] Finished in 0.348 seconds with exit status 0 (successful). INFO [aba90ed7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml as deploy@18.136.197.163 DEBUG [aba90ed7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229093711/config/database.yml INFO [aba90ed7] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [12384e76] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/config/application.yml ] as deploy@18.136.197.163 DEBUG [12384e76] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/config/application.yml ] DEBUG [12384e76] Finished in 0.360 seconds with exit status 1 (failed). DEBUG [55638e02] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229093711/config/application.yml ] as deploy@18.136.197.163 DEBUG [55638e02] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229093711/config/application.yml ] DEBUG [55638e02] Finished in 0.411 seconds with exit status 1 (failed). INFO [0830c606] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229093711/config/application.yml as deploy@18.136.197.163 DEBUG [0830c606] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229093711/config/application.yml INFO [0830c606] Finished in 0.368 seconds with exit status 0 (successful). INFO [5adf4b7f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093711 /home/deploy/apps/aoumi_server/releases/20221229093711/tmp /home/deploy/apps/aoumi_server/releases/20221229093711/vendor /home/deploy/apps/aoumi_server/releases/20221229093711/public as deploy@18.136.197.163 DEBUG [5adf4b7f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229093711 /home/deploy/apps/aoumi_server/releases/20221229093711/tmp /home/deploy/apps/aoumi_server/releases/20221229093711/vendor /home/deploy/apps/aoumi_server/releases/20221229093711/public INFO [5adf4b7f] Finished in 0.398 seconds with exit status 0 (successful). DEBUG [507c2d74] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/log ] as deploy@18.136.197.163 DEBUG [507c2d74] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/log ] DEBUG [507c2d74] Finished in 0.353 seconds with exit status 1 (failed). DEBUG [1b56d542] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/log ] as deploy@18.136.197.163 DEBUG [1b56d542] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/log ] DEBUG [1b56d542] Finished in 0.395 seconds with exit status 0 (successful). INFO [d1a746ad] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093711/log as deploy@18.136.197.163 DEBUG [d1a746ad] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093711/log INFO [d1a746ad] Finished in 0.344 seconds with exit status 0 (successful). INFO [1a40a7c2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229093711/log as deploy@18.136.197.163 DEBUG [1a40a7c2] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229093711/log INFO [1a40a7c2] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [e5c0899a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids ] as deploy@18.136.197.163 DEBUG [e5c0899a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids ] DEBUG [e5c0899a] Finished in 0.342 seconds with exit status 1 (failed). DEBUG [11b622dd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids ] as deploy@18.136.197.163 DEBUG [11b622dd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids ] DEBUG [11b622dd] Finished in 0.388 seconds with exit status 0 (successful). INFO [888a94b4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids as deploy@18.136.197.163 DEBUG [888a94b4] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids INFO [888a94b4] Finished in 0.350 seconds with exit status 0 (successful). INFO [df59db16] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids as deploy@18.136.197.163 DEBUG [df59db16] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/pids INFO [df59db16] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [94529550] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/cache ] as deploy@18.136.197.163 DEBUG [94529550] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/cache ] DEBUG [94529550] Finished in 0.345 seconds with exit status 1 (failed). DEBUG [b70073a4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/cache ] as deploy@18.136.197.163 DEBUG [b70073a4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/cache ] DEBUG [b70073a4] Finished in 0.392 seconds with exit status 1 (failed). INFO [114f94b0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/cache as deploy@18.136.197.163 DEBUG [114f94b0] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/cache INFO [114f94b0] Finished in 0.361 seconds with exit status 0 (successful). DEBUG [cd66f33e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/sockets ] as deploy@18.136.197.163 DEBUG [cd66f33e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/sockets ] DEBUG [cd66f33e] Finished in 0.394 seconds with exit status 1 (failed). DEBUG [b841978c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/sockets ] as deploy@18.136.197.163 DEBUG [b841978c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/sockets ] DEBUG [b841978c] Finished in 0.347 seconds with exit status 1 (failed). INFO [993a9fb3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/sockets as deploy@18.136.197.163 DEBUG [993a9fb3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229093711/tmp/sockets INFO [993a9fb3] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [570483fc] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/vendor/bundle ] as deploy@18.136.197.163 DEBUG [570483fc] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/vendor/bundle ] DEBUG [570483fc] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [78aa6d17] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/vendor/bundle ] as deploy@18.136.197.163 DEBUG [78aa6d17] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/vendor/bundle ] DEBUG [78aa6d17] Finished in 0.508 seconds with exit status 1 (failed). INFO [aa56d9cd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229093711/vendor/bundle as deploy@18.136.197.163 DEBUG [aa56d9cd] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229093711/vendor/bundle INFO [aa56d9cd] Finished in 0.355 seconds with exit status 0 (successful). DEBUG [025918f5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/public/system ] as deploy@18.136.197.163 DEBUG [025918f5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/public/system ] DEBUG [025918f5] Finished in 0.398 seconds with exit status 1 (failed). DEBUG [d21831bf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/public/system ] as deploy@18.136.197.163 DEBUG [d21831bf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/public/system ] DEBUG [d21831bf] Finished in 0.404 seconds with exit status 1 (failed). INFO [4ec5af8c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229093711/public/system as deploy@18.136.197.163 DEBUG [4ec5af8c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229093711/public/system INFO [4ec5af8c] Finished in 0.416 seconds with exit status 0 (successful). DEBUG [87d5e364] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/public/uploads ] as deploy@18.136.197.163 DEBUG [87d5e364] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/public/uploads ] DEBUG [87d5e364] Finished in 0.403 seconds with exit status 1 (failed). DEBUG [08d777d9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/public/uploads ] as deploy@18.136.197.163 DEBUG [08d777d9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/public/uploads ] DEBUG [08d777d9] Finished in 0.397 seconds with exit status 1 (failed). INFO [d35b2ffe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229093711/public/uploads as deploy@18.136.197.163 DEBUG [d35b2ffe] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229093711/public/uploads INFO [d35b2ffe] Finished in 0.351 seconds with exit status 0 (successful). DEBUG [6adc13ca] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/public/assets ] as deploy@18.136.197.163 DEBUG [6adc13ca] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229093711/public/assets ] DEBUG [6adc13ca] Finished in 0.383 seconds with exit status 1 (failed). DEBUG [a19a4648] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/public/assets ] as deploy@18.136.197.163 DEBUG [a19a4648] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229093711/public/assets ] DEBUG [a19a4648] Finished in 0.362 seconds with exit status 1 (failed). INFO [25183d33] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229093711/public/assets as deploy@18.136.197.163 DEBUG [25183d33] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229093711/public/assets INFO [25183d33] Finished in 0.394 seconds with exit status 0 (successful). DEBUG [4ab775b2] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4ab775b2] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi DEBUG [4ab775b2] Finished in 0.355 seconds with exit status 0 (successful). INFO [a3c4bbdc] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@18.136.197.163 DEBUG [a3c4bbdc] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093711 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [a3c4bbdc] Finished in 1.067 seconds with exit status 0 (successful). INFO [8c820338] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [8c820338] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093711 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [8c820338] Finished in 1.353 seconds with exit status 0 (successful). INFO [03d6fc48] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@18.136.197.163 DEBUG [03d6fc48] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093711 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [03d6fc48] Finished in 1.091 seconds with exit status 0 (successful). DEBUG [e5346d99] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e5346d99] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi DEBUG [e5346d99] Finished in 0.343 seconds with exit status 0 (successful). DEBUG [5e6b5ee4] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@18.136.197.163 DEBUG [5e6b5ee4] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093711 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [5e6b5ee4] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [5e6b5ee4] DEBUG [5e6b5ee4]  DEBUG [5e6b5ee4] The Gemfile's dependencies are satisfied DEBUG [5e6b5ee4] DEBUG [5e6b5ee4] Finished in 1.273 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [2b268005] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2b268005] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229093711; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229093711'" 1>&2; false; fi DEBUG [2b268005] Finished in 0.368 seconds with exit status 0 (successful). INFO [2c7ed517] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [2c7ed517] Command: cd /home/deploy/apps/aoumi_server/releases/20221229093711 && ( export RAILS_ENV="development" RAILS_GROUPS="" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake assets:precompile ) DEBUG [2c7ed517] /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/x86_64-linux/continuation.so: warning: callcc is obsolete; use Fiber instead DEBUG [2c7ed517] DEBUG [2c7ed517] Debug.rb DEBUG [2c7ed517] DEBUG [2c7ed517] Emacs support available. DEBUG [2c7ed517] DEBUG [2c7ed517] DEBUG [2c7ed517] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31: Bootsnap::LoadPathCache.loaded_features_index.register(string_path, resolved) DEBUG [2c7ed517] DEBUG [2c7ed517] (rdb:1) INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:41:16 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ab79207d] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [ab79207d] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [ab79207d] Finished in 2.153 seconds with exit status 1 (failed). WARN rbenv: 3.0.0 is not installed or not found in $HOME/.rbenv/versions/3.0.0 on 18.136.197.163 INFO --------------------------------------------------------------------------- INFO START 2022-12-29 16:59:01 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [7068ac3d] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [7068ac3d] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [7068ac3d] Finished in 1.641 seconds with exit status 0 (successful). INFO [8ca4f340] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [8ca4f340] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [8ca4f340] Finished in 0.179 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-be7dd6de84a1491acf8d.sh 0.0% INFO Uploading /tmp/git-ssh-be7dd6de84a1491acf8d.sh 100.0% INFO [12b78299] Running /usr/bin/env chmod 700 /tmp/git-ssh-be7dd6de84a1491acf8d.sh as deploy@18.136.197.163 DEBUG [12b78299] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-be7dd6de84a1491acf8d.sh ) INFO [12b78299] Finished in 0.122 seconds with exit status 0 (successful). INFO [67194a5f] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [67194a5f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be7dd6de84a1491acf8d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [67194a5f] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [67194a5f] HEAD INFO [67194a5f] Finished in 2.897 seconds with exit status 0 (successful). INFO [df250c6c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [df250c6c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [df250c6c] Finished in 0.098 seconds with exit status 0 (successful). INFO [376c392a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [376c392a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [376c392a] Finished in 0.100 seconds with exit status 0 (successful). INFO [b9a3c0c9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [b9a3c0c9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [b9a3c0c9] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [71cbe218] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [71cbe218] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [71cbe218] Finished in 0.120 seconds with exit status 0 (successful). DEBUG [4905e295] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [4905e295] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [4905e295] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [2026c8a2] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [2026c8a2] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [2026c8a2] Finished in 0.126 seconds with exit status 0 (successful). DEBUG [340fc855] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [340fc855] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [340fc855] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [17981fcf] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [17981fcf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [17981fcf] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [17981fcf] DEBUG [17981fcf] Finished in 0.124 seconds with exit status 0 (successful). DEBUG [db2cd2f3] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [db2cd2f3] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [db2cd2f3] Finished in 0.151 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [f8a1e57a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f8a1e57a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f8a1e57a] Finished in 0.098 seconds with exit status 0 (successful). INFO [4e80ff0c] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [4e80ff0c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be7dd6de84a1491acf8d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [4e80ff0c] Finished in 0.159 seconds with exit status 0 (successful). INFO [3484aa2a] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [3484aa2a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be7dd6de84a1491acf8d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [3484aa2a] Fetching origin DEBUG [3484aa2a] DEBUG [3484aa2a] remote: Enumerating objects: 22, done. DEBUG [3484aa2a] DEBUG [3484aa2a] remote: Counting objects: 4% (1/22) DEBUG [3484aa2a] remote: Counting objects: 9% (2/22) DEBUG [3484aa2a] remote: Counting objects: 13% (3/22) DEBUG [3484aa2a] remote: Counting objects: 18% (4/22) DEBUG [3484aa2a] remote: Counting objects: 22% (5/22) DEBUG [3484aa2a] remote: Counting objects: 27% (6/22) DEBUG [3484aa2a] remote: Counting objects: 31% (7/22) DEBUG [3484aa2a] remote: Counting objects: 36% (8/22) DEBUG [3484aa2a] remote: Counting objects: 40% (9/22) DEBUG [3484aa2a] remote: Counting objects: 45% (10/22) DEBUG [3484aa2a] remote: Counting objects: 50% (11/22) DEBUG [3484aa2a] remote: Counting objects: 54% (12/22) DEBUG [3484aa2a] remote: Counting objects: 59% (13/22) DEBUG [3484aa2a] remote: Counting objects: 63% (14/22) DEBUG [3484aa2a] remote: Counting objects: 68% (15/22) DEBUG [3484aa2a] remote: Counting objects: 72% (16/22) DEBUG [3484aa2a] remote: Counting objects: 77% (17/22) DEBUG [3484aa2a] remote: Counting objects: 81% (18/22) DEBUG [3484aa2a] remote: Counting objects: 86% (19/22) DEBUG [3484aa2a] remote: Counting objects: 90% (20/22) DEBUG [3484aa2a] remote: Counting objects: 95% (21/22) DEBUG [3484aa2a] remote: Counting objects: 100% (22/22) DEBUG [3484aa2a] remote: Counting objects: 100% (22/22), done. DEBUG [3484aa2a] DEBUG [3484aa2a] remote: Compressing objects: 25% (1/4) DEBUG [3484aa2a] remote: Compressing objects: 50% (2/4) DEBUG [3484aa2a] remote: Compressing objects: 75% (3/4) DEBUG [3484aa2a] remote: Compressing objects: 100% (4/4) DEBUG [3484aa2a] remote: Compressing objects: 100% (4/4), done. DEBUG [3484aa2a] DEBUG [3484aa2a] remote: Total 12 (delta 7), reused 12 (delta 7), pack-reused 0 DEBUG [3484aa2a] DEBUG [3484aa2a] Unpacking objects: 8% (1/12) DEBUG [3484aa2a] Unpacking objects: 16% (2/12) DEBUG [3484aa2a] Unpacking objects: 25% (3/12) DEBUG [3484aa2a] Unpacking objects: 33% (4/12) DEBUG [3484aa2a] Unpacking objects: 41% (5/12) DEBUG [3484aa2a] Unpacking objects: 50% (6/12) DEBUG [3484aa2a] Unpacking objects: 58% (7/12) DEBUG [3484aa2a] Unpacking objects: 66% (8/12) DEBUG [3484aa2a] Unpacking objects: 75% (9/12) DEBUG [3484aa2a] Unpacking objects: 83% (10/12) DEBUG [3484aa2a] Unpacking objects: 91% (11/12) DEBUG [3484aa2a] Unpacking objects: 100% (12/12) DEBUG [3484aa2a] Unpacking objects: 100% (12/12), done. DEBUG [3484aa2a] DEBUG [3484aa2a] From github.com:huythanh176/aoumi_server DEBUG [3484aa2a] DEBUG [3484aa2a] + ffa206f...016c09e develop -> develop (forced update) DEBUG [3484aa2a] INFO [3484aa2a] Finished in 3.205 seconds with exit status 0 (successful). DEBUG [655aa75f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [655aa75f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [655aa75f] Finished in 0.080 seconds with exit status 0 (successful). INFO [bfc950ab] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229095907 as deploy@18.136.197.163 DEBUG [bfc950ab] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be7dd6de84a1491acf8d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229095907 ) INFO [bfc950ab] Finished in 0.179 seconds with exit status 0 (successful). INFO [44ca8095] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229095907 as deploy@18.136.197.163 DEBUG [44ca8095] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be7dd6de84a1491acf8d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229095907 ) INFO [44ca8095] Finished in 0.171 seconds with exit status 0 (successful). DEBUG [e100d9ae] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e100d9ae] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e100d9ae] Finished in 0.168 seconds with exit status 0 (successful). DEBUG [5ee64eef] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [5ee64eef] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be7dd6de84a1491acf8d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [5ee64eef] 016c09e3970efe2272665db611c25075c4984170 DEBUG [5ee64eef] DEBUG [5ee64eef] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [a3c83e1c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a3c83e1c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi DEBUG [a3c83e1c] Finished in 0.170 seconds with exit status 0 (successful). INFO [ef7605f2] Running /usr/bin/env echo "016c09e3970efe2272665db611c25075c4984170" > REVISION as deploy@18.136.197.163 DEBUG [ef7605f2] Command: cd /home/deploy/apps/aoumi_server/releases/20221229095907 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "016c09e3970efe2272665db611c25075c4984170" > REVISION ) INFO [ef7605f2] Finished in 0.118 seconds with exit status 0 (successful). INFO [6ebae447] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229095907/config as deploy@18.136.197.163 DEBUG [6ebae447] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229095907/config ) INFO [6ebae447] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [d614ec94] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml ] as deploy@18.136.197.163 DEBUG [d614ec94] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml ] DEBUG [d614ec94] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [879d3ffe] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml ] as deploy@18.136.197.163 DEBUG [879d3ffe] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml ] DEBUG [879d3ffe] Finished in 0.175 seconds with exit status 0 (successful). INFO [f07cc928] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml as deploy@18.136.197.163 DEBUG [f07cc928] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml ) INFO [f07cc928] Finished in 0.120 seconds with exit status 0 (successful). INFO [3cf266bf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml as deploy@18.136.197.163 DEBUG [3cf266bf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229095907/config/database.yml ) INFO [3cf266bf] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [55452278] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/config/application.yml ] as deploy@18.136.197.163 DEBUG [55452278] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/config/application.yml ] DEBUG [55452278] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [77624294] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229095907/config/application.yml ] as deploy@18.136.197.163 DEBUG [77624294] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229095907/config/application.yml ] DEBUG [77624294] Finished in 0.142 seconds with exit status 1 (failed). INFO [cf20766d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229095907/config/application.yml as deploy@18.136.197.163 DEBUG [cf20766d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229095907/config/application.yml ) INFO [cf20766d] Finished in 0.106 seconds with exit status 0 (successful). INFO [63ab8f93] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229095907 /home/deploy/apps/aoumi_server/releases/20221229095907/tmp /home/deploy/apps/aoumi_server/releases/20221229095907/vendor /home/deploy/apps/aoumi_server/releases/20221229095907/public as deploy@18.136.197.163 DEBUG [63ab8f93] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229095907 /home/deploy/apps/aoumi_server/releases/20221229095907/tmp /home/deploy/apps/aoumi_server/releases/20221229095907/vendor /home/deploy/apps/aoumi_server/releases/20221229095907/public ) INFO [63ab8f93] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [eaa4eb2e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/log ] as deploy@18.136.197.163 DEBUG [eaa4eb2e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/log ] DEBUG [eaa4eb2e] Finished in 0.250 seconds with exit status 1 (failed). DEBUG [085bb077] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/log ] as deploy@18.136.197.163 DEBUG [085bb077] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/log ] DEBUG [085bb077] Finished in 0.179 seconds with exit status 0 (successful). INFO [bb6394ca] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229095907/log as deploy@18.136.197.163 DEBUG [bb6394ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229095907/log ) INFO [bb6394ca] Finished in 0.343 seconds with exit status 0 (successful). INFO [79895d37] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229095907/log as deploy@18.136.197.163 DEBUG [79895d37] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229095907/log ) INFO [79895d37] Finished in 0.208 seconds with exit status 0 (successful). DEBUG [d9944b65] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids ] as deploy@18.136.197.163 DEBUG [d9944b65] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids ] DEBUG [d9944b65] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [ffb9f1d8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids ] as deploy@18.136.197.163 DEBUG [ffb9f1d8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids ] DEBUG [ffb9f1d8] Finished in 0.167 seconds with exit status 0 (successful). INFO [1bd3f791] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids as deploy@18.136.197.163 DEBUG [1bd3f791] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids ) INFO [1bd3f791] Finished in 0.155 seconds with exit status 0 (successful). INFO [773668a3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids as deploy@18.136.197.163 DEBUG [773668a3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/pids ) INFO [773668a3] Finished in 0.226 seconds with exit status 0 (successful). DEBUG [dfadd9a8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/cache ] as deploy@18.136.197.163 DEBUG [dfadd9a8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/cache ] DEBUG [dfadd9a8] Finished in 0.117 seconds with exit status 1 (failed). DEBUG [bba4916e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/cache ] as deploy@18.136.197.163 DEBUG [bba4916e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/cache ] DEBUG [bba4916e] Finished in 0.310 seconds with exit status 1 (failed). INFO [abb7a73a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/cache as deploy@18.136.197.163 DEBUG [abb7a73a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/cache ) INFO [abb7a73a] Finished in 0.204 seconds with exit status 0 (successful). DEBUG [1a8fc145] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/sockets ] as deploy@18.136.197.163 DEBUG [1a8fc145] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/sockets ] DEBUG [1a8fc145] Finished in 0.216 seconds with exit status 1 (failed). DEBUG [9718d563] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/sockets ] as deploy@18.136.197.163 DEBUG [9718d563] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/sockets ] DEBUG [9718d563] Finished in 0.148 seconds with exit status 1 (failed). INFO [dcbeaaaf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/sockets as deploy@18.136.197.163 DEBUG [dcbeaaaf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229095907/tmp/sockets ) INFO [dcbeaaaf] Finished in 0.213 seconds with exit status 0 (successful). DEBUG [1b289506] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/vendor/bundle ] as deploy@18.136.197.163 DEBUG [1b289506] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/vendor/bundle ] DEBUG [1b289506] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [6af21103] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/vendor/bundle ] as deploy@18.136.197.163 DEBUG [6af21103] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/vendor/bundle ] DEBUG [6af21103] Finished in 0.213 seconds with exit status 1 (failed). INFO [614b724c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229095907/vendor/bundle as deploy@18.136.197.163 DEBUG [614b724c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229095907/vendor/bundle ) INFO [614b724c] Finished in 0.174 seconds with exit status 0 (successful). DEBUG [d5b29bf4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/public/system ] as deploy@18.136.197.163 DEBUG [d5b29bf4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/public/system ] DEBUG [d5b29bf4] Finished in 0.185 seconds with exit status 1 (failed). DEBUG [0be5a3d5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/public/system ] as deploy@18.136.197.163 DEBUG [0be5a3d5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/public/system ] DEBUG [0be5a3d5] Finished in 0.101 seconds with exit status 1 (failed). INFO [a5f11d58] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229095907/public/system as deploy@18.136.197.163 DEBUG [a5f11d58] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229095907/public/system ) INFO [a5f11d58] Finished in 0.207 seconds with exit status 0 (successful). DEBUG [e5d3585b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/public/uploads ] as deploy@18.136.197.163 DEBUG [e5d3585b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/public/uploads ] DEBUG [e5d3585b] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [475cf3b9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/public/uploads ] as deploy@18.136.197.163 DEBUG [475cf3b9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/public/uploads ] DEBUG [475cf3b9] Finished in 0.233 seconds with exit status 1 (failed). INFO [056422f4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229095907/public/uploads as deploy@18.136.197.163 DEBUG [056422f4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229095907/public/uploads ) INFO [056422f4] Finished in 0.207 seconds with exit status 0 (successful). DEBUG [1befb1af] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/public/assets ] as deploy@18.136.197.163 DEBUG [1befb1af] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229095907/public/assets ] DEBUG [1befb1af] Finished in 0.399 seconds with exit status 1 (failed). DEBUG [8c9f95ee] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/public/assets ] as deploy@18.136.197.163 DEBUG [8c9f95ee] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229095907/public/assets ] DEBUG [8c9f95ee] Finished in 0.417 seconds with exit status 1 (failed). INFO [1d86f965] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229095907/public/assets as deploy@18.136.197.163 DEBUG [1d86f965] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229095907/public/assets ) INFO [1d86f965] Finished in 0.284 seconds with exit status 0 (successful). DEBUG [e4526905] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e4526905] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi DEBUG [e4526905] Finished in 0.460 seconds with exit status 0 (successful). INFO [ae634011] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [ae634011] Command: cd /home/deploy/apps/aoumi_server/releases/20221229095907 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [ae634011] Finished in 0.728 seconds with exit status 0 (successful). INFO [0e85599d] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [0e85599d] Command: cd /home/deploy/apps/aoumi_server/releases/20221229095907 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [0e85599d] Finished in 0.696 seconds with exit status 0 (successful). INFO [402e686c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [402e686c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229095907 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [402e686c] Finished in 0.321 seconds with exit status 0 (successful). DEBUG [c7871434] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c7871434] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi DEBUG [c7871434] Finished in 0.268 seconds with exit status 0 (successful). DEBUG [eb0469da] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [eb0469da] Command: cd /home/deploy/apps/aoumi_server/releases/20221229095907 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [eb0469da] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [eb0469da] DEBUG [eb0469da]  DEBUG [eb0469da] The Gemfile's dependencies are satisfied DEBUG [eb0469da] DEBUG [eb0469da] Finished in 0.763 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [56784f00] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [56784f00] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229095907; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229095907'" 1>&2; false; fi DEBUG [56784f00] Finished in 0.154 seconds with exit status 0 (successful). INFO [f7d34cef] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [f7d34cef] Command: cd /home/deploy/apps/aoumi_server/releases/20221229095907 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [f7d34cef] /home/deploy/.rbenv/versions/3.0.0/lib/ruby/3.0.0/x86_64-linux/continuation.so: warning: callcc is obsolete; use Fiber instead DEBUG [f7d34cef] DEBUG [f7d34cef] Debug.rb DEBUG [f7d34cef] DEBUG [f7d34cef] Emacs support available. DEBUG [f7d34cef] DEBUG [f7d34cef] DEBUG [f7d34cef] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/bootsnap-1.12.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31: Bootsnap::LoadPathCache.loaded_features_index.register(string_path, resolved) DEBUG [f7d34cef] DEBUG [f7d34cef] (rdb:1) INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:04:59 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [6318dd36] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [6318dd36] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [6318dd36] Finished in 1.024 seconds with exit status 0 (successful). INFO [24146ed7] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [24146ed7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [24146ed7] Finished in 0.097 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-da382cad8d2014a8de95.sh 0.0% INFO Uploading /tmp/git-ssh-da382cad8d2014a8de95.sh 100.0% INFO [812ce272] Running /usr/bin/env chmod 700 /tmp/git-ssh-da382cad8d2014a8de95.sh as deploy@18.136.197.163 DEBUG [812ce272] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-da382cad8d2014a8de95.sh ) INFO [812ce272] Finished in 0.145 seconds with exit status 0 (successful). INFO [3604eca0] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [3604eca0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-da382cad8d2014a8de95.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [3604eca0] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [3604eca0] HEAD INFO [3604eca0] Finished in 3.996 seconds with exit status 0 (successful). INFO [d683bb14] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [d683bb14] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [d683bb14] Finished in 0.101 seconds with exit status 0 (successful). INFO [5fddad33] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [5fddad33] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [5fddad33] Finished in 0.221 seconds with exit status 0 (successful). INFO [7159bb88] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [7159bb88] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [7159bb88] Finished in 0.200 seconds with exit status 0 (successful). DEBUG [8c2ea1be] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [8c2ea1be] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [8c2ea1be] Finished in 0.163 seconds with exit status 0 (successful). DEBUG [a70eea1a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [a70eea1a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [a70eea1a] Finished in 0.253 seconds with exit status 0 (successful). DEBUG [ed991b4e] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [ed991b4e] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ed991b4e] Finished in 0.275 seconds with exit status 0 (successful). DEBUG [3b2e0c70] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [3b2e0c70] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [3b2e0c70] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [92490249] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [92490249] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [92490249] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [92490249] DEBUG [92490249] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [9290760f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [9290760f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [9290760f] Finished in 0.211 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [ff47c322] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ff47c322] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ff47c322] Finished in 0.116 seconds with exit status 0 (successful). INFO [0ccb9940] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [0ccb9940] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-da382cad8d2014a8de95.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [0ccb9940] Finished in 0.183 seconds with exit status 0 (successful). INFO [58833a26] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [58833a26] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-da382cad8d2014a8de95.sh" ; /usr/bin/env git remote update --prune ) DEBUG [58833a26] Fetching origin DEBUG [58833a26] DEBUG [58833a26] remote: Enumerating objects: 22, done. DEBUG [58833a26] DEBUG [58833a26] remote: Counting objects: 4% (1/22) DEBUG [58833a26] remote: Counting objects: 9% (2/22) DEBUG [58833a26] remote: Counting objects: 13% (3/22) DEBUG [58833a26] remote: Counting objects: 18% (4/22) DEBUG [58833a26] remote: Counting objects: 22% (5/22) DEBUG [58833a26] remote: Counting objects: 27% (6/22) DEBUG [58833a26] remote: Counting objects: 31% (7/22) DEBUG [58833a26] remote: Counting objects: 36% (8/22) DEBUG [58833a26] remote: Counting objects: 40% (9/22) DEBUG [58833a26] remote: Counting objects: 45% (10/22) DEBUG [58833a26] remote: Counting objects: 50% (11/22) DEBUG [58833a26] remote: Counting objects: 54% (12/22) DEBUG [58833a26] remote: Counting objects: 59% (13/22) DEBUG [58833a26] remote: Counting objects: 63% (14/22) DEBUG [58833a26] remote: Counting objects: 68% (15/22) DEBUG [58833a26] remote: Counting objects: 72% (16/22) DEBUG [58833a26] remote: Counting objects: 77% (17/22) DEBUG [58833a26] remote: Counting objects: 81% (18/22) DEBUG [58833a26] remote: Counting objects: 86% (19/22) DEBUG [58833a26] remote: Counting objects: 90% (20/22) DEBUG [58833a26] remote: Counting objects: 95% (21/22) DEBUG [58833a26] remote: Counting objects: 100% (22/22) DEBUG [58833a26] remote: Counting objects: 100% (22/22), done. DEBUG [58833a26] DEBUG [58833a26] remote: Compressing objects: 25% (1/4) DEBUG [58833a26] remote: Compressing objects: 50% (2/4) DEBUG [58833a26] remote: Compressing objects: 75% (3/4) DEBUG [58833a26] remote: Compressing objects: 100% (4/4) DEBUG [58833a26] remote: Compressing objects: 100% (4/4), done. DEBUG [58833a26] DEBUG [58833a26] remote: Total 12 (delta 7), reused 12 (delta 7), pack-reused 0 DEBUG [58833a26] DEBUG [58833a26] Unpacking objects: 8% (1/12) DEBUG [58833a26] Unpacking objects: 16% (2/12) DEBUG [58833a26] Unpacking objects: 25% (3/12) DEBUG [58833a26] Unpacking objects: 33% (4/12) DEBUG [58833a26] Unpacking objects: 41% (5/12) DEBUG [58833a26] Unpacking objects: 50% (6/12) DEBUG [58833a26] Unpacking objects: 58% (7/12) DEBUG [58833a26] Unpacking objects: 66% (8/12) DEBUG [58833a26] Unpacking objects: 75% (9/12) DEBUG [58833a26] Unpacking objects: 83% (10/12) DEBUG [58833a26] Unpacking objects: 91% (11/12) DEBUG [58833a26] Unpacking objects: 100% (12/12) DEBUG [58833a26] Unpacking objects: 100% (12/12), done. DEBUG [58833a26] DEBUG [58833a26] From github.com:huythanh176/aoumi_server DEBUG [58833a26] DEBUG [58833a26] + 016c09e...badf514 develop -> develop (forced update) DEBUG [58833a26] INFO [58833a26] Finished in 3.512 seconds with exit status 0 (successful). DEBUG [863a544f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [863a544f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [863a544f] Finished in 0.113 seconds with exit status 0 (successful). INFO [fc8dd978] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100506 as deploy@18.136.197.163 DEBUG [fc8dd978] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-da382cad8d2014a8de95.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100506 ) INFO [fc8dd978] Finished in 0.261 seconds with exit status 0 (successful). INFO [49a0b5cf] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229100506 as deploy@18.136.197.163 DEBUG [49a0b5cf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-da382cad8d2014a8de95.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229100506 ) INFO [49a0b5cf] Finished in 0.317 seconds with exit status 0 (successful). DEBUG [7f7e3398] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [7f7e3398] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7f7e3398] Finished in 0.124 seconds with exit status 0 (successful). DEBUG [8366991c] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [8366991c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-da382cad8d2014a8de95.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [8366991c] badf514cb32550d90f7688af259b6b45b17075ee DEBUG [8366991c] DEBUG [8366991c] Finished in 0.187 seconds with exit status 0 (successful). DEBUG [af52fac7] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [af52fac7] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi DEBUG [af52fac7] Finished in 0.133 seconds with exit status 0 (successful). INFO [1e7f05f7] Running /usr/bin/env echo "badf514cb32550d90f7688af259b6b45b17075ee" > REVISION as deploy@18.136.197.163 DEBUG [1e7f05f7] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100506 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "badf514cb32550d90f7688af259b6b45b17075ee" > REVISION ) INFO [1e7f05f7] Finished in 0.153 seconds with exit status 0 (successful). INFO [5711e2be] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100506/config as deploy@18.136.197.163 DEBUG [5711e2be] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100506/config ) INFO [5711e2be] Finished in 0.119 seconds with exit status 0 (successful). DEBUG [67369b9d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml ] as deploy@18.136.197.163 DEBUG [67369b9d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml ] DEBUG [67369b9d] Finished in 0.266 seconds with exit status 1 (failed). DEBUG [df2c5fdd] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml ] as deploy@18.136.197.163 DEBUG [df2c5fdd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml ] DEBUG [df2c5fdd] Finished in 0.134 seconds with exit status 0 (successful). INFO [1a5d1f8b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml as deploy@18.136.197.163 DEBUG [1a5d1f8b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml ) INFO [1a5d1f8b] Finished in 0.174 seconds with exit status 0 (successful). INFO [8ad865f6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml as deploy@18.136.197.163 DEBUG [8ad865f6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229100506/config/database.yml ) INFO [8ad865f6] Finished in 0.123 seconds with exit status 0 (successful). DEBUG [8e2ed147] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/config/application.yml ] as deploy@18.136.197.163 DEBUG [8e2ed147] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/config/application.yml ] DEBUG [8e2ed147] Finished in 0.217 seconds with exit status 1 (failed). DEBUG [e3e438ea] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229100506/config/application.yml ] as deploy@18.136.197.163 DEBUG [e3e438ea] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229100506/config/application.yml ] DEBUG [e3e438ea] Finished in 0.145 seconds with exit status 1 (failed). INFO [a8394b7b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229100506/config/application.yml as deploy@18.136.197.163 DEBUG [a8394b7b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229100506/config/application.yml ) INFO [a8394b7b] Finished in 0.155 seconds with exit status 0 (successful). INFO [28e0398c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100506 /home/deploy/apps/aoumi_server/releases/20221229100506/tmp /home/deploy/apps/aoumi_server/releases/20221229100506/vendor /home/deploy/apps/aoumi_server/releases/20221229100506/public as deploy@18.136.197.163 DEBUG [28e0398c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100506 /home/deploy/apps/aoumi_server/releases/20221229100506/tmp /home/deploy/apps/aoumi_server/releases/20221229100506/vendor /home/deploy/apps/aoumi_server/releases/20221229100506/public ) INFO [28e0398c] Finished in 0.233 seconds with exit status 0 (successful). DEBUG [b1b48d78] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/log ] as deploy@18.136.197.163 DEBUG [b1b48d78] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/log ] DEBUG [b1b48d78] Finished in 0.575 seconds with exit status 1 (failed). DEBUG [7d03e84c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/log ] as deploy@18.136.197.163 DEBUG [7d03e84c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/log ] DEBUG [7d03e84c] Finished in 0.221 seconds with exit status 0 (successful). INFO [cdcd3518] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100506/log as deploy@18.136.197.163 DEBUG [cdcd3518] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100506/log ) INFO [cdcd3518] Finished in 0.137 seconds with exit status 0 (successful). INFO [281ddc82] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229100506/log as deploy@18.136.197.163 DEBUG [281ddc82] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229100506/log ) INFO [281ddc82] Finished in 0.189 seconds with exit status 0 (successful). DEBUG [1774bc44] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids ] as deploy@18.136.197.163 DEBUG [1774bc44] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids ] DEBUG [1774bc44] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [020ea3f0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids ] as deploy@18.136.197.163 DEBUG [020ea3f0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids ] DEBUG [020ea3f0] Finished in 0.200 seconds with exit status 0 (successful). INFO [e476d6db] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids as deploy@18.136.197.163 DEBUG [e476d6db] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids ) INFO [e476d6db] Finished in 0.185 seconds with exit status 0 (successful). INFO [6de3bbae] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids as deploy@18.136.197.163 DEBUG [6de3bbae] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/pids ) INFO [6de3bbae] Finished in 0.197 seconds with exit status 0 (successful). DEBUG [ca58e87d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/cache ] as deploy@18.136.197.163 DEBUG [ca58e87d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/cache ] DEBUG [ca58e87d] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [fd3fc7e3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/cache ] as deploy@18.136.197.163 DEBUG [fd3fc7e3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/cache ] DEBUG [fd3fc7e3] Finished in 0.201 seconds with exit status 1 (failed). INFO [1c98563c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/cache as deploy@18.136.197.163 DEBUG [1c98563c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/cache ) INFO [1c98563c] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [7ed04f43] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/sockets ] as deploy@18.136.197.163 DEBUG [7ed04f43] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/sockets ] DEBUG [7ed04f43] Finished in 0.175 seconds with exit status 1 (failed). DEBUG [02504df8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/sockets ] as deploy@18.136.197.163 DEBUG [02504df8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/sockets ] DEBUG [02504df8] Finished in 0.145 seconds with exit status 1 (failed). INFO [64e195cf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/sockets as deploy@18.136.197.163 DEBUG [64e195cf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229100506/tmp/sockets ) INFO [64e195cf] Finished in 0.187 seconds with exit status 0 (successful). DEBUG [9365bbaf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/vendor/bundle ] as deploy@18.136.197.163 DEBUG [9365bbaf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/vendor/bundle ] DEBUG [9365bbaf] Finished in 0.114 seconds with exit status 1 (failed). DEBUG [aa42ebfc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/vendor/bundle ] as deploy@18.136.197.163 DEBUG [aa42ebfc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/vendor/bundle ] DEBUG [aa42ebfc] Finished in 0.203 seconds with exit status 1 (failed). INFO [0e36218e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229100506/vendor/bundle as deploy@18.136.197.163 DEBUG [0e36218e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229100506/vendor/bundle ) INFO [0e36218e] Finished in 0.161 seconds with exit status 0 (successful). DEBUG [e3ffcb57] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/public/system ] as deploy@18.136.197.163 DEBUG [e3ffcb57] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/public/system ] DEBUG [e3ffcb57] Finished in 0.197 seconds with exit status 1 (failed). DEBUG [9993bc84] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/public/system ] as deploy@18.136.197.163 DEBUG [9993bc84] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/public/system ] DEBUG [9993bc84] Finished in 0.160 seconds with exit status 1 (failed). INFO [7c6bc4a8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229100506/public/system as deploy@18.136.197.163 DEBUG [7c6bc4a8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229100506/public/system ) INFO [7c6bc4a8] Finished in 0.219 seconds with exit status 0 (successful). DEBUG [dfc18055] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/public/uploads ] as deploy@18.136.197.163 DEBUG [dfc18055] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/public/uploads ] DEBUG [dfc18055] Finished in 0.197 seconds with exit status 1 (failed). DEBUG [95c7953f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/public/uploads ] as deploy@18.136.197.163 DEBUG [95c7953f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/public/uploads ] DEBUG [95c7953f] Finished in 0.123 seconds with exit status 1 (failed). INFO [7796ffb6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229100506/public/uploads as deploy@18.136.197.163 DEBUG [7796ffb6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229100506/public/uploads ) INFO [7796ffb6] Finished in 0.171 seconds with exit status 0 (successful). DEBUG [7052643f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/public/assets ] as deploy@18.136.197.163 DEBUG [7052643f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100506/public/assets ] DEBUG [7052643f] Finished in 0.167 seconds with exit status 1 (failed). DEBUG [559605b6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/public/assets ] as deploy@18.136.197.163 DEBUG [559605b6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100506/public/assets ] DEBUG [559605b6] Finished in 0.171 seconds with exit status 1 (failed). INFO [de81e5f3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229100506/public/assets as deploy@18.136.197.163 DEBUG [de81e5f3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229100506/public/assets ) INFO [de81e5f3] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [7641d2fa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [7641d2fa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi DEBUG [7641d2fa] Finished in 0.247 seconds with exit status 0 (successful). INFO [1c04b019] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [1c04b019] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100506 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [1c04b019] Finished in 0.441 seconds with exit status 0 (successful). INFO [ce9dffef] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [ce9dffef] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100506 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [ce9dffef] Finished in 0.613 seconds with exit status 0 (successful). INFO [e65476f2] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [e65476f2] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100506 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e65476f2] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [96c98bb0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [96c98bb0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi DEBUG [96c98bb0] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [384f770f] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [384f770f] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100506 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [384f770f] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [384f770f] DEBUG [384f770f]  DEBUG [384f770f] The Gemfile's dependencies are satisfied DEBUG [384f770f] DEBUG [384f770f] Finished in 0.721 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [f3f92ae4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f3f92ae4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100506; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100506'" 1>&2; false; fi DEBUG [f3f92ae4] Finished in 0.200 seconds with exit status 0 (successful). INFO [d7884218] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [d7884218] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100506 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [d7884218] rake aborted! DEBUG [d7884218] DEBUG [d7884218] Don't know how to build task 'assets:precompile' (See the list of available tasks with `rake --tasks`) DEBUG [d7884218] DEBUG [d7884218] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [d7884218] DEBUG [d7884218] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [d7884218] DEBUG [d7884218] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [d7884218] DEBUG [d7884218] (See full trace by running task with --trace) DEBUG [d7884218] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:08:49 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [920e707b] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [920e707b] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [920e707b] Finished in 0.954 seconds with exit status 0 (successful). INFO [feef8ae7] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [feef8ae7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [feef8ae7] Finished in 0.093 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-3ddb21ec041ffdfad0b6.sh 0.0% INFO Uploading /tmp/git-ssh-3ddb21ec041ffdfad0b6.sh 100.0% INFO [8adb19b9] Running /usr/bin/env chmod 700 /tmp/git-ssh-3ddb21ec041ffdfad0b6.sh as deploy@18.136.197.163 DEBUG [8adb19b9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-3ddb21ec041ffdfad0b6.sh ) INFO [8adb19b9] Finished in 0.096 seconds with exit status 0 (successful). INFO [c2596398] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [c2596398] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ddb21ec041ffdfad0b6.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [c2596398] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [c2596398] HEAD INFO [c2596398] Finished in 3.463 seconds with exit status 0 (successful). INFO [077d9134] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [077d9134] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [077d9134] Finished in 0.148 seconds with exit status 0 (successful). INFO [f2910cc1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [f2910cc1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [f2910cc1] Finished in 0.174 seconds with exit status 0 (successful). INFO [5a71b334] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [5a71b334] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [5a71b334] Finished in 0.581 seconds with exit status 0 (successful). DEBUG [2a9114d4] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [2a9114d4] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [2a9114d4] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [9bed438f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [9bed438f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [9bed438f] Finished in 0.178 seconds with exit status 0 (successful). DEBUG [7f72b35f] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [7f72b35f] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [7f72b35f] Finished in 0.685 seconds with exit status 0 (successful). DEBUG [de64d952] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [de64d952] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [de64d952] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [3c7e3eac] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [3c7e3eac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [3c7e3eac] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [3c7e3eac] DEBUG [3c7e3eac] Finished in 0.164 seconds with exit status 0 (successful). DEBUG [965522c9] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [965522c9] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [965522c9] Finished in 0.152 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [68156575] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [68156575] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [68156575] Finished in 0.151 seconds with exit status 0 (successful). INFO [f70e8993] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [f70e8993] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ddb21ec041ffdfad0b6.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f70e8993] Finished in 0.179 seconds with exit status 0 (successful). INFO [355e9414] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [355e9414] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ddb21ec041ffdfad0b6.sh" ; /usr/bin/env git remote update --prune ) DEBUG [355e9414] Fetching origin DEBUG [355e9414] DEBUG [355e9414] remote: Enumerating objects: 22, done. DEBUG [355e9414] DEBUG [355e9414] remote: Counting objects: 4% (1/22) DEBUG [355e9414] remote: Counting objects: 9% (2/22) DEBUG [355e9414] remote: Counting objects: 13% (3/22) DEBUG [355e9414] remote: Counting objects: 18% (4/22) DEBUG [355e9414] remote: Counting objects: 22% (5/22) DEBUG [355e9414] remote: Counting objects: 27% (6/22) DEBUG [355e9414] remote: Counting objects: 31% (7/22) DEBUG [355e9414] remote: Counting objects: 36% (8/22) DEBUG [355e9414] remote: Counting objects: 40% (9/22) DEBUG [355e9414] remote: Counting objects: 45% (10/22) DEBUG [355e9414] remote: Counting objects: 50% (11/22) DEBUG [355e9414] remote: Counting objects: 54% (12/22) DEBUG [355e9414] remote: Counting objects: 59% (13/22) DEBUG [355e9414] remote: Counting objects: 63% (14/22) DEBUG [355e9414] remote: Counting objects: 68% (15/22) DEBUG [355e9414] remote: Counting objects: 72% (16/22) DEBUG [355e9414] remote: Counting objects: 77% (17/22) DEBUG [355e9414] remote: Counting objects: 81% (18/22) DEBUG [355e9414] remote: Counting objects: 86% (19/22) DEBUG [355e9414] remote: Counting objects: 90% (20/22) DEBUG [355e9414] remote: Counting objects: 95% (21/22) DEBUG [355e9414] remote: Counting objects: 100% (22/22) DEBUG [355e9414] remote: Counting objects: 100% (22/22), done. DEBUG [355e9414] DEBUG [355e9414] remote: Compressing objects: 25% (1/4) DEBUG [355e9414] remote: Compressing objects: 50% (2/4) DEBUG [355e9414] remote: Compressing objects: 75% (3/4) DEBUG [355e9414] remote: Compressing objects: 100% (4/4) DEBUG [355e9414] remote: Compressing objects: 100% (4/4), done. DEBUG [355e9414] DEBUG [355e9414] remote: Total 12 (delta 7), reused 12 (delta 7), pack-reused 0 DEBUG [355e9414] DEBUG [355e9414] Unpacking objects: 8% (1/12) DEBUG [355e9414] Unpacking objects: 16% (2/12) DEBUG [355e9414] Unpacking objects: 25% (3/12) DEBUG [355e9414] Unpacking objects: 33% (4/12) DEBUG [355e9414] Unpacking objects: 41% (5/12) DEBUG [355e9414] Unpacking objects: 50% (6/12) DEBUG [355e9414] Unpacking objects: 58% (7/12) DEBUG [355e9414] Unpacking objects: 66% (8/12) DEBUG [355e9414] Unpacking objects: 75% (9/12) DEBUG [355e9414] Unpacking objects: 83% (10/12) DEBUG [355e9414] Unpacking objects: 91% (11/12) DEBUG [355e9414] Unpacking objects: 100% (12/12) DEBUG [355e9414] Unpacking objects: 100% (12/12), done. DEBUG [355e9414] DEBUG [355e9414] From github.com:huythanh176/aoumi_server DEBUG [355e9414] DEBUG [355e9414] + badf514...3a8ddba develop -> develop (forced update) DEBUG [355e9414] INFO [355e9414] Finished in 3.069 seconds with exit status 0 (successful). DEBUG [51646a76] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [51646a76] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [51646a76] Finished in 0.182 seconds with exit status 0 (successful). INFO [e21188be] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100856 as deploy@18.136.197.163 DEBUG [e21188be] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ddb21ec041ffdfad0b6.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100856 ) INFO [e21188be] Finished in 0.145 seconds with exit status 0 (successful). INFO [9cce76ef] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229100856 as deploy@18.136.197.163 DEBUG [9cce76ef] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ddb21ec041ffdfad0b6.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229100856 ) INFO [9cce76ef] Finished in 0.197 seconds with exit status 0 (successful). DEBUG [91876e7b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [91876e7b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [91876e7b] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [f250b022] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [f250b022] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ddb21ec041ffdfad0b6.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f250b022] 3a8ddbaf4788c7fdb399f5c3de76f22e81c465e4 DEBUG [f250b022] DEBUG [f250b022] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [c0a921ea] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c0a921ea] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi DEBUG [c0a921ea] Finished in 0.572 seconds with exit status 0 (successful). INFO [83dfe726] Running /usr/bin/env echo "3a8ddbaf4788c7fdb399f5c3de76f22e81c465e4" > REVISION as deploy@18.136.197.163 DEBUG [83dfe726] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100856 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3a8ddbaf4788c7fdb399f5c3de76f22e81c465e4" > REVISION ) INFO [83dfe726] Finished in 0.148 seconds with exit status 0 (successful). INFO [c7100553] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100856/config as deploy@18.136.197.163 DEBUG [c7100553] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100856/config ) INFO [c7100553] Finished in 0.201 seconds with exit status 0 (successful). DEBUG [e2f74f7a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml ] as deploy@18.136.197.163 DEBUG [e2f74f7a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml ] DEBUG [e2f74f7a] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [0825e6f9] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml ] as deploy@18.136.197.163 DEBUG [0825e6f9] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml ] DEBUG [0825e6f9] Finished in 0.175 seconds with exit status 0 (successful). INFO [23226bb8] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml as deploy@18.136.197.163 DEBUG [23226bb8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml ) INFO [23226bb8] Finished in 0.157 seconds with exit status 0 (successful). INFO [138d8b6a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml as deploy@18.136.197.163 DEBUG [138d8b6a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229100856/config/database.yml ) INFO [138d8b6a] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [bc798780] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/config/application.yml ] as deploy@18.136.197.163 DEBUG [bc798780] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/config/application.yml ] DEBUG [bc798780] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [2253a836] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229100856/config/application.yml ] as deploy@18.136.197.163 DEBUG [2253a836] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229100856/config/application.yml ] DEBUG [2253a836] Finished in 0.167 seconds with exit status 1 (failed). INFO [bab226c6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229100856/config/application.yml as deploy@18.136.197.163 DEBUG [bab226c6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229100856/config/application.yml ) INFO [bab226c6] Finished in 0.106 seconds with exit status 0 (successful). INFO [ea323c45] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100856 /home/deploy/apps/aoumi_server/releases/20221229100856/tmp /home/deploy/apps/aoumi_server/releases/20221229100856/vendor /home/deploy/apps/aoumi_server/releases/20221229100856/public as deploy@18.136.197.163 DEBUG [ea323c45] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229100856 /home/deploy/apps/aoumi_server/releases/20221229100856/tmp /home/deploy/apps/aoumi_server/releases/20221229100856/vendor /home/deploy/apps/aoumi_server/releases/20221229100856/public ) INFO [ea323c45] Finished in 0.180 seconds with exit status 0 (successful). DEBUG [42827a41] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/log ] as deploy@18.136.197.163 DEBUG [42827a41] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/log ] DEBUG [42827a41] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [7ca9b032] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/log ] as deploy@18.136.197.163 DEBUG [7ca9b032] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/log ] DEBUG [7ca9b032] Finished in 0.233 seconds with exit status 0 (successful). INFO [a169f560] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100856/log as deploy@18.136.197.163 DEBUG [a169f560] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100856/log ) INFO [a169f560] Finished in 0.133 seconds with exit status 0 (successful). INFO [b71c27e0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229100856/log as deploy@18.136.197.163 DEBUG [b71c27e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229100856/log ) INFO [b71c27e0] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [94aafbd3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids ] as deploy@18.136.197.163 DEBUG [94aafbd3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids ] DEBUG [94aafbd3] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [b86028fb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids ] as deploy@18.136.197.163 DEBUG [b86028fb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids ] DEBUG [b86028fb] Finished in 0.140 seconds with exit status 0 (successful). INFO [d8e1223a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids as deploy@18.136.197.163 DEBUG [d8e1223a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids ) INFO [d8e1223a] Finished in 0.193 seconds with exit status 0 (successful). INFO [028df10e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids as deploy@18.136.197.163 DEBUG [028df10e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/pids ) INFO [028df10e] Finished in 0.220 seconds with exit status 0 (successful). DEBUG [d3242796] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/cache ] as deploy@18.136.197.163 DEBUG [d3242796] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/cache ] DEBUG [d3242796] Finished in 0.172 seconds with exit status 1 (failed). DEBUG [247194ad] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/cache ] as deploy@18.136.197.163 DEBUG [247194ad] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/cache ] DEBUG [247194ad] Finished in 0.274 seconds with exit status 1 (failed). INFO [e23b55c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/cache as deploy@18.136.197.163 DEBUG [e23b55c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/cache ) INFO [e23b55c5] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [da553d84] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/sockets ] as deploy@18.136.197.163 DEBUG [da553d84] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/sockets ] DEBUG [da553d84] Finished in 0.166 seconds with exit status 1 (failed). DEBUG [ead89a84] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/sockets ] as deploy@18.136.197.163 DEBUG [ead89a84] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/sockets ] DEBUG [ead89a84] Finished in 0.121 seconds with exit status 1 (failed). INFO [dd13e1e4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/sockets as deploy@18.136.197.163 DEBUG [dd13e1e4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229100856/tmp/sockets ) INFO [dd13e1e4] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [a806243c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/vendor/bundle ] as deploy@18.136.197.163 DEBUG [a806243c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/vendor/bundle ] DEBUG [a806243c] Finished in 0.120 seconds with exit status 1 (failed). DEBUG [6eb3d1d1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/vendor/bundle ] as deploy@18.136.197.163 DEBUG [6eb3d1d1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/vendor/bundle ] DEBUG [6eb3d1d1] Finished in 0.196 seconds with exit status 1 (failed). INFO [75608994] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229100856/vendor/bundle as deploy@18.136.197.163 DEBUG [75608994] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229100856/vendor/bundle ) INFO [75608994] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [b7616596] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/public/system ] as deploy@18.136.197.163 DEBUG [b7616596] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/public/system ] DEBUG [b7616596] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [f2c6c30f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/public/system ] as deploy@18.136.197.163 DEBUG [f2c6c30f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/public/system ] DEBUG [f2c6c30f] Finished in 0.095 seconds with exit status 1 (failed). INFO [3d085d90] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229100856/public/system as deploy@18.136.197.163 DEBUG [3d085d90] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229100856/public/system ) INFO [3d085d90] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [d5903e2e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/public/uploads ] as deploy@18.136.197.163 DEBUG [d5903e2e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/public/uploads ] DEBUG [d5903e2e] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [980ca8e0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/public/uploads ] as deploy@18.136.197.163 DEBUG [980ca8e0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/public/uploads ] DEBUG [980ca8e0] Finished in 0.160 seconds with exit status 1 (failed). INFO [64c4b873] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229100856/public/uploads as deploy@18.136.197.163 DEBUG [64c4b873] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229100856/public/uploads ) INFO [64c4b873] Finished in 0.251 seconds with exit status 0 (successful). DEBUG [acf63755] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/public/assets ] as deploy@18.136.197.163 DEBUG [acf63755] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229100856/public/assets ] DEBUG [acf63755] Finished in 0.275 seconds with exit status 1 (failed). DEBUG [f3a1fd17] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/public/assets ] as deploy@18.136.197.163 DEBUG [f3a1fd17] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229100856/public/assets ] DEBUG [f3a1fd17] Finished in 0.144 seconds with exit status 1 (failed). INFO [7391f65b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229100856/public/assets as deploy@18.136.197.163 DEBUG [7391f65b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229100856/public/assets ) INFO [7391f65b] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [96219f0b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [96219f0b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi DEBUG [96219f0b] Finished in 0.134 seconds with exit status 0 (successful). INFO [ec11b721] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [ec11b721] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100856 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [ec11b721] Finished in 0.427 seconds with exit status 0 (successful). INFO [9834c2ec] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [9834c2ec] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100856 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [9834c2ec] Finished in 0.405 seconds with exit status 0 (successful). INFO [8869557c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [8869557c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100856 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [8869557c] Finished in 0.371 seconds with exit status 0 (successful). DEBUG [4f9833d5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4f9833d5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi DEBUG [4f9833d5] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [5e15fba9] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [5e15fba9] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100856 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [5e15fba9] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [5e15fba9] DEBUG [5e15fba9]  DEBUG [5e15fba9] The Gemfile's dependencies are satisfied DEBUG [5e15fba9] DEBUG [5e15fba9] Finished in 0.816 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [d67bc615] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d67bc615] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229100856; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229100856'" 1>&2; false; fi DEBUG [d67bc615] Finished in 0.114 seconds with exit status 0 (successful). INFO [00dba3e1] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [00dba3e1] Command: cd /home/deploy/apps/aoumi_server/releases/20221229100856 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [00dba3e1] rake aborted! DEBUG [00dba3e1] DEBUG [00dba3e1] Don't know how to build task 'assets:precompile' (See the list of available tasks with `rake --tasks`) DEBUG [00dba3e1] DEBUG [00dba3e1] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [00dba3e1] DEBUG [00dba3e1] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [00dba3e1] DEBUG [00dba3e1] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [00dba3e1] DEBUG [00dba3e1] (See full trace by running task with --trace) DEBUG [00dba3e1] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:11:57 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e038ad3b] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [e038ad3b] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [e038ad3b] Finished in 0.977 seconds with exit status 0 (successful). INFO [8467a8c3] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [8467a8c3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [8467a8c3] Finished in 0.117 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-625d52d8f243dec13a2f.sh 0.0% INFO Uploading /tmp/git-ssh-625d52d8f243dec13a2f.sh 100.0% INFO [e11d7f42] Running /usr/bin/env chmod 700 /tmp/git-ssh-625d52d8f243dec13a2f.sh as deploy@18.136.197.163 DEBUG [e11d7f42] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-625d52d8f243dec13a2f.sh ) INFO [e11d7f42] Finished in 0.145 seconds with exit status 0 (successful). INFO [28fccf8a] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [28fccf8a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-625d52d8f243dec13a2f.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [28fccf8a] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [28fccf8a] HEAD INFO [28fccf8a] Finished in 3.726 seconds with exit status 0 (successful). INFO [940d3fc9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [940d3fc9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [940d3fc9] Finished in 0.120 seconds with exit status 0 (successful). INFO [9c08aa05] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [9c08aa05] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [9c08aa05] Finished in 0.242 seconds with exit status 0 (successful). INFO [ae0c1d38] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [ae0c1d38] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [ae0c1d38] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [192192d0] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [192192d0] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [192192d0] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [2e148549] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [2e148549] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [2e148549] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [6dc93949] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [6dc93949] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [6dc93949] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [416e3f6a] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [416e3f6a] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [416e3f6a] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [3fd32ad8] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [3fd32ad8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [3fd32ad8] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [3fd32ad8] DEBUG [3fd32ad8] Finished in 0.186 seconds with exit status 0 (successful). DEBUG [70920889] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [70920889] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [70920889] Finished in 0.189 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [078e8c04] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [078e8c04] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [078e8c04] Finished in 0.181 seconds with exit status 0 (successful). INFO [25d89906] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [25d89906] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-625d52d8f243dec13a2f.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [25d89906] Finished in 0.170 seconds with exit status 0 (successful). INFO [9830f70e] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [9830f70e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-625d52d8f243dec13a2f.sh" ; /usr/bin/env git remote update --prune ) DEBUG [9830f70e] Fetching origin DEBUG [9830f70e] DEBUG [9830f70e] remote: Enumerating objects: 22, done. DEBUG [9830f70e] DEBUG [9830f70e] remote: Counting objects: 4% (1/22) DEBUG [9830f70e] remote: Counting objects: 9% (2/22) DEBUG [9830f70e] remote: Counting objects: 13% (3/22) DEBUG [9830f70e] remote: Counting objects: 18% (4/22) DEBUG [9830f70e] remote: Counting objects: 22% (5/22) DEBUG [9830f70e] remote: Counting objects: 27% (6/22) DEBUG [9830f70e] remote: Counting objects: 31% (7/22) DEBUG [9830f70e] remote: Counting objects: 36% (8/22) DEBUG [9830f70e] remote: Counting objects: 40% (9/22) DEBUG [9830f70e] remote: Counting objects: 45% (10/22) DEBUG [9830f70e] remote: Counting objects: 50% (11/22) DEBUG [9830f70e] remote: Counting objects: 54% (12/22) DEBUG [9830f70e] remote: Counting objects: 59% (13/22) DEBUG [9830f70e] remote: Counting objects: 63% (14/22) DEBUG [9830f70e] remote: Counting objects: 68% (15/22) DEBUG [9830f70e] remote: Counting objects: 72% (16/22) DEBUG [9830f70e] remote: Counting objects: 77% (17/22) DEBUG [9830f70e] remote: Counting objects: 81% (18/22) DEBUG [9830f70e] remote: Counting objects: 86% (19/22) DEBUG [9830f70e] remote: Counting objects: 90% (20/22) DEBUG [9830f70e] remote: Counting objects: 95% (21/22) DEBUG [9830f70e] remote: Counting objects: 100% (22/22) DEBUG [9830f70e] remote: Counting objects: 100% (22/22), done. DEBUG [9830f70e] DEBUG [9830f70e] remote: Compressing objects: 25% (1/4) DEBUG [9830f70e] remote: Compressing objects: 50% (2/4) DEBUG [9830f70e] remote: Compressing objects: 75% (3/4) DEBUG [9830f70e] remote: Compressing objects: 100% (4/4) DEBUG [9830f70e] remote: Compressing objects: 100% (4/4), done. DEBUG [9830f70e] DEBUG [9830f70e] remote: Total 12 (delta 7), reused 12 (delta 7), pack-reused 0 DEBUG [9830f70e] DEBUG [9830f70e] Unpacking objects: 8% (1/12) DEBUG [9830f70e] Unpacking objects: 16% (2/12) DEBUG [9830f70e] Unpacking objects: 25% (3/12) DEBUG [9830f70e] Unpacking objects: 33% (4/12) DEBUG [9830f70e] Unpacking objects: 41% (5/12) DEBUG [9830f70e] Unpacking objects: 50% (6/12) DEBUG [9830f70e] Unpacking objects: 58% (7/12) DEBUG [9830f70e] Unpacking objects: 66% (8/12) DEBUG [9830f70e] Unpacking objects: 75% (9/12) DEBUG [9830f70e] Unpacking objects: 83% (10/12) DEBUG [9830f70e] Unpacking objects: 91% (11/12) DEBUG [9830f70e] Unpacking objects: 100% (12/12) DEBUG [9830f70e] Unpacking objects: 100% (12/12), done. DEBUG [9830f70e] DEBUG [9830f70e] From github.com:huythanh176/aoumi_server DEBUG [9830f70e] DEBUG [9830f70e] + 3a8ddba...1bf909c develop -> develop (forced update) DEBUG [9830f70e] INFO [9830f70e] Finished in 3.628 seconds with exit status 0 (successful). DEBUG [775388c1] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [775388c1] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [775388c1] Finished in 0.157 seconds with exit status 0 (successful). INFO [b8906a8e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101203 as deploy@18.136.197.163 DEBUG [b8906a8e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-625d52d8f243dec13a2f.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101203 ) INFO [b8906a8e] Finished in 0.203 seconds with exit status 0 (successful). INFO [3a6aab0f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101203 as deploy@18.136.197.163 DEBUG [3a6aab0f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-625d52d8f243dec13a2f.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101203 ) INFO [3a6aab0f] Finished in 0.167 seconds with exit status 0 (successful). DEBUG [8dc2e18d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8dc2e18d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8dc2e18d] Finished in 0.565 seconds with exit status 0 (successful). DEBUG [d968b261] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d968b261] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-625d52d8f243dec13a2f.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d968b261] 1bf909cdcc9d46fceb21cdf6cd1e469ccec9410e DEBUG [d968b261] DEBUG [d968b261] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [a699314a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a699314a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi DEBUG [a699314a] Finished in 0.330 seconds with exit status 0 (successful). INFO [8ea16e8c] Running /usr/bin/env echo "1bf909cdcc9d46fceb21cdf6cd1e469ccec9410e" > REVISION as deploy@18.136.197.163 DEBUG [8ea16e8c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101203 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "1bf909cdcc9d46fceb21cdf6cd1e469ccec9410e" > REVISION ) INFO [8ea16e8c] Finished in 0.331 seconds with exit status 0 (successful). INFO [3b971b01] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101203/config as deploy@18.136.197.163 DEBUG [3b971b01] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101203/config ) INFO [3b971b01] Finished in 0.213 seconds with exit status 0 (successful). DEBUG [c4907734] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml ] as deploy@18.136.197.163 DEBUG [c4907734] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml ] DEBUG [c4907734] Finished in 0.191 seconds with exit status 1 (failed). DEBUG [c6a1a536] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml ] as deploy@18.136.197.163 DEBUG [c6a1a536] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml ] DEBUG [c6a1a536] Finished in 0.192 seconds with exit status 0 (successful). INFO [dcc14d77] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml as deploy@18.136.197.163 DEBUG [dcc14d77] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml ) INFO [dcc14d77] Finished in 0.174 seconds with exit status 0 (successful). INFO [b19aa2c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml as deploy@18.136.197.163 DEBUG [b19aa2c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101203/config/database.yml ) INFO [b19aa2c5] Finished in 0.190 seconds with exit status 0 (successful). DEBUG [f4eed595] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/config/application.yml ] as deploy@18.136.197.163 DEBUG [f4eed595] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/config/application.yml ] DEBUG [f4eed595] Finished in 0.199 seconds with exit status 1 (failed). DEBUG [37d27250] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101203/config/application.yml ] as deploy@18.136.197.163 DEBUG [37d27250] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101203/config/application.yml ] DEBUG [37d27250] Finished in 0.361 seconds with exit status 1 (failed). INFO [a2a9e76f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101203/config/application.yml as deploy@18.136.197.163 DEBUG [a2a9e76f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101203/config/application.yml ) INFO [a2a9e76f] Finished in 0.177 seconds with exit status 0 (successful). INFO [5e06dfa8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101203 /home/deploy/apps/aoumi_server/releases/20221229101203/tmp /home/deploy/apps/aoumi_server/releases/20221229101203/vendor /home/deploy/apps/aoumi_server/releases/20221229101203/public as deploy@18.136.197.163 DEBUG [5e06dfa8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101203 /home/deploy/apps/aoumi_server/releases/20221229101203/tmp /home/deploy/apps/aoumi_server/releases/20221229101203/vendor /home/deploy/apps/aoumi_server/releases/20221229101203/public ) INFO [5e06dfa8] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [d2bbce25] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/log ] as deploy@18.136.197.163 DEBUG [d2bbce25] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/log ] DEBUG [d2bbce25] Finished in 0.395 seconds with exit status 1 (failed). DEBUG [0e7ba770] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/log ] as deploy@18.136.197.163 DEBUG [0e7ba770] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/log ] DEBUG [0e7ba770] Finished in 0.256 seconds with exit status 0 (successful). INFO [5a8cc055] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101203/log as deploy@18.136.197.163 DEBUG [5a8cc055] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101203/log ) INFO [5a8cc055] Finished in 0.222 seconds with exit status 0 (successful). INFO [bc3934e3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101203/log as deploy@18.136.197.163 DEBUG [bc3934e3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101203/log ) INFO [bc3934e3] Finished in 0.353 seconds with exit status 0 (successful). DEBUG [9f3d1b25] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids ] as deploy@18.136.197.163 DEBUG [9f3d1b25] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids ] DEBUG [9f3d1b25] Finished in 0.158 seconds with exit status 1 (failed). DEBUG [18e89c52] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids ] as deploy@18.136.197.163 DEBUG [18e89c52] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids ] DEBUG [18e89c52] Finished in 0.216 seconds with exit status 0 (successful). INFO [c3ff91bd] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids as deploy@18.136.197.163 DEBUG [c3ff91bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids ) INFO [c3ff91bd] Finished in 0.170 seconds with exit status 0 (successful). INFO [e51fab30] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids as deploy@18.136.197.163 DEBUG [e51fab30] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/pids ) INFO [e51fab30] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [e25362e1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/cache ] as deploy@18.136.197.163 DEBUG [e25362e1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/cache ] DEBUG [e25362e1] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [ba1d738e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/cache ] as deploy@18.136.197.163 DEBUG [ba1d738e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/cache ] DEBUG [ba1d738e] Finished in 0.361 seconds with exit status 1 (failed). INFO [a581eb45] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/cache as deploy@18.136.197.163 DEBUG [a581eb45] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/cache ) INFO [a581eb45] Finished in 0.424 seconds with exit status 0 (successful). DEBUG [b9e85ef6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/sockets ] as deploy@18.136.197.163 DEBUG [b9e85ef6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/sockets ] DEBUG [b9e85ef6] Finished in 0.198 seconds with exit status 1 (failed). DEBUG [beddde3c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/sockets ] as deploy@18.136.197.163 DEBUG [beddde3c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/sockets ] DEBUG [beddde3c] Finished in 0.294 seconds with exit status 1 (failed). INFO [ca0ea04c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/sockets as deploy@18.136.197.163 DEBUG [ca0ea04c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101203/tmp/sockets ) INFO [ca0ea04c] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [2782d2ae] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/vendor/bundle ] as deploy@18.136.197.163 DEBUG [2782d2ae] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/vendor/bundle ] DEBUG [2782d2ae] Finished in 0.218 seconds with exit status 1 (failed). DEBUG [896747bd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/vendor/bundle ] as deploy@18.136.197.163 DEBUG [896747bd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/vendor/bundle ] DEBUG [896747bd] Finished in 0.165 seconds with exit status 1 (failed). INFO [e4b9f17e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101203/vendor/bundle as deploy@18.136.197.163 DEBUG [e4b9f17e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101203/vendor/bundle ) INFO [e4b9f17e] Finished in 0.161 seconds with exit status 0 (successful). DEBUG [38465be2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/public/system ] as deploy@18.136.197.163 DEBUG [38465be2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/public/system ] DEBUG [38465be2] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [8799f062] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/public/system ] as deploy@18.136.197.163 DEBUG [8799f062] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/public/system ] DEBUG [8799f062] Finished in 0.182 seconds with exit status 1 (failed). INFO [f0f8ef50] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101203/public/system as deploy@18.136.197.163 DEBUG [f0f8ef50] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101203/public/system ) INFO [f0f8ef50] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [0e3e094f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/public/uploads ] as deploy@18.136.197.163 DEBUG [0e3e094f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/public/uploads ] DEBUG [0e3e094f] Finished in 0.196 seconds with exit status 1 (failed). DEBUG [9fa43baa] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/public/uploads ] as deploy@18.136.197.163 DEBUG [9fa43baa] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/public/uploads ] DEBUG [9fa43baa] Finished in 0.130 seconds with exit status 1 (failed). INFO [abeefa73] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101203/public/uploads as deploy@18.136.197.163 DEBUG [abeefa73] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101203/public/uploads ) INFO [abeefa73] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [fd849878] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/public/assets ] as deploy@18.136.197.163 DEBUG [fd849878] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101203/public/assets ] DEBUG [fd849878] Finished in 0.186 seconds with exit status 1 (failed). DEBUG [e25f0c30] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/public/assets ] as deploy@18.136.197.163 DEBUG [e25f0c30] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101203/public/assets ] DEBUG [e25f0c30] Finished in 0.107 seconds with exit status 1 (failed). INFO [a04825a5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229101203/public/assets as deploy@18.136.197.163 DEBUG [a04825a5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229101203/public/assets ) INFO [a04825a5] Finished in 0.201 seconds with exit status 0 (successful). DEBUG [891b795a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [891b795a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi DEBUG [891b795a] Finished in 0.181 seconds with exit status 0 (successful). INFO [3b0d4dc1] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [3b0d4dc1] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101203 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [3b0d4dc1] Finished in 0.439 seconds with exit status 0 (successful). INFO [d2c268f0] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [d2c268f0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101203 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [d2c268f0] Finished in 0.463 seconds with exit status 0 (successful). INFO [ea8970aa] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [ea8970aa] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101203 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [ea8970aa] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [6201c1fc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6201c1fc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi DEBUG [6201c1fc] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [2eeeecd6] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [2eeeecd6] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101203 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [2eeeecd6] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [2eeeecd6] DEBUG [2eeeecd6]  DEBUG [2eeeecd6] The Gemfile's dependencies are satisfied DEBUG [2eeeecd6] DEBUG [2eeeecd6] Finished in 0.715 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [4ca368b1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4ca368b1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101203; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101203'" 1>&2; false; fi DEBUG [4ca368b1] Finished in 0.174 seconds with exit status 0 (successful). INFO [9bce08b9] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [9bce08b9] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101203 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [9bce08b9] rake aborted! DEBUG [9bce08b9] DEBUG [9bce08b9] Don't know how to build task 'assets:precompile' (See the list of available tasks with `rake --tasks`) DEBUG [9bce08b9] DEBUG [9bce08b9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [9bce08b9] DEBUG [9bce08b9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [9bce08b9] DEBUG [9bce08b9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [9bce08b9] DEBUG [9bce08b9] (See full trace by running task with --trace) DEBUG [9bce08b9] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:12:56 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [100ab67f] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [100ab67f] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [100ab67f] Finished in 1.065 seconds with exit status 0 (successful). INFO [77262f33] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [77262f33] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [77262f33] Finished in 0.103 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-05d246b4de5dc6935fe5.sh 0.0% INFO Uploading /tmp/git-ssh-05d246b4de5dc6935fe5.sh 100.0% INFO [68c4fb60] Running /usr/bin/env chmod 700 /tmp/git-ssh-05d246b4de5dc6935fe5.sh as deploy@18.136.197.163 DEBUG [68c4fb60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-05d246b4de5dc6935fe5.sh ) INFO [68c4fb60] Finished in 0.136 seconds with exit status 0 (successful). INFO [b3990c17] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [b3990c17] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-05d246b4de5dc6935fe5.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b3990c17] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [b3990c17] HEAD INFO [b3990c17] Finished in 3.240 seconds with exit status 0 (successful). INFO [4a7c7905] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [4a7c7905] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [4a7c7905] Finished in 0.108 seconds with exit status 0 (successful). INFO [f2f2f2e5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [f2f2f2e5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [f2f2f2e5] Finished in 0.118 seconds with exit status 0 (successful). INFO [20a9b651] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [20a9b651] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [20a9b651] Finished in 0.178 seconds with exit status 0 (successful). DEBUG [f0a896c1] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [f0a896c1] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [f0a896c1] Finished in 0.129 seconds with exit status 0 (successful). DEBUG [4ddb433d] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [4ddb433d] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [4ddb433d] Finished in 0.163 seconds with exit status 0 (successful). DEBUG [9b099a7f] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [9b099a7f] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [9b099a7f] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [2521c470] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [2521c470] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [2521c470] Finished in 0.265 seconds with exit status 0 (successful). DEBUG [78dafea0] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [78dafea0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [78dafea0] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [78dafea0] DEBUG [78dafea0] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [88279a22] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [88279a22] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [88279a22] Finished in 0.220 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [c582ce88] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c582ce88] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c582ce88] Finished in 0.176 seconds with exit status 0 (successful). INFO [74d472d8] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [74d472d8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-05d246b4de5dc6935fe5.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [74d472d8] Finished in 0.215 seconds with exit status 0 (successful). INFO [a84315ca] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [a84315ca] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-05d246b4de5dc6935fe5.sh" ; /usr/bin/env git remote update --prune ) DEBUG [a84315ca] Fetching origin DEBUG [a84315ca] INFO [a84315ca] Finished in 2.953 seconds with exit status 0 (successful). DEBUG [61db778a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [61db778a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [61db778a] Finished in 0.165 seconds with exit status 0 (successful). INFO [1231672f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101302 as deploy@18.136.197.163 DEBUG [1231672f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-05d246b4de5dc6935fe5.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101302 ) INFO [1231672f] Finished in 0.130 seconds with exit status 0 (successful). INFO [7ecaa13f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101302 as deploy@18.136.197.163 DEBUG [7ecaa13f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-05d246b4de5dc6935fe5.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101302 ) INFO [7ecaa13f] Finished in 0.286 seconds with exit status 0 (successful). DEBUG [4368de1b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4368de1b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [4368de1b] Finished in 0.209 seconds with exit status 0 (successful). DEBUG [d0e35ed6] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d0e35ed6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-05d246b4de5dc6935fe5.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d0e35ed6] 1bf909cdcc9d46fceb21cdf6cd1e469ccec9410e DEBUG [d0e35ed6] DEBUG [d0e35ed6] Finished in 0.183 seconds with exit status 0 (successful). DEBUG [a2acb5d8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a2acb5d8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi DEBUG [a2acb5d8] Finished in 0.204 seconds with exit status 0 (successful). INFO [9ffca472] Running /usr/bin/env echo "1bf909cdcc9d46fceb21cdf6cd1e469ccec9410e" > REVISION as deploy@18.136.197.163 DEBUG [9ffca472] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101302 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "1bf909cdcc9d46fceb21cdf6cd1e469ccec9410e" > REVISION ) INFO [9ffca472] Finished in 0.101 seconds with exit status 0 (successful). INFO [4a9ba88d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101302/config as deploy@18.136.197.163 DEBUG [4a9ba88d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101302/config ) INFO [4a9ba88d] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [89f6aedb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml ] as deploy@18.136.197.163 DEBUG [89f6aedb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml ] DEBUG [89f6aedb] Finished in 0.119 seconds with exit status 1 (failed). DEBUG [61e7cebf] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml ] as deploy@18.136.197.163 DEBUG [61e7cebf] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml ] DEBUG [61e7cebf] Finished in 0.149 seconds with exit status 0 (successful). INFO [1bbb554d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml as deploy@18.136.197.163 DEBUG [1bbb554d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml ) INFO [1bbb554d] Finished in 0.131 seconds with exit status 0 (successful). INFO [6fbfa789] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml as deploy@18.136.197.163 DEBUG [6fbfa789] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101302/config/database.yml ) INFO [6fbfa789] Finished in 0.176 seconds with exit status 0 (successful). DEBUG [044cae19] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/config/application.yml ] as deploy@18.136.197.163 DEBUG [044cae19] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/config/application.yml ] DEBUG [044cae19] Finished in 0.130 seconds with exit status 1 (failed). DEBUG [64ba98b9] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101302/config/application.yml ] as deploy@18.136.197.163 DEBUG [64ba98b9] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101302/config/application.yml ] DEBUG [64ba98b9] Finished in 0.528 seconds with exit status 1 (failed). INFO [d34287bd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101302/config/application.yml as deploy@18.136.197.163 DEBUG [d34287bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101302/config/application.yml ) INFO [d34287bd] Finished in 0.118 seconds with exit status 0 (successful). INFO [08b52c4b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101302 /home/deploy/apps/aoumi_server/releases/20221229101302/tmp /home/deploy/apps/aoumi_server/releases/20221229101302/vendor /home/deploy/apps/aoumi_server/releases/20221229101302/public as deploy@18.136.197.163 DEBUG [08b52c4b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101302 /home/deploy/apps/aoumi_server/releases/20221229101302/tmp /home/deploy/apps/aoumi_server/releases/20221229101302/vendor /home/deploy/apps/aoumi_server/releases/20221229101302/public ) INFO [08b52c4b] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [04288c21] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/log ] as deploy@18.136.197.163 DEBUG [04288c21] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/log ] DEBUG [04288c21] Finished in 0.109 seconds with exit status 1 (failed). DEBUG [6c7463b9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/log ] as deploy@18.136.197.163 DEBUG [6c7463b9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/log ] DEBUG [6c7463b9] Finished in 0.168 seconds with exit status 0 (successful). INFO [1d70b364] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101302/log as deploy@18.136.197.163 DEBUG [1d70b364] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101302/log ) INFO [1d70b364] Finished in 0.123 seconds with exit status 0 (successful). INFO [e2181650] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101302/log as deploy@18.136.197.163 DEBUG [e2181650] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101302/log ) INFO [e2181650] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [b20c4b6b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids ] as deploy@18.136.197.163 DEBUG [b20c4b6b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids ] DEBUG [b20c4b6b] Finished in 0.096 seconds with exit status 1 (failed). DEBUG [4ac210cd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids ] as deploy@18.136.197.163 DEBUG [4ac210cd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids ] DEBUG [4ac210cd] Finished in 0.143 seconds with exit status 0 (successful). INFO [b7f9bbd2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids as deploy@18.136.197.163 DEBUG [b7f9bbd2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids ) INFO [b7f9bbd2] Finished in 0.101 seconds with exit status 0 (successful). INFO [8472c41c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids as deploy@18.136.197.163 DEBUG [8472c41c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/pids ) INFO [8472c41c] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [b632db06] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/cache ] as deploy@18.136.197.163 DEBUG [b632db06] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/cache ] DEBUG [b632db06] Finished in 0.090 seconds with exit status 1 (failed). DEBUG [9bf2c3ad] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/cache ] as deploy@18.136.197.163 DEBUG [9bf2c3ad] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/cache ] DEBUG [9bf2c3ad] Finished in 0.131 seconds with exit status 1 (failed). INFO [abf047fa] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/cache as deploy@18.136.197.163 DEBUG [abf047fa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/cache ) INFO [abf047fa] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [b55a9006] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/sockets ] as deploy@18.136.197.163 DEBUG [b55a9006] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/sockets ] DEBUG [b55a9006] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [0e8189c6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/sockets ] as deploy@18.136.197.163 DEBUG [0e8189c6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/sockets ] DEBUG [0e8189c6] Finished in 0.083 seconds with exit status 1 (failed). INFO [c6d13c50] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/sockets as deploy@18.136.197.163 DEBUG [c6d13c50] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101302/tmp/sockets ) INFO [c6d13c50] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [74c9874e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/vendor/bundle ] as deploy@18.136.197.163 DEBUG [74c9874e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/vendor/bundle ] DEBUG [74c9874e] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [bf369479] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/vendor/bundle ] as deploy@18.136.197.163 DEBUG [bf369479] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/vendor/bundle ] DEBUG [bf369479] Finished in 0.171 seconds with exit status 1 (failed). INFO [9c1bdb2c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101302/vendor/bundle as deploy@18.136.197.163 DEBUG [9c1bdb2c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101302/vendor/bundle ) INFO [9c1bdb2c] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [2826b9e2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/public/system ] as deploy@18.136.197.163 DEBUG [2826b9e2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/public/system ] DEBUG [2826b9e2] Finished in 0.191 seconds with exit status 1 (failed). DEBUG [06567259] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/public/system ] as deploy@18.136.197.163 DEBUG [06567259] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/public/system ] DEBUG [06567259] Finished in 0.097 seconds with exit status 1 (failed). INFO [b5fe36cf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101302/public/system as deploy@18.136.197.163 DEBUG [b5fe36cf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101302/public/system ) INFO [b5fe36cf] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [b901f3ff] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/public/uploads ] as deploy@18.136.197.163 DEBUG [b901f3ff] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/public/uploads ] DEBUG [b901f3ff] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [af0d52da] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/public/uploads ] as deploy@18.136.197.163 DEBUG [af0d52da] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/public/uploads ] DEBUG [af0d52da] Finished in 0.134 seconds with exit status 1 (failed). INFO [add445d4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101302/public/uploads as deploy@18.136.197.163 DEBUG [add445d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101302/public/uploads ) INFO [add445d4] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [fa1c447d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/public/assets ] as deploy@18.136.197.163 DEBUG [fa1c447d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101302/public/assets ] DEBUG [fa1c447d] Finished in 0.132 seconds with exit status 1 (failed). DEBUG [5fd62932] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/public/assets ] as deploy@18.136.197.163 DEBUG [5fd62932] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101302/public/assets ] DEBUG [5fd62932] Finished in 0.105 seconds with exit status 1 (failed). INFO [2ad6975f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229101302/public/assets as deploy@18.136.197.163 DEBUG [2ad6975f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229101302/public/assets ) INFO [2ad6975f] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [7f093283] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [7f093283] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi DEBUG [7f093283] Finished in 0.105 seconds with exit status 0 (successful). INFO [5586fbf6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [5586fbf6] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101302 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [5586fbf6] Finished in 0.564 seconds with exit status 0 (successful). INFO [ac9c9b72] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [ac9c9b72] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101302 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [ac9c9b72] Finished in 0.509 seconds with exit status 0 (successful). INFO [2da51cee] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [2da51cee] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101302 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [2da51cee] Finished in 0.556 seconds with exit status 0 (successful). DEBUG [0eefa0f1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [0eefa0f1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi DEBUG [0eefa0f1] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [4ec5d04c] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [4ec5d04c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101302 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [4ec5d04c] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [4ec5d04c] DEBUG [4ec5d04c]  DEBUG [4ec5d04c] The Gemfile's dependencies are satisfied DEBUG [4ec5d04c] DEBUG [4ec5d04c] Finished in 1.202 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [d0b5867f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d0b5867f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101302; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101302'" 1>&2; false; fi DEBUG [d0b5867f] Finished in 0.109 seconds with exit status 0 (successful). INFO [c6826d1d] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [c6826d1d] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101302 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [c6826d1d] rake aborted! DEBUG [c6826d1d] DEBUG [c6826d1d] Don't know how to build task 'assets:precompile' (See the list of available tasks with `rake --tasks`) DEBUG [c6826d1d] DEBUG [c6826d1d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [c6826d1d] DEBUG [c6826d1d] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [c6826d1d] DEBUG [c6826d1d] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [c6826d1d] DEBUG [c6826d1d] (See full trace by running task with --trace) DEBUG [c6826d1d] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:13:39 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d9738e05] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [d9738e05] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [d9738e05] Finished in 0.972 seconds with exit status 0 (successful). INFO [3770f46f] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [3770f46f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [3770f46f] Finished in 0.086 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-9def7f72cde6d1563da4.sh 0.0% INFO Uploading /tmp/git-ssh-9def7f72cde6d1563da4.sh 100.0% INFO [537a1924] Running /usr/bin/env chmod 700 /tmp/git-ssh-9def7f72cde6d1563da4.sh as deploy@18.136.197.163 DEBUG [537a1924] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-9def7f72cde6d1563da4.sh ) INFO [537a1924] Finished in 0.101 seconds with exit status 0 (successful). INFO [e9ee1bc1] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [e9ee1bc1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9def7f72cde6d1563da4.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e9ee1bc1] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [e9ee1bc1] HEAD INFO [e9ee1bc1] Finished in 3.186 seconds with exit status 0 (successful). INFO [556c296b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [556c296b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [556c296b] Finished in 0.158 seconds with exit status 0 (successful). INFO [1bad33a8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [1bad33a8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [1bad33a8] Finished in 0.112 seconds with exit status 0 (successful). INFO [716a131b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [716a131b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [716a131b] Finished in 0.195 seconds with exit status 0 (successful). DEBUG [5be8d623] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [5be8d623] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [5be8d623] Finished in 0.119 seconds with exit status 0 (successful). DEBUG [e78a55a8] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [e78a55a8] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [e78a55a8] Finished in 0.206 seconds with exit status 0 (successful). DEBUG [af6e4d79] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [af6e4d79] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [af6e4d79] Finished in 0.125 seconds with exit status 0 (successful). DEBUG [33e55866] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [33e55866] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [33e55866] Finished in 0.164 seconds with exit status 0 (successful). DEBUG [afaa05e6] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [afaa05e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [afaa05e6] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [afaa05e6] DEBUG [afaa05e6] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [b8f42030] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [b8f42030] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [b8f42030] Finished in 0.174 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [770ba4e3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [770ba4e3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [770ba4e3] Finished in 0.134 seconds with exit status 0 (successful). INFO [c70b1a44] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [c70b1a44] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9def7f72cde6d1563da4.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [c70b1a44] Finished in 0.216 seconds with exit status 0 (successful). INFO [73eda90a] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [73eda90a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9def7f72cde6d1563da4.sh" ; /usr/bin/env git remote update --prune ) DEBUG [73eda90a] Fetching origin DEBUG [73eda90a] DEBUG [73eda90a] remote: Enumerating objects: 22, done. DEBUG [73eda90a] DEBUG [73eda90a] remote: Counting objects: 4% (1/22) DEBUG [73eda90a] remote: Counting objects: 9% (2/22) DEBUG [73eda90a] remote: Counting objects: 13% (3/22) DEBUG [73eda90a] remote: Counting objects: 18% (4/22) DEBUG [73eda90a] remote: Counting objects: 22% (5/22) DEBUG [73eda90a] remote: Counting objects: 27% (6/22) DEBUG [73eda90a] remote: Counting objects: 31% (7/22) DEBUG [73eda90a] remote: Counting objects: 36% (8/22) DEBUG [73eda90a] remote: Counting objects: 40% (9/22) DEBUG [73eda90a] remote: Counting objects: 45% (10/22) DEBUG [73eda90a] remote: Counting objects: 50% (11/22) DEBUG [73eda90a] remote: Counting objects: 54% (12/22) DEBUG [73eda90a] remote: Counting objects: 59% (13/22) DEBUG [73eda90a] remote: Counting objects: 63% (14/22) DEBUG [73eda90a] remote: Counting objects: 68% (15/22) DEBUG [73eda90a] remote: Counting objects: 72% (16/22) DEBUG [73eda90a] remote: Counting objects: 77% (17/22) DEBUG [73eda90a] remote: Counting objects: 81% (18/22) DEBUG [73eda90a] remote: Counting objects: 86% (19/22) DEBUG [73eda90a] remote: Counting objects: 90% (20/22) DEBUG [73eda90a] remote: Counting objects: 95% (21/22) DEBUG [73eda90a] remote: Counting objects: 100% (22/22) DEBUG [73eda90a] remote: Counting objects: 100% (22/22), done. DEBUG [73eda90a] DEBUG [73eda90a] remote: Compressing objects: 25% (1/4) DEBUG [73eda90a] remote: Compressing objects: 50% (2/4) DEBUG [73eda90a] remote: Compressing objects: 75% (3/4) DEBUG [73eda90a] remote: Compressing objects: 100% (4/4) DEBUG [73eda90a] remote: Compressing objects: 100% (4/4), done. DEBUG [73eda90a] DEBUG [73eda90a] remote: Total 12 (delta 7), reused 12 (delta 7), pack-reused 0 DEBUG [73eda90a] DEBUG [73eda90a] Unpacking objects: 8% (1/12) DEBUG [73eda90a] Unpacking objects: 16% (2/12) DEBUG [73eda90a] Unpacking objects: 25% (3/12) DEBUG [73eda90a] Unpacking objects: 33% (4/12) DEBUG [73eda90a] Unpacking objects: 41% (5/12) DEBUG [73eda90a] Unpacking objects: 50% (6/12) DEBUG [73eda90a] Unpacking objects: 58% (7/12) DEBUG [73eda90a] Unpacking objects: 66% (8/12) DEBUG [73eda90a] Unpacking objects: 75% (9/12) DEBUG [73eda90a] Unpacking objects: 83% (10/12) DEBUG [73eda90a] Unpacking objects: 91% (11/12) DEBUG [73eda90a] Unpacking objects: 100% (12/12) DEBUG [73eda90a] Unpacking objects: 100% (12/12), done. DEBUG [73eda90a] DEBUG [73eda90a] From github.com:huythanh176/aoumi_server DEBUG [73eda90a] DEBUG [73eda90a] + 1bf909c...e3a63f4 develop -> develop (forced update) DEBUG [73eda90a] INFO [73eda90a] Finished in 3.303 seconds with exit status 0 (successful). DEBUG [d83c01c1] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d83c01c1] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d83c01c1] Finished in 0.155 seconds with exit status 0 (successful). INFO [33fc1a68] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101345 as deploy@18.136.197.163 DEBUG [33fc1a68] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9def7f72cde6d1563da4.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101345 ) INFO [33fc1a68] Finished in 0.150 seconds with exit status 0 (successful). INFO [9292482e] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101345 as deploy@18.136.197.163 DEBUG [9292482e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9def7f72cde6d1563da4.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101345 ) INFO [9292482e] Finished in 0.221 seconds with exit status 0 (successful). DEBUG [60bd7595] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [60bd7595] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [60bd7595] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [f5646d51] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [f5646d51] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9def7f72cde6d1563da4.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f5646d51] e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65 DEBUG [f5646d51] DEBUG [f5646d51] Finished in 0.195 seconds with exit status 0 (successful). DEBUG [da518e7c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [da518e7c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi DEBUG [da518e7c] Finished in 0.111 seconds with exit status 0 (successful). INFO [89e063b2] Running /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION as deploy@18.136.197.163 DEBUG [89e063b2] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101345 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION ) INFO [89e063b2] Finished in 0.151 seconds with exit status 0 (successful). INFO [b1240789] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101345/config as deploy@18.136.197.163 DEBUG [b1240789] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101345/config ) INFO [b1240789] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [c1875afe] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml ] as deploy@18.136.197.163 DEBUG [c1875afe] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml ] DEBUG [c1875afe] Finished in 0.133 seconds with exit status 1 (failed). DEBUG [41333311] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml ] as deploy@18.136.197.163 DEBUG [41333311] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml ] DEBUG [41333311] Finished in 0.100 seconds with exit status 0 (successful). INFO [389a428e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml as deploy@18.136.197.163 DEBUG [389a428e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml ) INFO [389a428e] Finished in 0.165 seconds with exit status 0 (successful). INFO [010a4057] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml as deploy@18.136.197.163 DEBUG [010a4057] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101345/config/database.yml ) INFO [010a4057] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [000d9019] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/config/application.yml ] as deploy@18.136.197.163 DEBUG [000d9019] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/config/application.yml ] DEBUG [000d9019] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [aa70e6c0] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101345/config/application.yml ] as deploy@18.136.197.163 DEBUG [aa70e6c0] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101345/config/application.yml ] DEBUG [aa70e6c0] Finished in 0.101 seconds with exit status 1 (failed). INFO [85a02f74] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101345/config/application.yml as deploy@18.136.197.163 DEBUG [85a02f74] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101345/config/application.yml ) INFO [85a02f74] Finished in 0.264 seconds with exit status 0 (successful). INFO [52658cb5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101345 /home/deploy/apps/aoumi_server/releases/20221229101345/tmp /home/deploy/apps/aoumi_server/releases/20221229101345/vendor /home/deploy/apps/aoumi_server/releases/20221229101345/public as deploy@18.136.197.163 DEBUG [52658cb5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101345 /home/deploy/apps/aoumi_server/releases/20221229101345/tmp /home/deploy/apps/aoumi_server/releases/20221229101345/vendor /home/deploy/apps/aoumi_server/releases/20221229101345/public ) INFO [52658cb5] Finished in 0.084 seconds with exit status 0 (successful). DEBUG [f163e9b0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/log ] as deploy@18.136.197.163 DEBUG [f163e9b0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/log ] DEBUG [f163e9b0] Finished in 0.179 seconds with exit status 1 (failed). DEBUG [63304975] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/log ] as deploy@18.136.197.163 DEBUG [63304975] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/log ] DEBUG [63304975] Finished in 0.116 seconds with exit status 0 (successful). INFO [7d3a0677] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101345/log as deploy@18.136.197.163 DEBUG [7d3a0677] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101345/log ) INFO [7d3a0677] Finished in 0.166 seconds with exit status 0 (successful). INFO [7bfd4613] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101345/log as deploy@18.136.197.163 DEBUG [7bfd4613] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101345/log ) INFO [7bfd4613] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [3389d978] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids ] as deploy@18.136.197.163 DEBUG [3389d978] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids ] DEBUG [3389d978] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [219d7d33] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids ] as deploy@18.136.197.163 DEBUG [219d7d33] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids ] DEBUG [219d7d33] Finished in 0.157 seconds with exit status 0 (successful). INFO [1c4bef63] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids as deploy@18.136.197.163 DEBUG [1c4bef63] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids ) INFO [1c4bef63] Finished in 0.236 seconds with exit status 0 (successful). INFO [a2199aed] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids as deploy@18.136.197.163 DEBUG [a2199aed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/pids ) INFO [a2199aed] Finished in 0.201 seconds with exit status 0 (successful). DEBUG [b1163499] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/cache ] as deploy@18.136.197.163 DEBUG [b1163499] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/cache ] DEBUG [b1163499] Finished in 0.185 seconds with exit status 1 (failed). DEBUG [2d8c35c1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/cache ] as deploy@18.136.197.163 DEBUG [2d8c35c1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/cache ] DEBUG [2d8c35c1] Finished in 0.129 seconds with exit status 1 (failed). INFO [83f6b3bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/cache as deploy@18.136.197.163 DEBUG [83f6b3bc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/cache ) INFO [83f6b3bc] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [2f2ef354] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/sockets ] as deploy@18.136.197.163 DEBUG [2f2ef354] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/sockets ] DEBUG [2f2ef354] Finished in 0.176 seconds with exit status 1 (failed). DEBUG [8410781a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/sockets ] as deploy@18.136.197.163 DEBUG [8410781a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/sockets ] DEBUG [8410781a] Finished in 0.188 seconds with exit status 1 (failed). INFO [208fb526] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/sockets as deploy@18.136.197.163 DEBUG [208fb526] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101345/tmp/sockets ) INFO [208fb526] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [8cf8d65b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/vendor/bundle ] as deploy@18.136.197.163 DEBUG [8cf8d65b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/vendor/bundle ] DEBUG [8cf8d65b] Finished in 0.183 seconds with exit status 1 (failed). DEBUG [f1680c85] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/vendor/bundle ] as deploy@18.136.197.163 DEBUG [f1680c85] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/vendor/bundle ] DEBUG [f1680c85] Finished in 0.158 seconds with exit status 1 (failed). INFO [625cd0da] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101345/vendor/bundle as deploy@18.136.197.163 DEBUG [625cd0da] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101345/vendor/bundle ) INFO [625cd0da] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [df3af69c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/public/system ] as deploy@18.136.197.163 DEBUG [df3af69c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/public/system ] DEBUG [df3af69c] Finished in 0.117 seconds with exit status 1 (failed). DEBUG [3f9a98e0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/public/system ] as deploy@18.136.197.163 DEBUG [3f9a98e0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/public/system ] DEBUG [3f9a98e0] Finished in 0.356 seconds with exit status 1 (failed). INFO [8bee046b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101345/public/system as deploy@18.136.197.163 DEBUG [8bee046b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101345/public/system ) INFO [8bee046b] Finished in 0.161 seconds with exit status 0 (successful). DEBUG [6561eced] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/public/uploads ] as deploy@18.136.197.163 DEBUG [6561eced] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/public/uploads ] DEBUG [6561eced] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [8637ee36] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/public/uploads ] as deploy@18.136.197.163 DEBUG [8637ee36] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/public/uploads ] DEBUG [8637ee36] Finished in 0.102 seconds with exit status 1 (failed). INFO [168fbfd9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101345/public/uploads as deploy@18.136.197.163 DEBUG [168fbfd9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101345/public/uploads ) INFO [168fbfd9] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [f8a24e5f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/public/assets ] as deploy@18.136.197.163 DEBUG [f8a24e5f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101345/public/assets ] DEBUG [f8a24e5f] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [fb0e1731] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/public/assets ] as deploy@18.136.197.163 DEBUG [fb0e1731] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101345/public/assets ] DEBUG [fb0e1731] Finished in 0.146 seconds with exit status 1 (failed). INFO [fc83c0ab] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229101345/public/assets as deploy@18.136.197.163 DEBUG [fc83c0ab] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221229101345/public/assets ) INFO [fc83c0ab] Finished in 0.122 seconds with exit status 0 (successful). DEBUG [8083962c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8083962c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi DEBUG [8083962c] Finished in 0.131 seconds with exit status 0 (successful). INFO [49ff4c72] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [49ff4c72] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101345 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [49ff4c72] Finished in 0.302 seconds with exit status 0 (successful). INFO [b7141d64] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [b7141d64] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101345 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [b7141d64] Finished in 0.405 seconds with exit status 0 (successful). INFO [5b96c693] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [5b96c693] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101345 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [5b96c693] Finished in 0.320 seconds with exit status 0 (successful). DEBUG [6842e5df] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6842e5df] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi DEBUG [6842e5df] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [0d80a0a0] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [0d80a0a0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101345 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [0d80a0a0] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [0d80a0a0] DEBUG [0d80a0a0]  DEBUG [0d80a0a0] The Gemfile's dependencies are satisfied DEBUG [0d80a0a0] DEBUG [0d80a0a0] Finished in 0.580 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [2f4cad61] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2f4cad61] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101345; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101345'" 1>&2; false; fi DEBUG [2f4cad61] Finished in 0.136 seconds with exit status 0 (successful). INFO [946d2835] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [946d2835] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101345 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [946d2835] rake aborted! DEBUG [946d2835] DEBUG [946d2835] Don't know how to build task 'assets:precompile' (See the list of available tasks with `rake --tasks`) DEBUG [946d2835] DEBUG [946d2835] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [946d2835] DEBUG [946d2835] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [946d2835] DEBUG [946d2835] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [946d2835] DEBUG [946d2835] (See full trace by running task with --trace) DEBUG [946d2835] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:15:44 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e300d470] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [e300d470] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [e300d470] Finished in 1.131 seconds with exit status 0 (successful). INFO [974aa65c] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [974aa65c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [974aa65c] Finished in 0.119 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-259006ca12038504c825.sh 0.0% INFO Uploading /tmp/git-ssh-259006ca12038504c825.sh 100.0% INFO [8bc23690] Running /usr/bin/env chmod 700 /tmp/git-ssh-259006ca12038504c825.sh as deploy@18.136.197.163 DEBUG [8bc23690] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-259006ca12038504c825.sh ) INFO [8bc23690] Finished in 0.105 seconds with exit status 0 (successful). INFO [7c0459df] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [7c0459df] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-259006ca12038504c825.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [7c0459df] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [7c0459df] HEAD INFO [7c0459df] Finished in 2.921 seconds with exit status 0 (successful). INFO [433a9092] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [433a9092] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [433a9092] Finished in 0.158 seconds with exit status 0 (successful). INFO [7f7d0307] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [7f7d0307] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [7f7d0307] Finished in 0.153 seconds with exit status 0 (successful). INFO [9799a227] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [9799a227] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [9799a227] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [46f28835] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [46f28835] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [46f28835] Finished in 0.124 seconds with exit status 0 (successful). DEBUG [22bc2e8d] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [22bc2e8d] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [22bc2e8d] Finished in 0.217 seconds with exit status 0 (successful). DEBUG [d5c47c90] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [d5c47c90] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [d5c47c90] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [6604664d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [6604664d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [6604664d] Finished in 0.159 seconds with exit status 0 (successful). DEBUG [09768747] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [09768747] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [09768747] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [09768747] DEBUG [09768747] Finished in 0.126 seconds with exit status 0 (successful). DEBUG [a5c4d3a6] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [a5c4d3a6] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [a5c4d3a6] Finished in 0.174 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [31d3aa8f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [31d3aa8f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [31d3aa8f] Finished in 0.124 seconds with exit status 0 (successful). INFO [b37a9a0e] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [b37a9a0e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-259006ca12038504c825.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [b37a9a0e] Finished in 0.178 seconds with exit status 0 (successful). INFO [b53edd51] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [b53edd51] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-259006ca12038504c825.sh" ; /usr/bin/env git remote update --prune ) DEBUG [b53edd51] Fetching origin DEBUG [b53edd51] INFO [b53edd51] Finished in 2.782 seconds with exit status 0 (successful). DEBUG [c4eaa8e2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c4eaa8e2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c4eaa8e2] Finished in 0.103 seconds with exit status 0 (successful). INFO [0e79cf28] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101550 as deploy@18.136.197.163 DEBUG [0e79cf28] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-259006ca12038504c825.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101550 ) INFO [0e79cf28] Finished in 0.484 seconds with exit status 0 (successful). INFO [040ff66c] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101550 as deploy@18.136.197.163 DEBUG [040ff66c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-259006ca12038504c825.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229101550 ) INFO [040ff66c] Finished in 0.349 seconds with exit status 0 (successful). DEBUG [d651eb40] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d651eb40] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d651eb40] Finished in 0.198 seconds with exit status 0 (successful). DEBUG [5b25f099] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [5b25f099] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-259006ca12038504c825.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [5b25f099] e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65 DEBUG [5b25f099] DEBUG [5b25f099] Finished in 0.159 seconds with exit status 0 (successful). DEBUG [bcfeb855] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bcfeb855] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi DEBUG [bcfeb855] Finished in 0.176 seconds with exit status 0 (successful). INFO [acef9046] Running /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION as deploy@18.136.197.163 DEBUG [acef9046] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101550 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION ) INFO [acef9046] Finished in 0.109 seconds with exit status 0 (successful). INFO [abe4acfb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101550/config as deploy@18.136.197.163 DEBUG [abe4acfb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101550/config ) INFO [abe4acfb] Finished in 0.201 seconds with exit status 0 (successful). DEBUG [b0a1c3f1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml ] as deploy@18.136.197.163 DEBUG [b0a1c3f1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml ] DEBUG [b0a1c3f1] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [33590227] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml ] as deploy@18.136.197.163 DEBUG [33590227] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml ] DEBUG [33590227] Finished in 0.161 seconds with exit status 0 (successful). INFO [1ce8951f] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml as deploy@18.136.197.163 DEBUG [1ce8951f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml ) INFO [1ce8951f] Finished in 0.119 seconds with exit status 0 (successful). INFO [8ce930d0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml as deploy@18.136.197.163 DEBUG [8ce930d0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229101550/config/database.yml ) INFO [8ce930d0] Finished in 0.171 seconds with exit status 0 (successful). DEBUG [2646a839] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/config/application.yml ] as deploy@18.136.197.163 DEBUG [2646a839] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/config/application.yml ] DEBUG [2646a839] Finished in 0.121 seconds with exit status 1 (failed). DEBUG [0099584f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229101550/config/application.yml ] as deploy@18.136.197.163 DEBUG [0099584f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229101550/config/application.yml ] DEBUG [0099584f] Finished in 0.242 seconds with exit status 1 (failed). INFO [edc12123] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101550/config/application.yml as deploy@18.136.197.163 DEBUG [edc12123] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229101550/config/application.yml ) INFO [edc12123] Finished in 0.119 seconds with exit status 0 (successful). INFO [23d66e26] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101550 /home/deploy/apps/aoumi_server/releases/20221229101550/tmp /home/deploy/apps/aoumi_server/releases/20221229101550/vendor /home/deploy/apps/aoumi_server/releases/20221229101550/public as deploy@18.136.197.163 DEBUG [23d66e26] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229101550 /home/deploy/apps/aoumi_server/releases/20221229101550/tmp /home/deploy/apps/aoumi_server/releases/20221229101550/vendor /home/deploy/apps/aoumi_server/releases/20221229101550/public ) INFO [23d66e26] Finished in 0.258 seconds with exit status 0 (successful). DEBUG [4cfc4396] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/log ] as deploy@18.136.197.163 DEBUG [4cfc4396] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/log ] DEBUG [4cfc4396] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [2e2cbad2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/log ] as deploy@18.136.197.163 DEBUG [2e2cbad2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/log ] DEBUG [2e2cbad2] Finished in 0.190 seconds with exit status 0 (successful). INFO [f6025cef] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101550/log as deploy@18.136.197.163 DEBUG [f6025cef] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101550/log ) INFO [f6025cef] Finished in 0.126 seconds with exit status 0 (successful). INFO [1f9047c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101550/log as deploy@18.136.197.163 DEBUG [1f9047c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229101550/log ) INFO [1f9047c5] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [12616de8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids ] as deploy@18.136.197.163 DEBUG [12616de8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids ] DEBUG [12616de8] Finished in 0.128 seconds with exit status 1 (failed). DEBUG [0a3641d9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids ] as deploy@18.136.197.163 DEBUG [0a3641d9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids ] DEBUG [0a3641d9] Finished in 0.229 seconds with exit status 0 (successful). INFO [0d231e96] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids as deploy@18.136.197.163 DEBUG [0d231e96] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids ) INFO [0d231e96] Finished in 0.109 seconds with exit status 0 (successful). INFO [4ff21767] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids as deploy@18.136.197.163 DEBUG [4ff21767] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/pids ) INFO [4ff21767] Finished in 0.215 seconds with exit status 0 (successful). DEBUG [ddb85c61] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/cache ] as deploy@18.136.197.163 DEBUG [ddb85c61] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/cache ] DEBUG [ddb85c61] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [f698a5b3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/cache ] as deploy@18.136.197.163 DEBUG [f698a5b3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/cache ] DEBUG [f698a5b3] Finished in 0.179 seconds with exit status 1 (failed). INFO [4b505c23] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/cache as deploy@18.136.197.163 DEBUG [4b505c23] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/cache ) INFO [4b505c23] Finished in 0.183 seconds with exit status 0 (successful). DEBUG [018e2974] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/sockets ] as deploy@18.136.197.163 DEBUG [018e2974] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/sockets ] DEBUG [018e2974] Finished in 0.215 seconds with exit status 1 (failed). DEBUG [b4430e6f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/sockets ] as deploy@18.136.197.163 DEBUG [b4430e6f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/sockets ] DEBUG [b4430e6f] Finished in 0.171 seconds with exit status 1 (failed). INFO [6725745a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/sockets as deploy@18.136.197.163 DEBUG [6725745a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229101550/tmp/sockets ) INFO [6725745a] Finished in 0.202 seconds with exit status 0 (successful). DEBUG [0fdd077b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/vendor/bundle ] as deploy@18.136.197.163 DEBUG [0fdd077b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/vendor/bundle ] DEBUG [0fdd077b] Finished in 0.127 seconds with exit status 1 (failed). DEBUG [908a9af7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/vendor/bundle ] as deploy@18.136.197.163 DEBUG [908a9af7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/vendor/bundle ] DEBUG [908a9af7] Finished in 0.143 seconds with exit status 1 (failed). INFO [3980a512] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101550/vendor/bundle as deploy@18.136.197.163 DEBUG [3980a512] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229101550/vendor/bundle ) INFO [3980a512] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [d4e26c6e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/public/system ] as deploy@18.136.197.163 DEBUG [d4e26c6e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/public/system ] DEBUG [d4e26c6e] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [8cc96773] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/public/system ] as deploy@18.136.197.163 DEBUG [8cc96773] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/public/system ] DEBUG [8cc96773] Finished in 0.147 seconds with exit status 1 (failed). INFO [80125417] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101550/public/system as deploy@18.136.197.163 DEBUG [80125417] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229101550/public/system ) INFO [80125417] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [e0b1a1d3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/public/uploads ] as deploy@18.136.197.163 DEBUG [e0b1a1d3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229101550/public/uploads ] DEBUG [e0b1a1d3] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [15f42b73] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/public/uploads ] as deploy@18.136.197.163 DEBUG [15f42b73] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229101550/public/uploads ] DEBUG [15f42b73] Finished in 0.175 seconds with exit status 1 (failed). INFO [c4a3c279] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101550/public/uploads as deploy@18.136.197.163 DEBUG [c4a3c279] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229101550/public/uploads ) INFO [c4a3c279] Finished in 0.168 seconds with exit status 0 (successful). DEBUG [dfabd843] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [dfabd843] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi DEBUG [dfabd843] Finished in 0.230 seconds with exit status 0 (successful). INFO [47c7532e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [47c7532e] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101550 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [47c7532e] Finished in 0.357 seconds with exit status 0 (successful). INFO [6e4ebc13] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [6e4ebc13] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101550 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [6e4ebc13] Finished in 0.417 seconds with exit status 0 (successful). INFO [d4643241] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [d4643241] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101550 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [d4643241] Finished in 0.356 seconds with exit status 0 (successful). DEBUG [7bddc642] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [7bddc642] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi DEBUG [7bddc642] Finished in 0.252 seconds with exit status 0 (successful). DEBUG [ce2e8800] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [ce2e8800] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101550 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ce2e8800] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [ce2e8800] DEBUG [ce2e8800]  DEBUG [ce2e8800] The Gemfile's dependencies are satisfied DEBUG [ce2e8800] DEBUG [ce2e8800] Finished in 0.824 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [cf07ccc8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cf07ccc8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229101550; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229101550'" 1>&2; false; fi DEBUG [cf07ccc8] Finished in 0.172 seconds with exit status 0 (successful). INFO [dc2fa92d] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [dc2fa92d] Command: cd /home/deploy/apps/aoumi_server/releases/20221229101550 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [dc2fa92d] rake aborted! DEBUG [dc2fa92d] DEBUG [dc2fa92d] ActiveRecord::DatabaseConnectionError: There is an issue connecting with your hostname: aoumi-dev-db.cjzeimxgfmmj.ap-southeast-1.rds.amazonaws.com. DEBUG [dc2fa92d] DEBUG [dc2fa92d] DEBUG [dc2fa92d] Please check your database configuration and ensure there is a valid connection to your database. DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:51:in `rescue in new_client' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/de DEBUG [dc2fa92d] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [dc2fa92d] Caused by: Mysql2::Error::ConnectionError: Can't connect to MySQL server on 'aoumi-dev-db.cjzeimxgfmmj.ap-southeast-1.rds.amazonaws.com' (110) DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [dc2fa92d] DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [dc2fa92d] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' Tasks: TOP => db:migrate DEBUG [dc2fa92d] (See full trace by running task with --trace) DEBUG [dc2fa92d] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:20:16 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [61fe57b2] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [61fe57b2] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [61fe57b2] Finished in 0.941 seconds with exit status 0 (successful). INFO [98e5520e] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [98e5520e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [98e5520e] Finished in 0.114 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-7b87f0fece206971ae1f.sh 0.0% INFO Uploading /tmp/git-ssh-7b87f0fece206971ae1f.sh 100.0% INFO [095595cc] Running /usr/bin/env chmod 700 /tmp/git-ssh-7b87f0fece206971ae1f.sh as deploy@18.136.197.163 DEBUG [095595cc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-7b87f0fece206971ae1f.sh ) INFO [095595cc] Finished in 0.116 seconds with exit status 0 (successful). INFO [b44fb79e] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [b44fb79e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b87f0fece206971ae1f.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b44fb79e] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [b44fb79e] HEAD INFO [b44fb79e] Finished in 2.993 seconds with exit status 0 (successful). INFO [a1474c5c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [a1474c5c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [a1474c5c] Finished in 0.117 seconds with exit status 0 (successful). INFO [8dda18a0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [8dda18a0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [8dda18a0] Finished in 0.121 seconds with exit status 0 (successful). INFO [819d74c5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [819d74c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [819d74c5] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [b3564e7f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [b3564e7f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [b3564e7f] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [be2e377f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [be2e377f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [be2e377f] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [87fcbb6c] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [87fcbb6c] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [87fcbb6c] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [37c5d292] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [37c5d292] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [37c5d292] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [0eaa8cf8] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [0eaa8cf8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [0eaa8cf8] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [0eaa8cf8] DEBUG [0eaa8cf8] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [475b01fc] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [475b01fc] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [475b01fc] Finished in 0.149 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5081c260] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5081c260] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5081c260] Finished in 0.103 seconds with exit status 0 (successful). INFO [53fd73c3] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [53fd73c3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b87f0fece206971ae1f.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [53fd73c3] Finished in 0.141 seconds with exit status 0 (successful). INFO [67221431] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [67221431] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b87f0fece206971ae1f.sh" ; /usr/bin/env git remote update --prune ) DEBUG [67221431] Fetching origin DEBUG [67221431] INFO [67221431] Finished in 2.768 seconds with exit status 0 (successful). DEBUG [15281781] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [15281781] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [15281781] Finished in 0.094 seconds with exit status 0 (successful). INFO [e6c68ca0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102021 as deploy@18.136.197.163 DEBUG [e6c68ca0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b87f0fece206971ae1f.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102021 ) INFO [e6c68ca0] Finished in 0.118 seconds with exit status 0 (successful). INFO [3ae0ff8f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102021 as deploy@18.136.197.163 DEBUG [3ae0ff8f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b87f0fece206971ae1f.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102021 ) INFO [3ae0ff8f] Finished in 0.210 seconds with exit status 0 (successful). DEBUG [6dd1fec1] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6dd1fec1] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6dd1fec1] Finished in 0.124 seconds with exit status 0 (successful). DEBUG [0f3c36f2] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [0f3c36f2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b87f0fece206971ae1f.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [0f3c36f2] e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65 DEBUG [0f3c36f2] DEBUG [0f3c36f2] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [b0ec50e3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [b0ec50e3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi DEBUG [b0ec50e3] Finished in 0.115 seconds with exit status 0 (successful). INFO [7a3f7e3f] Running /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION as deploy@18.136.197.163 DEBUG [7a3f7e3f] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102021 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION ) INFO [7a3f7e3f] Finished in 0.156 seconds with exit status 0 (successful). INFO [964b2904] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102021/config as deploy@18.136.197.163 DEBUG [964b2904] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102021/config ) INFO [964b2904] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [339da1a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml ] as deploy@18.136.197.163 DEBUG [339da1a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml ] DEBUG [339da1a3] Finished in 0.153 seconds with exit status 1 (failed). DEBUG [879ea367] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml ] as deploy@18.136.197.163 DEBUG [879ea367] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml ] DEBUG [879ea367] Finished in 0.104 seconds with exit status 0 (successful). INFO [6a79d3ad] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml as deploy@18.136.197.163 DEBUG [6a79d3ad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml ) INFO [6a79d3ad] Finished in 0.198 seconds with exit status 0 (successful). INFO [4acf4edc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml as deploy@18.136.197.163 DEBUG [4acf4edc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102021/config/database.yml ) INFO [4acf4edc] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [02d0fb51] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/config/application.yml ] as deploy@18.136.197.163 DEBUG [02d0fb51] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/config/application.yml ] DEBUG [02d0fb51] Finished in 0.239 seconds with exit status 1 (failed). DEBUG [f1ce4637] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102021/config/application.yml ] as deploy@18.136.197.163 DEBUG [f1ce4637] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102021/config/application.yml ] DEBUG [f1ce4637] Finished in 0.115 seconds with exit status 1 (failed). INFO [0cdafdaf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102021/config/application.yml as deploy@18.136.197.163 DEBUG [0cdafdaf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102021/config/application.yml ) INFO [0cdafdaf] Finished in 0.167 seconds with exit status 0 (successful). INFO [20610c6e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102021 /home/deploy/apps/aoumi_server/releases/20221229102021/tmp /home/deploy/apps/aoumi_server/releases/20221229102021/vendor /home/deploy/apps/aoumi_server/releases/20221229102021/public as deploy@18.136.197.163 DEBUG [20610c6e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102021 /home/deploy/apps/aoumi_server/releases/20221229102021/tmp /home/deploy/apps/aoumi_server/releases/20221229102021/vendor /home/deploy/apps/aoumi_server/releases/20221229102021/public ) INFO [20610c6e] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [7ee4448b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/log ] as deploy@18.136.197.163 DEBUG [7ee4448b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/log ] DEBUG [7ee4448b] Finished in 0.182 seconds with exit status 1 (failed). DEBUG [cea1b5c1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/log ] as deploy@18.136.197.163 DEBUG [cea1b5c1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/log ] DEBUG [cea1b5c1] Finished in 0.151 seconds with exit status 0 (successful). INFO [26910164] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102021/log as deploy@18.136.197.163 DEBUG [26910164] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102021/log ) INFO [26910164] Finished in 0.151 seconds with exit status 0 (successful). INFO [ae46f8bb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102021/log as deploy@18.136.197.163 DEBUG [ae46f8bb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102021/log ) INFO [ae46f8bb] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [dd70db5f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids ] as deploy@18.136.197.163 DEBUG [dd70db5f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids ] DEBUG [dd70db5f] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [e045ceab] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids ] as deploy@18.136.197.163 DEBUG [e045ceab] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids ] DEBUG [e045ceab] Finished in 0.092 seconds with exit status 0 (successful). INFO [7d41a293] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids as deploy@18.136.197.163 DEBUG [7d41a293] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids ) INFO [7d41a293] Finished in 0.147 seconds with exit status 0 (successful). INFO [86086c85] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids as deploy@18.136.197.163 DEBUG [86086c85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/pids ) INFO [86086c85] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [c66ecbc4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/cache ] as deploy@18.136.197.163 DEBUG [c66ecbc4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/cache ] DEBUG [c66ecbc4] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [969d808d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/cache ] as deploy@18.136.197.163 DEBUG [969d808d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/cache ] DEBUG [969d808d] Finished in 0.092 seconds with exit status 1 (failed). INFO [287c2504] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/cache as deploy@18.136.197.163 DEBUG [287c2504] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/cache ) INFO [287c2504] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [4c9f93b0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/sockets ] as deploy@18.136.197.163 DEBUG [4c9f93b0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/sockets ] DEBUG [4c9f93b0] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [0de092b7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/sockets ] as deploy@18.136.197.163 DEBUG [0de092b7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/sockets ] DEBUG [0de092b7] Finished in 0.149 seconds with exit status 1 (failed). INFO [e50c7511] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/sockets as deploy@18.136.197.163 DEBUG [e50c7511] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102021/tmp/sockets ) INFO [e50c7511] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [1fc3440c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/vendor/bundle ] as deploy@18.136.197.163 DEBUG [1fc3440c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/vendor/bundle ] DEBUG [1fc3440c] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [1567ddc8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/vendor/bundle ] as deploy@18.136.197.163 DEBUG [1567ddc8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/vendor/bundle ] DEBUG [1567ddc8] Finished in 0.099 seconds with exit status 1 (failed). INFO [78da7b8b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102021/vendor/bundle as deploy@18.136.197.163 DEBUG [78da7b8b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102021/vendor/bundle ) INFO [78da7b8b] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [27f05cf0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/public/system ] as deploy@18.136.197.163 DEBUG [27f05cf0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/public/system ] DEBUG [27f05cf0] Finished in 0.112 seconds with exit status 1 (failed). DEBUG [066dc66d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/public/system ] as deploy@18.136.197.163 DEBUG [066dc66d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/public/system ] DEBUG [066dc66d] Finished in 0.164 seconds with exit status 1 (failed). INFO [adb05517] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102021/public/system as deploy@18.136.197.163 DEBUG [adb05517] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102021/public/system ) INFO [adb05517] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [e0c285e2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/public/uploads ] as deploy@18.136.197.163 DEBUG [e0c285e2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102021/public/uploads ] DEBUG [e0c285e2] Finished in 0.259 seconds with exit status 1 (failed). DEBUG [135adba2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/public/uploads ] as deploy@18.136.197.163 DEBUG [135adba2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102021/public/uploads ] DEBUG [135adba2] Finished in 0.103 seconds with exit status 1 (failed). INFO [3ffd098a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102021/public/uploads as deploy@18.136.197.163 DEBUG [3ffd098a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102021/public/uploads ) INFO [3ffd098a] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [741f0341] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [741f0341] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi DEBUG [741f0341] Finished in 0.107 seconds with exit status 0 (successful). INFO [42e420be] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [42e420be] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102021 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [42e420be] Finished in 0.353 seconds with exit status 0 (successful). INFO [d2a98722] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [d2a98722] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102021 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [d2a98722] Finished in 0.396 seconds with exit status 0 (successful). INFO [964b58a7] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [964b58a7] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102021 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [964b58a7] Finished in 0.417 seconds with exit status 0 (successful). DEBUG [da3ca281] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [da3ca281] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi DEBUG [da3ca281] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [ec0e423d] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [ec0e423d] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102021 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ec0e423d] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [ec0e423d] DEBUG [ec0e423d]  DEBUG [ec0e423d] The Gemfile's dependencies are satisfied DEBUG [ec0e423d] DEBUG [ec0e423d] Finished in 0.742 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8e527c6f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8e527c6f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102021; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102021'" 1>&2; false; fi DEBUG [8e527c6f] Finished in 0.106 seconds with exit status 0 (successful). INFO [fb0365f0] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [fb0365f0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102021 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [fb0365f0] rake aborted! ActiveRecord::DatabaseConnectionError: There is an issue connecting with your hostname: aoumi-dev-db.cjzeimxgfmmj.ap-southeast-1.rds.amazonaws.com. Please check your database configuration and ensure there is a valid connection to your database. /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:51:in `rescue in new_client' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' Caused by: Mysql2::Error::ConnectionError: Can't connect to MySQL server on 'aoumi-dev-db.cjzeimxgfmmj.ap-southeast-1.rds.amazonaws.com' (110) /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/li DEBUG [fb0365f0] b/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' Tasks: TOP => db:migrate (See full trace by running task with --trace) INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:23:10 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [b5acb39f] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [b5acb39f] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [b5acb39f] Finished in 0.951 seconds with exit status 0 (successful). INFO [724357b6] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [724357b6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [724357b6] Finished in 0.082 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-b26cef9619dd1561d54d.sh 0.0% INFO Uploading /tmp/git-ssh-b26cef9619dd1561d54d.sh 100.0% INFO [e5fba71c] Running /usr/bin/env chmod 700 /tmp/git-ssh-b26cef9619dd1561d54d.sh as deploy@18.136.197.163 DEBUG [e5fba71c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-b26cef9619dd1561d54d.sh ) INFO [e5fba71c] Finished in 0.091 seconds with exit status 0 (successful). INFO [237c2833] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [237c2833] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b26cef9619dd1561d54d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [237c2833] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [237c2833] HEAD INFO [237c2833] Finished in 2.802 seconds with exit status 0 (successful). INFO [1a318283] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [1a318283] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [1a318283] Finished in 0.090 seconds with exit status 0 (successful). INFO [021173a0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [021173a0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [021173a0] Finished in 0.091 seconds with exit status 0 (successful). INFO [879ae908] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [879ae908] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [879ae908] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [dd15a9e5] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [dd15a9e5] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [dd15a9e5] Finished in 0.087 seconds with exit status 0 (successful). DEBUG [498414db] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [498414db] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [498414db] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [209fd898] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [209fd898] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [209fd898] Finished in 0.086 seconds with exit status 0 (successful). DEBUG [e4aa6a66] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [e4aa6a66] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [e4aa6a66] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [0f4d5cf0] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [0f4d5cf0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [0f4d5cf0] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [0f4d5cf0] DEBUG [0f4d5cf0] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [b483c4e8] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [b483c4e8] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [b483c4e8] Finished in 0.129 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [f985c5ec] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f985c5ec] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f985c5ec] Finished in 0.090 seconds with exit status 0 (successful). INFO [5864efb8] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [5864efb8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b26cef9619dd1561d54d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [5864efb8] Finished in 0.135 seconds with exit status 0 (successful). INFO [b51b7ba8] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [b51b7ba8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b26cef9619dd1561d54d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [b51b7ba8] Fetching origin DEBUG [b51b7ba8] INFO [b51b7ba8] Finished in 2.856 seconds with exit status 0 (successful). DEBUG [63357ea9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [63357ea9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [63357ea9] Finished in 0.082 seconds with exit status 0 (successful). INFO [48c7378d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102315 as deploy@18.136.197.163 DEBUG [48c7378d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b26cef9619dd1561d54d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102315 ) INFO [48c7378d] Finished in 0.098 seconds with exit status 0 (successful). INFO [5ba1f308] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102315 as deploy@18.136.197.163 DEBUG [5ba1f308] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b26cef9619dd1561d54d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102315 ) INFO [5ba1f308] Finished in 0.194 seconds with exit status 0 (successful). DEBUG [59e03622] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [59e03622] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [59e03622] Finished in 0.125 seconds with exit status 0 (successful). DEBUG [72aefc91] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [72aefc91] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b26cef9619dd1561d54d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [72aefc91] e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65 DEBUG [72aefc91] DEBUG [72aefc91] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [8b1f9cad] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8b1f9cad] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi DEBUG [8b1f9cad] Finished in 0.089 seconds with exit status 0 (successful). INFO [be655134] Running /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION as deploy@18.136.197.163 DEBUG [be655134] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102315 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION ) INFO [be655134] Finished in 0.137 seconds with exit status 0 (successful). INFO [1cac26ad] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102315/config as deploy@18.136.197.163 DEBUG [1cac26ad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102315/config ) INFO [1cac26ad] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [33c8321b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml ] as deploy@18.136.197.163 DEBUG [33c8321b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml ] DEBUG [33c8321b] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [21a65914] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml ] as deploy@18.136.197.163 DEBUG [21a65914] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml ] DEBUG [21a65914] Finished in 0.100 seconds with exit status 0 (successful). INFO [ae13a854] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml as deploy@18.136.197.163 DEBUG [ae13a854] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml ) INFO [ae13a854] Finished in 0.134 seconds with exit status 0 (successful). INFO [d4b7c40f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml as deploy@18.136.197.163 DEBUG [d4b7c40f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102315/config/database.yml ) INFO [d4b7c40f] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [daaba906] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/config/application.yml ] as deploy@18.136.197.163 DEBUG [daaba906] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/config/application.yml ] DEBUG [daaba906] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [7e4b2ebd] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102315/config/application.yml ] as deploy@18.136.197.163 DEBUG [7e4b2ebd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102315/config/application.yml ] DEBUG [7e4b2ebd] Finished in 0.093 seconds with exit status 1 (failed). INFO [008f6a0e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102315/config/application.yml as deploy@18.136.197.163 DEBUG [008f6a0e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102315/config/application.yml ) INFO [008f6a0e] Finished in 0.133 seconds with exit status 0 (successful). INFO [a8914224] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102315 /home/deploy/apps/aoumi_server/releases/20221229102315/tmp /home/deploy/apps/aoumi_server/releases/20221229102315/vendor /home/deploy/apps/aoumi_server/releases/20221229102315/public as deploy@18.136.197.163 DEBUG [a8914224] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102315 /home/deploy/apps/aoumi_server/releases/20221229102315/tmp /home/deploy/apps/aoumi_server/releases/20221229102315/vendor /home/deploy/apps/aoumi_server/releases/20221229102315/public ) INFO [a8914224] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [6a5b7206] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/log ] as deploy@18.136.197.163 DEBUG [6a5b7206] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/log ] DEBUG [6a5b7206] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [3ce2c03e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/log ] as deploy@18.136.197.163 DEBUG [3ce2c03e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/log ] DEBUG [3ce2c03e] Finished in 0.095 seconds with exit status 0 (successful). INFO [ab383ca3] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102315/log as deploy@18.136.197.163 DEBUG [ab383ca3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102315/log ) INFO [ab383ca3] Finished in 0.151 seconds with exit status 0 (successful). INFO [340f0d6a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102315/log as deploy@18.136.197.163 DEBUG [340f0d6a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102315/log ) INFO [340f0d6a] Finished in 0.091 seconds with exit status 0 (successful). DEBUG [f8a7dac1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids ] as deploy@18.136.197.163 DEBUG [f8a7dac1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids ] DEBUG [f8a7dac1] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [9e406dd3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids ] as deploy@18.136.197.163 DEBUG [9e406dd3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids ] DEBUG [9e406dd3] Finished in 0.089 seconds with exit status 0 (successful). INFO [0aa64b08] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids as deploy@18.136.197.163 DEBUG [0aa64b08] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids ) INFO [0aa64b08] Finished in 0.139 seconds with exit status 0 (successful). INFO [bf749973] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids as deploy@18.136.197.163 DEBUG [bf749973] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/pids ) INFO [bf749973] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [f6d754be] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/cache ] as deploy@18.136.197.163 DEBUG [f6d754be] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/cache ] DEBUG [f6d754be] Finished in 0.130 seconds with exit status 1 (failed). DEBUG [3560f6fc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/cache ] as deploy@18.136.197.163 DEBUG [3560f6fc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/cache ] DEBUG [3560f6fc] Finished in 0.092 seconds with exit status 1 (failed). INFO [a680ef06] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/cache as deploy@18.136.197.163 DEBUG [a680ef06] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/cache ) INFO [a680ef06] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [7e81da85] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/sockets ] as deploy@18.136.197.163 DEBUG [7e81da85] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/sockets ] DEBUG [7e81da85] Finished in 0.093 seconds with exit status 1 (failed). DEBUG [89529981] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/sockets ] as deploy@18.136.197.163 DEBUG [89529981] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/sockets ] DEBUG [89529981] Finished in 0.133 seconds with exit status 1 (failed). INFO [aec30efc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/sockets as deploy@18.136.197.163 DEBUG [aec30efc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102315/tmp/sockets ) INFO [aec30efc] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [b7466623] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/vendor/bundle ] as deploy@18.136.197.163 DEBUG [b7466623] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/vendor/bundle ] DEBUG [b7466623] Finished in 0.132 seconds with exit status 1 (failed). DEBUG [8912f6bb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/vendor/bundle ] as deploy@18.136.197.163 DEBUG [8912f6bb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/vendor/bundle ] DEBUG [8912f6bb] Finished in 0.089 seconds with exit status 1 (failed). INFO [71801073] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102315/vendor/bundle as deploy@18.136.197.163 DEBUG [71801073] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102315/vendor/bundle ) INFO [71801073] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [6f193961] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/public/system ] as deploy@18.136.197.163 DEBUG [6f193961] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/public/system ] DEBUG [6f193961] Finished in 0.091 seconds with exit status 1 (failed). DEBUG [c3796ce2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/public/system ] as deploy@18.136.197.163 DEBUG [c3796ce2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/public/system ] DEBUG [c3796ce2] Finished in 0.138 seconds with exit status 1 (failed). INFO [576628ca] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102315/public/system as deploy@18.136.197.163 DEBUG [576628ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102315/public/system ) INFO [576628ca] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [8b85eb10] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/public/uploads ] as deploy@18.136.197.163 DEBUG [8b85eb10] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102315/public/uploads ] DEBUG [8b85eb10] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [149d7825] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/public/uploads ] as deploy@18.136.197.163 DEBUG [149d7825] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102315/public/uploads ] DEBUG [149d7825] Finished in 0.094 seconds with exit status 1 (failed). INFO [9780530e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102315/public/uploads as deploy@18.136.197.163 DEBUG [9780530e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102315/public/uploads ) INFO [9780530e] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [38dbd6c5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [38dbd6c5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi DEBUG [38dbd6c5] Finished in 0.092 seconds with exit status 0 (successful). INFO [ba164b31] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [ba164b31] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102315 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [ba164b31] Finished in 0.329 seconds with exit status 0 (successful). INFO [8c21b6d9] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [8c21b6d9] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102315 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [8c21b6d9] Finished in 0.375 seconds with exit status 0 (successful). INFO [6070aded] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [6070aded] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102315 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [6070aded] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [722670f0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [722670f0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi DEBUG [722670f0] Finished in 0.089 seconds with exit status 0 (successful). DEBUG [d31dc5ca] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [d31dc5ca] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102315 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [d31dc5ca] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [d31dc5ca] DEBUG [d31dc5ca]  DEBUG [d31dc5ca] The Gemfile's dependencies are satisfied DEBUG [d31dc5ca] DEBUG [d31dc5ca] Finished in 0.660 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8ab70c4f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8ab70c4f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102315; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102315'" 1>&2; false; fi DEBUG [8ab70c4f] Finished in 0.098 seconds with exit status 0 (successful). INFO [cf94a3de] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [cf94a3de] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102315 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [cf94a3de] rake aborted! DEBUG [cf94a3de] DEBUG [cf94a3de] ActiveRecord::NoDatabaseError: We could not find your database: aoumi-dev-db. Which can be found in the database configuration file located at config/database.yml. DEBUG [cf94a3de] DEBUG [cf94a3de] DEBUG [cf94a3de] To resolve this issue: DEBUG [cf94a3de] DEBUG [cf94a3de] DEBUG [cf94a3de] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [cf94a3de] DEBUG [cf94a3de] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [cf94a3de] DEBUG [cf94a3de] DEBUG [cf94a3de] To create your database, run: DEBUG [cf94a3de] DEBUG [cf94a3de] DEBUG [cf94a3de] bin/rails db:create DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/de DEBUG [cf94a3de] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [cf94a3de] DEBUG [cf94a3de] DEBUG [cf94a3de] Caused by: DEBUG [cf94a3de] DEBUG [cf94a3de] Mysql2::Error: Unknown database 'aoumi-dev-db' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [cf94a3de] nection_handler.rb:211:in `retrieve_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [cf94a3de] DEBUG [cf94a3de] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [cf94a3de] DEBUG [cf94a3de] Tasks: TOP => db:migrate DEBUG [cf94a3de] DEBUG [cf94a3de] (See full trace by running task with --trace) DEBUG [cf94a3de] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:24:18 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e6855ab8] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [e6855ab8] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [e6855ab8] Finished in 0.929 seconds with exit status 0 (successful). INFO [32e4d77e] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [32e4d77e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [32e4d77e] Finished in 0.096 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-4dd6801e58b1fd63b4fe.sh 0.0% INFO Uploading /tmp/git-ssh-4dd6801e58b1fd63b4fe.sh 100.0% INFO [61a0ae6f] Running /usr/bin/env chmod 700 /tmp/git-ssh-4dd6801e58b1fd63b4fe.sh as deploy@18.136.197.163 DEBUG [61a0ae6f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-4dd6801e58b1fd63b4fe.sh ) INFO [61a0ae6f] Finished in 0.094 seconds with exit status 0 (successful). INFO [089a93bd] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [089a93bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4dd6801e58b1fd63b4fe.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [089a93bd] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [089a93bd] HEAD INFO [089a93bd] Finished in 2.804 seconds with exit status 0 (successful). INFO [e0dab226] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [e0dab226] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [e0dab226] Finished in 0.110 seconds with exit status 0 (successful). INFO [4da0fe77] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [4da0fe77] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [4da0fe77] Finished in 0.125 seconds with exit status 0 (successful). INFO [b4d01023] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [b4d01023] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [b4d01023] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [f3b6c48b] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [f3b6c48b] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [f3b6c48b] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [ca135c6a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [ca135c6a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [ca135c6a] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [7b5ed1fe] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [7b5ed1fe] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [7b5ed1fe] Finished in 0.086 seconds with exit status 0 (successful). DEBUG [31653f9c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [31653f9c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [31653f9c] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [40bfb696] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [40bfb696] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [40bfb696] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [40bfb696] DEBUG [40bfb696] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [7917c952] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [7917c952] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [7917c952] Finished in 0.132 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [e305bd7a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e305bd7a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e305bd7a] Finished in 0.086 seconds with exit status 0 (successful). INFO [86005c0f] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [86005c0f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4dd6801e58b1fd63b4fe.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [86005c0f] Finished in 0.139 seconds with exit status 0 (successful). INFO [a4031b60] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [a4031b60] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4dd6801e58b1fd63b4fe.sh" ; /usr/bin/env git remote update --prune ) DEBUG [a4031b60] Fetching origin DEBUG [a4031b60] INFO [a4031b60] Finished in 2.911 seconds with exit status 0 (successful). DEBUG [bc304b17] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bc304b17] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bc304b17] Finished in 0.091 seconds with exit status 0 (successful). INFO [5af72165] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102423 as deploy@18.136.197.163 DEBUG [5af72165] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4dd6801e58b1fd63b4fe.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102423 ) INFO [5af72165] Finished in 0.095 seconds with exit status 0 (successful). INFO [06a9a2b2] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102423 as deploy@18.136.197.163 DEBUG [06a9a2b2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4dd6801e58b1fd63b4fe.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102423 ) INFO [06a9a2b2] Finished in 0.198 seconds with exit status 0 (successful). DEBUG [5cbddd01] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5cbddd01] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5cbddd01] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [d58fe5f1] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d58fe5f1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4dd6801e58b1fd63b4fe.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d58fe5f1] e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65 DEBUG [d58fe5f1] DEBUG [d58fe5f1] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [27487dfd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [27487dfd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi DEBUG [27487dfd] Finished in 0.103 seconds with exit status 0 (successful). INFO [527471b0] Running /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION as deploy@18.136.197.163 DEBUG [527471b0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102423 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "e3a63f4a89d842d52ed66dbfb9e9333f6bddaa65" > REVISION ) INFO [527471b0] Finished in 0.155 seconds with exit status 0 (successful). INFO [61dab150] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102423/config as deploy@18.136.197.163 DEBUG [61dab150] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102423/config ) INFO [61dab150] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [434e5783] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml ] as deploy@18.136.197.163 DEBUG [434e5783] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml ] DEBUG [434e5783] Finished in 0.097 seconds with exit status 1 (failed). DEBUG [889260ca] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml ] as deploy@18.136.197.163 DEBUG [889260ca] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml ] DEBUG [889260ca] Finished in 0.153 seconds with exit status 0 (successful). INFO [ecf17d5e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml as deploy@18.136.197.163 DEBUG [ecf17d5e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml ) INFO [ecf17d5e] Finished in 0.131 seconds with exit status 0 (successful). INFO [21202b30] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml as deploy@18.136.197.163 DEBUG [21202b30] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102423/config/database.yml ) INFO [21202b30] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [9b6c58a5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/config/application.yml ] as deploy@18.136.197.163 DEBUG [9b6c58a5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/config/application.yml ] DEBUG [9b6c58a5] Finished in 0.086 seconds with exit status 1 (failed). DEBUG [7b027aa8] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102423/config/application.yml ] as deploy@18.136.197.163 DEBUG [7b027aa8] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102423/config/application.yml ] DEBUG [7b027aa8] Finished in 0.133 seconds with exit status 1 (failed). INFO [b78c3375] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102423/config/application.yml as deploy@18.136.197.163 DEBUG [b78c3375] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102423/config/application.yml ) INFO [b78c3375] Finished in 0.098 seconds with exit status 0 (successful). INFO [5ff54bc5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102423 /home/deploy/apps/aoumi_server/releases/20221229102423/tmp /home/deploy/apps/aoumi_server/releases/20221229102423/vendor /home/deploy/apps/aoumi_server/releases/20221229102423/public as deploy@18.136.197.163 DEBUG [5ff54bc5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102423 /home/deploy/apps/aoumi_server/releases/20221229102423/tmp /home/deploy/apps/aoumi_server/releases/20221229102423/vendor /home/deploy/apps/aoumi_server/releases/20221229102423/public ) INFO [5ff54bc5] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [826183d6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/log ] as deploy@18.136.197.163 DEBUG [826183d6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/log ] DEBUG [826183d6] Finished in 0.093 seconds with exit status 1 (failed). DEBUG [245b0e4e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/log ] as deploy@18.136.197.163 DEBUG [245b0e4e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/log ] DEBUG [245b0e4e] Finished in 0.135 seconds with exit status 0 (successful). INFO [21c4a050] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102423/log as deploy@18.136.197.163 DEBUG [21c4a050] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102423/log ) INFO [21c4a050] Finished in 0.103 seconds with exit status 0 (successful). INFO [75b8910c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102423/log as deploy@18.136.197.163 DEBUG [75b8910c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102423/log ) INFO [75b8910c] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [e2bbdfa0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids ] as deploy@18.136.197.163 DEBUG [e2bbdfa0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids ] DEBUG [e2bbdfa0] Finished in 0.089 seconds with exit status 1 (failed). DEBUG [00510762] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids ] as deploy@18.136.197.163 DEBUG [00510762] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids ] DEBUG [00510762] Finished in 0.151 seconds with exit status 0 (successful). INFO [5f500ad6] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids as deploy@18.136.197.163 DEBUG [5f500ad6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids ) INFO [5f500ad6] Finished in 0.090 seconds with exit status 0 (successful). INFO [c9aaaad0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids as deploy@18.136.197.163 DEBUG [c9aaaad0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/pids ) INFO [c9aaaad0] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [5f597246] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/cache ] as deploy@18.136.197.163 DEBUG [5f597246] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/cache ] DEBUG [5f597246] Finished in 0.093 seconds with exit status 1 (failed). DEBUG [43d0a752] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/cache ] as deploy@18.136.197.163 DEBUG [43d0a752] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/cache ] DEBUG [43d0a752] Finished in 0.145 seconds with exit status 1 (failed). INFO [53926468] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/cache as deploy@18.136.197.163 DEBUG [53926468] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/cache ) INFO [53926468] Finished in 0.091 seconds with exit status 0 (successful). DEBUG [9b727896] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/sockets ] as deploy@18.136.197.163 DEBUG [9b727896] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/sockets ] DEBUG [9b727896] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [814be6eb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/sockets ] as deploy@18.136.197.163 DEBUG [814be6eb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/sockets ] DEBUG [814be6eb] Finished in 0.098 seconds with exit status 1 (failed). INFO [234f024d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/sockets as deploy@18.136.197.163 DEBUG [234f024d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102423/tmp/sockets ) INFO [234f024d] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [6ecec7a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/vendor/bundle ] as deploy@18.136.197.163 DEBUG [6ecec7a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/vendor/bundle ] DEBUG [6ecec7a3] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [de9d0c35] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/vendor/bundle ] as deploy@18.136.197.163 DEBUG [de9d0c35] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/vendor/bundle ] DEBUG [de9d0c35] Finished in 0.151 seconds with exit status 1 (failed). INFO [2ab9edf1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102423/vendor/bundle as deploy@18.136.197.163 DEBUG [2ab9edf1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102423/vendor/bundle ) INFO [2ab9edf1] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [3c9b772f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/public/system ] as deploy@18.136.197.163 DEBUG [3c9b772f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/public/system ] DEBUG [3c9b772f] Finished in 0.220 seconds with exit status 1 (failed). DEBUG [bcbab5ef] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/public/system ] as deploy@18.136.197.163 DEBUG [bcbab5ef] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/public/system ] DEBUG [bcbab5ef] Finished in 0.097 seconds with exit status 1 (failed). INFO [fb62e19b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102423/public/system as deploy@18.136.197.163 DEBUG [fb62e19b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102423/public/system ) INFO [fb62e19b] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [2796ccaf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/public/uploads ] as deploy@18.136.197.163 DEBUG [2796ccaf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102423/public/uploads ] DEBUG [2796ccaf] Finished in 0.092 seconds with exit status 1 (failed). DEBUG [87561374] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/public/uploads ] as deploy@18.136.197.163 DEBUG [87561374] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102423/public/uploads ] DEBUG [87561374] Finished in 0.131 seconds with exit status 1 (failed). INFO [056a829e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102423/public/uploads as deploy@18.136.197.163 DEBUG [056a829e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102423/public/uploads ) INFO [056a829e] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [56f36136] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [56f36136] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi DEBUG [56f36136] Finished in 0.136 seconds with exit status 0 (successful). INFO [f54d4e4f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [f54d4e4f] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102423 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f54d4e4f] Finished in 0.292 seconds with exit status 0 (successful). INFO [e7af9243] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [e7af9243] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102423 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [e7af9243] Finished in 0.376 seconds with exit status 0 (successful). INFO [0f4011bc] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [0f4011bc] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102423 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [0f4011bc] Finished in 0.306 seconds with exit status 0 (successful). DEBUG [21b6e9f3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [21b6e9f3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi DEBUG [21b6e9f3] Finished in 0.357 seconds with exit status 0 (successful). DEBUG [978a5ee0] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [978a5ee0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102423 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [978a5ee0] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [978a5ee0] DEBUG [978a5ee0]  DEBUG [978a5ee0] The Gemfile's dependencies are satisfied DEBUG [978a5ee0] DEBUG [978a5ee0] Finished in 0.644 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [ab69d1b6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ab69d1b6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102423; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102423'" 1>&2; false; fi DEBUG [ab69d1b6] Finished in 0.151 seconds with exit status 0 (successful). INFO [7d1984d4] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [7d1984d4] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102423 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [7d1984d4] rake aborted! DEBUG [7d1984d4] DEBUG [7d1984d4] ActiveRecord::NoDatabaseError: We could not find your database: aoumi-dev-db. Which can be found in the database configuration file located at config/database.yml. DEBUG [7d1984d4] DEBUG [7d1984d4] DEBUG [7d1984d4] To resolve this issue: DEBUG [7d1984d4] DEBUG [7d1984d4] DEBUG [7d1984d4] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [7d1984d4] DEBUG [7d1984d4] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [7d1984d4] DEBUG [7d1984d4] DEBUG [7d1984d4] To create your database, run: DEBUG [7d1984d4] DEBUG [7d1984d4] DEBUG [7d1984d4] bin/rails db:create DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/de DEBUG [7d1984d4] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [7d1984d4] DEBUG [7d1984d4] DEBUG [7d1984d4] Caused by: DEBUG [7d1984d4] DEBUG [7d1984d4] Mysql2::Error: Unknown database 'aoumi-dev-db' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [7d1984d4] nection_handler.rb:211:in `retrieve_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [7d1984d4] DEBUG [7d1984d4] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [7d1984d4] DEBUG [7d1984d4] Tasks: TOP => db:migrate DEBUG [7d1984d4] DEBUG [7d1984d4] (See full trace by running task with --trace) DEBUG [7d1984d4] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:29:32 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e42022a3] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [e42022a3] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [e42022a3] Finished in 1.026 seconds with exit status 0 (successful). INFO [fc8736a6] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [fc8736a6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [fc8736a6] Finished in 0.086 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-7fbef396dbfac97a2aa7.sh 0.0% INFO Uploading /tmp/git-ssh-7fbef396dbfac97a2aa7.sh 100.0% INFO [f5c53c96] Running /usr/bin/env chmod 700 /tmp/git-ssh-7fbef396dbfac97a2aa7.sh as deploy@18.136.197.163 DEBUG [f5c53c96] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-7fbef396dbfac97a2aa7.sh ) INFO [f5c53c96] Finished in 0.113 seconds with exit status 0 (successful). INFO [9b1a3ca7] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [9b1a3ca7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7fbef396dbfac97a2aa7.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [9b1a3ca7] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [9b1a3ca7] HEAD INFO [9b1a3ca7] Finished in 2.864 seconds with exit status 0 (successful). INFO [962f5c63] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [962f5c63] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [962f5c63] Finished in 0.095 seconds with exit status 0 (successful). INFO [2bb84d0a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [2bb84d0a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [2bb84d0a] Finished in 0.086 seconds with exit status 0 (successful). INFO [993a2719] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [993a2719] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [993a2719] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [019356fc] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [019356fc] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [019356fc] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [d7ca66cf] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [d7ca66cf] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [d7ca66cf] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [cb8eb921] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [cb8eb921] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [cb8eb921] Finished in 0.088 seconds with exit status 0 (successful). DEBUG [c7ba5379] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [c7ba5379] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [c7ba5379] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [a2096d3d] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [a2096d3d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [a2096d3d] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [a2096d3d] DEBUG [a2096d3d] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [7eefd094] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [7eefd094] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [7eefd094] Finished in 0.139 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [fca3d66f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [fca3d66f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [fca3d66f] Finished in 0.085 seconds with exit status 0 (successful). INFO [cacd3dfc] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [cacd3dfc] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7fbef396dbfac97a2aa7.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [cacd3dfc] Finished in 0.147 seconds with exit status 0 (successful). INFO [f064da71] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [f064da71] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7fbef396dbfac97a2aa7.sh" ; /usr/bin/env git remote update --prune ) DEBUG [f064da71] Fetching origin DEBUG [f064da71] DEBUG [f064da71] remote: Enumerating objects: 24, done. DEBUG [f064da71] DEBUG [f064da71] remote: Counting objects: 4% (1/24) DEBUG [f064da71] remote: Counting objects: 8% (2/24) DEBUG [f064da71] remote: Counting objects: 12% (3/24) DEBUG [f064da71] remote: Counting objects: 16% (4/24) DEBUG [f064da71] remote: Counting objects: 20% (5/24) DEBUG [f064da71] remote: Counting objects: 25% (6/24) DEBUG [f064da71] remote: Counting objects: 29% (7/24) DEBUG [f064da71] remote: Counting objects: 33% (8/24) DEBUG [f064da71] remote: Counting objects: 37% (9/24) DEBUG [f064da71] remote: Counting objects: 41% (10/24) DEBUG [f064da71] remote: Counting objects: 45% (11/24) DEBUG [f064da71] remote: Counting objects: 50% (12/24) DEBUG [f064da71] remote: Counting objects: 54% (13/24) DEBUG [f064da71] remote: Counting objects: 58% (14/24) DEBUG [f064da71] remote: Counting objects: 62% (15/24) DEBUG [f064da71] remote: Counting objects: 66% (16/24) DEBUG [f064da71] remote: Counting objects: 70% (17/24) DEBUG [f064da71] remote: Counting objects: 75% (18/24) DEBUG [f064da71] remote: Counting objects: 79% (19/24) DEBUG [f064da71] remote: Counting objects: 83% (20/24) DEBUG [f064da71] remote: Counting objects: 87% (21/24) DEBUG [f064da71] remote: Counting objects: 91% (22/24) DEBUG [f064da71] remote: Counting objects: 95% (23/24) DEBUG [f064da71] remote: Counting objects: 100% (24/24) DEBUG [f064da71] remote: Counting objects: 100% (24/24), done. DEBUG [f064da71] DEBUG [f064da71] remote: Compressing objects: 25% (1/4) DEBUG [f064da71] remote: Compressing objects: 50% (2/4) DEBUG [f064da71] remote: Compressing objects: 75% (3/4) DEBUG [f064da71] remote: Compressing objects: 100% (4/4) DEBUG [f064da71] remote: Compressing objects: 100% (4/4), done. DEBUG [f064da71] DEBUG [f064da71] remote: Total 13 (delta 8), reused 13 (delta 8), pack-reused 0 DEBUG [f064da71] DEBUG [f064da71] Unpacking objects: 7% (1/13) DEBUG [f064da71] Unpacking objects: 15% (2/13) DEBUG [f064da71] Unpacking objects: 23% (3/13) DEBUG [f064da71] Unpacking objects: 30% (4/13) DEBUG [f064da71] Unpacking objects: 38% (5/13) DEBUG [f064da71] Unpacking objects: 46% (6/13) DEBUG [f064da71] Unpacking objects: 53% (7/13) DEBUG [f064da71] Unpacking objects: 61% (8/13) DEBUG [f064da71] Unpacking objects: 69% (9/13) DEBUG [f064da71] Unpacking objects: 76% (10/13) DEBUG [f064da71] Unpacking objects: 84% (11/13) DEBUG [f064da71] Unpacking objects: 92% (12/13) DEBUG [f064da71] Unpacking objects: 100% (13/13) DEBUG [f064da71] Unpacking objects: 100% (13/13), done. DEBUG [f064da71] DEBUG [f064da71] From github.com:huythanh176/aoumi_server DEBUG [f064da71] DEBUG [f064da71] + e3a63f4...c3c5755 develop -> develop (forced update) DEBUG [f064da71] INFO [f064da71] Finished in 3.099 seconds with exit status 0 (successful). DEBUG [71c46851] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [71c46851] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [71c46851] Finished in 0.158 seconds with exit status 0 (successful). INFO [be6883b0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102938 as deploy@18.136.197.163 DEBUG [be6883b0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7fbef396dbfac97a2aa7.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102938 ) INFO [be6883b0] Finished in 0.099 seconds with exit status 0 (successful). INFO [cb427111] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102938 as deploy@18.136.197.163 DEBUG [cb427111] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7fbef396dbfac97a2aa7.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229102938 ) INFO [cb427111] Finished in 0.221 seconds with exit status 0 (successful). DEBUG [29b280bd] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [29b280bd] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [29b280bd] Finished in 0.129 seconds with exit status 0 (successful). DEBUG [3547fa2a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [3547fa2a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7fbef396dbfac97a2aa7.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [3547fa2a] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [3547fa2a] DEBUG [3547fa2a] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [a0339e6a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a0339e6a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi DEBUG [a0339e6a] Finished in 0.141 seconds with exit status 0 (successful). INFO [1efc0b2c] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [1efc0b2c] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102938 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [1efc0b2c] Finished in 0.173 seconds with exit status 0 (successful). INFO [50f61622] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102938/config as deploy@18.136.197.163 DEBUG [50f61622] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102938/config ) INFO [50f61622] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [675cad62] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml ] as deploy@18.136.197.163 DEBUG [675cad62] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml ] DEBUG [675cad62] Finished in 0.158 seconds with exit status 1 (failed). DEBUG [4fd560d4] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml ] as deploy@18.136.197.163 DEBUG [4fd560d4] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml ] DEBUG [4fd560d4] Finished in 0.137 seconds with exit status 0 (successful). INFO [672e3424] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml as deploy@18.136.197.163 DEBUG [672e3424] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml ) INFO [672e3424] Finished in 0.160 seconds with exit status 0 (successful). INFO [4caa0ace] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml as deploy@18.136.197.163 DEBUG [4caa0ace] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229102938/config/database.yml ) INFO [4caa0ace] Finished in 0.129 seconds with exit status 0 (successful). DEBUG [78b10e26] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/config/application.yml ] as deploy@18.136.197.163 DEBUG [78b10e26] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/config/application.yml ] DEBUG [78b10e26] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [cb2db057] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229102938/config/application.yml ] as deploy@18.136.197.163 DEBUG [cb2db057] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229102938/config/application.yml ] DEBUG [cb2db057] Finished in 0.100 seconds with exit status 1 (failed). INFO [972664a1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102938/config/application.yml as deploy@18.136.197.163 DEBUG [972664a1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229102938/config/application.yml ) INFO [972664a1] Finished in 0.151 seconds with exit status 0 (successful). INFO [e8235c07] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102938 /home/deploy/apps/aoumi_server/releases/20221229102938/tmp /home/deploy/apps/aoumi_server/releases/20221229102938/vendor /home/deploy/apps/aoumi_server/releases/20221229102938/public as deploy@18.136.197.163 DEBUG [e8235c07] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229102938 /home/deploy/apps/aoumi_server/releases/20221229102938/tmp /home/deploy/apps/aoumi_server/releases/20221229102938/vendor /home/deploy/apps/aoumi_server/releases/20221229102938/public ) INFO [e8235c07] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [82c04218] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/log ] as deploy@18.136.197.163 DEBUG [82c04218] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/log ] DEBUG [82c04218] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [2ad56117] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/log ] as deploy@18.136.197.163 DEBUG [2ad56117] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/log ] DEBUG [2ad56117] Finished in 0.101 seconds with exit status 0 (successful). INFO [79074be9] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102938/log as deploy@18.136.197.163 DEBUG [79074be9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102938/log ) INFO [79074be9] Finished in 0.166 seconds with exit status 0 (successful). INFO [fc8b21fc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102938/log as deploy@18.136.197.163 DEBUG [fc8b21fc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229102938/log ) INFO [fc8b21fc] Finished in 0.127 seconds with exit status 0 (successful). DEBUG [82088f39] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids ] as deploy@18.136.197.163 DEBUG [82088f39] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids ] DEBUG [82088f39] Finished in 0.183 seconds with exit status 1 (failed). DEBUG [87d3082a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids ] as deploy@18.136.197.163 DEBUG [87d3082a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids ] DEBUG [87d3082a] Finished in 0.121 seconds with exit status 0 (successful). INFO [bb296f85] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids as deploy@18.136.197.163 DEBUG [bb296f85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids ) INFO [bb296f85] Finished in 0.148 seconds with exit status 0 (successful). INFO [890297e6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids as deploy@18.136.197.163 DEBUG [890297e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/pids ) INFO [890297e6] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [a7056fc4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/cache ] as deploy@18.136.197.163 DEBUG [a7056fc4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/cache ] DEBUG [a7056fc4] Finished in 0.184 seconds with exit status 1 (failed). DEBUG [333bc00c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/cache ] as deploy@18.136.197.163 DEBUG [333bc00c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/cache ] DEBUG [333bc00c] Finished in 0.099 seconds with exit status 1 (failed). INFO [1c2591cb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/cache as deploy@18.136.197.163 DEBUG [1c2591cb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/cache ) INFO [1c2591cb] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [c9cf7b29] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/sockets ] as deploy@18.136.197.163 DEBUG [c9cf7b29] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/sockets ] DEBUG [c9cf7b29] Finished in 0.096 seconds with exit status 1 (failed). DEBUG [eece28e2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/sockets ] as deploy@18.136.197.163 DEBUG [eece28e2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/sockets ] DEBUG [eece28e2] Finished in 0.157 seconds with exit status 1 (failed). INFO [5ab0afc5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/sockets as deploy@18.136.197.163 DEBUG [5ab0afc5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229102938/tmp/sockets ) INFO [5ab0afc5] Finished in 0.118 seconds with exit status 0 (successful). DEBUG [0467e154] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/vendor/bundle ] as deploy@18.136.197.163 DEBUG [0467e154] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/vendor/bundle ] DEBUG [0467e154] Finished in 0.173 seconds with exit status 1 (failed). DEBUG [5d2ff1ea] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/vendor/bundle ] as deploy@18.136.197.163 DEBUG [5d2ff1ea] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/vendor/bundle ] DEBUG [5d2ff1ea] Finished in 0.097 seconds with exit status 1 (failed). INFO [51f7b068] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102938/vendor/bundle as deploy@18.136.197.163 DEBUG [51f7b068] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229102938/vendor/bundle ) INFO [51f7b068] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [3cdac6ad] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/public/system ] as deploy@18.136.197.163 DEBUG [3cdac6ad] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/public/system ] DEBUG [3cdac6ad] Finished in 0.116 seconds with exit status 1 (failed). DEBUG [da5641ff] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/public/system ] as deploy@18.136.197.163 DEBUG [da5641ff] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/public/system ] DEBUG [da5641ff] Finished in 0.162 seconds with exit status 1 (failed). INFO [08450a8b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102938/public/system as deploy@18.136.197.163 DEBUG [08450a8b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229102938/public/system ) INFO [08450a8b] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [845f4782] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/public/uploads ] as deploy@18.136.197.163 DEBUG [845f4782] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229102938/public/uploads ] DEBUG [845f4782] Finished in 0.158 seconds with exit status 1 (failed). DEBUG [a0bb6471] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/public/uploads ] as deploy@18.136.197.163 DEBUG [a0bb6471] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229102938/public/uploads ] DEBUG [a0bb6471] Finished in 0.150 seconds with exit status 1 (failed). INFO [35016a70] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102938/public/uploads as deploy@18.136.197.163 DEBUG [35016a70] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229102938/public/uploads ) INFO [35016a70] Finished in 0.183 seconds with exit status 0 (successful). DEBUG [3fea2248] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [3fea2248] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi DEBUG [3fea2248] Finished in 0.125 seconds with exit status 0 (successful). INFO [f84ee051] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [f84ee051] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102938 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f84ee051] Finished in 0.344 seconds with exit status 0 (successful). INFO [fbcbadc0] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [fbcbadc0] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102938 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [fbcbadc0] Finished in 0.410 seconds with exit status 0 (successful). INFO [a343b635] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [a343b635] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102938 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [a343b635] Finished in 0.432 seconds with exit status 0 (successful). DEBUG [d428fb2c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d428fb2c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi DEBUG [d428fb2c] Finished in 0.124 seconds with exit status 0 (successful). DEBUG [d67c73f3] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [d67c73f3] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102938 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [d67c73f3] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [d67c73f3] DEBUG [d67c73f3]  DEBUG [d67c73f3] The Gemfile's dependencies are satisfied DEBUG [d67c73f3] DEBUG [d67c73f3] Finished in 0.685 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [764a975b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [764a975b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229102938; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229102938'" 1>&2; false; fi DEBUG [764a975b] Finished in 0.120 seconds with exit status 0 (successful). INFO [a7c4ffc9] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [a7c4ffc9] Command: cd /home/deploy/apps/aoumi_server/releases/20221229102938 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [a7c4ffc9] rake aborted! DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] ActiveRecord::NoDatabaseError: We could not find your database: aoumi-dev-db. Which can be found in the database configuration file located at config/database.yml. DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] To resolve this issue: DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] To create your database, run: DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] bin/rails db:create DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/de DEBUG [a7c4ffc9] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] Caused by: DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] Mysql2::Error: Unknown database 'aoumi-dev-db' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [a7c4ffc9] nection_handler.rb:211:in `retrieve_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] Tasks: TOP => db:migrate DEBUG [a7c4ffc9] DEBUG [a7c4ffc9] (See full trace by running task with --trace) DEBUG [a7c4ffc9] INFO --------------------------------------------------------------------------- INFO START 2022-12-29 17:31:45 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [436df363] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [436df363] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [436df363] Finished in 0.963 seconds with exit status 0 (successful). INFO [a083a51e] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [a083a51e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [a083a51e] Finished in 0.089 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-2b4f4e35f8b138f5800d.sh 0.0% INFO Uploading /tmp/git-ssh-2b4f4e35f8b138f5800d.sh 100.0% INFO [fb49f014] Running /usr/bin/env chmod 700 /tmp/git-ssh-2b4f4e35f8b138f5800d.sh as deploy@18.136.197.163 DEBUG [fb49f014] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-2b4f4e35f8b138f5800d.sh ) INFO [fb49f014] Finished in 0.119 seconds with exit status 0 (successful). INFO [11670d70] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [11670d70] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-2b4f4e35f8b138f5800d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [11670d70] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [11670d70] HEAD INFO [11670d70] Finished in 2.911 seconds with exit status 0 (successful). INFO [a6f58d65] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [a6f58d65] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [a6f58d65] Finished in 0.104 seconds with exit status 0 (successful). INFO [3f36d95a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [3f36d95a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [3f36d95a] Finished in 0.091 seconds with exit status 0 (successful). INFO [a4c8b709] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [a4c8b709] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [a4c8b709] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [46dcd3a2] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [46dcd3a2] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [46dcd3a2] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [98c83a40] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [98c83a40] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [98c83a40] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [1e97ed75] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [1e97ed75] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [1e97ed75] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [c638812c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [c638812c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [c638812c] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [03e35a5e] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [03e35a5e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [03e35a5e] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [03e35a5e] DEBUG [03e35a5e] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [7ab5ad8f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [7ab5ad8f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [7ab5ad8f] Finished in 0.134 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [ac828e62] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ac828e62] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ac828e62] Finished in 0.121 seconds with exit status 0 (successful). INFO [f66ab883] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [f66ab883] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-2b4f4e35f8b138f5800d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f66ab883] Finished in 0.139 seconds with exit status 0 (successful). INFO [82017071] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [82017071] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-2b4f4e35f8b138f5800d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [82017071] Fetching origin DEBUG [82017071] INFO [82017071] Finished in 3.022 seconds with exit status 0 (successful). DEBUG [1d079322] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [1d079322] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [1d079322] Finished in 0.120 seconds with exit status 0 (successful). INFO [ded43e68] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229103150 as deploy@18.136.197.163 DEBUG [ded43e68] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-2b4f4e35f8b138f5800d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229103150 ) INFO [ded43e68] Finished in 0.118 seconds with exit status 0 (successful). INFO [e19026c7] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229103150 as deploy@18.136.197.163 DEBUG [e19026c7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-2b4f4e35f8b138f5800d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221229103150 ) INFO [e19026c7] Finished in 0.263 seconds with exit status 0 (successful). DEBUG [8cd52a91] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8cd52a91] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8cd52a91] Finished in 0.208 seconds with exit status 0 (successful). DEBUG [98c56f8b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [98c56f8b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-2b4f4e35f8b138f5800d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [98c56f8b] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [98c56f8b] DEBUG [98c56f8b] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [8d7e9182] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8d7e9182] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi DEBUG [8d7e9182] Finished in 0.269 seconds with exit status 0 (successful). INFO [bbbd4c50] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [bbbd4c50] Command: cd /home/deploy/apps/aoumi_server/releases/20221229103150 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [bbbd4c50] Finished in 0.096 seconds with exit status 0 (successful). INFO [2c124091] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229103150/config as deploy@18.136.197.163 DEBUG [2c124091] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229103150/config ) INFO [2c124091] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [8d4ac732] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml ] as deploy@18.136.197.163 DEBUG [8d4ac732] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml ] DEBUG [8d4ac732] Finished in 0.073 seconds with exit status 1 (failed). DEBUG [62e996db] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml ] as deploy@18.136.197.163 DEBUG [62e996db] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml ] DEBUG [62e996db] Finished in 0.177 seconds with exit status 0 (successful). INFO [5d9d935c] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml as deploy@18.136.197.163 DEBUG [5d9d935c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml ) INFO [5d9d935c] Finished in 0.339 seconds with exit status 0 (successful). INFO [6de8619b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml as deploy@18.136.197.163 DEBUG [6de8619b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221229103150/config/database.yml ) INFO [6de8619b] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [d5b469df] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/config/application.yml ] as deploy@18.136.197.163 DEBUG [d5b469df] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/config/application.yml ] DEBUG [d5b469df] Finished in 0.119 seconds with exit status 1 (failed). DEBUG [093e8667] Running [ -f /home/deploy/apps/aoumi_server/releases/20221229103150/config/application.yml ] as deploy@18.136.197.163 DEBUG [093e8667] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221229103150/config/application.yml ] DEBUG [093e8667] Finished in 0.190 seconds with exit status 1 (failed). INFO [5803bf79] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229103150/config/application.yml as deploy@18.136.197.163 DEBUG [5803bf79] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221229103150/config/application.yml ) INFO [5803bf79] Finished in 0.098 seconds with exit status 0 (successful). INFO [508fe50a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229103150 /home/deploy/apps/aoumi_server/releases/20221229103150/tmp /home/deploy/apps/aoumi_server/releases/20221229103150/vendor /home/deploy/apps/aoumi_server/releases/20221229103150/public as deploy@18.136.197.163 DEBUG [508fe50a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221229103150 /home/deploy/apps/aoumi_server/releases/20221229103150/tmp /home/deploy/apps/aoumi_server/releases/20221229103150/vendor /home/deploy/apps/aoumi_server/releases/20221229103150/public ) INFO [508fe50a] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [504e9926] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/log ] as deploy@18.136.197.163 DEBUG [504e9926] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/log ] DEBUG [504e9926] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [9bb21c22] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/log ] as deploy@18.136.197.163 DEBUG [9bb21c22] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/log ] DEBUG [9bb21c22] Finished in 0.150 seconds with exit status 0 (successful). INFO [1a954cea] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229103150/log as deploy@18.136.197.163 DEBUG [1a954cea] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229103150/log ) INFO [1a954cea] Finished in 0.100 seconds with exit status 0 (successful). INFO [26d785ee] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229103150/log as deploy@18.136.197.163 DEBUG [26d785ee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221229103150/log ) INFO [26d785ee] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [c7cbaef5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids ] as deploy@18.136.197.163 DEBUG [c7cbaef5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids ] DEBUG [c7cbaef5] Finished in 0.126 seconds with exit status 1 (failed). DEBUG [46a7c250] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids ] as deploy@18.136.197.163 DEBUG [46a7c250] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids ] DEBUG [46a7c250] Finished in 0.141 seconds with exit status 0 (successful). INFO [c03cece8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids as deploy@18.136.197.163 DEBUG [c03cece8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids ) INFO [c03cece8] Finished in 0.150 seconds with exit status 0 (successful). INFO [9e6f3b79] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids as deploy@18.136.197.163 DEBUG [9e6f3b79] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/pids ) INFO [9e6f3b79] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [ecd9a5e0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/cache ] as deploy@18.136.197.163 DEBUG [ecd9a5e0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/cache ] DEBUG [ecd9a5e0] Finished in 0.107 seconds with exit status 1 (failed). DEBUG [9a1464a7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/cache ] as deploy@18.136.197.163 DEBUG [9a1464a7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/cache ] DEBUG [9a1464a7] Finished in 0.150 seconds with exit status 1 (failed). INFO [5df49a4f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/cache as deploy@18.136.197.163 DEBUG [5df49a4f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/cache ) INFO [5df49a4f] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [8b4ec4f1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/sockets ] as deploy@18.136.197.163 DEBUG [8b4ec4f1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/sockets ] DEBUG [8b4ec4f1] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [a947d90d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/sockets ] as deploy@18.136.197.163 DEBUG [a947d90d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/sockets ] DEBUG [a947d90d] Finished in 0.123 seconds with exit status 1 (failed). INFO [fc964a98] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/sockets as deploy@18.136.197.163 DEBUG [fc964a98] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221229103150/tmp/sockets ) INFO [fc964a98] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [a9d3900a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/vendor/bundle ] as deploy@18.136.197.163 DEBUG [a9d3900a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/vendor/bundle ] DEBUG [a9d3900a] Finished in 0.118 seconds with exit status 1 (failed). DEBUG [b7c961de] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/vendor/bundle ] as deploy@18.136.197.163 DEBUG [b7c961de] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/vendor/bundle ] DEBUG [b7c961de] Finished in 0.199 seconds with exit status 1 (failed). INFO [52bd944b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229103150/vendor/bundle as deploy@18.136.197.163 DEBUG [52bd944b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221229103150/vendor/bundle ) INFO [52bd944b] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [8f7ae364] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/public/system ] as deploy@18.136.197.163 DEBUG [8f7ae364] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/public/system ] DEBUG [8f7ae364] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [fb83db1c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/public/system ] as deploy@18.136.197.163 DEBUG [fb83db1c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/public/system ] DEBUG [fb83db1c] Finished in 0.111 seconds with exit status 1 (failed). INFO [8234b740] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229103150/public/system as deploy@18.136.197.163 DEBUG [8234b740] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221229103150/public/system ) INFO [8234b740] Finished in 0.201 seconds with exit status 0 (successful). DEBUG [de782260] Running [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/public/uploads ] as deploy@18.136.197.163 DEBUG [de782260] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221229103150/public/uploads ] DEBUG [de782260] Finished in 0.122 seconds with exit status 1 (failed). DEBUG [8eb0ebd1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/public/uploads ] as deploy@18.136.197.163 DEBUG [8eb0ebd1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221229103150/public/uploads ] DEBUG [8eb0ebd1] Finished in 0.789 seconds with exit status 1 (failed). INFO [c17afc9c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229103150/public/uploads as deploy@18.136.197.163 DEBUG [c17afc9c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221229103150/public/uploads ) INFO [c17afc9c] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [cbd9c2e8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cbd9c2e8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi DEBUG [cbd9c2e8] Finished in 0.118 seconds with exit status 0 (successful). INFO [f33e1b41] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [f33e1b41] Command: cd /home/deploy/apps/aoumi_server/releases/20221229103150 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f33e1b41] Finished in 0.505 seconds with exit status 0 (successful). INFO [a27b0ec6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [a27b0ec6] Command: cd /home/deploy/apps/aoumi_server/releases/20221229103150 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [a27b0ec6] Finished in 0.746 seconds with exit status 0 (successful). INFO [d3e011a6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [d3e011a6] Command: cd /home/deploy/apps/aoumi_server/releases/20221229103150 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [d3e011a6] Finished in 0.676 seconds with exit status 0 (successful). DEBUG [60d0a28d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [60d0a28d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi DEBUG [60d0a28d] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [3aa3b7e2] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [3aa3b7e2] Command: cd /home/deploy/apps/aoumi_server/releases/20221229103150 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [3aa3b7e2] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [3aa3b7e2] DEBUG [3aa3b7e2]  DEBUG [3aa3b7e2] The Gemfile's dependencies are satisfied DEBUG [3aa3b7e2] DEBUG [3aa3b7e2] Finished in 0.719 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [14fc2696] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [14fc2696] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221229103150; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221229103150'" 1>&2; false; fi DEBUG [14fc2696] Finished in 0.096 seconds with exit status 0 (successful). INFO [0071c567] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [0071c567] Command: cd /home/deploy/apps/aoumi_server/releases/20221229103150 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [0071c567] rake aborted! DEBUG [0071c567] DEBUG [0071c567] ActiveRecord::NoDatabaseError: We could not find your database: aoumi-dev-db. Which can be found in the database configuration file located at config/database.yml. DEBUG [0071c567] DEBUG [0071c567] DEBUG [0071c567] To resolve this issue: DEBUG [0071c567] DEBUG [0071c567] DEBUG [0071c567] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [0071c567] DEBUG [0071c567] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [0071c567] DEBUG [0071c567] DEBUG [0071c567] To create your database, run: DEBUG [0071c567] DEBUG [0071c567] DEBUG [0071c567] bin/rails db:create DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [0071c567] DEBUG [0071c567] /home/de DEBUG [0071c567] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [0071c567] DEBUG [0071c567] DEBUG [0071c567] Caused by: DEBUG [0071c567] DEBUG [0071c567] Mysql2::Error: Unknown database 'aoumi-dev-db' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [0071c567] nection_handler.rb:211:in `retrieve_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [0071c567] DEBUG [0071c567] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [0071c567] DEBUG [0071c567] Tasks: TOP => db:migrate DEBUG [0071c567] DEBUG [0071c567] (See full trace by running task with --trace) DEBUG [0071c567] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 13:35:38 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [50bbe0fa] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [50bbe0fa] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [50bbe0fa] Finished in 0.969 seconds with exit status 0 (successful). INFO [8546f543] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [8546f543] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [8546f543] Finished in 0.093 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-5b013807d2d4727358dd.sh 0.0% INFO Uploading /tmp/git-ssh-5b013807d2d4727358dd.sh 100.0% INFO [89facd28] Running /usr/bin/env chmod 700 /tmp/git-ssh-5b013807d2d4727358dd.sh as deploy@18.136.197.163 DEBUG [89facd28] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-5b013807d2d4727358dd.sh ) INFO [89facd28] Finished in 0.101 seconds with exit status 0 (successful). INFO [e188bf7c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [e188bf7c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5b013807d2d4727358dd.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e188bf7c] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [e188bf7c] HEAD INFO [e188bf7c] Finished in 3.003 seconds with exit status 0 (successful). INFO [c0686ad4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [c0686ad4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [c0686ad4] Finished in 0.092 seconds with exit status 0 (successful). INFO [e71bdb1e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [e71bdb1e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [e71bdb1e] Finished in 0.088 seconds with exit status 0 (successful). INFO [94ea0948] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [94ea0948] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [94ea0948] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [185ed6e8] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@18.136.197.163 DEBUG [185ed6e8] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [185ed6e8] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [1ec488e9] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [1ec488e9] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [1ec488e9] Finished in 0.162 seconds with exit status 0 (successful). DEBUG [9c146cd8] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [9c146cd8] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [9c146cd8] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [8c8d4fa0] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [8c8d4fa0] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [8c8d4fa0] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [5f77787e] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [5f77787e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [5f77787e] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [5f77787e] DEBUG [5f77787e] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [5b3a189b] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [5b3a189b] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [5b3a189b] Finished in 0.101 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [3ebf47e2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [3ebf47e2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3ebf47e2] Finished in 0.141 seconds with exit status 0 (successful). INFO [aa923831] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [aa923831] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5b013807d2d4727358dd.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [aa923831] Finished in 0.099 seconds with exit status 0 (successful). INFO [1bfffdfa] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [1bfffdfa] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5b013807d2d4727358dd.sh" ; /usr/bin/env git remote update --prune ) DEBUG [1bfffdfa] Fetching origin DEBUG [1bfffdfa] INFO [1bfffdfa] Finished in 3.001 seconds with exit status 0 (successful). DEBUG [bcc3ccc1] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bcc3ccc1] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bcc3ccc1] Finished in 0.092 seconds with exit status 0 (successful). INFO [94e22e4f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230063543 as deploy@18.136.197.163 DEBUG [94e22e4f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5b013807d2d4727358dd.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230063543 ) INFO [94e22e4f] Finished in 0.094 seconds with exit status 0 (successful). INFO [d7a5f772] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230063543 as deploy@18.136.197.163 DEBUG [d7a5f772] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5b013807d2d4727358dd.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230063543 ) INFO [d7a5f772] Finished in 0.199 seconds with exit status 0 (successful). DEBUG [2980f987] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2980f987] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2980f987] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [e9bb9a36] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [e9bb9a36] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5b013807d2d4727358dd.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [e9bb9a36] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [e9bb9a36] DEBUG [e9bb9a36] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [e65b3c73] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e65b3c73] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi DEBUG [e65b3c73] Finished in 0.091 seconds with exit status 0 (successful). INFO [8b1e0297] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [8b1e0297] Command: cd /home/deploy/apps/aoumi_server/releases/20221230063543 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [8b1e0297] Finished in 0.140 seconds with exit status 0 (successful). INFO [0f9903d6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230063543/config as deploy@18.136.197.163 DEBUG [0f9903d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230063543/config ) INFO [0f9903d6] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [81c3adc9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml ] as deploy@18.136.197.163 DEBUG [81c3adc9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml ] DEBUG [81c3adc9] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [ae9697b9] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml ] as deploy@18.136.197.163 DEBUG [ae9697b9] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml ] DEBUG [ae9697b9] Finished in 0.097 seconds with exit status 0 (successful). INFO [d4fda515] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml as deploy@18.136.197.163 DEBUG [d4fda515] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml ) INFO [d4fda515] Finished in 0.137 seconds with exit status 0 (successful). INFO [610b2e52] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml as deploy@18.136.197.163 DEBUG [610b2e52] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230063543/config/database.yml ) INFO [610b2e52] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [2379c908] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/config/application.yml ] as deploy@18.136.197.163 DEBUG [2379c908] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/config/application.yml ] DEBUG [2379c908] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [c4724ded] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230063543/config/application.yml ] as deploy@18.136.197.163 DEBUG [c4724ded] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230063543/config/application.yml ] DEBUG [c4724ded] Finished in 0.093 seconds with exit status 1 (failed). INFO [165a5be3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230063543/config/application.yml as deploy@18.136.197.163 DEBUG [165a5be3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230063543/config/application.yml ) INFO [165a5be3] Finished in 0.139 seconds with exit status 0 (successful). INFO [24510b50] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230063543 /home/deploy/apps/aoumi_server/releases/20221230063543/tmp /home/deploy/apps/aoumi_server/releases/20221230063543/vendor /home/deploy/apps/aoumi_server/releases/20221230063543/public as deploy@18.136.197.163 DEBUG [24510b50] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230063543 /home/deploy/apps/aoumi_server/releases/20221230063543/tmp /home/deploy/apps/aoumi_server/releases/20221230063543/vendor /home/deploy/apps/aoumi_server/releases/20221230063543/public ) INFO [24510b50] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [fbd11095] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/log ] as deploy@18.136.197.163 DEBUG [fbd11095] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/log ] DEBUG [fbd11095] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [2f8a274a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/log ] as deploy@18.136.197.163 DEBUG [2f8a274a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/log ] DEBUG [2f8a274a] Finished in 0.093 seconds with exit status 0 (successful). INFO [a3a59eb6] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230063543/log as deploy@18.136.197.163 DEBUG [a3a59eb6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230063543/log ) INFO [a3a59eb6] Finished in 0.144 seconds with exit status 0 (successful). INFO [0c555dc3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230063543/log as deploy@18.136.197.163 DEBUG [0c555dc3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230063543/log ) INFO [0c555dc3] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [c723e3e5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids ] as deploy@18.136.197.163 DEBUG [c723e3e5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids ] DEBUG [c723e3e5] Finished in 0.138 seconds with exit status 1 (failed). DEBUG [6d28a5b4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids ] as deploy@18.136.197.163 DEBUG [6d28a5b4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids ] DEBUG [6d28a5b4] Finished in 0.096 seconds with exit status 0 (successful). INFO [e46a21a3] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids as deploy@18.136.197.163 DEBUG [e46a21a3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids ) INFO [e46a21a3] Finished in 0.139 seconds with exit status 0 (successful). INFO [6d09b55e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids as deploy@18.136.197.163 DEBUG [6d09b55e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/pids ) INFO [6d09b55e] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [ca0ad7f3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/cache ] as deploy@18.136.197.163 DEBUG [ca0ad7f3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/cache ] DEBUG [ca0ad7f3] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [8e41c2bd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/cache ] as deploy@18.136.197.163 DEBUG [8e41c2bd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/cache ] DEBUG [8e41c2bd] Finished in 0.096 seconds with exit status 1 (failed). INFO [8b94df57] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/cache as deploy@18.136.197.163 DEBUG [8b94df57] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/cache ) INFO [8b94df57] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [f31868d1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/sockets ] as deploy@18.136.197.163 DEBUG [f31868d1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/sockets ] DEBUG [f31868d1] Finished in 0.092 seconds with exit status 1 (failed). DEBUG [bb29c455] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/sockets ] as deploy@18.136.197.163 DEBUG [bb29c455] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/sockets ] DEBUG [bb29c455] Finished in 0.133 seconds with exit status 1 (failed). INFO [c43f400a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/sockets as deploy@18.136.197.163 DEBUG [c43f400a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230063543/tmp/sockets ) INFO [c43f400a] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [914e596f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/vendor/bundle ] as deploy@18.136.197.163 DEBUG [914e596f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/vendor/bundle ] DEBUG [914e596f] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [788c9f0e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/vendor/bundle ] as deploy@18.136.197.163 DEBUG [788c9f0e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/vendor/bundle ] DEBUG [788c9f0e] Finished in 0.101 seconds with exit status 1 (failed). INFO [ab829f36] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230063543/vendor/bundle as deploy@18.136.197.163 DEBUG [ab829f36] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230063543/vendor/bundle ) INFO [ab829f36] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [d53a3e9e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/public/system ] as deploy@18.136.197.163 DEBUG [d53a3e9e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/public/system ] DEBUG [d53a3e9e] Finished in 0.096 seconds with exit status 1 (failed). DEBUG [b420275f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/public/system ] as deploy@18.136.197.163 DEBUG [b420275f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/public/system ] DEBUG [b420275f] Finished in 0.153 seconds with exit status 1 (failed). INFO [1a867acc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230063543/public/system as deploy@18.136.197.163 DEBUG [1a867acc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230063543/public/system ) INFO [1a867acc] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [b14bd6f8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/public/uploads ] as deploy@18.136.197.163 DEBUG [b14bd6f8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230063543/public/uploads ] DEBUG [b14bd6f8] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [9a10c82f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/public/uploads ] as deploy@18.136.197.163 DEBUG [9a10c82f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230063543/public/uploads ] DEBUG [9a10c82f] Finished in 0.104 seconds with exit status 1 (failed). INFO [2a87c3ca] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230063543/public/uploads as deploy@18.136.197.163 DEBUG [2a87c3ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230063543/public/uploads ) INFO [2a87c3ca] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [294729c0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [294729c0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi DEBUG [294729c0] Finished in 0.102 seconds with exit status 0 (successful). INFO [137cbc30] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [137cbc30] Command: cd /home/deploy/apps/aoumi_server/releases/20221230063543 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [137cbc30] Finished in 0.332 seconds with exit status 0 (successful). INFO [04e79015] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [04e79015] Command: cd /home/deploy/apps/aoumi_server/releases/20221230063543 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [04e79015] Finished in 0.320 seconds with exit status 0 (successful). INFO [06d2a9e8] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [06d2a9e8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230063543 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [06d2a9e8] Finished in 0.359 seconds with exit status 0 (successful). DEBUG [e7471196] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e7471196] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi DEBUG [e7471196] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [8b29a21f] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [8b29a21f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230063543 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [8b29a21f] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [8b29a21f] DEBUG [8b29a21f]  DEBUG [8b29a21f] The Gemfile's dependencies are satisfied DEBUG [8b29a21f] DEBUG [8b29a21f] Finished in 0.687 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8f01f433] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8f01f433] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230063543; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230063543'" 1>&2; false; fi DEBUG [8f01f433] Finished in 0.094 seconds with exit status 0 (successful). INFO [de83e482] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [de83e482] Command: cd /home/deploy/apps/aoumi_server/releases/20221230063543 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [de83e482] rake aborted! DEBUG [de83e482] DEBUG [de83e482] ActiveRecord::DatabaseConnectionError: There is an issue connecting with your hostname: 127.0.0.1. DEBUG [de83e482] DEBUG [de83e482] DEBUG [de83e482] Please check your database configuration and ensure there is a valid connection to your database. DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:51:in `rescue in new_client' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [de83e482] DEBUG [de83e482] /home/de DEBUG [de83e482] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [de83e482] DEBUG [de83e482] DEBUG [de83e482] Caused by: DEBUG [de83e482] DEBUG [de83e482] Mysql2::Error::ConnectionError: Can't connect to MySQL server on '127.0.0.1' (111) DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [de83e482] nection_handler.rb:211:in `retrieve_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [de83e482] DEBUG [de83e482] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [de83e482] DEBUG [de83e482] Tasks: TOP => db:migrate DEBUG [de83e482] DEBUG [de83e482] (See full trace by running task with --trace) DEBUG [de83e482] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 13:45:45 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [8feb7cc6] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [8feb7cc6] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [8feb7cc6] Finished in 0.917 seconds with exit status 0 (successful). INFO [bc11ada2] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [bc11ada2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [bc11ada2] Finished in 0.099 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-649f0482f4aa952ae306.sh 0.0% INFO Uploading /tmp/git-ssh-649f0482f4aa952ae306.sh 100.0% INFO [a671c81e] Running /usr/bin/env chmod 700 /tmp/git-ssh-649f0482f4aa952ae306.sh as deploy@18.136.197.163 DEBUG [a671c81e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-649f0482f4aa952ae306.sh ) INFO [a671c81e] Finished in 0.093 seconds with exit status 0 (successful). INFO [04565094] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [04565094] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-649f0482f4aa952ae306.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [04565094] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [04565094] HEAD INFO [04565094] Finished in 2.864 seconds with exit status 0 (successful). INFO [e02187ab] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [e02187ab] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [e02187ab] Finished in 0.091 seconds with exit status 0 (successful). INFO [e6e726f0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [e6e726f0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [e6e726f0] Finished in 0.093 seconds with exit status 0 (successful). INFO [c2a976e6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [c2a976e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [c2a976e6] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [03b32c72] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [03b32c72] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [03b32c72] Finished in 0.099 seconds with exit status 1 (failed). ERROR linked file /home/deploy/apps/aoumi_server/shared/.env does not exist on 18.136.197.163 INFO --------------------------------------------------------------------------- INFO START 2022-12-30 13:50:35 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [c0780a10] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [c0780a10] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [c0780a10] Finished in 0.921 seconds with exit status 0 (successful). INFO [ce69cf1f] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [ce69cf1f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [ce69cf1f] Finished in 0.086 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-dc4a762a0b88285b1f92.sh 0.0% INFO Uploading /tmp/git-ssh-dc4a762a0b88285b1f92.sh 100.0% INFO [dc3b7f1d] Running /usr/bin/env chmod 700 /tmp/git-ssh-dc4a762a0b88285b1f92.sh as deploy@18.136.197.163 DEBUG [dc3b7f1d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-dc4a762a0b88285b1f92.sh ) INFO [dc3b7f1d] Finished in 0.095 seconds with exit status 0 (successful). INFO [9da5ac61] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [9da5ac61] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dc4a762a0b88285b1f92.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [9da5ac61] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [9da5ac61] DEBUG [9da5ac61] HEAD INFO [9da5ac61] Finished in 2.816 seconds with exit status 0 (successful). INFO [6c83b2d7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [6c83b2d7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [6c83b2d7] Finished in 0.095 seconds with exit status 0 (successful). INFO [a5d5d228] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [a5d5d228] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [a5d5d228] Finished in 0.099 seconds with exit status 0 (successful). INFO [0c527571] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [0c527571] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [0c527571] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [0cc2b6d1] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [0cc2b6d1] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [0cc2b6d1] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [f676a162] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [f676a162] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [f676a162] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [f47b7e69] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [f47b7e69] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [f47b7e69] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [be3f8a42] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [be3f8a42] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [be3f8a42] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [be3f8a42] DEBUG [be3f8a42] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [a84c70e7] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [a84c70e7] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [a84c70e7] Finished in 0.094 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [b6ef2779] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [b6ef2779] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b6ef2779] Finished in 0.147 seconds with exit status 0 (successful). INFO [afb74ecd] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [afb74ecd] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dc4a762a0b88285b1f92.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [afb74ecd] Finished in 0.101 seconds with exit status 0 (successful). INFO [d9155122] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [d9155122] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dc4a762a0b88285b1f92.sh" ; /usr/bin/env git remote update --prune ) DEBUG [d9155122] Fetching origin DEBUG [d9155122] INFO [d9155122] Finished in 3.436 seconds with exit status 0 (successful). DEBUG [56ef79c2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [56ef79c2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [56ef79c2] Finished in 0.091 seconds with exit status 0 (successful). INFO [054e0686] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065040 as deploy@18.136.197.163 DEBUG [054e0686] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dc4a762a0b88285b1f92.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065040 ) INFO [054e0686] Finished in 0.093 seconds with exit status 0 (successful). INFO [f1864f39] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230065040 as deploy@18.136.197.163 DEBUG [f1864f39] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dc4a762a0b88285b1f92.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230065040 ) INFO [f1864f39] Finished in 0.198 seconds with exit status 0 (successful). DEBUG [7196786f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [7196786f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7196786f] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [6d75eaa4] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [6d75eaa4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dc4a762a0b88285b1f92.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [6d75eaa4] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [6d75eaa4] DEBUG [6d75eaa4] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [69b44941] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [69b44941] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi DEBUG [69b44941] Finished in 0.095 seconds with exit status 0 (successful). INFO [7d3c5eaa] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [7d3c5eaa] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065040 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [7d3c5eaa] Finished in 0.137 seconds with exit status 0 (successful). INFO [10e643fb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065040/config as deploy@18.136.197.163 DEBUG [10e643fb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065040/config ) INFO [10e643fb] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [71f4d7a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/config/application.yml ] as deploy@18.136.197.163 DEBUG [71f4d7a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/config/application.yml ] DEBUG [71f4d7a3] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [8339c60f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230065040/config/application.yml ] as deploy@18.136.197.163 DEBUG [8339c60f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230065040/config/application.yml ] DEBUG [8339c60f] Finished in 0.098 seconds with exit status 1 (failed). INFO [852775cc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230065040/config/application.yml as deploy@18.136.197.163 DEBUG [852775cc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230065040/config/application.yml ) INFO [852775cc] Finished in 0.136 seconds with exit status 0 (successful). INFO [8925b9d4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065040 /home/deploy/apps/aoumi_server/releases/20221230065040/tmp /home/deploy/apps/aoumi_server/releases/20221230065040/vendor /home/deploy/apps/aoumi_server/releases/20221230065040/public as deploy@18.136.197.163 DEBUG [8925b9d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065040 /home/deploy/apps/aoumi_server/releases/20221230065040/tmp /home/deploy/apps/aoumi_server/releases/20221230065040/vendor /home/deploy/apps/aoumi_server/releases/20221230065040/public ) INFO [8925b9d4] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [3ff78c8a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/log ] as deploy@18.136.197.163 DEBUG [3ff78c8a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/log ] DEBUG [3ff78c8a] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [ac355bdc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/log ] as deploy@18.136.197.163 DEBUG [ac355bdc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/log ] DEBUG [ac355bdc] Finished in 0.101 seconds with exit status 0 (successful). INFO [7ce3d6c9] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065040/log as deploy@18.136.197.163 DEBUG [7ce3d6c9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065040/log ) INFO [7ce3d6c9] Finished in 0.142 seconds with exit status 0 (successful). INFO [1bcd18f2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230065040/log as deploy@18.136.197.163 DEBUG [1bcd18f2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230065040/log ) INFO [1bcd18f2] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [23046391] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids ] as deploy@18.136.197.163 DEBUG [23046391] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids ] DEBUG [23046391] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [e259a038] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids ] as deploy@18.136.197.163 DEBUG [e259a038] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids ] DEBUG [e259a038] Finished in 0.091 seconds with exit status 0 (successful). INFO [f98f5650] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids as deploy@18.136.197.163 DEBUG [f98f5650] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids ) INFO [f98f5650] Finished in 0.138 seconds with exit status 0 (successful). INFO [e014a276] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids as deploy@18.136.197.163 DEBUG [e014a276] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/pids ) INFO [e014a276] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [b4213078] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/cache ] as deploy@18.136.197.163 DEBUG [b4213078] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/cache ] DEBUG [b4213078] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [a1ba600c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/cache ] as deploy@18.136.197.163 DEBUG [a1ba600c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/cache ] DEBUG [a1ba600c] Finished in 0.093 seconds with exit status 1 (failed). INFO [5ad00713] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/cache as deploy@18.136.197.163 DEBUG [5ad00713] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/cache ) INFO [5ad00713] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [0c558f28] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/sockets ] as deploy@18.136.197.163 DEBUG [0c558f28] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/sockets ] DEBUG [0c558f28] Finished in 0.094 seconds with exit status 1 (failed). DEBUG [ee78812d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/sockets ] as deploy@18.136.197.163 DEBUG [ee78812d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/sockets ] DEBUG [ee78812d] Finished in 0.136 seconds with exit status 1 (failed). INFO [d385d66c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/sockets as deploy@18.136.197.163 DEBUG [d385d66c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230065040/tmp/sockets ) INFO [d385d66c] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [4d0941f5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/vendor/bundle ] as deploy@18.136.197.163 DEBUG [4d0941f5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/vendor/bundle ] DEBUG [4d0941f5] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [6c167e58] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/vendor/bundle ] as deploy@18.136.197.163 DEBUG [6c167e58] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/vendor/bundle ] DEBUG [6c167e58] Finished in 0.094 seconds with exit status 1 (failed). INFO [4964dd17] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230065040/vendor/bundle as deploy@18.136.197.163 DEBUG [4964dd17] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230065040/vendor/bundle ) INFO [4964dd17] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [8bf57504] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/public/system ] as deploy@18.136.197.163 DEBUG [8bf57504] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/public/system ] DEBUG [8bf57504] Finished in 0.096 seconds with exit status 1 (failed). DEBUG [70906c86] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/public/system ] as deploy@18.136.197.163 DEBUG [70906c86] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/public/system ] DEBUG [70906c86] Finished in 0.132 seconds with exit status 1 (failed). INFO [7fff4730] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230065040/public/system as deploy@18.136.197.163 DEBUG [7fff4730] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230065040/public/system ) INFO [7fff4730] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [04d31c7c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/public/uploads ] as deploy@18.136.197.163 DEBUG [04d31c7c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065040/public/uploads ] DEBUG [04d31c7c] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [bcccb55c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/public/uploads ] as deploy@18.136.197.163 DEBUG [bcccb55c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065040/public/uploads ] DEBUG [bcccb55c] Finished in 0.100 seconds with exit status 1 (failed). INFO [d0a411cc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230065040/public/uploads as deploy@18.136.197.163 DEBUG [d0a411cc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230065040/public/uploads ) INFO [d0a411cc] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [a9847a67] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a9847a67] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi DEBUG [a9847a67] Finished in 0.095 seconds with exit status 0 (successful). INFO [5db90bc1] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [5db90bc1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065040 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [5db90bc1] Finished in 0.420 seconds with exit status 0 (successful). INFO [cc4cc557] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [cc4cc557] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065040 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [cc4cc557] Finished in 0.288 seconds with exit status 0 (successful). INFO [0fd3a85b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [0fd3a85b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065040 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [0fd3a85b] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [68b927cd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [68b927cd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi DEBUG [68b927cd] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [71cb0f29] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [71cb0f29] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065040 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [71cb0f29] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [71cb0f29] DEBUG [71cb0f29]  DEBUG [71cb0f29] The Gemfile's dependencies are satisfied DEBUG [71cb0f29] DEBUG [71cb0f29] Finished in 0.757 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [04b5ec6f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [04b5ec6f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065040; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065040'" 1>&2; false; fi DEBUG [04b5ec6f] Finished in 0.091 seconds with exit status 0 (successful). INFO [88ce0ce6] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [88ce0ce6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065040 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [88ce0ce6] rake aborted! DEBUG [88ce0ce6] DEBUG [88ce0ce6] ActiveRecord::DatabaseConnectionError: There is an issue connecting with your hostname: 127.0.0.1. DEBUG [88ce0ce6] DEBUG [88ce0ce6] DEBUG [88ce0ce6] Please check your database configuration and ensure there is a valid connection to your database. DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:51:in `rescue in new_client' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/de DEBUG [88ce0ce6] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [88ce0ce6] DEBUG [88ce0ce6] DEBUG [88ce0ce6] Caused by: DEBUG [88ce0ce6] DEBUG [88ce0ce6] Mysql2::Error::ConnectionError: Can't connect to MySQL server on '127.0.0.1' (111) DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [88ce0ce6] nection_handler.rb:211:in `retrieve_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [88ce0ce6] DEBUG [88ce0ce6] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [88ce0ce6] DEBUG [88ce0ce6] Tasks: TOP => db:migrate DEBUG [88ce0ce6] DEBUG [88ce0ce6] (See full trace by running task with --trace) DEBUG [88ce0ce6] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 13:52:05 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [6426b413] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [6426b413] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [6426b413] Finished in 0.924 seconds with exit status 0 (successful). INFO [d8a1ba0a] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [d8a1ba0a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [d8a1ba0a] Finished in 0.095 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh 0.0% INFO Uploading /tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh 100.0% INFO [397a1a95] Running /usr/bin/env chmod 700 /tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh as deploy@18.136.197.163 DEBUG [397a1a95] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh ) INFO [397a1a95] Finished in 0.100 seconds with exit status 0 (successful). INFO [df603544] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [df603544] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [df603544] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [df603544] HEAD INFO [df603544] Finished in 2.987 seconds with exit status 0 (successful). INFO [e3d3551e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [e3d3551e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [e3d3551e] Finished in 0.095 seconds with exit status 0 (successful). INFO [720cace6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [720cace6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [720cace6] Finished in 0.093 seconds with exit status 0 (successful). INFO [49f1c1d8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [49f1c1d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [49f1c1d8] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [de796914] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [de796914] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [de796914] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [cca0ae56] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [cca0ae56] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [cca0ae56] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [5e429b3f] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [5e429b3f] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [5e429b3f] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [67510a3a] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [67510a3a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [67510a3a] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [67510a3a] DEBUG [67510a3a] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [70021981] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [70021981] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [70021981] Finished in 0.106 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [58ea6366] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [58ea6366] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [58ea6366] Finished in 0.147 seconds with exit status 0 (successful). INFO [e127e2a9] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [e127e2a9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e127e2a9] Finished in 0.104 seconds with exit status 0 (successful). INFO [8a92f524] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [8a92f524] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh" ; /usr/bin/env git remote update --prune ) DEBUG [8a92f524] Fetching origin DEBUG [8a92f524] INFO [8a92f524] Finished in 2.900 seconds with exit status 0 (successful). DEBUG [3593c528] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [3593c528] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3593c528] Finished in 0.074 seconds with exit status 0 (successful). INFO [7760a4c4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065210 as deploy@18.136.197.163 DEBUG [7760a4c4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065210 ) INFO [7760a4c4] Finished in 0.102 seconds with exit status 0 (successful). INFO [42fe4ec8] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230065210 as deploy@18.136.197.163 DEBUG [42fe4ec8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230065210 ) INFO [42fe4ec8] Finished in 0.198 seconds with exit status 0 (successful). DEBUG [731c38b2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [731c38b2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [731c38b2] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [711a8f87] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [711a8f87] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c5f4b5a9aaf6c4b198ab.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [711a8f87] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [711a8f87] DEBUG [711a8f87] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [43d41910] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [43d41910] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi DEBUG [43d41910] Finished in 0.095 seconds with exit status 0 (successful). INFO [dd2d99c3] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [dd2d99c3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065210 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [dd2d99c3] Finished in 0.138 seconds with exit status 0 (successful). INFO [df78d006] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065210/config as deploy@18.136.197.163 DEBUG [df78d006] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065210/config ) INFO [df78d006] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [a4eb83db] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/config/application.yml ] as deploy@18.136.197.163 DEBUG [a4eb83db] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/config/application.yml ] DEBUG [a4eb83db] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [2610b683] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230065210/config/application.yml ] as deploy@18.136.197.163 DEBUG [2610b683] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230065210/config/application.yml ] DEBUG [2610b683] Finished in 0.092 seconds with exit status 1 (failed). INFO [121894ae] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230065210/config/application.yml as deploy@18.136.197.163 DEBUG [121894ae] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230065210/config/application.yml ) INFO [121894ae] Finished in 0.141 seconds with exit status 0 (successful). INFO [bbc7cb45] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065210 /home/deploy/apps/aoumi_server/releases/20221230065210/tmp /home/deploy/apps/aoumi_server/releases/20221230065210/vendor /home/deploy/apps/aoumi_server/releases/20221230065210/public as deploy@18.136.197.163 DEBUG [bbc7cb45] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065210 /home/deploy/apps/aoumi_server/releases/20221230065210/tmp /home/deploy/apps/aoumi_server/releases/20221230065210/vendor /home/deploy/apps/aoumi_server/releases/20221230065210/public ) INFO [bbc7cb45] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [03437ad4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/log ] as deploy@18.136.197.163 DEBUG [03437ad4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/log ] DEBUG [03437ad4] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [df102daf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/log ] as deploy@18.136.197.163 DEBUG [df102daf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/log ] DEBUG [df102daf] Finished in 0.108 seconds with exit status 0 (successful). INFO [ceac2c68] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065210/log as deploy@18.136.197.163 DEBUG [ceac2c68] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065210/log ) INFO [ceac2c68] Finished in 0.139 seconds with exit status 0 (successful). INFO [121ef8ef] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230065210/log as deploy@18.136.197.163 DEBUG [121ef8ef] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230065210/log ) INFO [121ef8ef] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [87fad252] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids ] as deploy@18.136.197.163 DEBUG [87fad252] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids ] DEBUG [87fad252] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [8c121601] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids ] as deploy@18.136.197.163 DEBUG [8c121601] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids ] DEBUG [8c121601] Finished in 0.093 seconds with exit status 0 (successful). INFO [24ad54e0] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids as deploy@18.136.197.163 DEBUG [24ad54e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids ) INFO [24ad54e0] Finished in 0.138 seconds with exit status 0 (successful). INFO [25cb90e9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids as deploy@18.136.197.163 DEBUG [25cb90e9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/pids ) INFO [25cb90e9] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [b710b817] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/cache ] as deploy@18.136.197.163 DEBUG [b710b817] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/cache ] DEBUG [b710b817] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [9e69d9cc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/cache ] as deploy@18.136.197.163 DEBUG [9e69d9cc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/cache ] DEBUG [9e69d9cc] Finished in 0.106 seconds with exit status 1 (failed). INFO [de86c049] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/cache as deploy@18.136.197.163 DEBUG [de86c049] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/cache ) INFO [de86c049] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [6bf3b1ef] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/sockets ] as deploy@18.136.197.163 DEBUG [6bf3b1ef] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/sockets ] DEBUG [6bf3b1ef] Finished in 0.092 seconds with exit status 1 (failed). DEBUG [989cd312] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/sockets ] as deploy@18.136.197.163 DEBUG [989cd312] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/sockets ] DEBUG [989cd312] Finished in 0.136 seconds with exit status 1 (failed). INFO [8bbf8899] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/sockets as deploy@18.136.197.163 DEBUG [8bbf8899] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230065210/tmp/sockets ) INFO [8bbf8899] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [c36e93f1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/vendor/bundle ] as deploy@18.136.197.163 DEBUG [c36e93f1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/vendor/bundle ] DEBUG [c36e93f1] Finished in 0.133 seconds with exit status 1 (failed). DEBUG [f89db288] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/vendor/bundle ] as deploy@18.136.197.163 DEBUG [f89db288] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/vendor/bundle ] DEBUG [f89db288] Finished in 0.092 seconds with exit status 1 (failed). INFO [ff856d32] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230065210/vendor/bundle as deploy@18.136.197.163 DEBUG [ff856d32] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230065210/vendor/bundle ) INFO [ff856d32] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [40e4bbb0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/public/system ] as deploy@18.136.197.163 DEBUG [40e4bbb0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/public/system ] DEBUG [40e4bbb0] Finished in 0.094 seconds with exit status 1 (failed). DEBUG [d16bac19] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/public/system ] as deploy@18.136.197.163 DEBUG [d16bac19] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/public/system ] DEBUG [d16bac19] Finished in 0.149 seconds with exit status 1 (failed). INFO [ee11ffb6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230065210/public/system as deploy@18.136.197.163 DEBUG [ee11ffb6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230065210/public/system ) INFO [ee11ffb6] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [369154c8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/public/uploads ] as deploy@18.136.197.163 DEBUG [369154c8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065210/public/uploads ] DEBUG [369154c8] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [3cc6a333] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/public/uploads ] as deploy@18.136.197.163 DEBUG [3cc6a333] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065210/public/uploads ] DEBUG [3cc6a333] Finished in 0.099 seconds with exit status 1 (failed). INFO [acea7a05] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230065210/public/uploads as deploy@18.136.197.163 DEBUG [acea7a05] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230065210/public/uploads ) INFO [acea7a05] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [6b716d3d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6b716d3d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi DEBUG [6b716d3d] Finished in 0.091 seconds with exit status 0 (successful). INFO [1cd3c14e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [1cd3c14e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065210 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [1cd3c14e] Finished in 0.439 seconds with exit status 0 (successful). INFO [6a55cb12] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [6a55cb12] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065210 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [6a55cb12] Finished in 0.291 seconds with exit status 0 (successful). INFO [b9b78ce7] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [b9b78ce7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065210 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [b9b78ce7] Finished in 0.421 seconds with exit status 0 (successful). DEBUG [13f4e4f7] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [13f4e4f7] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi DEBUG [13f4e4f7] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [b5798936] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [b5798936] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065210 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [b5798936] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [b5798936] DEBUG [b5798936]  DEBUG [b5798936] The Gemfile's dependencies are satisfied DEBUG [b5798936] DEBUG [b5798936] Finished in 0.727 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [07f55100] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [07f55100] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065210; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065210'" 1>&2; false; fi DEBUG [07f55100] Finished in 0.101 seconds with exit status 0 (successful). INFO [5b9493b0] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [5b9493b0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065210 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [5b9493b0] rake aborted! DEBUG [5b9493b0] DEBUG [5b9493b0] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: root. DEBUG [5b9493b0] DEBUG [5b9493b0] DEBUG [5b9493b0] Please check your database configuration to ensure the username/password are valid. DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/de DEBUG [5b9493b0] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [5b9493b0] DEBUG [5b9493b0] DEBUG [5b9493b0] Caused by: DEBUG [5b9493b0] DEBUG [5b9493b0] Mysql2::Error::ConnectionError: Access denied for user 'root'@'10.0.0.57' (using password: NO) DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [5b9493b0] nection_handler.rb:211:in `retrieve_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [5b9493b0] DEBUG [5b9493b0] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [5b9493b0] DEBUG [5b9493b0] Tasks: TOP => db:migrate DEBUG [5b9493b0] DEBUG [5b9493b0] (See full trace by running task with --trace) DEBUG [5b9493b0] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 13:54:38 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [de1ae2ee] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [de1ae2ee] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [de1ae2ee] Finished in 1.008 seconds with exit status 0 (successful). INFO [0d5e63bf] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [0d5e63bf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [0d5e63bf] Finished in 0.086 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-ef75d89a6e40643c52b5.sh 0.0% INFO Uploading /tmp/git-ssh-ef75d89a6e40643c52b5.sh 100.0% INFO [aeca3f85] Running /usr/bin/env chmod 700 /tmp/git-ssh-ef75d89a6e40643c52b5.sh as deploy@18.136.197.163 DEBUG [aeca3f85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-ef75d89a6e40643c52b5.sh ) INFO [aeca3f85] Finished in 0.096 seconds with exit status 0 (successful). INFO [bd8928c7] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [bd8928c7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ef75d89a6e40643c52b5.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [bd8928c7] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [bd8928c7] HEAD INFO [bd8928c7] Finished in 2.924 seconds with exit status 0 (successful). INFO [13ec94e0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [13ec94e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [13ec94e0] Finished in 0.090 seconds with exit status 0 (successful). INFO [e8089ccf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [e8089ccf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [e8089ccf] Finished in 0.096 seconds with exit status 0 (successful). INFO [265d11d4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [265d11d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/config ) INFO [265d11d4] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [b45a80d7] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [b45a80d7] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [b45a80d7] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [0b5307d6] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [0b5307d6] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [0b5307d6] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [84168b56] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [84168b56] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [84168b56] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [05c36fd8] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [05c36fd8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [05c36fd8] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [05c36fd8] DEBUG [05c36fd8] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [bae61e6c] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [bae61e6c] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [bae61e6c] Finished in 0.090 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [d593cd29] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d593cd29] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d593cd29] Finished in 0.130 seconds with exit status 0 (successful). INFO [fde96a76] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [fde96a76] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ef75d89a6e40643c52b5.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [fde96a76] Finished in 0.096 seconds with exit status 0 (successful). INFO [45ed7acc] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [45ed7acc] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ef75d89a6e40643c52b5.sh" ; /usr/bin/env git remote update --prune ) DEBUG [45ed7acc] Fetching origin DEBUG [45ed7acc] INFO [45ed7acc] Finished in 2.974 seconds with exit status 0 (successful). DEBUG [b4a7517d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [b4a7517d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b4a7517d] Finished in 0.097 seconds with exit status 0 (successful). INFO [7d4da80c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065443 as deploy@18.136.197.163 DEBUG [7d4da80c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ef75d89a6e40643c52b5.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065443 ) INFO [7d4da80c] Finished in 0.098 seconds with exit status 0 (successful). INFO [30d9bf0d] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230065443 as deploy@18.136.197.163 DEBUG [30d9bf0d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ef75d89a6e40643c52b5.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230065443 ) INFO [30d9bf0d] Finished in 0.204 seconds with exit status 0 (successful). DEBUG [0af632ee] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [0af632ee] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [0af632ee] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [d5e82614] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d5e82614] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ef75d89a6e40643c52b5.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d5e82614] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [d5e82614] DEBUG [d5e82614] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [736ee343] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [736ee343] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi DEBUG [736ee343] Finished in 0.096 seconds with exit status 0 (successful). INFO [d411dedb] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [d411dedb] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065443 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [d411dedb] Finished in 0.140 seconds with exit status 0 (successful). INFO [b9929e2f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065443/config as deploy@18.136.197.163 DEBUG [b9929e2f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065443/config ) INFO [b9929e2f] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [4a3c1f14] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/config/application.yml ] as deploy@18.136.197.163 DEBUG [4a3c1f14] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/config/application.yml ] DEBUG [4a3c1f14] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [91722020] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230065443/config/application.yml ] as deploy@18.136.197.163 DEBUG [91722020] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230065443/config/application.yml ] DEBUG [91722020] Finished in 0.092 seconds with exit status 1 (failed). INFO [fce8917c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230065443/config/application.yml as deploy@18.136.197.163 DEBUG [fce8917c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230065443/config/application.yml ) INFO [fce8917c] Finished in 0.138 seconds with exit status 0 (successful). INFO [222643eb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065443 /home/deploy/apps/aoumi_server/releases/20221230065443/tmp /home/deploy/apps/aoumi_server/releases/20221230065443/vendor /home/deploy/apps/aoumi_server/releases/20221230065443/public as deploy@18.136.197.163 DEBUG [222643eb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230065443 /home/deploy/apps/aoumi_server/releases/20221230065443/tmp /home/deploy/apps/aoumi_server/releases/20221230065443/vendor /home/deploy/apps/aoumi_server/releases/20221230065443/public ) INFO [222643eb] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [5aee48a1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/log ] as deploy@18.136.197.163 DEBUG [5aee48a1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/log ] DEBUG [5aee48a1] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [c5f3a022] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/log ] as deploy@18.136.197.163 DEBUG [c5f3a022] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/log ] DEBUG [c5f3a022] Finished in 0.092 seconds with exit status 0 (successful). INFO [bb03de72] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065443/log as deploy@18.136.197.163 DEBUG [bb03de72] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065443/log ) INFO [bb03de72] Finished in 0.138 seconds with exit status 0 (successful). INFO [2b146b60] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230065443/log as deploy@18.136.197.163 DEBUG [2b146b60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230065443/log ) INFO [2b146b60] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [ad36a7b7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids ] as deploy@18.136.197.163 DEBUG [ad36a7b7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids ] DEBUG [ad36a7b7] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [823ee976] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids ] as deploy@18.136.197.163 DEBUG [823ee976] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids ] DEBUG [823ee976] Finished in 0.091 seconds with exit status 0 (successful). INFO [ef7009a6] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids as deploy@18.136.197.163 DEBUG [ef7009a6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids ) INFO [ef7009a6] Finished in 0.137 seconds with exit status 0 (successful). INFO [3af6dd25] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids as deploy@18.136.197.163 DEBUG [3af6dd25] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/pids ) INFO [3af6dd25] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [881aa94f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/cache ] as deploy@18.136.197.163 DEBUG [881aa94f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/cache ] DEBUG [881aa94f] Finished in 0.157 seconds with exit status 1 (failed). DEBUG [07df9f0b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/cache ] as deploy@18.136.197.163 DEBUG [07df9f0b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/cache ] DEBUG [07df9f0b] Finished in 0.097 seconds with exit status 1 (failed). INFO [811c4388] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/cache as deploy@18.136.197.163 DEBUG [811c4388] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/cache ) INFO [811c4388] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [74737dd4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/sockets ] as deploy@18.136.197.163 DEBUG [74737dd4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/sockets ] DEBUG [74737dd4] Finished in 0.098 seconds with exit status 1 (failed). DEBUG [4335e7bf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/sockets ] as deploy@18.136.197.163 DEBUG [4335e7bf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/sockets ] DEBUG [4335e7bf] Finished in 0.134 seconds with exit status 1 (failed). INFO [8b897cc9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/sockets as deploy@18.136.197.163 DEBUG [8b897cc9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230065443/tmp/sockets ) INFO [8b897cc9] Finished in 0.179 seconds with exit status 0 (successful). DEBUG [a7a77fe4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/vendor/bundle ] as deploy@18.136.197.163 DEBUG [a7a77fe4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/vendor/bundle ] DEBUG [a7a77fe4] Finished in 0.479 seconds with exit status 1 (failed). DEBUG [f5a31836] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/vendor/bundle ] as deploy@18.136.197.163 DEBUG [f5a31836] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/vendor/bundle ] DEBUG [f5a31836] Finished in 0.289 seconds with exit status 1 (failed). INFO [cc646885] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230065443/vendor/bundle as deploy@18.136.197.163 DEBUG [cc646885] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230065443/vendor/bundle ) INFO [cc646885] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [d80f958c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/public/system ] as deploy@18.136.197.163 DEBUG [d80f958c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/public/system ] DEBUG [d80f958c] Finished in 0.318 seconds with exit status 1 (failed). DEBUG [68f26fc9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/public/system ] as deploy@18.136.197.163 DEBUG [68f26fc9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/public/system ] DEBUG [68f26fc9] Finished in 0.342 seconds with exit status 1 (failed). INFO [4ffa9a34] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230065443/public/system as deploy@18.136.197.163 DEBUG [4ffa9a34] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230065443/public/system ) INFO [4ffa9a34] Finished in 0.351 seconds with exit status 0 (successful). DEBUG [a6b45042] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/public/uploads ] as deploy@18.136.197.163 DEBUG [a6b45042] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230065443/public/uploads ] DEBUG [a6b45042] Finished in 0.196 seconds with exit status 1 (failed). DEBUG [c0a42e29] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/public/uploads ] as deploy@18.136.197.163 DEBUG [c0a42e29] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230065443/public/uploads ] DEBUG [c0a42e29] Finished in 0.318 seconds with exit status 1 (failed). INFO [a801dcdd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230065443/public/uploads as deploy@18.136.197.163 DEBUG [a801dcdd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230065443/public/uploads ) INFO [a801dcdd] Finished in 0.369 seconds with exit status 0 (successful). DEBUG [bc72249b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bc72249b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi DEBUG [bc72249b] Finished in 0.150 seconds with exit status 0 (successful). INFO [d94848cc] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [d94848cc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065443 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [d94848cc] Finished in 0.286 seconds with exit status 0 (successful). INFO [0c21fa7b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [0c21fa7b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065443 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [0c21fa7b] Finished in 0.336 seconds with exit status 0 (successful). INFO [520e119e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [520e119e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065443 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [520e119e] Finished in 0.283 seconds with exit status 0 (successful). DEBUG [d44759b5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d44759b5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi DEBUG [d44759b5] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [70a1bc20] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [70a1bc20] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065443 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [70a1bc20] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [70a1bc20] DEBUG [70a1bc20]  DEBUG [70a1bc20] The Gemfile's dependencies are satisfied DEBUG [70a1bc20] DEBUG [70a1bc20] Finished in 0.676 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [67451d18] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [67451d18] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230065443; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230065443'" 1>&2; false; fi DEBUG [67451d18] Finished in 0.141 seconds with exit status 0 (successful). INFO [bd872a94] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [bd872a94] Command: cd /home/deploy/apps/aoumi_server/releases/20221230065443 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [bd872a94] rake aborted! DEBUG [bd872a94] DEBUG [bd872a94] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: root. DEBUG [bd872a94] DEBUG [bd872a94] DEBUG [bd872a94] Please check your database configuration to ensure the username/password are valid. DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/de DEBUG [bd872a94] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [bd872a94] DEBUG [bd872a94] DEBUG [bd872a94] Caused by: DEBUG [bd872a94] DEBUG [bd872a94] Mysql2::Error::ConnectionError: Access denied for user 'root'@'10.0.0.57' (using password: NO) DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [bd872a94] nection_handler.rb:211:in `retrieve_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [bd872a94] DEBUG [bd872a94] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [bd872a94] DEBUG [bd872a94] Tasks: TOP => db:migrate DEBUG [bd872a94] DEBUG [bd872a94] (See full trace by running task with --trace) DEBUG [bd872a94] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 14:09:04 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [07bd17c1] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [07bd17c1] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [07bd17c1] Finished in 0.938 seconds with exit status 0 (successful). INFO [a9de683e] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [a9de683e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [a9de683e] Finished in 0.092 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-df52209a818c0cc7d5ce.sh 0.0% INFO Uploading /tmp/git-ssh-df52209a818c0cc7d5ce.sh 100.0% INFO [59e46bb9] Running /usr/bin/env chmod 700 /tmp/git-ssh-df52209a818c0cc7d5ce.sh as deploy@18.136.197.163 DEBUG [59e46bb9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-df52209a818c0cc7d5ce.sh ) INFO [59e46bb9] Finished in 0.107 seconds with exit status 0 (successful). INFO [7b4c7362] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [7b4c7362] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-df52209a818c0cc7d5ce.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [7b4c7362] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [7b4c7362] HEAD INFO [7b4c7362] Finished in 3.006 seconds with exit status 0 (successful). INFO [64e13a0d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [64e13a0d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [64e13a0d] Finished in 0.070 seconds with exit status 0 (successful). INFO [39d7f47f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [39d7f47f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [39d7f47f] Finished in 0.096 seconds with exit status 0 (successful). INFO [c1967b30] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [c1967b30] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [c1967b30] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [f85ead2f] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [f85ead2f] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [f85ead2f] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [9c76cf6a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [9c76cf6a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [9c76cf6a] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [b749592b] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [b749592b] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [b749592b] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [4530e164] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [4530e164] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [4530e164] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [e8dc430a] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [e8dc430a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [e8dc430a] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [e8dc430a] DEBUG [e8dc430a] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [99dea7b5] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [99dea7b5] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [99dea7b5] Finished in 0.137 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [6e66807a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6e66807a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6e66807a] Finished in 0.094 seconds with exit status 0 (successful). INFO [93e01875] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [93e01875] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-df52209a818c0cc7d5ce.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [93e01875] Finished in 0.145 seconds with exit status 0 (successful). INFO [b26ad763] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [b26ad763] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-df52209a818c0cc7d5ce.sh" ; /usr/bin/env git remote update --prune ) DEBUG [b26ad763] Fetching origin DEBUG [b26ad763] INFO [b26ad763] Finished in 2.897 seconds with exit status 0 (successful). DEBUG [c23db2d7] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c23db2d7] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c23db2d7] Finished in 0.092 seconds with exit status 0 (successful). INFO [86567718] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230070910 as deploy@18.136.197.163 DEBUG [86567718] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-df52209a818c0cc7d5ce.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230070910 ) INFO [86567718] Finished in 0.112 seconds with exit status 0 (successful). INFO [4b0aed45] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230070910 as deploy@18.136.197.163 DEBUG [4b0aed45] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-df52209a818c0cc7d5ce.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230070910 ) INFO [4b0aed45] Finished in 0.212 seconds with exit status 0 (successful). DEBUG [8d0a111d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8d0a111d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8d0a111d] Finished in 0.091 seconds with exit status 0 (successful). DEBUG [f4ace86b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [f4ace86b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-df52209a818c0cc7d5ce.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f4ace86b] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [f4ace86b] DEBUG [f4ace86b] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [0b0301c5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [0b0301c5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi DEBUG [0b0301c5] Finished in 0.092 seconds with exit status 0 (successful). INFO [0933c2b2] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [0933c2b2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230070910 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [0933c2b2] Finished in 0.136 seconds with exit status 0 (successful). INFO [be95462f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230070910 /home/deploy/apps/aoumi_server/releases/20221230070910/config as deploy@18.136.197.163 DEBUG [be95462f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230070910 /home/deploy/apps/aoumi_server/releases/20221230070910/config ) INFO [be95462f] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [01ec0d7f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/.env ] as deploy@18.136.197.163 DEBUG [01ec0d7f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/.env ] DEBUG [01ec0d7f] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [11df131a] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230070910/.env ] as deploy@18.136.197.163 DEBUG [11df131a] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230070910/.env ] DEBUG [11df131a] Finished in 0.093 seconds with exit status 0 (successful). INFO [245afbd6] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230070910/.env as deploy@18.136.197.163 DEBUG [245afbd6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230070910/.env ) INFO [245afbd6] Finished in 0.139 seconds with exit status 0 (successful). INFO [e83a0889] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230070910/.env as deploy@18.136.197.163 DEBUG [e83a0889] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230070910/.env ) INFO [e83a0889] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [c0555a54] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/config/application.yml ] as deploy@18.136.197.163 DEBUG [c0555a54] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/config/application.yml ] DEBUG [c0555a54] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [3a733c61] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230070910/config/application.yml ] as deploy@18.136.197.163 DEBUG [3a733c61] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230070910/config/application.yml ] DEBUG [3a733c61] Finished in 0.094 seconds with exit status 1 (failed). INFO [0c010ef4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230070910/config/application.yml as deploy@18.136.197.163 DEBUG [0c010ef4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230070910/config/application.yml ) INFO [0c010ef4] Finished in 0.152 seconds with exit status 0 (successful). INFO [8c085f34] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230070910 /home/deploy/apps/aoumi_server/releases/20221230070910/tmp /home/deploy/apps/aoumi_server/releases/20221230070910/vendor /home/deploy/apps/aoumi_server/releases/20221230070910/public as deploy@18.136.197.163 DEBUG [8c085f34] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230070910 /home/deploy/apps/aoumi_server/releases/20221230070910/tmp /home/deploy/apps/aoumi_server/releases/20221230070910/vendor /home/deploy/apps/aoumi_server/releases/20221230070910/public ) INFO [8c085f34] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [67dbba36] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/log ] as deploy@18.136.197.163 DEBUG [67dbba36] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/log ] DEBUG [67dbba36] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [0fe00b76] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/log ] as deploy@18.136.197.163 DEBUG [0fe00b76] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/log ] DEBUG [0fe00b76] Finished in 0.098 seconds with exit status 0 (successful). INFO [03447001] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230070910/log as deploy@18.136.197.163 DEBUG [03447001] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230070910/log ) INFO [03447001] Finished in 0.154 seconds with exit status 0 (successful). INFO [8742263d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230070910/log as deploy@18.136.197.163 DEBUG [8742263d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230070910/log ) INFO [8742263d] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [17e0a7ae] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids ] as deploy@18.136.197.163 DEBUG [17e0a7ae] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids ] DEBUG [17e0a7ae] Finished in 0.160 seconds with exit status 1 (failed). DEBUG [38276994] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids ] as deploy@18.136.197.163 DEBUG [38276994] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids ] DEBUG [38276994] Finished in 0.115 seconds with exit status 0 (successful). INFO [23a64cbd] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids as deploy@18.136.197.163 DEBUG [23a64cbd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids ) INFO [23a64cbd] Finished in 0.152 seconds with exit status 0 (successful). INFO [69ab19e4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids as deploy@18.136.197.163 DEBUG [69ab19e4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/pids ) INFO [69ab19e4] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [a2a13851] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/cache ] as deploy@18.136.197.163 DEBUG [a2a13851] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/cache ] DEBUG [a2a13851] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [e0c2d015] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/cache ] as deploy@18.136.197.163 DEBUG [e0c2d015] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/cache ] DEBUG [e0c2d015] Finished in 0.102 seconds with exit status 1 (failed). INFO [50dc6de9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/cache as deploy@18.136.197.163 DEBUG [50dc6de9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/cache ) INFO [50dc6de9] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [483ac40c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/sockets ] as deploy@18.136.197.163 DEBUG [483ac40c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/sockets ] DEBUG [483ac40c] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [604cc43a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/sockets ] as deploy@18.136.197.163 DEBUG [604cc43a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/sockets ] DEBUG [604cc43a] Finished in 0.145 seconds with exit status 1 (failed). INFO [0343c249] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/sockets as deploy@18.136.197.163 DEBUG [0343c249] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230070910/tmp/sockets ) INFO [0343c249] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [c187c3a8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/vendor/bundle ] as deploy@18.136.197.163 DEBUG [c187c3a8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/vendor/bundle ] DEBUG [c187c3a8] Finished in 0.138 seconds with exit status 1 (failed). DEBUG [5d026c56] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/vendor/bundle ] as deploy@18.136.197.163 DEBUG [5d026c56] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/vendor/bundle ] DEBUG [5d026c56] Finished in 0.100 seconds with exit status 1 (failed). INFO [d198f00d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230070910/vendor/bundle as deploy@18.136.197.163 DEBUG [d198f00d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230070910/vendor/bundle ) INFO [d198f00d] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [30383e0b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/public/system ] as deploy@18.136.197.163 DEBUG [30383e0b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/public/system ] DEBUG [30383e0b] Finished in 0.094 seconds with exit status 1 (failed). DEBUG [d43290e1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/public/system ] as deploy@18.136.197.163 DEBUG [d43290e1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/public/system ] DEBUG [d43290e1] Finished in 0.137 seconds with exit status 1 (failed). INFO [ade956dc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230070910/public/system as deploy@18.136.197.163 DEBUG [ade956dc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230070910/public/system ) INFO [ade956dc] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [54af5c5d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/public/uploads ] as deploy@18.136.197.163 DEBUG [54af5c5d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230070910/public/uploads ] DEBUG [54af5c5d] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [3c184d26] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/public/uploads ] as deploy@18.136.197.163 DEBUG [3c184d26] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230070910/public/uploads ] DEBUG [3c184d26] Finished in 0.097 seconds with exit status 1 (failed). INFO [0b1a1d8a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230070910/public/uploads as deploy@18.136.197.163 DEBUG [0b1a1d8a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230070910/public/uploads ) INFO [0b1a1d8a] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [5630e22b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5630e22b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi DEBUG [5630e22b] Finished in 0.096 seconds with exit status 0 (successful). INFO [b03cf335] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [b03cf335] Command: cd /home/deploy/apps/aoumi_server/releases/20221230070910 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [b03cf335] Finished in 0.491 seconds with exit status 0 (successful). INFO [6bd0a41c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [6bd0a41c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230070910 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [6bd0a41c] Finished in 0.294 seconds with exit status 0 (successful). INFO [e07523b4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [e07523b4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230070910 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e07523b4] Finished in 0.428 seconds with exit status 0 (successful). DEBUG [c00a4e9d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c00a4e9d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi DEBUG [c00a4e9d] Finished in 0.118 seconds with exit status 0 (successful). DEBUG [2f40424c] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [2f40424c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230070910 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [2f40424c] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [2f40424c] DEBUG [2f40424c]  DEBUG [2f40424c] The Gemfile's dependencies are satisfied DEBUG [2f40424c] DEBUG [2f40424c] Finished in 0.790 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [2a7aa8f2] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2a7aa8f2] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230070910; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230070910'" 1>&2; false; fi DEBUG [2a7aa8f2] Finished in 0.117 seconds with exit status 0 (successful). INFO [8646a8b5] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [8646a8b5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230070910 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [8646a8b5] rake aborted! DEBUG [8646a8b5] DEBUG [8646a8b5] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: root. DEBUG [8646a8b5] DEBUG [8646a8b5] DEBUG [8646a8b5] Please check your database configuration to ensure the username/password are valid. DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/de DEBUG [8646a8b5] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [8646a8b5] DEBUG [8646a8b5] DEBUG [8646a8b5] Caused by: DEBUG [8646a8b5] DEBUG [8646a8b5] Mysql2::Error::ConnectionError: Access denied for user 'root'@'10.0.0.57' (using password: NO) DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [8646a8b5] nection_handler.rb:211:in `retrieve_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [8646a8b5] DEBUG [8646a8b5] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [8646a8b5] DEBUG [8646a8b5] Tasks: TOP => db:migrate DEBUG [8646a8b5] DEBUG [8646a8b5] (See full trace by running task with --trace) DEBUG [8646a8b5] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 14:31:43 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [390715dc] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [390715dc] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [390715dc] Finished in 0.928 seconds with exit status 0 (successful). INFO [d3439644] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [d3439644] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [d3439644] Finished in 0.082 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-3a284ce1d650cc05c608.sh 0.0% INFO Uploading /tmp/git-ssh-3a284ce1d650cc05c608.sh 100.0% INFO [eadc76af] Running /usr/bin/env chmod 700 /tmp/git-ssh-3a284ce1d650cc05c608.sh as deploy@18.136.197.163 DEBUG [eadc76af] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-3a284ce1d650cc05c608.sh ) INFO [eadc76af] Finished in 0.091 seconds with exit status 0 (successful). INFO [e76627d8] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [e76627d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a284ce1d650cc05c608.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e76627d8] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [e76627d8] HEAD INFO [e76627d8] Finished in 2.937 seconds with exit status 0 (successful). INFO [0e042a4c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [0e042a4c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [0e042a4c] Finished in 0.090 seconds with exit status 0 (successful). INFO [11336fbb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [11336fbb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [11336fbb] Finished in 0.092 seconds with exit status 0 (successful). INFO [58f236a4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [58f236a4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [58f236a4] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [783851c9] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [783851c9] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [783851c9] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [3e37d3e5] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [3e37d3e5] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [3e37d3e5] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [8c376cdf] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [8c376cdf] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [8c376cdf] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [2836866d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [2836866d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [2836866d] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [649f8ad8] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [649f8ad8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [649f8ad8] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [649f8ad8] DEBUG [649f8ad8] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [342b0f5b] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [342b0f5b] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [342b0f5b] Finished in 0.130 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [d47acbcb] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d47acbcb] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d47acbcb] Finished in 0.094 seconds with exit status 0 (successful). INFO [4c65324d] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [4c65324d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a284ce1d650cc05c608.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [4c65324d] Finished in 0.140 seconds with exit status 0 (successful). INFO [c6fede3d] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [c6fede3d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a284ce1d650cc05c608.sh" ; /usr/bin/env git remote update --prune ) DEBUG [c6fede3d] Fetching origin DEBUG [c6fede3d] INFO [c6fede3d] Finished in 2.948 seconds with exit status 0 (successful). DEBUG [a2804ba4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a2804ba4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [a2804ba4] Finished in 0.085 seconds with exit status 0 (successful). INFO [f8f1cbb3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230073148 as deploy@18.136.197.163 DEBUG [f8f1cbb3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a284ce1d650cc05c608.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230073148 ) INFO [f8f1cbb3] Finished in 0.095 seconds with exit status 0 (successful). INFO [89367e1e] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230073148 as deploy@18.136.197.163 DEBUG [89367e1e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a284ce1d650cc05c608.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230073148 ) INFO [89367e1e] Finished in 0.198 seconds with exit status 0 (successful). DEBUG [4e2114b5] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4e2114b5] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [4e2114b5] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [c845cdda] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [c845cdda] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a284ce1d650cc05c608.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [c845cdda] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [c845cdda] DEBUG [c845cdda] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [9070c821] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [9070c821] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi DEBUG [9070c821] Finished in 0.088 seconds with exit status 0 (successful). INFO [4ac98c82] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [4ac98c82] Command: cd /home/deploy/apps/aoumi_server/releases/20221230073148 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [4ac98c82] Finished in 0.132 seconds with exit status 0 (successful). INFO [ada90bc6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230073148 /home/deploy/apps/aoumi_server/releases/20221230073148/config as deploy@18.136.197.163 DEBUG [ada90bc6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230073148 /home/deploy/apps/aoumi_server/releases/20221230073148/config ) INFO [ada90bc6] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [0bef40c1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/.env ] as deploy@18.136.197.163 DEBUG [0bef40c1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/.env ] DEBUG [0bef40c1] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [0bde231c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230073148/.env ] as deploy@18.136.197.163 DEBUG [0bde231c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230073148/.env ] DEBUG [0bde231c] Finished in 0.090 seconds with exit status 0 (successful). INFO [f0ee2f1b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230073148/.env as deploy@18.136.197.163 DEBUG [f0ee2f1b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230073148/.env ) INFO [f0ee2f1b] Finished in 0.132 seconds with exit status 0 (successful). INFO [faa1a2c1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230073148/.env as deploy@18.136.197.163 DEBUG [faa1a2c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230073148/.env ) INFO [faa1a2c1] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [850ccdc6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/config/application.yml ] as deploy@18.136.197.163 DEBUG [850ccdc6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/config/application.yml ] DEBUG [850ccdc6] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [126b7dfd] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230073148/config/application.yml ] as deploy@18.136.197.163 DEBUG [126b7dfd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230073148/config/application.yml ] DEBUG [126b7dfd] Finished in 0.093 seconds with exit status 1 (failed). INFO [4f49957a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230073148/config/application.yml as deploy@18.136.197.163 DEBUG [4f49957a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230073148/config/application.yml ) INFO [4f49957a] Finished in 0.138 seconds with exit status 0 (successful). INFO [c6d78b8a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230073148 /home/deploy/apps/aoumi_server/releases/20221230073148/tmp /home/deploy/apps/aoumi_server/releases/20221230073148/vendor /home/deploy/apps/aoumi_server/releases/20221230073148/public as deploy@18.136.197.163 DEBUG [c6d78b8a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230073148 /home/deploy/apps/aoumi_server/releases/20221230073148/tmp /home/deploy/apps/aoumi_server/releases/20221230073148/vendor /home/deploy/apps/aoumi_server/releases/20221230073148/public ) INFO [c6d78b8a] Finished in 0.089 seconds with exit status 0 (successful). DEBUG [5dd46122] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/log ] as deploy@18.136.197.163 DEBUG [5dd46122] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/log ] DEBUG [5dd46122] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [f5d7a08b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/log ] as deploy@18.136.197.163 DEBUG [f5d7a08b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/log ] DEBUG [f5d7a08b] Finished in 0.090 seconds with exit status 0 (successful). INFO [5147489e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230073148/log as deploy@18.136.197.163 DEBUG [5147489e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230073148/log ) INFO [5147489e] Finished in 0.140 seconds with exit status 0 (successful). INFO [b38dd895] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230073148/log as deploy@18.136.197.163 DEBUG [b38dd895] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230073148/log ) INFO [b38dd895] Finished in 0.091 seconds with exit status 0 (successful). DEBUG [a1f9ad5f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids ] as deploy@18.136.197.163 DEBUG [a1f9ad5f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids ] DEBUG [a1f9ad5f] Finished in 0.130 seconds with exit status 1 (failed). DEBUG [d87291f7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids ] as deploy@18.136.197.163 DEBUG [d87291f7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids ] DEBUG [d87291f7] Finished in 0.090 seconds with exit status 0 (successful). INFO [05ee32ca] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids as deploy@18.136.197.163 DEBUG [05ee32ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids ) INFO [05ee32ca] Finished in 0.135 seconds with exit status 0 (successful). INFO [9f403e60] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids as deploy@18.136.197.163 DEBUG [9f403e60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/pids ) INFO [9f403e60] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [04e18f14] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/cache ] as deploy@18.136.197.163 DEBUG [04e18f14] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/cache ] DEBUG [04e18f14] Finished in 0.138 seconds with exit status 1 (failed). DEBUG [66f5b8cc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/cache ] as deploy@18.136.197.163 DEBUG [66f5b8cc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/cache ] DEBUG [66f5b8cc] Finished in 0.089 seconds with exit status 1 (failed). INFO [f43657a7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/cache as deploy@18.136.197.163 DEBUG [f43657a7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/cache ) INFO [f43657a7] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [0227389a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/sockets ] as deploy@18.136.197.163 DEBUG [0227389a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/sockets ] DEBUG [0227389a] Finished in 0.081 seconds with exit status 1 (failed). DEBUG [7c485ff1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/sockets ] as deploy@18.136.197.163 DEBUG [7c485ff1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/sockets ] DEBUG [7c485ff1] Finished in 0.129 seconds with exit status 1 (failed). INFO [5a339b4f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/sockets as deploy@18.136.197.163 DEBUG [5a339b4f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230073148/tmp/sockets ) INFO [5a339b4f] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [cbe4ad04] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/vendor/bundle ] as deploy@18.136.197.163 DEBUG [cbe4ad04] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/vendor/bundle ] DEBUG [cbe4ad04] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [05f7c2b4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/vendor/bundle ] as deploy@18.136.197.163 DEBUG [05f7c2b4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/vendor/bundle ] DEBUG [05f7c2b4] Finished in 0.088 seconds with exit status 1 (failed). INFO [940253a7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230073148/vendor/bundle as deploy@18.136.197.163 DEBUG [940253a7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230073148/vendor/bundle ) INFO [940253a7] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [3cd0d06a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/public/system ] as deploy@18.136.197.163 DEBUG [3cd0d06a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/public/system ] DEBUG [3cd0d06a] Finished in 0.091 seconds with exit status 1 (failed). DEBUG [dfb3b336] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/public/system ] as deploy@18.136.197.163 DEBUG [dfb3b336] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/public/system ] DEBUG [dfb3b336] Finished in 0.136 seconds with exit status 1 (failed). INFO [af0eb2c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230073148/public/system as deploy@18.136.197.163 DEBUG [af0eb2c9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230073148/public/system ) INFO [af0eb2c9] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [0ebc69f8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/public/uploads ] as deploy@18.136.197.163 DEBUG [0ebc69f8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230073148/public/uploads ] DEBUG [0ebc69f8] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [1be50f64] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/public/uploads ] as deploy@18.136.197.163 DEBUG [1be50f64] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230073148/public/uploads ] DEBUG [1be50f64] Finished in 0.091 seconds with exit status 1 (failed). INFO [990ae44e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230073148/public/uploads as deploy@18.136.197.163 DEBUG [990ae44e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230073148/public/uploads ) INFO [990ae44e] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [4e516f7c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4e516f7c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi DEBUG [4e516f7c] Finished in 0.088 seconds with exit status 0 (successful). INFO [3afea64e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [3afea64e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230073148 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [3afea64e] Finished in 0.329 seconds with exit status 0 (successful). INFO [63a5c842] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [63a5c842] Command: cd /home/deploy/apps/aoumi_server/releases/20221230073148 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [63a5c842] Finished in 0.414 seconds with exit status 0 (successful). INFO [d5be1c89] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [d5be1c89] Command: cd /home/deploy/apps/aoumi_server/releases/20221230073148 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [d5be1c89] Finished in 0.329 seconds with exit status 0 (successful). DEBUG [d4c39c45] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d4c39c45] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi DEBUG [d4c39c45] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [2d5e89f7] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [2d5e89f7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230073148 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [2d5e89f7] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [2d5e89f7] DEBUG [2d5e89f7]  DEBUG [2d5e89f7] The Gemfile's dependencies are satisfied DEBUG [2d5e89f7] DEBUG [2d5e89f7] Finished in 0.698 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8f9e61c3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8f9e61c3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230073148; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230073148'" 1>&2; false; fi DEBUG [8f9e61c3] Finished in 0.079 seconds with exit status 0 (successful). INFO [289bfef8] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [289bfef8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230073148 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [289bfef8] rake aborted! DEBUG [289bfef8] DEBUG [289bfef8] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: root. DEBUG [289bfef8] DEBUG [289bfef8] DEBUG [289bfef8] Please check your database configuration to ensure the username/password are valid. DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/de DEBUG [289bfef8] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [289bfef8] DEBUG [289bfef8] DEBUG [289bfef8] Caused by: DEBUG [289bfef8] DEBUG [289bfef8] Mysql2::Error::ConnectionError: Access denied for user 'root'@'10.0.0.57' (using password: NO) DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [289bfef8] nection_handler.rb:211:in `retrieve_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [289bfef8] DEBUG [289bfef8] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [289bfef8] DEBUG [289bfef8] Tasks: TOP => db:migrate DEBUG [289bfef8] DEBUG [289bfef8] (See full trace by running task with --trace) DEBUG [289bfef8] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 14:40:05 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [82573082] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [82573082] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [82573082] Finished in 0.905 seconds with exit status 0 (successful). INFO [1677ffea] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [1677ffea] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [1677ffea] Finished in 0.111 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-420dcdca961e294f21ba.sh 0.0% INFO Uploading /tmp/git-ssh-420dcdca961e294f21ba.sh 100.0% INFO [1c66710c] Running /usr/bin/env chmod 700 /tmp/git-ssh-420dcdca961e294f21ba.sh as deploy@18.136.197.163 DEBUG [1c66710c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-420dcdca961e294f21ba.sh ) INFO [1c66710c] Finished in 0.110 seconds with exit status 0 (successful). INFO [eeae5042] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [eeae5042] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-420dcdca961e294f21ba.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [eeae5042] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [eeae5042] HEAD INFO [eeae5042] Finished in 2.877 seconds with exit status 0 (successful). INFO [91bffbbe] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [91bffbbe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [91bffbbe] Finished in 0.091 seconds with exit status 0 (successful). INFO [fb130eee] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [fb130eee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [fb130eee] Finished in 0.093 seconds with exit status 0 (successful). INFO [28028954] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [28028954] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [28028954] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [785cd0ab] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [785cd0ab] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [785cd0ab] Finished in 0.086 seconds with exit status 0 (successful). DEBUG [9f4540cb] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [9f4540cb] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [9f4540cb] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [55c6ef7d] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [55c6ef7d] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [55c6ef7d] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [756a3671] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [756a3671] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [756a3671] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [65d96e3b] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [65d96e3b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [65d96e3b] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [65d96e3b] DEBUG [65d96e3b] Finished in 0.082 seconds with exit status 0 (successful). DEBUG [f53d5c58] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [f53d5c58] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [f53d5c58] Finished in 0.132 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [1a14bf8f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [1a14bf8f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [1a14bf8f] Finished in 0.088 seconds with exit status 0 (successful). INFO [ac256209] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [ac256209] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-420dcdca961e294f21ba.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [ac256209] Finished in 0.135 seconds with exit status 0 (successful). INFO [69d80061] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [69d80061] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-420dcdca961e294f21ba.sh" ; /usr/bin/env git remote update --prune ) DEBUG [69d80061] Fetching origin DEBUG [69d80061] INFO [69d80061] Finished in 2.823 seconds with exit status 0 (successful). DEBUG [033f7fe3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [033f7fe3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [033f7fe3] Finished in 0.092 seconds with exit status 0 (successful). INFO [d07eafb7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074010 as deploy@18.136.197.163 DEBUG [d07eafb7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-420dcdca961e294f21ba.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074010 ) INFO [d07eafb7] Finished in 0.095 seconds with exit status 0 (successful). INFO [a5b2ff6d] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230074010 as deploy@18.136.197.163 DEBUG [a5b2ff6d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-420dcdca961e294f21ba.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230074010 ) INFO [a5b2ff6d] Finished in 0.213 seconds with exit status 0 (successful). DEBUG [463ae0ee] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [463ae0ee] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [463ae0ee] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [d7c7e999] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d7c7e999] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-420dcdca961e294f21ba.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d7c7e999] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [d7c7e999] DEBUG [d7c7e999] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [db10e33a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [db10e33a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi DEBUG [db10e33a] Finished in 0.095 seconds with exit status 0 (successful). INFO [93af5621] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [93af5621] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074010 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [93af5621] Finished in 0.135 seconds with exit status 0 (successful). INFO [ee9ba70f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074010 /home/deploy/apps/aoumi_server/releases/20221230074010/config as deploy@18.136.197.163 DEBUG [ee9ba70f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074010 /home/deploy/apps/aoumi_server/releases/20221230074010/config ) INFO [ee9ba70f] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [35d0a83b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/.env ] as deploy@18.136.197.163 DEBUG [35d0a83b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/.env ] DEBUG [35d0a83b] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [d35ae1c5] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230074010/.env ] as deploy@18.136.197.163 DEBUG [d35ae1c5] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230074010/.env ] DEBUG [d35ae1c5] Finished in 0.093 seconds with exit status 0 (successful). INFO [c9cde89a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230074010/.env as deploy@18.136.197.163 DEBUG [c9cde89a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230074010/.env ) INFO [c9cde89a] Finished in 0.137 seconds with exit status 0 (successful). INFO [26eb926e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230074010/.env as deploy@18.136.197.163 DEBUG [26eb926e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230074010/.env ) INFO [26eb926e] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [fdbe33d0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/config/application.yml ] as deploy@18.136.197.163 DEBUG [fdbe33d0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/config/application.yml ] DEBUG [fdbe33d0] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [447107d0] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230074010/config/application.yml ] as deploy@18.136.197.163 DEBUG [447107d0] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230074010/config/application.yml ] DEBUG [447107d0] Finished in 0.093 seconds with exit status 1 (failed). INFO [ef19decc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230074010/config/application.yml as deploy@18.136.197.163 DEBUG [ef19decc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230074010/config/application.yml ) INFO [ef19decc] Finished in 0.138 seconds with exit status 0 (successful). INFO [c15ca5b2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074010 /home/deploy/apps/aoumi_server/releases/20221230074010/tmp /home/deploy/apps/aoumi_server/releases/20221230074010/vendor /home/deploy/apps/aoumi_server/releases/20221230074010/public as deploy@18.136.197.163 DEBUG [c15ca5b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074010 /home/deploy/apps/aoumi_server/releases/20221230074010/tmp /home/deploy/apps/aoumi_server/releases/20221230074010/vendor /home/deploy/apps/aoumi_server/releases/20221230074010/public ) INFO [c15ca5b2] Finished in 0.088 seconds with exit status 0 (successful). DEBUG [2258dd87] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/log ] as deploy@18.136.197.163 DEBUG [2258dd87] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/log ] DEBUG [2258dd87] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [4ae3e22e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/log ] as deploy@18.136.197.163 DEBUG [4ae3e22e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/log ] DEBUG [4ae3e22e] Finished in 0.093 seconds with exit status 0 (successful). INFO [a1cf3c9b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074010/log as deploy@18.136.197.163 DEBUG [a1cf3c9b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074010/log ) INFO [a1cf3c9b] Finished in 0.136 seconds with exit status 0 (successful). INFO [980b4720] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230074010/log as deploy@18.136.197.163 DEBUG [980b4720] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230074010/log ) INFO [980b4720] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [98b1f8d2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids ] as deploy@18.136.197.163 DEBUG [98b1f8d2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids ] DEBUG [98b1f8d2] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [2dd7a6b2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids ] as deploy@18.136.197.163 DEBUG [2dd7a6b2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids ] DEBUG [2dd7a6b2] Finished in 0.088 seconds with exit status 0 (successful). INFO [bac520eb] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids as deploy@18.136.197.163 DEBUG [bac520eb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids ) INFO [bac520eb] Finished in 0.134 seconds with exit status 0 (successful). INFO [803fbcfe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids as deploy@18.136.197.163 DEBUG [803fbcfe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/pids ) INFO [803fbcfe] Finished in 0.094 seconds with exit status 0 (successful). DEBUG [23ac2bab] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/cache ] as deploy@18.136.197.163 DEBUG [23ac2bab] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/cache ] DEBUG [23ac2bab] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [5d4b5445] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/cache ] as deploy@18.136.197.163 DEBUG [5d4b5445] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/cache ] DEBUG [5d4b5445] Finished in 0.090 seconds with exit status 1 (failed). INFO [f8ffcc44] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/cache as deploy@18.136.197.163 DEBUG [f8ffcc44] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/cache ) INFO [f8ffcc44] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [fcefd039] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/sockets ] as deploy@18.136.197.163 DEBUG [fcefd039] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/sockets ] DEBUG [fcefd039] Finished in 0.087 seconds with exit status 1 (failed). DEBUG [a86913fe] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/sockets ] as deploy@18.136.197.163 DEBUG [a86913fe] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/sockets ] DEBUG [a86913fe] Finished in 0.137 seconds with exit status 1 (failed). INFO [38f4fc7d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/sockets as deploy@18.136.197.163 DEBUG [38f4fc7d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230074010/tmp/sockets ) INFO [38f4fc7d] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [21d1fb73] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/vendor/bundle ] as deploy@18.136.197.163 DEBUG [21d1fb73] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/vendor/bundle ] DEBUG [21d1fb73] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [6b338ae5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/vendor/bundle ] as deploy@18.136.197.163 DEBUG [6b338ae5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/vendor/bundle ] DEBUG [6b338ae5] Finished in 0.094 seconds with exit status 1 (failed). INFO [f7813ba1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230074010/vendor/bundle as deploy@18.136.197.163 DEBUG [f7813ba1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230074010/vendor/bundle ) INFO [f7813ba1] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [5acd531c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/public/system ] as deploy@18.136.197.163 DEBUG [5acd531c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/public/system ] DEBUG [5acd531c] Finished in 0.132 seconds with exit status 1 (failed). DEBUG [c9e708d2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/public/system ] as deploy@18.136.197.163 DEBUG [c9e708d2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/public/system ] DEBUG [c9e708d2] Finished in 0.261 seconds with exit status 1 (failed). INFO [7ea9c85b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230074010/public/system as deploy@18.136.197.163 DEBUG [7ea9c85b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230074010/public/system ) INFO [7ea9c85b] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [29b69073] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/public/uploads ] as deploy@18.136.197.163 DEBUG [29b69073] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074010/public/uploads ] DEBUG [29b69073] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [a7a17288] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/public/uploads ] as deploy@18.136.197.163 DEBUG [a7a17288] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074010/public/uploads ] DEBUG [a7a17288] Finished in 0.094 seconds with exit status 1 (failed). INFO [eb214e3e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230074010/public/uploads as deploy@18.136.197.163 DEBUG [eb214e3e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230074010/public/uploads ) INFO [eb214e3e] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [8cb62e64] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8cb62e64] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi DEBUG [8cb62e64] Finished in 0.092 seconds with exit status 0 (successful). INFO [67795015] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [67795015] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074010 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [67795015] Finished in 0.402 seconds with exit status 0 (successful). INFO [0df420a2] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [0df420a2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074010 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [0df420a2] Finished in 0.289 seconds with exit status 0 (successful). INFO [272b9f1f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [272b9f1f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074010 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [272b9f1f] Finished in 0.425 seconds with exit status 0 (successful). DEBUG [d22c3f66] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d22c3f66] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi DEBUG [d22c3f66] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [7483339d] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [7483339d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074010 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [7483339d] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [7483339d] DEBUG [7483339d]  DEBUG [7483339d] The Gemfile's dependencies are satisfied DEBUG [7483339d] DEBUG [7483339d] Finished in 0.720 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [61f0de80] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [61f0de80] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074010'" 1>&2; false; fi DEBUG [61f0de80] Finished in 0.105 seconds with exit status 0 (successful). INFO [8a78a921] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [8a78a921] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074010 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [8a78a921] rake aborted! DEBUG [8a78a921] DEBUG [8a78a921] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: root. DEBUG [8a78a921] DEBUG [8a78a921] DEBUG [8a78a921] Please check your database configuration to ensure the username/password are valid. DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/de DEBUG [8a78a921] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [8a78a921] DEBUG [8a78a921] DEBUG [8a78a921] Caused by: DEBUG [8a78a921] DEBUG [8a78a921] Mysql2::Error::ConnectionError: Access denied for user 'root'@'10.0.0.57' (using password: NO) DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [8a78a921] nection_handler.rb:211:in `retrieve_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [8a78a921] DEBUG [8a78a921] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [8a78a921] DEBUG [8a78a921] Tasks: TOP => db:migrate DEBUG [8a78a921] DEBUG [8a78a921] (See full trace by running task with --trace) DEBUG [8a78a921] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 14:49:47 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [252a1bd7] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [252a1bd7] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [252a1bd7] Finished in 1.003 seconds with exit status 0 (successful). INFO [fcf4df84] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [fcf4df84] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [fcf4df84] Finished in 0.083 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-c81a6b64cacefc7801e7.sh 0.0% INFO Uploading /tmp/git-ssh-c81a6b64cacefc7801e7.sh 100.0% INFO [0f784097] Running /usr/bin/env chmod 700 /tmp/git-ssh-c81a6b64cacefc7801e7.sh as deploy@18.136.197.163 DEBUG [0f784097] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-c81a6b64cacefc7801e7.sh ) INFO [0f784097] Finished in 0.148 seconds with exit status 0 (successful). INFO [ec40ba29] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [ec40ba29] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c81a6b64cacefc7801e7.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ec40ba29] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [ec40ba29] HEAD INFO [ec40ba29] Finished in 3.024 seconds with exit status 0 (successful). INFO [5d5f2675] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [5d5f2675] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [5d5f2675] Finished in 0.095 seconds with exit status 0 (successful). INFO [c57a97b3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [c57a97b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [c57a97b3] Finished in 0.090 seconds with exit status 0 (successful). INFO [e6e77eed] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [e6e77eed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [e6e77eed] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [4ab6c60a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [4ab6c60a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [4ab6c60a] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [2a4001ac] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [2a4001ac] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [2a4001ac] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [62915ba0] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [62915ba0] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [62915ba0] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [1d4011de] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [1d4011de] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [1d4011de] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [eefe756e] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [eefe756e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [eefe756e] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [eefe756e] DEBUG [eefe756e] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [3b72794a] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [3b72794a] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [3b72794a] Finished in 0.132 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [4c11448b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4c11448b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [4c11448b] Finished in 0.128 seconds with exit status 0 (successful). INFO [b5bb6321] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [b5bb6321] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c81a6b64cacefc7801e7.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [b5bb6321] Finished in 0.133 seconds with exit status 0 (successful). INFO [db6c3642] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [db6c3642] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c81a6b64cacefc7801e7.sh" ; /usr/bin/env git remote update --prune ) DEBUG [db6c3642] Fetching origin DEBUG [db6c3642] INFO [db6c3642] Finished in 2.958 seconds with exit status 0 (successful). DEBUG [d900057f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d900057f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d900057f] Finished in 0.105 seconds with exit status 0 (successful). INFO [f1e4e717] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074953 as deploy@18.136.197.163 DEBUG [f1e4e717] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c81a6b64cacefc7801e7.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074953 ) INFO [f1e4e717] Finished in 0.134 seconds with exit status 0 (successful). INFO [31ac88b3] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230074953 as deploy@18.136.197.163 DEBUG [31ac88b3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c81a6b64cacefc7801e7.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230074953 ) INFO [31ac88b3] Finished in 0.218 seconds with exit status 0 (successful). DEBUG [f68afd72] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f68afd72] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f68afd72] Finished in 0.117 seconds with exit status 0 (successful). DEBUG [fe68aee6] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [fe68aee6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c81a6b64cacefc7801e7.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [fe68aee6] c3c5755c366933e6ca31115c089dc52670894f18 DEBUG [fe68aee6] DEBUG [fe68aee6] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [baab8a87] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [baab8a87] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi DEBUG [baab8a87] Finished in 0.098 seconds with exit status 0 (successful). INFO [169a5227] Running /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION as deploy@18.136.197.163 DEBUG [169a5227] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074953 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "c3c5755c366933e6ca31115c089dc52670894f18" > REVISION ) INFO [169a5227] Finished in 0.145 seconds with exit status 0 (successful). INFO [b534c6a4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074953 /home/deploy/apps/aoumi_server/releases/20221230074953/config as deploy@18.136.197.163 DEBUG [b534c6a4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074953 /home/deploy/apps/aoumi_server/releases/20221230074953/config ) INFO [b534c6a4] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [1a42d37b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/.env ] as deploy@18.136.197.163 DEBUG [1a42d37b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/.env ] DEBUG [1a42d37b] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [ed1fe4ac] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230074953/.env ] as deploy@18.136.197.163 DEBUG [ed1fe4ac] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230074953/.env ] DEBUG [ed1fe4ac] Finished in 0.101 seconds with exit status 0 (successful). INFO [662ca691] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230074953/.env as deploy@18.136.197.163 DEBUG [662ca691] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230074953/.env ) INFO [662ca691] Finished in 0.140 seconds with exit status 0 (successful). INFO [c0d47483] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230074953/.env as deploy@18.136.197.163 DEBUG [c0d47483] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230074953/.env ) INFO [c0d47483] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [d53cac25] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/config/application.yml ] as deploy@18.136.197.163 DEBUG [d53cac25] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/config/application.yml ] DEBUG [d53cac25] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [65acaacf] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230074953/config/application.yml ] as deploy@18.136.197.163 DEBUG [65acaacf] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230074953/config/application.yml ] DEBUG [65acaacf] Finished in 0.096 seconds with exit status 1 (failed). INFO [02a12e47] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230074953/config/application.yml as deploy@18.136.197.163 DEBUG [02a12e47] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230074953/config/application.yml ) INFO [02a12e47] Finished in 0.134 seconds with exit status 0 (successful). INFO [98b43152] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074953 /home/deploy/apps/aoumi_server/releases/20221230074953/tmp /home/deploy/apps/aoumi_server/releases/20221230074953/vendor /home/deploy/apps/aoumi_server/releases/20221230074953/public as deploy@18.136.197.163 DEBUG [98b43152] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230074953 /home/deploy/apps/aoumi_server/releases/20221230074953/tmp /home/deploy/apps/aoumi_server/releases/20221230074953/vendor /home/deploy/apps/aoumi_server/releases/20221230074953/public ) INFO [98b43152] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [7185b738] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/log ] as deploy@18.136.197.163 DEBUG [7185b738] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/log ] DEBUG [7185b738] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [73e8cdc7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/log ] as deploy@18.136.197.163 DEBUG [73e8cdc7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/log ] DEBUG [73e8cdc7] Finished in 0.093 seconds with exit status 0 (successful). INFO [ecbda7d1] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074953/log as deploy@18.136.197.163 DEBUG [ecbda7d1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074953/log ) INFO [ecbda7d1] Finished in 0.137 seconds with exit status 0 (successful). INFO [22ecda6a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230074953/log as deploy@18.136.197.163 DEBUG [22ecda6a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230074953/log ) INFO [22ecda6a] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [844e9d67] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids ] as deploy@18.136.197.163 DEBUG [844e9d67] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids ] DEBUG [844e9d67] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [5a328dfe] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids ] as deploy@18.136.197.163 DEBUG [5a328dfe] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids ] DEBUG [5a328dfe] Finished in 0.100 seconds with exit status 0 (successful). INFO [ea143fee] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids as deploy@18.136.197.163 DEBUG [ea143fee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids ) INFO [ea143fee] Finished in 0.142 seconds with exit status 0 (successful). INFO [d6b5c1bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids as deploy@18.136.197.163 DEBUG [d6b5c1bc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/pids ) INFO [d6b5c1bc] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [887ab065] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/cache ] as deploy@18.136.197.163 DEBUG [887ab065] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/cache ] DEBUG [887ab065] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [800107c7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/cache ] as deploy@18.136.197.163 DEBUG [800107c7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/cache ] DEBUG [800107c7] Finished in 0.090 seconds with exit status 1 (failed). INFO [fec15121] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/cache as deploy@18.136.197.163 DEBUG [fec15121] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/cache ) INFO [fec15121] Finished in 0.172 seconds with exit status 0 (successful). DEBUG [35254d1f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/sockets ] as deploy@18.136.197.163 DEBUG [35254d1f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/sockets ] DEBUG [35254d1f] Finished in 0.090 seconds with exit status 1 (failed). DEBUG [abb225ee] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/sockets ] as deploy@18.136.197.163 DEBUG [abb225ee] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/sockets ] DEBUG [abb225ee] Finished in 0.142 seconds with exit status 1 (failed). INFO [78c410a4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/sockets as deploy@18.136.197.163 DEBUG [78c410a4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230074953/tmp/sockets ) INFO [78c410a4] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [31e064ac] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/vendor/bundle ] as deploy@18.136.197.163 DEBUG [31e064ac] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/vendor/bundle ] DEBUG [31e064ac] Finished in 0.137 seconds with exit status 1 (failed). DEBUG [c7fffb96] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/vendor/bundle ] as deploy@18.136.197.163 DEBUG [c7fffb96] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/vendor/bundle ] DEBUG [c7fffb96] Finished in 0.098 seconds with exit status 1 (failed). INFO [d05f7355] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230074953/vendor/bundle as deploy@18.136.197.163 DEBUG [d05f7355] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230074953/vendor/bundle ) INFO [d05f7355] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [dc21cdb3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/public/system ] as deploy@18.136.197.163 DEBUG [dc21cdb3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/public/system ] DEBUG [dc21cdb3] Finished in 0.098 seconds with exit status 1 (failed). DEBUG [8406da62] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/public/system ] as deploy@18.136.197.163 DEBUG [8406da62] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/public/system ] DEBUG [8406da62] Finished in 0.128 seconds with exit status 1 (failed). INFO [173a8eeb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230074953/public/system as deploy@18.136.197.163 DEBUG [173a8eeb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230074953/public/system ) INFO [173a8eeb] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [de1995cf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/public/uploads ] as deploy@18.136.197.163 DEBUG [de1995cf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230074953/public/uploads ] DEBUG [de1995cf] Finished in 0.138 seconds with exit status 1 (failed). DEBUG [cf91a418] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/public/uploads ] as deploy@18.136.197.163 DEBUG [cf91a418] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230074953/public/uploads ] DEBUG [cf91a418] Finished in 0.096 seconds with exit status 1 (failed). INFO [5abc3c8b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230074953/public/uploads as deploy@18.136.197.163 DEBUG [5abc3c8b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230074953/public/uploads ) INFO [5abc3c8b] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [a99de7ee] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a99de7ee] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi DEBUG [a99de7ee] Finished in 0.099 seconds with exit status 0 (successful). INFO [e25c352e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [e25c352e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074953 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [e25c352e] Finished in 0.508 seconds with exit status 0 (successful). INFO [9248e2cd] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [9248e2cd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074953 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [9248e2cd] Finished in 0.406 seconds with exit status 0 (successful). INFO [534e0897] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [534e0897] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074953 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [534e0897] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [5a7e9aa5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5a7e9aa5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi DEBUG [5a7e9aa5] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [2f0798de] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [2f0798de] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074953 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [2f0798de] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [2f0798de] DEBUG [2f0798de]  DEBUG [2f0798de] The Gemfile's dependencies are satisfied DEBUG [2f0798de] DEBUG [2f0798de] Finished in 0.690 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [41e3e61b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [41e3e61b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230074953; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230074953'" 1>&2; false; fi DEBUG [41e3e61b] Finished in 0.097 seconds with exit status 0 (successful). INFO [97c8fddf] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [97c8fddf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230074953 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [97c8fddf] rake aborted! DEBUG [97c8fddf] DEBUG [97c8fddf] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: root. DEBUG [97c8fddf] DEBUG [97c8fddf] DEBUG [97c8fddf] Please check your database configuration to ensure the username/password are valid. DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/de DEBUG [97c8fddf] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [97c8fddf] DEBUG [97c8fddf] DEBUG [97c8fddf] Caused by: DEBUG [97c8fddf] DEBUG [97c8fddf] Mysql2::Error::ConnectionError: Access denied for user 'root'@'10.0.0.57' (using password: NO) DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [97c8fddf] nection_handler.rb:211:in `retrieve_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [97c8fddf] DEBUG [97c8fddf] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [97c8fddf] DEBUG [97c8fddf] Tasks: TOP => db:migrate DEBUG [97c8fddf] DEBUG [97c8fddf] (See full trace by running task with --trace) DEBUG [97c8fddf] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 14:52:02 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [986662e8] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [986662e8] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [986662e8] Finished in 1.539 seconds with exit status 0 (successful). INFO [2d964305] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [2d964305] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [2d964305] Finished in 0.266 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-87329b1291027899aa00.sh 0.0% INFO Uploading /tmp/git-ssh-87329b1291027899aa00.sh 100.0% INFO [658e8a05] Running /usr/bin/env chmod 700 /tmp/git-ssh-87329b1291027899aa00.sh as deploy@18.136.197.163 DEBUG [658e8a05] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-87329b1291027899aa00.sh ) INFO [658e8a05] Finished in 0.217 seconds with exit status 0 (successful). INFO [ee018b85] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [ee018b85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-87329b1291027899aa00.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ee018b85] f9742bc92abf5b128c72b6bc41ba50302ac884fc DEBUG [ee018b85] HEAD INFO [ee018b85] Finished in 3.193 seconds with exit status 0 (successful). INFO [f2075a66] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [f2075a66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [f2075a66] Finished in 0.350 seconds with exit status 0 (successful). INFO [a163d605] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [a163d605] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [a163d605] Finished in 0.571 seconds with exit status 0 (successful). INFO [791aa0fa] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [791aa0fa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [791aa0fa] Finished in 0.492 seconds with exit status 0 (successful). DEBUG [674aa0dd] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [674aa0dd] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [674aa0dd] Finished in 0.341 seconds with exit status 0 (successful). DEBUG [ca8233b6] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [ca8233b6] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [ca8233b6] Finished in 0.314 seconds with exit status 0 (successful). DEBUG [682d5379] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [682d5379] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [682d5379] Finished in 0.314 seconds with exit status 0 (successful). DEBUG [54709541] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [54709541] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [54709541] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [85c9e4ac] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [85c9e4ac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [85c9e4ac] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [85c9e4ac] DEBUG [85c9e4ac] Finished in 0.222 seconds with exit status 0 (successful). DEBUG [00bba518] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [00bba518] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [00bba518] Finished in 0.258 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [450e9cb4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [450e9cb4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [450e9cb4] Finished in 0.195 seconds with exit status 0 (successful). INFO [7afcd72c] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [7afcd72c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-87329b1291027899aa00.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [7afcd72c] Finished in 0.235 seconds with exit status 0 (successful). INFO [938e0048] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [938e0048] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-87329b1291027899aa00.sh" ; /usr/bin/env git remote update --prune ) DEBUG [938e0048] Fetching origin DEBUG [938e0048] DEBUG [938e0048] remote: Enumerating objects: 24, done. DEBUG [938e0048] DEBUG [938e0048] remote: Counting objects: 4% (1/24) DEBUG [938e0048] remote: Counting objects: 8% (2/24) DEBUG [938e0048] remote: Counting objects: 12% (3/24) DEBUG [938e0048] remote: Counting objects: 16% (4/24) DEBUG [938e0048] remote: Counting objects: 20% (5/24) DEBUG [938e0048] remote: Counting objects: 25% (6/24) DEBUG [938e0048] remote: Counting objects: 29% (7/24) DEBUG [938e0048] remote: Counting objects: 33% (8/24) DEBUG [938e0048] remote: Counting objects: 37% (9/24) DEBUG [938e0048] remote: Counting objects: 41% (10/24) DEBUG [938e0048] remote: Counting objects: 45% (11/24) DEBUG [938e0048] remote: Counting objects: 50% (12/24) DEBUG [938e0048] remote: Counting objects: 54% (13/24) DEBUG [938e0048] remote: Counting objects: 58% (14/24) DEBUG [938e0048] remote: Counting objects: 62% (15/24) DEBUG [938e0048] remote: Counting objects: 66% (16/24) DEBUG [938e0048] remote: Counting objects: 70% (17/24) DEBUG [938e0048] remote: Counting objects: 75% (18/24) DEBUG [938e0048] remote: Counting objects: 79% (19/24) DEBUG [938e0048] remote: Counting objects: 83% (20/24) DEBUG [938e0048] remote: Counting objects: 87% (21/24) DEBUG [938e0048] remote: Counting objects: 91% (22/24) DEBUG [938e0048] remote: Counting objects: 95% (23/24) DEBUG [938e0048] remote: Counting objects: 100% (24/24) DEBUG [938e0048] remote: Counting objects: 100% (24/24), done. DEBUG [938e0048] DEBUG [938e0048] remote: Compressing objects: 20% (1/5) DEBUG [938e0048] remote: Compressing objects: 40% (2/5) DEBUG [938e0048] remote: Compressing objects: 60% (3/5) DEBUG [938e0048] remote: Compressing objects: 80% (4/5) DEBUG [938e0048] remote: Compressing objects: 100% (5/5) DEBUG [938e0048] remote: Compressing objects: 100% (5/5), done. DEBUG [938e0048] DEBUG [938e0048] remote: Total 13 (delta 7), reused 13 (delta 7), pack-reused 0 DEBUG [938e0048] DEBUG [938e0048] Unpacking objects: 7% (1/13) DEBUG [938e0048] Unpacking objects: 15% (2/13) DEBUG [938e0048] Unpacking objects: 23% (3/13) DEBUG [938e0048] Unpacking objects: 30% (4/13) DEBUG [938e0048] Unpacking objects: 38% (5/13) DEBUG [938e0048] Unpacking objects: 46% (6/13) DEBUG [938e0048] Unpacking objects: 53% (7/13) DEBUG [938e0048] Unpacking objects: 61% (8/13) DEBUG [938e0048] Unpacking objects: 69% (9/13) DEBUG [938e0048] Unpacking objects: 76% (10/13) DEBUG [938e0048] Unpacking objects: 84% (11/13) DEBUG [938e0048] Unpacking objects: 92% (12/13) DEBUG [938e0048] Unpacking objects: 100% (13/13) DEBUG [938e0048] Unpacking objects: 100% (13/13), done. DEBUG [938e0048] DEBUG [938e0048] From github.com:huythanh176/aoumi_server DEBUG [938e0048] DEBUG [938e0048] + c3c5755...8e967ee develop -> develop (forced update) DEBUG [938e0048] INFO [938e0048] Finished in 3.426 seconds with exit status 0 (successful). DEBUG [70e5b6fe] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [70e5b6fe] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [70e5b6fe] Finished in 0.277 seconds with exit status 0 (successful). INFO [6d06f48f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230075211 as deploy@18.136.197.163 DEBUG [6d06f48f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-87329b1291027899aa00.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230075211 ) INFO [6d06f48f] Finished in 0.257 seconds with exit status 0 (successful). INFO [6bf2a830] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230075211 as deploy@18.136.197.163 DEBUG [6bf2a830] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-87329b1291027899aa00.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230075211 ) INFO [6bf2a830] Finished in 0.339 seconds with exit status 0 (successful). DEBUG [61198005] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [61198005] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [61198005] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [1e8fa489] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [1e8fa489] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-87329b1291027899aa00.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [1e8fa489] 8e967eeeb56aef0d4672ddd54c7b127af3d3b599 DEBUG [1e8fa489] DEBUG [1e8fa489] Finished in 0.202 seconds with exit status 0 (successful). DEBUG [21ff1422] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [21ff1422] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi DEBUG [21ff1422] Finished in 0.214 seconds with exit status 0 (successful). INFO [2e0f22fd] Running /usr/bin/env echo "8e967eeeb56aef0d4672ddd54c7b127af3d3b599" > REVISION as deploy@18.136.197.163 DEBUG [2e0f22fd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230075211 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "8e967eeeb56aef0d4672ddd54c7b127af3d3b599" > REVISION ) INFO [2e0f22fd] Finished in 0.234 seconds with exit status 0 (successful). INFO [175984c4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230075211 /home/deploy/apps/aoumi_server/releases/20221230075211/config as deploy@18.136.197.163 DEBUG [175984c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230075211 /home/deploy/apps/aoumi_server/releases/20221230075211/config ) INFO [175984c4] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [678c4947] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/.env ] as deploy@18.136.197.163 DEBUG [678c4947] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/.env ] DEBUG [678c4947] Finished in 0.163 seconds with exit status 1 (failed). DEBUG [bf18154d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230075211/.env ] as deploy@18.136.197.163 DEBUG [bf18154d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230075211/.env ] DEBUG [bf18154d] Finished in 0.241 seconds with exit status 0 (successful). INFO [4be7f7b0] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230075211/.env as deploy@18.136.197.163 DEBUG [4be7f7b0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230075211/.env ) INFO [4be7f7b0] Finished in 0.296 seconds with exit status 0 (successful). INFO [e1325af9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230075211/.env as deploy@18.136.197.163 DEBUG [e1325af9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230075211/.env ) INFO [e1325af9] Finished in 0.181 seconds with exit status 0 (successful). DEBUG [e329b411] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/config/application.yml ] as deploy@18.136.197.163 DEBUG [e329b411] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/config/application.yml ] DEBUG [e329b411] Finished in 0.231 seconds with exit status 1 (failed). DEBUG [2d253474] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230075211/config/application.yml ] as deploy@18.136.197.163 DEBUG [2d253474] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230075211/config/application.yml ] DEBUG [2d253474] Finished in 1.083 seconds with exit status 1 (failed). INFO [bcd12dfb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230075211/config/application.yml as deploy@18.136.197.163 DEBUG [bcd12dfb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230075211/config/application.yml ) INFO [bcd12dfb] Finished in 0.956 seconds with exit status 0 (successful). INFO [054f96a6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230075211 /home/deploy/apps/aoumi_server/releases/20221230075211/tmp /home/deploy/apps/aoumi_server/releases/20221230075211/vendor /home/deploy/apps/aoumi_server/releases/20221230075211/public as deploy@18.136.197.163 DEBUG [054f96a6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230075211 /home/deploy/apps/aoumi_server/releases/20221230075211/tmp /home/deploy/apps/aoumi_server/releases/20221230075211/vendor /home/deploy/apps/aoumi_server/releases/20221230075211/public ) INFO [054f96a6] Finished in 0.439 seconds with exit status 0 (successful). DEBUG [38ec4cd9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/log ] as deploy@18.136.197.163 DEBUG [38ec4cd9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/log ] DEBUG [38ec4cd9] Finished in 0.154 seconds with exit status 1 (failed). DEBUG [6adf2621] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/log ] as deploy@18.136.197.163 DEBUG [6adf2621] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/log ] DEBUG [6adf2621] Finished in 0.211 seconds with exit status 0 (successful). INFO [6e5abfe9] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230075211/log as deploy@18.136.197.163 DEBUG [6e5abfe9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230075211/log ) INFO [6e5abfe9] Finished in 0.166 seconds with exit status 0 (successful). INFO [a9b44d78] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230075211/log as deploy@18.136.197.163 DEBUG [a9b44d78] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230075211/log ) INFO [a9b44d78] Finished in 0.219 seconds with exit status 0 (successful). DEBUG [6d9cc994] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids ] as deploy@18.136.197.163 DEBUG [6d9cc994] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids ] DEBUG [6d9cc994] Finished in 0.160 seconds with exit status 1 (failed). DEBUG [150ad7ce] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids ] as deploy@18.136.197.163 DEBUG [150ad7ce] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids ] DEBUG [150ad7ce] Finished in 0.198 seconds with exit status 0 (successful). INFO [c1aefa2f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids as deploy@18.136.197.163 DEBUG [c1aefa2f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids ) INFO [c1aefa2f] Finished in 0.219 seconds with exit status 0 (successful). INFO [7be27296] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids as deploy@18.136.197.163 DEBUG [7be27296] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/pids ) INFO [7be27296] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [1f847a63] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/cache ] as deploy@18.136.197.163 DEBUG [1f847a63] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/cache ] DEBUG [1f847a63] Finished in 0.200 seconds with exit status 1 (failed). DEBUG [f14ab90f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/cache ] as deploy@18.136.197.163 DEBUG [f14ab90f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/cache ] DEBUG [f14ab90f] Finished in 0.215 seconds with exit status 1 (failed). INFO [8f96a497] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/cache as deploy@18.136.197.163 DEBUG [8f96a497] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/cache ) INFO [8f96a497] Finished in 0.242 seconds with exit status 0 (successful). DEBUG [9df92d87] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/sockets ] as deploy@18.136.197.163 DEBUG [9df92d87] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/sockets ] DEBUG [9df92d87] Finished in 0.222 seconds with exit status 1 (failed). DEBUG [340311c5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/sockets ] as deploy@18.136.197.163 DEBUG [340311c5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/sockets ] DEBUG [340311c5] Finished in 0.398 seconds with exit status 1 (failed). INFO [58747238] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/sockets as deploy@18.136.197.163 DEBUG [58747238] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230075211/tmp/sockets ) INFO [58747238] Finished in 1.565 seconds with exit status 0 (successful). DEBUG [3de96669] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/vendor/bundle ] as deploy@18.136.197.163 DEBUG [3de96669] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/vendor/bundle ] DEBUG [3de96669] Finished in 1.521 seconds with exit status 1 (failed). DEBUG [ef4148e4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/vendor/bundle ] as deploy@18.136.197.163 DEBUG [ef4148e4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/vendor/bundle ] DEBUG [ef4148e4] Finished in 0.978 seconds with exit status 1 (failed). INFO [e1bbd757] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230075211/vendor/bundle as deploy@18.136.197.163 DEBUG [e1bbd757] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230075211/vendor/bundle ) INFO [e1bbd757] Finished in 5.475 seconds with exit status 0 (successful). DEBUG [731e8e47] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/public/system ] as deploy@18.136.197.163 DEBUG [731e8e47] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/public/system ] DEBUG [731e8e47] Finished in 0.179 seconds with exit status 1 (failed). DEBUG [a0e41cdb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/public/system ] as deploy@18.136.197.163 DEBUG [a0e41cdb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/public/system ] DEBUG [a0e41cdb] Finished in 0.273 seconds with exit status 1 (failed). INFO [70181a08] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230075211/public/system as deploy@18.136.197.163 DEBUG [70181a08] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230075211/public/system ) INFO [70181a08] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [8b8531ca] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/public/uploads ] as deploy@18.136.197.163 DEBUG [8b8531ca] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230075211/public/uploads ] DEBUG [8b8531ca] Finished in 0.279 seconds with exit status 1 (failed). DEBUG [46ee9f48] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/public/uploads ] as deploy@18.136.197.163 DEBUG [46ee9f48] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230075211/public/uploads ] DEBUG [46ee9f48] Finished in 0.133 seconds with exit status 1 (failed). INFO [fab6232a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230075211/public/uploads as deploy@18.136.197.163 DEBUG [fab6232a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230075211/public/uploads ) INFO [fab6232a] Finished in 0.706 seconds with exit status 0 (successful). DEBUG [9051e05c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [9051e05c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi DEBUG [9051e05c] Finished in 0.207 seconds with exit status 0 (successful). INFO [86d56e4d] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [86d56e4d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230075211 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [86d56e4d] Finished in 1.273 seconds with exit status 0 (successful). INFO [5ac3b5eb] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [5ac3b5eb] Command: cd /home/deploy/apps/aoumi_server/releases/20221230075211 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [5ac3b5eb] Finished in 2.091 seconds with exit status 0 (successful). INFO [f054e312] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [f054e312] Command: cd /home/deploy/apps/aoumi_server/releases/20221230075211 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [f054e312] Finished in 1.276 seconds with exit status 0 (successful). DEBUG [00aebdb6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [00aebdb6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi DEBUG [00aebdb6] Finished in 0.620 seconds with exit status 0 (successful). DEBUG [0c8f1bab] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [0c8f1bab] Command: cd /home/deploy/apps/aoumi_server/releases/20221230075211 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [0c8f1bab] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [0c8f1bab] DEBUG [0c8f1bab]  DEBUG [0c8f1bab] The Gemfile's dependencies are satisfied DEBUG [0c8f1bab] DEBUG [0c8f1bab] Finished in 1.328 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [5526a4d5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5526a4d5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230075211; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230075211'" 1>&2; false; fi DEBUG [5526a4d5] Finished in 0.755 seconds with exit status 0 (successful). INFO [d95f44ba] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [d95f44ba] Command: cd /home/deploy/apps/aoumi_server/releases/20221230075211 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [d95f44ba] rake aborted! DEBUG [d95f44ba] DEBUG [d95f44ba] ActiveRecord::NoDatabaseError: We could not find your database: aoumi_dev. Which can be found in the database configuration file located at config/database.yml. DEBUG [d95f44ba] DEBUG [d95f44ba] DEBUG [d95f44ba] To resolve this issue: DEBUG [d95f44ba] DEBUG [d95f44ba] DEBUG [d95f44ba] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [d95f44ba] DEBUG [d95f44ba] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [d95f44ba] DEBUG [d95f44ba] DEBUG [d95f44ba] To create your database, run: DEBUG [d95f44ba] DEBUG [d95f44ba] DEBUG [d95f44ba] bin/rails db:create DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/de DEBUG [d95f44ba] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [d95f44ba] DEBUG [d95f44ba] DEBUG [d95f44ba] Caused by: DEBUG [d95f44ba] DEBUG [d95f44ba] Mysql2::Error: Unknown database 'aoumi_dev' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [d95f44ba] nection_handler.rb:211:in `retrieve_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [d95f44ba] DEBUG [d95f44ba] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [d95f44ba] DEBUG [d95f44ba] Tasks: TOP => db:migrate DEBUG [d95f44ba] DEBUG [d95f44ba] (See full trace by running task with --trace) DEBUG [d95f44ba] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:01:32 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d8f1b01f] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [d8f1b01f] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [d8f1b01f] Finished in 0.940 seconds with exit status 0 (successful). INFO [cd8af5dd] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [cd8af5dd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [cd8af5dd] Finished in 0.088 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-f188c2349247e66846da.sh 0.0% INFO Uploading /tmp/git-ssh-f188c2349247e66846da.sh 100.0% INFO [cf5afaac] Running /usr/bin/env chmod 700 /tmp/git-ssh-f188c2349247e66846da.sh as deploy@18.136.197.163 DEBUG [cf5afaac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-f188c2349247e66846da.sh ) INFO [cf5afaac] Finished in 0.106 seconds with exit status 0 (successful). INFO [71d6a159] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [71d6a159] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f188c2349247e66846da.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [71d6a159] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [71d6a159] HEAD INFO [71d6a159] Finished in 2.979 seconds with exit status 0 (successful). INFO [45547cf5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [45547cf5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [45547cf5] Finished in 0.100 seconds with exit status 0 (successful). INFO [a1d93137] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [a1d93137] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [a1d93137] Finished in 0.101 seconds with exit status 0 (successful). INFO [93b5491d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [93b5491d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [93b5491d] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [05e36a57] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [05e36a57] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [05e36a57] Finished in 0.080 seconds with exit status 0 (successful). DEBUG [60c13887] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [60c13887] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [60c13887] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [e9784153] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [e9784153] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [e9784153] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [6e4cfe8a] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [6e4cfe8a] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [6e4cfe8a] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [2fa309fa] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [2fa309fa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [2fa309fa] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [2fa309fa] DEBUG [2fa309fa] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [cdbba6a6] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [cdbba6a6] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [cdbba6a6] Finished in 0.143 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [cd4a5423] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cd4a5423] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [cd4a5423] Finished in 0.106 seconds with exit status 0 (successful). INFO [fe7ed909] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [fe7ed909] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f188c2349247e66846da.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [fe7ed909] Finished in 0.140 seconds with exit status 0 (successful). INFO [99057740] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [99057740] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f188c2349247e66846da.sh" ; /usr/bin/env git remote update --prune ) DEBUG [99057740] Fetching origin DEBUG [99057740] DEBUG [99057740] remote: Enumerating objects: 8, done. DEBUG [99057740] DEBUG [99057740] remote: Counting objects: 12% (1/8) DEBUG [99057740] remote: Counting objects: 25% (2/8) DEBUG [99057740] remote: Counting objects: 37% (3/8) DEBUG [99057740] remote: Counting objects: 50% (4/8) DEBUG [99057740] remote: Counting objects: 62% (5/8) DEBUG [99057740] remote: Counting objects: 75% (6/8) DEBUG [99057740] remote: Counting objects: 87% (7/8) DEBUG [99057740] remote: Counting objects: 100% (8/8) DEBUG [99057740] remote: Counting objects: 100% (8/8), done. DEBUG [99057740] DEBUG [99057740] remote: Compressing objects: 25% (1/4) DEBUG [99057740] remote: Compressing objects: 50% (2/4) DEBUG [99057740] remote: Compressing objects: 75% (3/4) DEBUG [99057740] remote: Compressing objects: 100% (4/4) DEBUG [99057740] remote: Compressing objects: 100% (4/4), done. DEBUG [99057740] DEBUG [99057740] remote: Total 4 (delta 2), reused 0 (delta 0), pack-reused 0 DEBUG [99057740] DEBUG [99057740] Unpacking objects: 25% (1/4) DEBUG [99057740] Unpacking objects: 50% (2/4) DEBUG [99057740] Unpacking objects: 75% (3/4) DEBUG [99057740] Unpacking objects: 100% (4/4) DEBUG [99057740] Unpacking objects: 100% (4/4), done. DEBUG [99057740] DEBUG [99057740] From github.com:huythanh176/aoumi_server DEBUG [99057740] DEBUG [99057740] 8e967ee..3812721 develop -> develop DEBUG [99057740] DEBUG [99057740] f9742bc..18d4045 master -> master DEBUG [99057740] DEBUG [99057740] * [new ref] refs/pull/5/head -> refs/pull/5/head DEBUG [99057740] INFO [99057740] Finished in 3.145 seconds with exit status 0 (successful). DEBUG [f43a7d9d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f43a7d9d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f43a7d9d] Finished in 0.102 seconds with exit status 0 (successful). INFO [ac96c352] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230080137 as deploy@18.136.197.163 DEBUG [ac96c352] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f188c2349247e66846da.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230080137 ) INFO [ac96c352] Finished in 0.143 seconds with exit status 0 (successful). INFO [e9200b41] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230080137 as deploy@18.136.197.163 DEBUG [e9200b41] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f188c2349247e66846da.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230080137 ) INFO [e9200b41] Finished in 0.175 seconds with exit status 0 (successful). DEBUG [36089ac6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [36089ac6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [36089ac6] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [80f7fe25] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [80f7fe25] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f188c2349247e66846da.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [80f7fe25] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [80f7fe25] DEBUG [80f7fe25] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [53901e70] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [53901e70] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi DEBUG [53901e70] Finished in 0.133 seconds with exit status 0 (successful). INFO [4818efdc] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [4818efdc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230080137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [4818efdc] Finished in 0.104 seconds with exit status 0 (successful). INFO [79ce05e3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230080137 /home/deploy/apps/aoumi_server/releases/20221230080137/config as deploy@18.136.197.163 DEBUG [79ce05e3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230080137 /home/deploy/apps/aoumi_server/releases/20221230080137/config ) INFO [79ce05e3] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [855d3ef2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/.env ] as deploy@18.136.197.163 DEBUG [855d3ef2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/.env ] DEBUG [855d3ef2] Finished in 0.120 seconds with exit status 1 (failed). DEBUG [8058511e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230080137/.env ] as deploy@18.136.197.163 DEBUG [8058511e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230080137/.env ] DEBUG [8058511e] Finished in 0.140 seconds with exit status 0 (successful). INFO [9f15d2d3] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230080137/.env as deploy@18.136.197.163 DEBUG [9f15d2d3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230080137/.env ) INFO [9f15d2d3] Finished in 0.106 seconds with exit status 0 (successful). INFO [13503721] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230080137/.env as deploy@18.136.197.163 DEBUG [13503721] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230080137/.env ) INFO [13503721] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [ebe2ed89] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/config/application.yml ] as deploy@18.136.197.163 DEBUG [ebe2ed89] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/config/application.yml ] DEBUG [ebe2ed89] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [0b35cad7] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230080137/config/application.yml ] as deploy@18.136.197.163 DEBUG [0b35cad7] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230080137/config/application.yml ] DEBUG [0b35cad7] Finished in 0.139 seconds with exit status 1 (failed). INFO [1181dfdb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230080137/config/application.yml as deploy@18.136.197.163 DEBUG [1181dfdb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230080137/config/application.yml ) INFO [1181dfdb] Finished in 0.104 seconds with exit status 0 (successful). INFO [e0e7b9d2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230080137 /home/deploy/apps/aoumi_server/releases/20221230080137/tmp /home/deploy/apps/aoumi_server/releases/20221230080137/vendor /home/deploy/apps/aoumi_server/releases/20221230080137/public as deploy@18.136.197.163 DEBUG [e0e7b9d2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230080137 /home/deploy/apps/aoumi_server/releases/20221230080137/tmp /home/deploy/apps/aoumi_server/releases/20221230080137/vendor /home/deploy/apps/aoumi_server/releases/20221230080137/public ) INFO [e0e7b9d2] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [5842bbda] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/log ] as deploy@18.136.197.163 DEBUG [5842bbda] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/log ] DEBUG [5842bbda] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [018bcbaf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/log ] as deploy@18.136.197.163 DEBUG [018bcbaf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/log ] DEBUG [018bcbaf] Finished in 0.133 seconds with exit status 0 (successful). INFO [76bfa703] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230080137/log as deploy@18.136.197.163 DEBUG [76bfa703] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230080137/log ) INFO [76bfa703] Finished in 0.101 seconds with exit status 0 (successful). INFO [dc02db34] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230080137/log as deploy@18.136.197.163 DEBUG [dc02db34] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230080137/log ) INFO [dc02db34] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [ec960432] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids ] as deploy@18.136.197.163 DEBUG [ec960432] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids ] DEBUG [ec960432] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [169eead6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids ] as deploy@18.136.197.163 DEBUG [169eead6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids ] DEBUG [169eead6] Finished in 0.132 seconds with exit status 0 (successful). INFO [f67c6bd4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids as deploy@18.136.197.163 DEBUG [f67c6bd4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids ) INFO [f67c6bd4] Finished in 0.098 seconds with exit status 0 (successful). INFO [8237107a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids as deploy@18.136.197.163 DEBUG [8237107a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/pids ) INFO [8237107a] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [7fefcaf4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/cache ] as deploy@18.136.197.163 DEBUG [7fefcaf4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/cache ] DEBUG [7fefcaf4] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [69302b47] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/cache ] as deploy@18.136.197.163 DEBUG [69302b47] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/cache ] DEBUG [69302b47] Finished in 0.136 seconds with exit status 1 (failed). INFO [1172b791] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/cache as deploy@18.136.197.163 DEBUG [1172b791] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/cache ) INFO [1172b791] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [fb788523] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/sockets ] as deploy@18.136.197.163 DEBUG [fb788523] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/sockets ] DEBUG [fb788523] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [e8422683] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/sockets ] as deploy@18.136.197.163 DEBUG [e8422683] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/sockets ] DEBUG [e8422683] Finished in 0.089 seconds with exit status 1 (failed). INFO [627896d9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/sockets as deploy@18.136.197.163 DEBUG [627896d9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230080137/tmp/sockets ) INFO [627896d9] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [2cf05b40] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/vendor/bundle ] as deploy@18.136.197.163 DEBUG [2cf05b40] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/vendor/bundle ] DEBUG [2cf05b40] Finished in 0.094 seconds with exit status 1 (failed). DEBUG [34e6d85b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/vendor/bundle ] as deploy@18.136.197.163 DEBUG [34e6d85b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/vendor/bundle ] DEBUG [34e6d85b] Finished in 0.149 seconds with exit status 1 (failed). INFO [79855215] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230080137/vendor/bundle as deploy@18.136.197.163 DEBUG [79855215] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230080137/vendor/bundle ) INFO [79855215] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [4ccbe808] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/public/system ] as deploy@18.136.197.163 DEBUG [4ccbe808] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/public/system ] DEBUG [4ccbe808] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [d826d05c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/public/system ] as deploy@18.136.197.163 DEBUG [d826d05c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/public/system ] DEBUG [d826d05c] Finished in 0.097 seconds with exit status 1 (failed). INFO [2201924f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230080137/public/system as deploy@18.136.197.163 DEBUG [2201924f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230080137/public/system ) INFO [2201924f] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [54d544f4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/public/uploads ] as deploy@18.136.197.163 DEBUG [54d544f4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230080137/public/uploads ] DEBUG [54d544f4] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [e5583add] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/public/uploads ] as deploy@18.136.197.163 DEBUG [e5583add] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230080137/public/uploads ] DEBUG [e5583add] Finished in 0.130 seconds with exit status 1 (failed). INFO [56d8be41] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230080137/public/uploads as deploy@18.136.197.163 DEBUG [56d8be41] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230080137/public/uploads ) INFO [56d8be41] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [ac528c50] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ac528c50] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi DEBUG [ac528c50] Finished in 0.131 seconds with exit status 0 (successful). INFO [60a7be1e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [60a7be1e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230080137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [60a7be1e] Finished in 0.442 seconds with exit status 0 (successful). INFO [b2831bfa] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [b2831bfa] Command: cd /home/deploy/apps/aoumi_server/releases/20221230080137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [b2831bfa] Finished in 0.336 seconds with exit status 0 (successful). INFO [837ae957] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [837ae957] Command: cd /home/deploy/apps/aoumi_server/releases/20221230080137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [837ae957] Finished in 0.374 seconds with exit status 0 (successful). DEBUG [bf64c8eb] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bf64c8eb] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi DEBUG [bf64c8eb] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [ddca28da] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [ddca28da] Command: cd /home/deploy/apps/aoumi_server/releases/20221230080137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ddca28da] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [ddca28da] DEBUG [ddca28da]  DEBUG [ddca28da] The Gemfile's dependencies are satisfied DEBUG [ddca28da] DEBUG [ddca28da] Finished in 0.680 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [d58b618c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d58b618c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230080137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230080137'" 1>&2; false; fi DEBUG [d58b618c] Finished in 0.136 seconds with exit status 0 (successful). INFO [18933a6c] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [18933a6c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230080137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [18933a6c] rake aborted! DEBUG [18933a6c] DEBUG [18933a6c] ActiveRecord::NoDatabaseError: We could not find your database: aoumi_dev. Which can be found in the database configuration file located at config/database.yml. DEBUG [18933a6c] DEBUG [18933a6c] DEBUG [18933a6c] To resolve this issue: DEBUG [18933a6c] DEBUG [18933a6c] DEBUG [18933a6c] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [18933a6c] DEBUG [18933a6c] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [18933a6c] DEBUG [18933a6c] DEBUG [18933a6c] To create your database, run: DEBUG [18933a6c] DEBUG [18933a6c] DEBUG [18933a6c] bin/rails db:create DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/de DEBUG [18933a6c] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [18933a6c] DEBUG [18933a6c] DEBUG [18933a6c] Caused by: DEBUG [18933a6c] DEBUG [18933a6c] Mysql2::Error: Unknown database 'aoumi_dev' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [18933a6c] nection_handler.rb:211:in `retrieve_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [18933a6c] DEBUG [18933a6c] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [18933a6c] DEBUG [18933a6c] Tasks: TOP => db:migrate DEBUG [18933a6c] DEBUG [18933a6c] (See full trace by running task with --trace) DEBUG [18933a6c] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:18:08 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [8a12a09e] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [8a12a09e] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [8a12a09e] Finished in 0.958 seconds with exit status 0 (successful). INFO [29b0fb6c] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [29b0fb6c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [29b0fb6c] Finished in 0.125 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-758c22cd716d519f1885.sh 0.0% INFO Uploading /tmp/git-ssh-758c22cd716d519f1885.sh 100.0% INFO [78f6f0a4] Running /usr/bin/env chmod 700 /tmp/git-ssh-758c22cd716d519f1885.sh as deploy@18.136.197.163 DEBUG [78f6f0a4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-758c22cd716d519f1885.sh ) INFO [78f6f0a4] Finished in 0.113 seconds with exit status 0 (successful). INFO [99add55b] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [99add55b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-758c22cd716d519f1885.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [99add55b] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [99add55b] HEAD INFO [99add55b] Finished in 2.968 seconds with exit status 0 (successful). INFO [56b6fb7f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [56b6fb7f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [56b6fb7f] Finished in 0.148 seconds with exit status 0 (successful). INFO [a763da9b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [a763da9b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [a763da9b] Finished in 0.105 seconds with exit status 0 (successful). INFO [9130dd8c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [9130dd8c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [9130dd8c] Finished in 0.195 seconds with exit status 0 (successful). DEBUG [f44ddd28] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [f44ddd28] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [f44ddd28] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [de39a866] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [de39a866] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [de39a866] Finished in 0.174 seconds with exit status 0 (successful). DEBUG [19d16347] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [19d16347] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [19d16347] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [660ef5a2] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [660ef5a2] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [660ef5a2] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [8d040585] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [8d040585] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [8d040585] a41e60c49417030069343b4c378a069f99c7b00a DEBUG [8d040585] DEBUG [8d040585] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [db10ea79] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [db10ea79] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [db10ea79] Finished in 0.139 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [04d3b31a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [04d3b31a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [04d3b31a] Finished in 0.088 seconds with exit status 0 (successful). INFO [975fde2a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [975fde2a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-758c22cd716d519f1885.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [975fde2a] Finished in 0.152 seconds with exit status 0 (successful). INFO [14d09863] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [14d09863] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-758c22cd716d519f1885.sh" ; /usr/bin/env git remote update --prune ) DEBUG [14d09863] Fetching origin DEBUG [14d09863] INFO [14d09863] Finished in 2.910 seconds with exit status 0 (successful). DEBUG [e0c3f5a1] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e0c3f5a1] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e0c3f5a1] Finished in 0.094 seconds with exit status 0 (successful). INFO [fe13c49c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081814 as deploy@18.136.197.163 DEBUG [fe13c49c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-758c22cd716d519f1885.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081814 ) INFO [fe13c49c] Finished in 0.101 seconds with exit status 0 (successful). INFO [8561fe76] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230081814 as deploy@18.136.197.163 DEBUG [8561fe76] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-758c22cd716d519f1885.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230081814 ) INFO [8561fe76] Finished in 0.199 seconds with exit status 0 (successful). DEBUG [352b7887] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [352b7887] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [352b7887] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [ab6cf6a6] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [ab6cf6a6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-758c22cd716d519f1885.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [ab6cf6a6] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [ab6cf6a6] DEBUG [ab6cf6a6] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [351c0497] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [351c0497] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi DEBUG [351c0497] Finished in 0.087 seconds with exit status 0 (successful). INFO [8312a13b] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [8312a13b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [8312a13b] Finished in 0.138 seconds with exit status 0 (successful). INFO [e85331a2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081814 /home/deploy/apps/aoumi_server/releases/20221230081814/config as deploy@18.136.197.163 DEBUG [e85331a2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081814 /home/deploy/apps/aoumi_server/releases/20221230081814/config ) INFO [e85331a2] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [62ccdb33] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/.env ] as deploy@18.136.197.163 DEBUG [62ccdb33] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/.env ] DEBUG [62ccdb33] Finished in 0.193 seconds with exit status 1 (failed). DEBUG [cc4adba5] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230081814/.env ] as deploy@18.136.197.163 DEBUG [cc4adba5] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230081814/.env ] DEBUG [cc4adba5] Finished in 0.113 seconds with exit status 0 (successful). INFO [e48a9b8d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230081814/.env as deploy@18.136.197.163 DEBUG [e48a9b8d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230081814/.env ) INFO [e48a9b8d] Finished in 0.164 seconds with exit status 0 (successful). INFO [84c1a2d6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230081814/.env as deploy@18.136.197.163 DEBUG [84c1a2d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230081814/.env ) INFO [84c1a2d6] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [2d881f1d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/config/application.yml ] as deploy@18.136.197.163 DEBUG [2d881f1d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/config/application.yml ] DEBUG [2d881f1d] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [18207f0b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230081814/config/application.yml ] as deploy@18.136.197.163 DEBUG [18207f0b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230081814/config/application.yml ] DEBUG [18207f0b] Finished in 0.105 seconds with exit status 1 (failed). INFO [74c58085] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230081814/config/application.yml as deploy@18.136.197.163 DEBUG [74c58085] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230081814/config/application.yml ) INFO [74c58085] Finished in 0.139 seconds with exit status 0 (successful). INFO [364034e9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081814 /home/deploy/apps/aoumi_server/releases/20221230081814/tmp /home/deploy/apps/aoumi_server/releases/20221230081814/vendor /home/deploy/apps/aoumi_server/releases/20221230081814/public as deploy@18.136.197.163 DEBUG [364034e9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081814 /home/deploy/apps/aoumi_server/releases/20221230081814/tmp /home/deploy/apps/aoumi_server/releases/20221230081814/vendor /home/deploy/apps/aoumi_server/releases/20221230081814/public ) INFO [364034e9] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [2285aaeb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/log ] as deploy@18.136.197.163 DEBUG [2285aaeb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/log ] DEBUG [2285aaeb] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [6f608f2b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/log ] as deploy@18.136.197.163 DEBUG [6f608f2b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/log ] DEBUG [6f608f2b] Finished in 0.100 seconds with exit status 0 (successful). INFO [c1aa8a76] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081814/log as deploy@18.136.197.163 DEBUG [c1aa8a76] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081814/log ) INFO [c1aa8a76] Finished in 0.137 seconds with exit status 0 (successful). INFO [24764212] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230081814/log as deploy@18.136.197.163 DEBUG [24764212] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230081814/log ) INFO [24764212] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [e94cc3c5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids ] as deploy@18.136.197.163 DEBUG [e94cc3c5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids ] DEBUG [e94cc3c5] Finished in 0.138 seconds with exit status 1 (failed). DEBUG [48a10586] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids ] as deploy@18.136.197.163 DEBUG [48a10586] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids ] DEBUG [48a10586] Finished in 0.100 seconds with exit status 0 (successful). INFO [f745ddb4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids as deploy@18.136.197.163 DEBUG [f745ddb4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids ) INFO [f745ddb4] Finished in 0.137 seconds with exit status 0 (successful). INFO [6786164b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids as deploy@18.136.197.163 DEBUG [6786164b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/pids ) INFO [6786164b] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [229ac9bf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/cache ] as deploy@18.136.197.163 DEBUG [229ac9bf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/cache ] DEBUG [229ac9bf] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [6fc32b93] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/cache ] as deploy@18.136.197.163 DEBUG [6fc32b93] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/cache ] DEBUG [6fc32b93] Finished in 0.125 seconds with exit status 1 (failed). INFO [cc28ac5f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/cache as deploy@18.136.197.163 DEBUG [cc28ac5f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/cache ) INFO [cc28ac5f] Finished in 0.162 seconds with exit status 0 (successful). DEBUG [51dba229] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/sockets ] as deploy@18.136.197.163 DEBUG [51dba229] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/sockets ] DEBUG [51dba229] Finished in 0.113 seconds with exit status 1 (failed). DEBUG [3b184ccf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/sockets ] as deploy@18.136.197.163 DEBUG [3b184ccf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/sockets ] DEBUG [3b184ccf] Finished in 0.153 seconds with exit status 1 (failed). INFO [ccf26e2c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/sockets as deploy@18.136.197.163 DEBUG [ccf26e2c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230081814/tmp/sockets ) INFO [ccf26e2c] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [084bb84d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/vendor/bundle ] as deploy@18.136.197.163 DEBUG [084bb84d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/vendor/bundle ] DEBUG [084bb84d] Finished in 0.154 seconds with exit status 1 (failed). DEBUG [7e588395] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/vendor/bundle ] as deploy@18.136.197.163 DEBUG [7e588395] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/vendor/bundle ] DEBUG [7e588395] Finished in 0.129 seconds with exit status 1 (failed). INFO [cd8796a4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230081814/vendor/bundle as deploy@18.136.197.163 DEBUG [cd8796a4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230081814/vendor/bundle ) INFO [cd8796a4] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [57d1b89a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/public/system ] as deploy@18.136.197.163 DEBUG [57d1b89a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/public/system ] DEBUG [57d1b89a] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [aaea96c1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/public/system ] as deploy@18.136.197.163 DEBUG [aaea96c1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/public/system ] DEBUG [aaea96c1] Finished in 0.169 seconds with exit status 1 (failed). INFO [b82d62e0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230081814/public/system as deploy@18.136.197.163 DEBUG [b82d62e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230081814/public/system ) INFO [b82d62e0] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [a5aec9d6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/public/uploads ] as deploy@18.136.197.163 DEBUG [a5aec9d6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081814/public/uploads ] DEBUG [a5aec9d6] Finished in 0.174 seconds with exit status 1 (failed). DEBUG [1a66929e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/public/uploads ] as deploy@18.136.197.163 DEBUG [1a66929e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081814/public/uploads ] DEBUG [1a66929e] Finished in 0.130 seconds with exit status 1 (failed). INFO [810be289] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230081814/public/uploads as deploy@18.136.197.163 DEBUG [810be289] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230081814/public/uploads ) INFO [810be289] Finished in 0.322 seconds with exit status 0 (successful). DEBUG [ae3331a1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ae3331a1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi DEBUG [ae3331a1] Finished in 0.196 seconds with exit status 0 (successful). INFO [da49290b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [da49290b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [da49290b] Finished in 0.470 seconds with exit status 0 (successful). INFO [f0f6ca62] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [f0f6ca62] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [f0f6ca62] Finished in 0.413 seconds with exit status 0 (successful). INFO [c1ab1ac7] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [c1ab1ac7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [c1ab1ac7] Finished in 0.425 seconds with exit status 0 (successful). DEBUG [c2150c32] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c2150c32] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi DEBUG [c2150c32] Finished in 0.336 seconds with exit status 0 (successful). DEBUG [a66f1445] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [a66f1445] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [a66f1445] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [a66f1445] DEBUG [a66f1445]  DEBUG [a66f1445] The Gemfile's dependencies are satisfied DEBUG [a66f1445] DEBUG [a66f1445] Finished in 1.386 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [da44fc5b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [da44fc5b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081814'" 1>&2; false; fi DEBUG [da44fc5b] Finished in 0.528 seconds with exit status 0 (successful). INFO [366e2057] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [366e2057] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [366e2057] == 20220721091426 DeviseCreateUsers: migrating ================================ DEBUG [366e2057] DEBUG [366e2057] -- create_table(:users) DEBUG [366e2057] DEBUG [366e2057] -> 0.0345s DEBUG [366e2057] DEBUG [366e2057] -- add_index(:users, :email, {:unique=>true}) DEBUG [366e2057] DEBUG [366e2057] -> 0.0301s DEBUG [366e2057] DEBUG [366e2057] -- add_index(:users, :reset_password_token, {:unique=>true}) DEBUG [366e2057] DEBUG [366e2057] -> 0.0274s DEBUG [366e2057] DEBUG [366e2057] == 20220721091426 DeviseCreateUsers: migrated (0.0929s) ======================= DEBUG [366e2057] DEBUG [366e2057] INFO [366e2057] Finished in 1.971 seconds with exit status 0 (successful). INFO [54a7fb18] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230081814 /home/deploy/apps/aoumi_server/releases/current as deploy@18.136.197.163 DEBUG [54a7fb18] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230081814 /home/deploy/apps/aoumi_server/releases/current ) INFO [54a7fb18] Finished in 0.146 seconds with exit status 0 (successful). INFO [9b0e8a16] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@18.136.197.163 DEBUG [9b0e8a16] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [9b0e8a16] Finished in 0.214 seconds with exit status 0 (successful). DEBUG [cc848a2f] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [cc848a2f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [cc848a2f] 20221228165128 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221228170012 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221228170356 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221228170602 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221228170639 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221228170846 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221228171342 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229060819 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229085424 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229091108 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229091333 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229092451 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229093348 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229093631 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229093711 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229095907 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229100506 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229100856 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229101203 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229101302 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229101345 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229101550 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229102021 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229102315 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229102423 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229102938 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221229103150 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230063543 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230065040 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230065210 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230065443 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230070910 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230073148 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230074010 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230074953 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230075211 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230080137 DEBUG [cc848a2f] DEBUG [cc848a2f] 20221230081814 DEBUG [cc848a2f] DEBUG [cc848a2f] Finished in 0.193 seconds with exit status 0 (successful). INFO Keeping 5 of 38 deployed releases on 18.136.197.163 DEBUG [77f43d64] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@18.136.197.163 DEBUG [77f43d64] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [77f43d64] Finished in 0.220 seconds with exit status 0 (successful). DEBUG [4b7e655f] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@18.136.197.163 DEBUG [4b7e655f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [4b7e655f] /home/deploy/apps/aoumi_server/releases/20221230081814 DEBUG [4b7e655f] DEBUG [4b7e655f] Finished in 0.130 seconds with exit status 0 (successful). INFO [60c9af4d] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221228165128 /home/deploy/apps/aoumi_server/releases/20221228170012 /home/deploy/apps/aoumi_server/releases/20221228170356 /home/deploy/apps/aoumi_server/releases/20221228170602 /home/deploy/apps/aoumi_server/releases/20221228170639 /home/deploy/apps/aoumi_server/releases/20221228170846 /home/deploy/apps/aoumi_server/releases/20221228171342 /home/deploy/apps/aoumi_server/releases/20221229060819 /home/deploy/apps/aoumi_server/releases/20221229085424 /home/deploy/apps/aoumi_server/releases/20221229091108 /home/deploy/apps/aoumi_server/releases/20221229091333 /home/deploy/apps/aoumi_server/releases/20221229092451 /home/deploy/apps/aoumi_server/releases/20221229093348 /home/deploy/apps/aoumi_server/releases/20221229093631 /home/deploy/apps/aoumi_server/releases/20221229093711 /home/deploy/apps/aoumi_server/releases/20221229095907 /home/deploy/apps/aoumi_server/releases/20221229100506 /home/deploy/apps/aoumi_server/releases/20221229100856 /home/deploy/apps/aoumi_server/releases/20221229101203 /home/deploy/apps/aoumi_server/releases/20221229101302 /home/deploy/apps/aoumi_server/releases/20221229101345 /home/deploy/apps/aoumi_server/releases/20221229101550 /home/deploy/apps/aoumi_server/releases/20221229102021 /home/deploy/apps/aoumi_server/releases/20221229102315 /home/deploy/apps/aoumi_server/releases/20221229102423 /home/deploy/apps/aoumi_server/releases/20221229102938 /home/deploy/apps/aoumi_server/releases/20221229103150 /home/deploy/apps/aoumi_server/releases/20221230063543 /home/deploy/apps/aoumi_server/releases/20221230065040 /home/deploy/apps/aoumi_server/releases/20221230065210 /home/deploy/apps/aoumi_server/releases/20221230065443 /home/deploy/apps/aoumi_server/releases/20221230070910 /home/deploy/apps/aoumi_server/releases/20221230073148 as deploy@18.136.197.163 DEBUG [60c9af4d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221228165128 /home/deploy/apps/aoumi_server/releases/20221228170012 /home/deploy/apps/aoumi_server/releases/20221228170356 /home/deploy/apps/aoumi_server/releases/20221228170602 /home/deploy/apps/aoumi_server/releases/20221228170639 /home/deploy/apps/aoumi_server/releases/20221228170846 /home/deploy/apps/aoumi_server/releases/20221228171342 /home/deploy/apps/aoumi_server/releases/20221229060819 /home/deploy/apps/aoumi_server/releases/20221229085424 /home/deploy/apps/aoumi_server/releases/20221229091108 /home/deploy/apps/aoumi_server/releases/20221229091333 /home/deploy/apps/aoumi_server/releases/20221229092451 /home/deploy/apps/aoumi_server/releases/20221229093348 /home/deploy/apps/aoumi_server/releases/20221229093631 /home/deploy/apps/aoumi_server/releases/20221229093711 /home/deploy/apps/aoumi_server/releases/20221229095907 /home/deploy/apps/aoumi_server/releases/20221229100506 /home/deploy/apps/aoumi_server/releases/20221229100856 /home/deploy/apps/aoumi_server/releases/20221229101203 /home/deploy/apps/aoumi_server/releases/20221229101302 /home/deploy/apps/aoumi_server/releases/20221229101345 /home/deploy/apps/aoumi_server/releases/20221229101550 /home/deploy/apps/aoumi_server/releases/20221229102021 /home/deploy/apps/aoumi_server/releases/20221229102315 /home/deploy/apps/aoumi_server/releases/20221229102423 /home/deploy/apps/aoumi_server/releases/20221229102938 /home/deploy/apps/aoumi_server/releases/20221229103150 /home/deploy/apps/aoumi_server/releases/20221230063543 /home/deploy/apps/aoumi_server/releases/20221230065040 /home/deploy/apps/aoumi_server/releases/20221230065210 /home/deploy/apps/aoumi_server/releases/20221230065443 /home/deploy/apps/aoumi_server/releases/20221230070910 /home/deploy/apps/aoumi_server/releases/20221230073148 ) INFO [60c9af4d] Finished in 0.335 seconds with exit status 0 (successful). DEBUG [9a4095cf] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [9a4095cf] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [9a4095cf] Finished in 0.106 seconds with exit status 0 (successful). INFO [9a3faf0e] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230081814 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@18.136.197.163 DEBUG [9a3faf0e] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230081814 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [9a3faf0e] Finished in 0.169 seconds with exit status 0 (successful). INFO [b78d4b63] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@18.136.197.163 DEBUG [b78d4b63] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [b78d4b63] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:19:24 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [2482c539] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [2482c539] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [2482c539] Finished in 1.003 seconds with exit status 0 (successful). INFO [2663f0c4] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [2663f0c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [2663f0c4] Finished in 0.097 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-0ca9526b926813916878.sh 0.0% INFO Uploading /tmp/git-ssh-0ca9526b926813916878.sh 100.0% INFO [b3b36bb4] Running /usr/bin/env chmod 700 /tmp/git-ssh-0ca9526b926813916878.sh as deploy@18.136.197.163 DEBUG [b3b36bb4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-0ca9526b926813916878.sh ) INFO [b3b36bb4] Finished in 0.094 seconds with exit status 0 (successful). INFO [51e5ae9b] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [51e5ae9b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0ca9526b926813916878.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [51e5ae9b] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [51e5ae9b] DEBUG [51e5ae9b] HEAD INFO [51e5ae9b] Finished in 3.111 seconds with exit status 0 (successful). INFO [0f9374f3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [0f9374f3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [0f9374f3] Finished in 0.088 seconds with exit status 0 (successful). INFO [a7011fdd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [a7011fdd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [a7011fdd] Finished in 0.106 seconds with exit status 0 (successful). INFO [5034f95e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [5034f95e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [5034f95e] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [1719f9bd] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [1719f9bd] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [1719f9bd] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [4a60def1] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [4a60def1] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [4a60def1] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [6cb533de] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [6cb533de] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [6cb533de] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [c5c9f9f1] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [c5c9f9f1] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [c5c9f9f1] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [5df7d26a] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [5df7d26a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [5df7d26a] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [5df7d26a] DEBUG [5df7d26a] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [61fda297] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [61fda297] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [61fda297] Finished in 0.140 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [03128d74] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [03128d74] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [03128d74] Finished in 0.087 seconds with exit status 0 (successful). INFO [81df489c] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [81df489c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0ca9526b926813916878.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [81df489c] Finished in 0.149 seconds with exit status 0 (successful). INFO [0443f43c] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [0443f43c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0ca9526b926813916878.sh" ; /usr/bin/env git remote update --prune ) DEBUG [0443f43c] Fetching origin DEBUG [0443f43c] INFO [0443f43c] Finished in 2.878 seconds with exit status 0 (successful). DEBUG [0306d4ea] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [0306d4ea] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [0306d4ea] Finished in 0.069 seconds with exit status 0 (successful). INFO [3aaf263a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081930 as deploy@18.136.197.163 DEBUG [3aaf263a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0ca9526b926813916878.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081930 ) INFO [3aaf263a] Finished in 0.100 seconds with exit status 0 (successful). INFO [88d768df] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230081930 as deploy@18.136.197.163 DEBUG [88d768df] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0ca9526b926813916878.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230081930 ) INFO [88d768df] Finished in 0.207 seconds with exit status 0 (successful). DEBUG [8dee1b2e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8dee1b2e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8dee1b2e] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [ad309a3a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [ad309a3a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0ca9526b926813916878.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [ad309a3a] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [ad309a3a] DEBUG [ad309a3a] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [a7c7eda9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [a7c7eda9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi DEBUG [a7c7eda9] Finished in 0.095 seconds with exit status 0 (successful). INFO [1eb15382] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [1eb15382] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081930 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [1eb15382] Finished in 0.142 seconds with exit status 0 (successful). INFO [c79c3988] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081930 /home/deploy/apps/aoumi_server/releases/20221230081930/config as deploy@18.136.197.163 DEBUG [c79c3988] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081930 /home/deploy/apps/aoumi_server/releases/20221230081930/config ) INFO [c79c3988] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [4e77b714] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/.env ] as deploy@18.136.197.163 DEBUG [4e77b714] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/.env ] DEBUG [4e77b714] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [5902724a] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230081930/.env ] as deploy@18.136.197.163 DEBUG [5902724a] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230081930/.env ] DEBUG [5902724a] Finished in 0.096 seconds with exit status 0 (successful). INFO [055d71c9] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230081930/.env as deploy@18.136.197.163 DEBUG [055d71c9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230081930/.env ) INFO [055d71c9] Finished in 0.141 seconds with exit status 0 (successful). INFO [e0056919] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230081930/.env as deploy@18.136.197.163 DEBUG [e0056919] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230081930/.env ) INFO [e0056919] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [b5322f14] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/config/application.yml ] as deploy@18.136.197.163 DEBUG [b5322f14] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/config/application.yml ] DEBUG [b5322f14] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [07715abd] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230081930/config/application.yml ] as deploy@18.136.197.163 DEBUG [07715abd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230081930/config/application.yml ] DEBUG [07715abd] Finished in 0.088 seconds with exit status 1 (failed). INFO [b7f27502] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230081930/config/application.yml as deploy@18.136.197.163 DEBUG [b7f27502] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230081930/config/application.yml ) INFO [b7f27502] Finished in 0.135 seconds with exit status 0 (successful). INFO [7d8c9a69] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081930 /home/deploy/apps/aoumi_server/releases/20221230081930/tmp /home/deploy/apps/aoumi_server/releases/20221230081930/vendor /home/deploy/apps/aoumi_server/releases/20221230081930/public as deploy@18.136.197.163 DEBUG [7d8c9a69] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230081930 /home/deploy/apps/aoumi_server/releases/20221230081930/tmp /home/deploy/apps/aoumi_server/releases/20221230081930/vendor /home/deploy/apps/aoumi_server/releases/20221230081930/public ) INFO [7d8c9a69] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [94fe58af] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/log ] as deploy@18.136.197.163 DEBUG [94fe58af] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/log ] DEBUG [94fe58af] Finished in 0.132 seconds with exit status 1 (failed). DEBUG [d8cb1ca8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/log ] as deploy@18.136.197.163 DEBUG [d8cb1ca8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/log ] DEBUG [d8cb1ca8] Finished in 0.097 seconds with exit status 0 (successful). INFO [a191fd50] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081930/log as deploy@18.136.197.163 DEBUG [a191fd50] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081930/log ) INFO [a191fd50] Finished in 0.140 seconds with exit status 0 (successful). INFO [d75c8c15] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230081930/log as deploy@18.136.197.163 DEBUG [d75c8c15] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230081930/log ) INFO [d75c8c15] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [3be19f35] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids ] as deploy@18.136.197.163 DEBUG [3be19f35] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids ] DEBUG [3be19f35] Finished in 0.133 seconds with exit status 1 (failed). DEBUG [3e0941f2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids ] as deploy@18.136.197.163 DEBUG [3e0941f2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids ] DEBUG [3e0941f2] Finished in 0.094 seconds with exit status 0 (successful). INFO [63af8723] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids as deploy@18.136.197.163 DEBUG [63af8723] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids ) INFO [63af8723] Finished in 0.140 seconds with exit status 0 (successful). INFO [d8b53678] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids as deploy@18.136.197.163 DEBUG [d8b53678] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/pids ) INFO [d8b53678] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [2f7b4698] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/cache ] as deploy@18.136.197.163 DEBUG [2f7b4698] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/cache ] DEBUG [2f7b4698] Finished in 0.132 seconds with exit status 1 (failed). DEBUG [ccfc1f8f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/cache ] as deploy@18.136.197.163 DEBUG [ccfc1f8f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/cache ] DEBUG [ccfc1f8f] Finished in 0.099 seconds with exit status 1 (failed). INFO [70f90068] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/cache as deploy@18.136.197.163 DEBUG [70f90068] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/cache ) INFO [70f90068] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [683c7bee] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/sockets ] as deploy@18.136.197.163 DEBUG [683c7bee] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/sockets ] DEBUG [683c7bee] Finished in 0.095 seconds with exit status 1 (failed). DEBUG [686550ba] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/sockets ] as deploy@18.136.197.163 DEBUG [686550ba] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/sockets ] DEBUG [686550ba] Finished in 0.134 seconds with exit status 1 (failed). INFO [8d86e77a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/sockets as deploy@18.136.197.163 DEBUG [8d86e77a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230081930/tmp/sockets ) INFO [8d86e77a] Finished in 0.095 seconds with exit status 0 (successful). DEBUG [37a5d232] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/vendor/bundle ] as deploy@18.136.197.163 DEBUG [37a5d232] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/vendor/bundle ] DEBUG [37a5d232] Finished in 0.139 seconds with exit status 1 (failed). DEBUG [be53c32b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/vendor/bundle ] as deploy@18.136.197.163 DEBUG [be53c32b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/vendor/bundle ] DEBUG [be53c32b] Finished in 0.100 seconds with exit status 1 (failed). INFO [0db5e622] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230081930/vendor/bundle as deploy@18.136.197.163 DEBUG [0db5e622] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230081930/vendor/bundle ) INFO [0db5e622] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [d159fa81] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/public/system ] as deploy@18.136.197.163 DEBUG [d159fa81] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/public/system ] DEBUG [d159fa81] Finished in 0.107 seconds with exit status 1 (failed). DEBUG [297bc504] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/public/system ] as deploy@18.136.197.163 DEBUG [297bc504] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/public/system ] DEBUG [297bc504] Finished in 0.139 seconds with exit status 1 (failed). INFO [ca104259] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230081930/public/system as deploy@18.136.197.163 DEBUG [ca104259] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230081930/public/system ) INFO [ca104259] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [e9dc8616] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/public/uploads ] as deploy@18.136.197.163 DEBUG [e9dc8616] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230081930/public/uploads ] DEBUG [e9dc8616] Finished in 0.130 seconds with exit status 1 (failed). DEBUG [82555101] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/public/uploads ] as deploy@18.136.197.163 DEBUG [82555101] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230081930/public/uploads ] DEBUG [82555101] Finished in 0.095 seconds with exit status 1 (failed). INFO [78237767] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230081930/public/uploads as deploy@18.136.197.163 DEBUG [78237767] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230081930/public/uploads ) INFO [78237767] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [0b1a88f6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [0b1a88f6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi DEBUG [0b1a88f6] Finished in 0.101 seconds with exit status 0 (successful). INFO [f911c16c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [f911c16c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081930 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f911c16c] Finished in 0.357 seconds with exit status 0 (successful). INFO [614d7acb] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [614d7acb] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081930 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [614d7acb] Finished in 0.328 seconds with exit status 0 (successful). INFO [bd486e52] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [bd486e52] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081930 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [bd486e52] Finished in 0.394 seconds with exit status 0 (successful). DEBUG [1ff6ce4b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [1ff6ce4b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi DEBUG [1ff6ce4b] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [980a59dd] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [980a59dd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081930 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [980a59dd] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [980a59dd] DEBUG [980a59dd]  DEBUG [980a59dd] The Gemfile's dependencies are satisfied DEBUG [980a59dd] DEBUG [980a59dd] Finished in 0.718 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [01fd6ddd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [01fd6ddd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230081930; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230081930'" 1>&2; false; fi DEBUG [01fd6ddd] Finished in 0.092 seconds with exit status 0 (successful). INFO [c36e1463] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [c36e1463] Command: cd /home/deploy/apps/aoumi_server/releases/20221230081930 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [c36e1463] Finished in 1.642 seconds with exit status 0 (successful). INFO [3b211e18] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230081930 /home/deploy/apps/aoumi_server/releases/current as deploy@18.136.197.163 DEBUG [3b211e18] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230081930 /home/deploy/apps/aoumi_server/releases/current ) INFO [3b211e18] Finished in 0.095 seconds with exit status 0 (successful). INFO [4c6f1528] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@18.136.197.163 DEBUG [4c6f1528] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [4c6f1528] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [11ed1d87] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [11ed1d87] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [11ed1d87] 20221230074010 DEBUG [11ed1d87] DEBUG [11ed1d87] 20221230074953 DEBUG [11ed1d87] DEBUG [11ed1d87] 20221230075211 DEBUG [11ed1d87] DEBUG [11ed1d87] 20221230080137 DEBUG [11ed1d87] DEBUG [11ed1d87] 20221230081814 DEBUG [11ed1d87] DEBUG [11ed1d87] 20221230081930 DEBUG [11ed1d87] DEBUG [11ed1d87] Finished in 0.100 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 18.136.197.163 DEBUG [6317facf] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@18.136.197.163 DEBUG [6317facf] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [6317facf] Finished in 0.190 seconds with exit status 0 (successful). DEBUG [60f4ace6] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@18.136.197.163 DEBUG [60f4ace6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [60f4ace6] /home/deploy/apps/aoumi_server/releases/20221230081930 DEBUG [60f4ace6] DEBUG [60f4ace6] Finished in 0.105 seconds with exit status 0 (successful). INFO [9e86df29] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074010 as deploy@18.136.197.163 DEBUG [9e86df29] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074010 ) INFO [9e86df29] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [f2e04b07] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f2e04b07] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [f2e04b07] Finished in 0.088 seconds with exit status 0 (successful). INFO [293568c6] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230081930 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@18.136.197.163 DEBUG [293568c6] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230081930 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [293568c6] Finished in 0.150 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:22:25 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [cbb7dbd6] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [cbb7dbd6] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [cbb7dbd6] Finished in 1.074 seconds with exit status 0 (successful). INFO [2e387d33] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [2e387d33] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [2e387d33] Finished in 0.084 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-a3ffc2fed6048372efa4.sh 0.0% INFO Uploading /tmp/git-ssh-a3ffc2fed6048372efa4.sh 100.0% INFO [e60fb1b9] Running /usr/bin/env chmod 700 /tmp/git-ssh-a3ffc2fed6048372efa4.sh as deploy@18.136.197.163 DEBUG [e60fb1b9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-a3ffc2fed6048372efa4.sh ) INFO [e60fb1b9] Finished in 0.109 seconds with exit status 0 (successful). INFO [5aab57a8] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [5aab57a8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3ffc2fed6048372efa4.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [5aab57a8] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [5aab57a8] HEAD INFO [5aab57a8] Finished in 2.806 seconds with exit status 0 (successful). INFO [659664c1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [659664c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [659664c1] Finished in 0.098 seconds with exit status 0 (successful). INFO [34cad065] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets as deploy@18.136.197.163 DEBUG [34cad065] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/shared/public/assets ) INFO [34cad065] Finished in 0.087 seconds with exit status 0 (successful). INFO [b8392ad3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [b8392ad3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [b8392ad3] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [ac1df41a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [ac1df41a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [ac1df41a] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [56e3676f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [56e3676f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [56e3676f] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [c4e9e42a] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [c4e9e42a] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [c4e9e42a] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [91a1ab77] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [91a1ab77] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [91a1ab77] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [bf1970b0] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [bf1970b0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [bf1970b0] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [bf1970b0] DEBUG [bf1970b0] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [cc714c69] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [cc714c69] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [cc714c69] Finished in 0.142 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [53a7d4fb] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [53a7d4fb] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [53a7d4fb] Finished in 0.096 seconds with exit status 0 (successful). INFO [f8b6a1fa] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [f8b6a1fa] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3ffc2fed6048372efa4.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f8b6a1fa] Finished in 0.142 seconds with exit status 0 (successful). INFO [504997a6] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [504997a6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3ffc2fed6048372efa4.sh" ; /usr/bin/env git remote update --prune ) DEBUG [504997a6] Fetching origin DEBUG [504997a6] INFO [504997a6] Finished in 2.904 seconds with exit status 0 (successful). DEBUG [cc79a312] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cc79a312] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [cc79a312] Finished in 0.149 seconds with exit status 0 (successful). INFO [ca420a9b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082231 as deploy@18.136.197.163 DEBUG [ca420a9b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3ffc2fed6048372efa4.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082231 ) INFO [ca420a9b] Finished in 0.162 seconds with exit status 0 (successful). INFO [d601a054] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230082231 as deploy@18.136.197.163 DEBUG [d601a054] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3ffc2fed6048372efa4.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230082231 ) INFO [d601a054] Finished in 0.304 seconds with exit status 0 (successful). DEBUG [cbe80838] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cbe80838] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [cbe80838] Finished in 0.117 seconds with exit status 0 (successful). DEBUG [f022ae69] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [f022ae69] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3ffc2fed6048372efa4.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f022ae69] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [f022ae69] DEBUG [f022ae69] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [e947eff0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e947eff0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi DEBUG [e947eff0] Finished in 0.143 seconds with exit status 0 (successful). INFO [6dbd0ce8] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [6dbd0ce8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082231 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [6dbd0ce8] Finished in 0.147 seconds with exit status 0 (successful). INFO [59bc4ffc] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082231 /home/deploy/apps/aoumi_server/releases/20221230082231/config as deploy@18.136.197.163 DEBUG [59bc4ffc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082231 /home/deploy/apps/aoumi_server/releases/20221230082231/config ) INFO [59bc4ffc] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [2871412c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/.env ] as deploy@18.136.197.163 DEBUG [2871412c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/.env ] DEBUG [2871412c] Finished in 0.159 seconds with exit status 1 (failed). DEBUG [8455b3d2] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230082231/.env ] as deploy@18.136.197.163 DEBUG [8455b3d2] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230082231/.env ] DEBUG [8455b3d2] Finished in 0.112 seconds with exit status 0 (successful). INFO [850aaed3] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230082231/.env as deploy@18.136.197.163 DEBUG [850aaed3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230082231/.env ) INFO [850aaed3] Finished in 0.155 seconds with exit status 0 (successful). INFO [faf178cc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230082231/.env as deploy@18.136.197.163 DEBUG [faf178cc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230082231/.env ) INFO [faf178cc] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [09a1b10b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/config/application.yml ] as deploy@18.136.197.163 DEBUG [09a1b10b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/config/application.yml ] DEBUG [09a1b10b] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [f1a8da3c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230082231/config/application.yml ] as deploy@18.136.197.163 DEBUG [f1a8da3c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230082231/config/application.yml ] DEBUG [f1a8da3c] Finished in 0.101 seconds with exit status 1 (failed). INFO [9694a686] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230082231/config/application.yml as deploy@18.136.197.163 DEBUG [9694a686] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230082231/config/application.yml ) INFO [9694a686] Finished in 0.148 seconds with exit status 0 (successful). INFO [c2532956] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082231 /home/deploy/apps/aoumi_server/releases/20221230082231/tmp /home/deploy/apps/aoumi_server/releases/20221230082231/vendor /home/deploy/apps/aoumi_server/releases/20221230082231/public as deploy@18.136.197.163 DEBUG [c2532956] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082231 /home/deploy/apps/aoumi_server/releases/20221230082231/tmp /home/deploy/apps/aoumi_server/releases/20221230082231/vendor /home/deploy/apps/aoumi_server/releases/20221230082231/public ) INFO [c2532956] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [d3dd9c4e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/log ] as deploy@18.136.197.163 DEBUG [d3dd9c4e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/log ] DEBUG [d3dd9c4e] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [2a6e69cb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/log ] as deploy@18.136.197.163 DEBUG [2a6e69cb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/log ] DEBUG [2a6e69cb] Finished in 0.100 seconds with exit status 0 (successful). INFO [9bad97d6] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082231/log as deploy@18.136.197.163 DEBUG [9bad97d6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082231/log ) INFO [9bad97d6] Finished in 0.153 seconds with exit status 0 (successful). INFO [1868d660] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230082231/log as deploy@18.136.197.163 DEBUG [1868d660] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230082231/log ) INFO [1868d660] Finished in 0.117 seconds with exit status 0 (successful). DEBUG [d80c4336] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids ] as deploy@18.136.197.163 DEBUG [d80c4336] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids ] DEBUG [d80c4336] Finished in 0.154 seconds with exit status 1 (failed). DEBUG [9786cb23] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids ] as deploy@18.136.197.163 DEBUG [9786cb23] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids ] DEBUG [9786cb23] Finished in 0.106 seconds with exit status 0 (successful). INFO [23fea0b0] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids as deploy@18.136.197.163 DEBUG [23fea0b0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids ) INFO [23fea0b0] Finished in 0.179 seconds with exit status 0 (successful). INFO [8efaf6c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids as deploy@18.136.197.163 DEBUG [8efaf6c9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/pids ) INFO [8efaf6c9] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [81192c14] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/cache ] as deploy@18.136.197.163 DEBUG [81192c14] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/cache ] DEBUG [81192c14] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [77842fc7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/cache ] as deploy@18.136.197.163 DEBUG [77842fc7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/cache ] DEBUG [77842fc7] Finished in 0.097 seconds with exit status 1 (failed). INFO [ba9457eb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/cache as deploy@18.136.197.163 DEBUG [ba9457eb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/cache ) INFO [ba9457eb] Finished in 0.163 seconds with exit status 0 (successful). DEBUG [8cb8c3c7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/sockets ] as deploy@18.136.197.163 DEBUG [8cb8c3c7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/sockets ] DEBUG [8cb8c3c7] Finished in 0.093 seconds with exit status 1 (failed). DEBUG [f4298adc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/sockets ] as deploy@18.136.197.163 DEBUG [f4298adc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/sockets ] DEBUG [f4298adc] Finished in 0.139 seconds with exit status 1 (failed). INFO [897acdd6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/sockets as deploy@18.136.197.163 DEBUG [897acdd6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230082231/tmp/sockets ) INFO [897acdd6] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [57951427] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/vendor/bundle ] as deploy@18.136.197.163 DEBUG [57951427] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/vendor/bundle ] DEBUG [57951427] Finished in 0.140 seconds with exit status 1 (failed). DEBUG [44c116ec] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/vendor/bundle ] as deploy@18.136.197.163 DEBUG [44c116ec] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/vendor/bundle ] DEBUG [44c116ec] Finished in 0.100 seconds with exit status 1 (failed). INFO [c52bebb8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230082231/vendor/bundle as deploy@18.136.197.163 DEBUG [c52bebb8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230082231/vendor/bundle ) INFO [c52bebb8] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [2dd659ba] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/public/system ] as deploy@18.136.197.163 DEBUG [2dd659ba] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/public/system ] DEBUG [2dd659ba] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [e83f9916] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/public/system ] as deploy@18.136.197.163 DEBUG [e83f9916] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/public/system ] DEBUG [e83f9916] Finished in 0.135 seconds with exit status 1 (failed). INFO [42c0c993] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230082231/public/system as deploy@18.136.197.163 DEBUG [42c0c993] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230082231/public/system ) INFO [42c0c993] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [15b285e3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/public/uploads ] as deploy@18.136.197.163 DEBUG [15b285e3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/public/uploads ] DEBUG [15b285e3] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [f878e945] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/public/uploads ] as deploy@18.136.197.163 DEBUG [f878e945] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/public/uploads ] DEBUG [f878e945] Finished in 0.097 seconds with exit status 1 (failed). INFO [c43c5c18] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230082231/public/uploads as deploy@18.136.197.163 DEBUG [c43c5c18] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230082231/public/uploads ) INFO [c43c5c18] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [f10286bf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/public/assets ] as deploy@18.136.197.163 DEBUG [f10286bf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082231/public/assets ] DEBUG [f10286bf] Finished in 0.091 seconds with exit status 1 (failed). DEBUG [ba8d2ca2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/public/assets ] as deploy@18.136.197.163 DEBUG [ba8d2ca2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082231/public/assets ] DEBUG [ba8d2ca2] Finished in 0.135 seconds with exit status 1 (failed). INFO [6cc9840e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221230082231/public/assets as deploy@18.136.197.163 DEBUG [6cc9840e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/assets /home/deploy/apps/aoumi_server/releases/20221230082231/public/assets ) INFO [6cc9840e] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [c9a2f1e0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c9a2f1e0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi DEBUG [c9a2f1e0] Finished in 0.140 seconds with exit status 0 (successful). INFO [d41f07df] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [d41f07df] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082231 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [d41f07df] Finished in 0.304 seconds with exit status 0 (successful). INFO [242e4801] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [242e4801] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082231 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [242e4801] Finished in 0.391 seconds with exit status 0 (successful). INFO [a7945f09] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [a7945f09] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082231 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [a7945f09] Finished in 0.294 seconds with exit status 0 (successful). DEBUG [c9b345ca] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c9b345ca] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi DEBUG [c9b345ca] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [7160f5e8] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [7160f5e8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082231 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [7160f5e8] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [7160f5e8] DEBUG [7160f5e8]  DEBUG [7160f5e8] The Gemfile's dependencies are satisfied DEBUG [7160f5e8] DEBUG [7160f5e8] Finished in 0.661 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation DEBUG [ababb9b0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ababb9b0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082231; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082231'" 1>&2; false; fi DEBUG [ababb9b0] Finished in 0.171 seconds with exit status 0 (successful). INFO [2ac02de7] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile as deploy@18.136.197.163 DEBUG [2ac02de7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082231 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" RAILS_GROUPS="" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ) DEBUG [2ac02de7] rake aborted! DEBUG [2ac02de7] DEBUG [2ac02de7] Don't know how to build task 'assets:precompile' (See the list of available tasks with `rake --tasks`) DEBUG [2ac02de7] DEBUG [2ac02de7] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [2ac02de7] DEBUG [2ac02de7] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [2ac02de7] DEBUG [2ac02de7] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [2ac02de7] DEBUG [2ac02de7] (See full trace by running task with --trace) DEBUG [2ac02de7] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:24:40 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [08e8c13e] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [08e8c13e] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [08e8c13e] Finished in 1.844 seconds with exit status 0 (successful). INFO [a4700b66] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [a4700b66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [a4700b66] Finished in 0.116 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-598ac7bcf0044b62cf6b.sh 0.0% INFO Uploading /tmp/git-ssh-598ac7bcf0044b62cf6b.sh 100.0% INFO [51d9b85e] Running /usr/bin/env chmod 700 /tmp/git-ssh-598ac7bcf0044b62cf6b.sh as deploy@18.136.197.163 DEBUG [51d9b85e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-598ac7bcf0044b62cf6b.sh ) INFO [51d9b85e] Finished in 0.084 seconds with exit status 0 (successful). INFO [dff7a441] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [dff7a441] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-598ac7bcf0044b62cf6b.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [dff7a441] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [dff7a441] HEAD INFO [dff7a441] Finished in 2.898 seconds with exit status 0 (successful). INFO [d35853ea] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [d35853ea] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [d35853ea] Finished in 0.073 seconds with exit status 0 (successful). INFO [54949778] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [54949778] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [54949778] Finished in 0.124 seconds with exit status 0 (successful). INFO [c1dacaf3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [c1dacaf3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [c1dacaf3] Finished in 0.159 seconds with exit status 0 (successful). DEBUG [ad3ea240] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [ad3ea240] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [ad3ea240] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [dd7d9fa7] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [dd7d9fa7] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [dd7d9fa7] Finished in 0.177 seconds with exit status 0 (successful). DEBUG [6a03f0ec] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [6a03f0ec] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [6a03f0ec] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [db5e8b7b] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [db5e8b7b] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [db5e8b7b] Finished in 0.203 seconds with exit status 0 (successful). DEBUG [4c8ffa5f] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [4c8ffa5f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [4c8ffa5f] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [4c8ffa5f] DEBUG [4c8ffa5f] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [f0702e79] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [f0702e79] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [f0702e79] Finished in 0.153 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [e718be48] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [e718be48] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e718be48] Finished in 0.086 seconds with exit status 0 (successful). INFO [cf2f5b4f] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [cf2f5b4f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-598ac7bcf0044b62cf6b.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [cf2f5b4f] Finished in 0.135 seconds with exit status 0 (successful). INFO [32bf8fdf] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [32bf8fdf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-598ac7bcf0044b62cf6b.sh" ; /usr/bin/env git remote update --prune ) DEBUG [32bf8fdf] Fetching origin DEBUG [32bf8fdf] INFO [32bf8fdf] Finished in 2.863 seconds with exit status 0 (successful). DEBUG [9c65188d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [9c65188d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9c65188d] Finished in 0.069 seconds with exit status 0 (successful). INFO [e247b48f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082446 as deploy@18.136.197.163 DEBUG [e247b48f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-598ac7bcf0044b62cf6b.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082446 ) INFO [e247b48f] Finished in 0.093 seconds with exit status 0 (successful). INFO [84e9645d] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230082446 as deploy@18.136.197.163 DEBUG [84e9645d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-598ac7bcf0044b62cf6b.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230082446 ) INFO [84e9645d] Finished in 0.197 seconds with exit status 0 (successful). DEBUG [2c510b7d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2c510b7d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2c510b7d] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [bbde09f9] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [bbde09f9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-598ac7bcf0044b62cf6b.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [bbde09f9] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [bbde09f9] DEBUG [bbde09f9] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [b0339956] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [b0339956] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi DEBUG [b0339956] Finished in 0.092 seconds with exit status 0 (successful). INFO [5d6745d8] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [5d6745d8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082446 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [5d6745d8] Finished in 0.144 seconds with exit status 0 (successful). INFO [c58446b3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082446 /home/deploy/apps/aoumi_server/releases/20221230082446/config as deploy@18.136.197.163 DEBUG [c58446b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082446 /home/deploy/apps/aoumi_server/releases/20221230082446/config ) INFO [c58446b3] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [d5d28d4c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/.env ] as deploy@18.136.197.163 DEBUG [d5d28d4c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/.env ] DEBUG [d5d28d4c] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [7925b38d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230082446/.env ] as deploy@18.136.197.163 DEBUG [7925b38d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230082446/.env ] DEBUG [7925b38d] Finished in 0.092 seconds with exit status 0 (successful). INFO [6a29b37e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230082446/.env as deploy@18.136.197.163 DEBUG [6a29b37e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230082446/.env ) INFO [6a29b37e] Finished in 0.138 seconds with exit status 0 (successful). INFO [eabca652] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230082446/.env as deploy@18.136.197.163 DEBUG [eabca652] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230082446/.env ) INFO [eabca652] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [5b1eaeee] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/config/application.yml ] as deploy@18.136.197.163 DEBUG [5b1eaeee] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/config/application.yml ] DEBUG [5b1eaeee] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [42a150f1] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230082446/config/application.yml ] as deploy@18.136.197.163 DEBUG [42a150f1] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230082446/config/application.yml ] DEBUG [42a150f1] Finished in 0.099 seconds with exit status 1 (failed). INFO [5fdc970e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230082446/config/application.yml as deploy@18.136.197.163 DEBUG [5fdc970e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230082446/config/application.yml ) INFO [5fdc970e] Finished in 0.154 seconds with exit status 0 (successful). INFO [08912d2b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082446 /home/deploy/apps/aoumi_server/releases/20221230082446/tmp /home/deploy/apps/aoumi_server/releases/20221230082446/vendor /home/deploy/apps/aoumi_server/releases/20221230082446/public as deploy@18.136.197.163 DEBUG [08912d2b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082446 /home/deploy/apps/aoumi_server/releases/20221230082446/tmp /home/deploy/apps/aoumi_server/releases/20221230082446/vendor /home/deploy/apps/aoumi_server/releases/20221230082446/public ) INFO [08912d2b] Finished in 0.308 seconds with exit status 0 (successful). DEBUG [f8fefd08] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/log ] as deploy@18.136.197.163 DEBUG [f8fefd08] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/log ] DEBUG [f8fefd08] Finished in 0.172 seconds with exit status 1 (failed). DEBUG [d4d019b1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/log ] as deploy@18.136.197.163 DEBUG [d4d019b1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/log ] DEBUG [d4d019b1] Finished in 0.094 seconds with exit status 0 (successful). INFO [6c35056f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082446/log as deploy@18.136.197.163 DEBUG [6c35056f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082446/log ) INFO [6c35056f] Finished in 0.134 seconds with exit status 0 (successful). INFO [935d2ad9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230082446/log as deploy@18.136.197.163 DEBUG [935d2ad9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230082446/log ) INFO [935d2ad9] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [e710fc97] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids ] as deploy@18.136.197.163 DEBUG [e710fc97] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids ] DEBUG [e710fc97] Finished in 0.129 seconds with exit status 1 (failed). DEBUG [abcf5c43] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids ] as deploy@18.136.197.163 DEBUG [abcf5c43] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids ] DEBUG [abcf5c43] Finished in 0.102 seconds with exit status 0 (successful). INFO [2194690a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids as deploy@18.136.197.163 DEBUG [2194690a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids ) INFO [2194690a] Finished in 0.136 seconds with exit status 0 (successful). INFO [5a41c53e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids as deploy@18.136.197.163 DEBUG [5a41c53e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/pids ) INFO [5a41c53e] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [e2ca5bb8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/cache ] as deploy@18.136.197.163 DEBUG [e2ca5bb8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/cache ] DEBUG [e2ca5bb8] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [f3e79091] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/cache ] as deploy@18.136.197.163 DEBUG [f3e79091] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/cache ] DEBUG [f3e79091] Finished in 0.096 seconds with exit status 1 (failed). INFO [1c3b127c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/cache as deploy@18.136.197.163 DEBUG [1c3b127c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/cache ) INFO [1c3b127c] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [dbf9fa67] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/sockets ] as deploy@18.136.197.163 DEBUG [dbf9fa67] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/sockets ] DEBUG [dbf9fa67] Finished in 0.098 seconds with exit status 1 (failed). DEBUG [fcb5bce9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/sockets ] as deploy@18.136.197.163 DEBUG [fcb5bce9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/sockets ] DEBUG [fcb5bce9] Finished in 0.134 seconds with exit status 1 (failed). INFO [6a1c34e6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/sockets as deploy@18.136.197.163 DEBUG [6a1c34e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230082446/tmp/sockets ) INFO [6a1c34e6] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [621b6e34] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/vendor/bundle ] as deploy@18.136.197.163 DEBUG [621b6e34] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/vendor/bundle ] DEBUG [621b6e34] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [02bbe675] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/vendor/bundle ] as deploy@18.136.197.163 DEBUG [02bbe675] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/vendor/bundle ] DEBUG [02bbe675] Finished in 0.117 seconds with exit status 1 (failed). INFO [16cb9f69] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230082446/vendor/bundle as deploy@18.136.197.163 DEBUG [16cb9f69] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230082446/vendor/bundle ) INFO [16cb9f69] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [76090f6d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/public/system ] as deploy@18.136.197.163 DEBUG [76090f6d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/public/system ] DEBUG [76090f6d] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [7c90397f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/public/system ] as deploy@18.136.197.163 DEBUG [7c90397f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/public/system ] DEBUG [7c90397f] Finished in 0.133 seconds with exit status 1 (failed). INFO [e7114335] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230082446/public/system as deploy@18.136.197.163 DEBUG [e7114335] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230082446/public/system ) INFO [e7114335] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [cccddba6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/public/uploads ] as deploy@18.136.197.163 DEBUG [cccddba6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082446/public/uploads ] DEBUG [cccddba6] Finished in 0.133 seconds with exit status 1 (failed). DEBUG [516b7bd7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/public/uploads ] as deploy@18.136.197.163 DEBUG [516b7bd7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082446/public/uploads ] DEBUG [516b7bd7] Finished in 0.101 seconds with exit status 1 (failed). INFO [d6787d58] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230082446/public/uploads as deploy@18.136.197.163 DEBUG [d6787d58] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230082446/public/uploads ) INFO [d6787d58] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [1f8ed13d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [1f8ed13d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi DEBUG [1f8ed13d] Finished in 0.098 seconds with exit status 0 (successful). INFO [db51cd01] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [db51cd01] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082446 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [db51cd01] Finished in 0.328 seconds with exit status 0 (successful). INFO [fba19f10] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [fba19f10] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082446 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [fba19f10] Finished in 0.286 seconds with exit status 0 (successful). INFO [b72dff27] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [b72dff27] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082446 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [b72dff27] Finished in 0.338 seconds with exit status 0 (successful). DEBUG [5facf0e5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5facf0e5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi DEBUG [5facf0e5] Finished in 0.088 seconds with exit status 0 (successful). DEBUG [95f9b55e] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [95f9b55e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082446 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [95f9b55e] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [95f9b55e] DEBUG [95f9b55e]  DEBUG [95f9b55e] The Gemfile's dependencies are satisfied DEBUG [95f9b55e] DEBUG [95f9b55e] Finished in 0.715 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8c2449b4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8c2449b4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082446; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082446'" 1>&2; false; fi DEBUG [8c2449b4] Finished in 0.087 seconds with exit status 0 (successful). INFO [8db6adbf] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [8db6adbf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082446 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [8db6adbf] Finished in 1.691 seconds with exit status 0 (successful). INFO [025c4ebf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230082446 /home/deploy/apps/aoumi_server/releases/current as deploy@18.136.197.163 DEBUG [025c4ebf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230082446 /home/deploy/apps/aoumi_server/releases/current ) INFO [025c4ebf] Finished in 0.087 seconds with exit status 0 (successful). INFO [6ef20143] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@18.136.197.163 DEBUG [6ef20143] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [6ef20143] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [7cad98b4] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [7cad98b4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [7cad98b4] 20221230074953 DEBUG [7cad98b4] DEBUG [7cad98b4] 20221230075211 DEBUG [7cad98b4] DEBUG [7cad98b4] 20221230080137 DEBUG [7cad98b4] DEBUG [7cad98b4] 20221230081814 DEBUG [7cad98b4] DEBUG [7cad98b4] 20221230081930 DEBUG [7cad98b4] DEBUG [7cad98b4] 20221230082231 DEBUG [7cad98b4] DEBUG [7cad98b4] 20221230082446 DEBUG [7cad98b4] DEBUG [7cad98b4] Finished in 0.116 seconds with exit status 0 (successful). INFO Keeping 5 of 7 deployed releases on 18.136.197.163 DEBUG [a8d980dc] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@18.136.197.163 DEBUG [a8d980dc] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [a8d980dc] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [090e8918] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@18.136.197.163 DEBUG [090e8918] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [090e8918] /home/deploy/apps/aoumi_server/releases/20221230082446 DEBUG [090e8918] DEBUG [090e8918] Finished in 0.098 seconds with exit status 0 (successful). INFO [fb0b0ffe] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074953 /home/deploy/apps/aoumi_server/releases/20221230075211 as deploy@18.136.197.163 DEBUG [fb0b0ffe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230074953 /home/deploy/apps/aoumi_server/releases/20221230075211 ) INFO [fb0b0ffe] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [2c2fe4a3] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [2c2fe4a3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [2c2fe4a3] Finished in 0.097 seconds with exit status 0 (successful). INFO [a3e716c5] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230082446 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@18.136.197.163 DEBUG [a3e716c5] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230082446 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [a3e716c5] Finished in 0.145 seconds with exit status 0 (successful). INFO [1007d313] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@18.136.197.163 DEBUG [1007d313] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [1007d313] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:29:54 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f82cb5b2] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [f82cb5b2] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [f82cb5b2] Finished in 1.036 seconds with exit status 0 (successful). INFO [4eff7447] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [4eff7447] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [4eff7447] Finished in 0.090 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-42447ecad54e2705af4c.sh 0.0% INFO Uploading /tmp/git-ssh-42447ecad54e2705af4c.sh 100.0% INFO [7fc245ca] Running /usr/bin/env chmod 700 /tmp/git-ssh-42447ecad54e2705af4c.sh as deploy@18.136.197.163 DEBUG [7fc245ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-42447ecad54e2705af4c.sh ) INFO [7fc245ca] Finished in 0.101 seconds with exit status 0 (successful). INFO [3066a17c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [3066a17c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-42447ecad54e2705af4c.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [3066a17c] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [3066a17c] Finished in 2.923 seconds with exit status 0 (successful). INFO [3ab2dbcb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [3ab2dbcb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [3ab2dbcb] Finished in 0.092 seconds with exit status 0 (successful). INFO [155a86dc] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [155a86dc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [155a86dc] Finished in 0.090 seconds with exit status 0 (successful). INFO [285bd101] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [285bd101] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [285bd101] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [d6ca86a6] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [d6ca86a6] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [d6ca86a6] Finished in 0.092 seconds with exit status 0 (successful). DEBUG [b5282bd1] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [b5282bd1] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [b5282bd1] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [f29c3893] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [f29c3893] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [f29c3893] Finished in 0.091 seconds with exit status 0 (successful). DEBUG [b9b33161] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [b9b33161] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [b9b33161] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [4a29b493] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [4a29b493] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [4a29b493] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [4a29b493] DEBUG [4a29b493] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [c8149e32] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [c8149e32] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [c8149e32] Finished in 0.133 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [984279ed] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [984279ed] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [984279ed] Finished in 0.097 seconds with exit status 0 (successful). INFO [f0cf75ce] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [f0cf75ce] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-42447ecad54e2705af4c.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f0cf75ce] Finished in 0.136 seconds with exit status 0 (successful). INFO [8ac42b07] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [8ac42b07] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-42447ecad54e2705af4c.sh" ; /usr/bin/env git remote update --prune ) DEBUG [8ac42b07] Fetching origin DEBUG [8ac42b07] INFO [8ac42b07] Finished in 3.757 seconds with exit status 0 (successful). DEBUG [4a584daa] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4a584daa] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [4a584daa] Finished in 0.088 seconds with exit status 0 (successful). INFO [f3c1ac08] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082959 as deploy@18.136.197.163 DEBUG [f3c1ac08] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-42447ecad54e2705af4c.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082959 ) INFO [f3c1ac08] Finished in 0.098 seconds with exit status 0 (successful). INFO [5290e501] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230082959 as deploy@18.136.197.163 DEBUG [5290e501] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-42447ecad54e2705af4c.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230082959 ) INFO [5290e501] Finished in 0.197 seconds with exit status 0 (successful). DEBUG [83b83cfd] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [83b83cfd] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [83b83cfd] Finished in 0.090 seconds with exit status 0 (successful). DEBUG [808c5f04] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [808c5f04] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-42447ecad54e2705af4c.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [808c5f04] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [808c5f04] DEBUG [808c5f04] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [976de169] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [976de169] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi DEBUG [976de169] Finished in 0.093 seconds with exit status 0 (successful). INFO [7ad5bae3] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [7ad5bae3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082959 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [7ad5bae3] Finished in 0.138 seconds with exit status 0 (successful). INFO [f53084d1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082959 /home/deploy/apps/aoumi_server/releases/20221230082959/config as deploy@18.136.197.163 DEBUG [f53084d1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082959 /home/deploy/apps/aoumi_server/releases/20221230082959/config ) INFO [f53084d1] Finished in 0.091 seconds with exit status 0 (successful). DEBUG [5faa3ccf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/.env ] as deploy@18.136.197.163 DEBUG [5faa3ccf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/.env ] DEBUG [5faa3ccf] Finished in 0.138 seconds with exit status 1 (failed). DEBUG [331d3655] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230082959/.env ] as deploy@18.136.197.163 DEBUG [331d3655] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230082959/.env ] DEBUG [331d3655] Finished in 0.097 seconds with exit status 0 (successful). INFO [d1f17ab1] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230082959/.env as deploy@18.136.197.163 DEBUG [d1f17ab1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230082959/.env ) INFO [d1f17ab1] Finished in 0.138 seconds with exit status 0 (successful). INFO [86533bfc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230082959/.env as deploy@18.136.197.163 DEBUG [86533bfc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230082959/.env ) INFO [86533bfc] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [d7d5fc76] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/config/application.yml ] as deploy@18.136.197.163 DEBUG [d7d5fc76] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/config/application.yml ] DEBUG [d7d5fc76] Finished in 0.133 seconds with exit status 1 (failed). DEBUG [03bf5eda] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230082959/config/application.yml ] as deploy@18.136.197.163 DEBUG [03bf5eda] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230082959/config/application.yml ] DEBUG [03bf5eda] Finished in 0.096 seconds with exit status 1 (failed). INFO [1a53ec1a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230082959/config/application.yml as deploy@18.136.197.163 DEBUG [1a53ec1a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230082959/config/application.yml ) INFO [1a53ec1a] Finished in 0.138 seconds with exit status 0 (successful). INFO [8aa49838] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082959 /home/deploy/apps/aoumi_server/releases/20221230082959/tmp /home/deploy/apps/aoumi_server/releases/20221230082959/vendor /home/deploy/apps/aoumi_server/releases/20221230082959/public as deploy@18.136.197.163 DEBUG [8aa49838] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230082959 /home/deploy/apps/aoumi_server/releases/20221230082959/tmp /home/deploy/apps/aoumi_server/releases/20221230082959/vendor /home/deploy/apps/aoumi_server/releases/20221230082959/public ) INFO [8aa49838] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [36f33a0b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/log ] as deploy@18.136.197.163 DEBUG [36f33a0b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/log ] DEBUG [36f33a0b] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [07f02826] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/log ] as deploy@18.136.197.163 DEBUG [07f02826] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/log ] DEBUG [07f02826] Finished in 0.097 seconds with exit status 0 (successful). INFO [4488c9d2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082959/log as deploy@18.136.197.163 DEBUG [4488c9d2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082959/log ) INFO [4488c9d2] Finished in 0.148 seconds with exit status 0 (successful). INFO [a812fca0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230082959/log as deploy@18.136.197.163 DEBUG [a812fca0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230082959/log ) INFO [a812fca0] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [175a4818] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids ] as deploy@18.136.197.163 DEBUG [175a4818] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids ] DEBUG [175a4818] Finished in 0.131 seconds with exit status 1 (failed). DEBUG [51778c47] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids ] as deploy@18.136.197.163 DEBUG [51778c47] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids ] DEBUG [51778c47] Finished in 0.091 seconds with exit status 0 (successful). INFO [38553a70] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids as deploy@18.136.197.163 DEBUG [38553a70] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids ) INFO [38553a70] Finished in 0.137 seconds with exit status 0 (successful). INFO [f9620be7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids as deploy@18.136.197.163 DEBUG [f9620be7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/pids ) INFO [f9620be7] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [3b9c8f7d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/cache ] as deploy@18.136.197.163 DEBUG [3b9c8f7d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/cache ] DEBUG [3b9c8f7d] Finished in 0.133 seconds with exit status 1 (failed). DEBUG [90b15d17] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/cache ] as deploy@18.136.197.163 DEBUG [90b15d17] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/cache ] DEBUG [90b15d17] Finished in 0.099 seconds with exit status 1 (failed). INFO [a6d5c5ca] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/cache as deploy@18.136.197.163 DEBUG [a6d5c5ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/cache ) INFO [a6d5c5ca] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [8d4a9dac] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/sockets ] as deploy@18.136.197.163 DEBUG [8d4a9dac] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/sockets ] DEBUG [8d4a9dac] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [14a8dcb7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/sockets ] as deploy@18.136.197.163 DEBUG [14a8dcb7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/sockets ] DEBUG [14a8dcb7] Finished in 0.131 seconds with exit status 1 (failed). INFO [8ce49ec5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/sockets as deploy@18.136.197.163 DEBUG [8ce49ec5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230082959/tmp/sockets ) INFO [8ce49ec5] Finished in 0.096 seconds with exit status 0 (successful). DEBUG [8bed8089] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/vendor/bundle ] as deploy@18.136.197.163 DEBUG [8bed8089] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/vendor/bundle ] DEBUG [8bed8089] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [b1be943f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/vendor/bundle ] as deploy@18.136.197.163 DEBUG [b1be943f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/vendor/bundle ] DEBUG [b1be943f] Finished in 0.099 seconds with exit status 1 (failed). INFO [5efb9ce5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230082959/vendor/bundle as deploy@18.136.197.163 DEBUG [5efb9ce5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230082959/vendor/bundle ) INFO [5efb9ce5] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [0669acf4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/public/system ] as deploy@18.136.197.163 DEBUG [0669acf4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/public/system ] DEBUG [0669acf4] Finished in 0.086 seconds with exit status 1 (failed). DEBUG [05611b53] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/public/system ] as deploy@18.136.197.163 DEBUG [05611b53] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/public/system ] DEBUG [05611b53] Finished in 0.132 seconds with exit status 1 (failed). INFO [a8b334f6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230082959/public/system as deploy@18.136.197.163 DEBUG [a8b334f6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230082959/public/system ) INFO [a8b334f6] Finished in 0.117 seconds with exit status 0 (successful). DEBUG [2abf1535] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/public/uploads ] as deploy@18.136.197.163 DEBUG [2abf1535] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230082959/public/uploads ] DEBUG [2abf1535] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [d9e149ad] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/public/uploads ] as deploy@18.136.197.163 DEBUG [d9e149ad] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230082959/public/uploads ] DEBUG [d9e149ad] Finished in 0.101 seconds with exit status 1 (failed). INFO [4e158016] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230082959/public/uploads as deploy@18.136.197.163 DEBUG [4e158016] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230082959/public/uploads ) INFO [4e158016] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [f6fd79e9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f6fd79e9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi DEBUG [f6fd79e9] Finished in 0.089 seconds with exit status 0 (successful). INFO [a776e297] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [a776e297] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082959 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [a776e297] Finished in 0.347 seconds with exit status 0 (successful). INFO [1c5c0dab] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [1c5c0dab] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082959 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [1c5c0dab] Finished in 0.435 seconds with exit status 0 (successful). INFO [9924cffe] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [9924cffe] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082959 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [9924cffe] Finished in 0.510 seconds with exit status 0 (successful). DEBUG [bdca0e7d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [bdca0e7d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi DEBUG [bdca0e7d] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [1d18ba05] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [1d18ba05] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082959 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [1d18ba05] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [1d18ba05] DEBUG [1d18ba05]  DEBUG [1d18ba05] The Gemfile's dependencies are satisfied DEBUG [1d18ba05] DEBUG [1d18ba05] Finished in 0.830 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [7f31649c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [7f31649c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230082959; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230082959'" 1>&2; false; fi DEBUG [7f31649c] Finished in 0.094 seconds with exit status 0 (successful). INFO [c4e499a1] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [c4e499a1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230082959 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [c4e499a1] Finished in 1.734 seconds with exit status 0 (successful). INFO [6b3dbc73] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230082959 /home/deploy/apps/aoumi_server/releases/current as deploy@18.136.197.163 DEBUG [6b3dbc73] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230082959 /home/deploy/apps/aoumi_server/releases/current ) INFO [6b3dbc73] Finished in 0.090 seconds with exit status 0 (successful). INFO [e4864ac1] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@18.136.197.163 DEBUG [e4864ac1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [e4864ac1] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [0cc61331] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [0cc61331] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [0cc61331] 20221230080137 DEBUG [0cc61331] DEBUG [0cc61331] 20221230081814 DEBUG [0cc61331] DEBUG [0cc61331] 20221230081930 DEBUG [0cc61331] DEBUG [0cc61331] 20221230082231 DEBUG [0cc61331] DEBUG [0cc61331] 20221230082446 DEBUG [0cc61331] DEBUG [0cc61331] 20221230082959 DEBUG [0cc61331] DEBUG [0cc61331] Finished in 0.119 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 18.136.197.163 DEBUG [c4a2df2a] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@18.136.197.163 DEBUG [c4a2df2a] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [c4a2df2a] Finished in 0.128 seconds with exit status 0 (successful). DEBUG [df6e9525] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@18.136.197.163 DEBUG [df6e9525] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [df6e9525] /home/deploy/apps/aoumi_server/releases/20221230082959 DEBUG [df6e9525] DEBUG [df6e9525] Finished in 0.095 seconds with exit status 0 (successful). INFO [3a2179fc] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230080137 as deploy@18.136.197.163 DEBUG [3a2179fc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230080137 ) INFO [3a2179fc] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [1abfc460] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [1abfc460] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [1abfc460] Finished in 0.090 seconds with exit status 0 (successful). INFO [70660c38] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230082959 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@18.136.197.163 DEBUG [70660c38] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230082959 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [70660c38] Finished in 0.141 seconds with exit status 0 (successful). INFO [f4fc9f41] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@18.136.197.163 DEBUG [f4fc9f41] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [f4fc9f41] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:31:09 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [30e78789] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [30e78789] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [30e78789] Finished in 0.967 seconds with exit status 0 (successful). INFO [a25fb6fe] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [a25fb6fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [a25fb6fe] Finished in 0.086 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-29060b6ff5feb6f028be.sh 0.0% INFO Uploading /tmp/git-ssh-29060b6ff5feb6f028be.sh 100.0% INFO [f2084d97] Running /usr/bin/env chmod 700 /tmp/git-ssh-29060b6ff5feb6f028be.sh as deploy@18.136.197.163 DEBUG [f2084d97] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-29060b6ff5feb6f028be.sh ) INFO [f2084d97] Finished in 0.094 seconds with exit status 0 (successful). INFO [f6b17857] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [f6b17857] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-29060b6ff5feb6f028be.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [f6b17857] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [f6b17857] HEAD INFO [f6b17857] Finished in 2.811 seconds with exit status 0 (successful). INFO [33aba673] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [33aba673] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [33aba673] Finished in 0.091 seconds with exit status 0 (successful). INFO [6162836d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [6162836d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [6162836d] Finished in 0.094 seconds with exit status 0 (successful). INFO [918234ce] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [918234ce] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [918234ce] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [05567772] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [05567772] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [05567772] Finished in 0.085 seconds with exit status 0 (successful). DEBUG [d5a0cea9] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [d5a0cea9] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [d5a0cea9] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [b50a9a21] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [b50a9a21] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [b50a9a21] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [5392faf5] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [5392faf5] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [5392faf5] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [b04dbf85] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [b04dbf85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [b04dbf85] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [b04dbf85] DEBUG [b04dbf85] Finished in 0.093 seconds with exit status 0 (successful). DEBUG [56f9f0c5] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [56f9f0c5] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [56f9f0c5] Finished in 0.133 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [20c25dc7] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [20c25dc7] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [20c25dc7] Finished in 0.091 seconds with exit status 0 (successful). INFO [babeda4a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [babeda4a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-29060b6ff5feb6f028be.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [babeda4a] Finished in 0.134 seconds with exit status 0 (successful). INFO [b1ba16b8] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [b1ba16b8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-29060b6ff5feb6f028be.sh" ; /usr/bin/env git remote update --prune ) DEBUG [b1ba16b8] Fetching origin DEBUG [b1ba16b8] INFO [b1ba16b8] Finished in 2.831 seconds with exit status 0 (successful). DEBUG [957c7983] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [957c7983] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [957c7983] Finished in 0.093 seconds with exit status 0 (successful). INFO [96fddb52] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083114 as deploy@18.136.197.163 DEBUG [96fddb52] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-29060b6ff5feb6f028be.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083114 ) INFO [96fddb52] Finished in 0.141 seconds with exit status 0 (successful). INFO [ed140e3f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230083114 as deploy@18.136.197.163 DEBUG [ed140e3f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-29060b6ff5feb6f028be.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230083114 ) INFO [ed140e3f] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [c29f9c90] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [c29f9c90] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c29f9c90] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [98ce4729] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [98ce4729] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-29060b6ff5feb6f028be.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [98ce4729] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [98ce4729] DEBUG [98ce4729] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [75f9e13b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [75f9e13b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi DEBUG [75f9e13b] Finished in 0.134 seconds with exit status 0 (successful). INFO [2a1709d4] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [2a1709d4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083114 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [2a1709d4] Finished in 0.102 seconds with exit status 0 (successful). INFO [ee2d0750] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083114 /home/deploy/apps/aoumi_server/releases/20221230083114/config as deploy@18.136.197.163 DEBUG [ee2d0750] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083114 /home/deploy/apps/aoumi_server/releases/20221230083114/config ) INFO [ee2d0750] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [55a96074] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/.env ] as deploy@18.136.197.163 DEBUG [55a96074] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/.env ] DEBUG [55a96074] Finished in 0.096 seconds with exit status 1 (failed). DEBUG [6075db6f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230083114/.env ] as deploy@18.136.197.163 DEBUG [6075db6f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230083114/.env ] DEBUG [6075db6f] Finished in 0.130 seconds with exit status 0 (successful). INFO [f06b4685] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230083114/.env as deploy@18.136.197.163 DEBUG [f06b4685] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230083114/.env ) INFO [f06b4685] Finished in 0.092 seconds with exit status 0 (successful). INFO [35fe5301] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230083114/.env as deploy@18.136.197.163 DEBUG [35fe5301] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230083114/.env ) INFO [35fe5301] Finished in 0.156 seconds with exit status 0 (successful). DEBUG [5f6f1789] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/config/application.yml ] as deploy@18.136.197.163 DEBUG [5f6f1789] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/config/application.yml ] DEBUG [5f6f1789] Finished in 0.089 seconds with exit status 1 (failed). DEBUG [2da19d7c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230083114/config/application.yml ] as deploy@18.136.197.163 DEBUG [2da19d7c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230083114/config/application.yml ] DEBUG [2da19d7c] Finished in 0.140 seconds with exit status 1 (failed). INFO [61b85970] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230083114/config/application.yml as deploy@18.136.197.163 DEBUG [61b85970] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230083114/config/application.yml ) INFO [61b85970] Finished in 0.091 seconds with exit status 0 (successful). INFO [0189dab4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083114 /home/deploy/apps/aoumi_server/releases/20221230083114/tmp /home/deploy/apps/aoumi_server/releases/20221230083114/vendor /home/deploy/apps/aoumi_server/releases/20221230083114/public as deploy@18.136.197.163 DEBUG [0189dab4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083114 /home/deploy/apps/aoumi_server/releases/20221230083114/tmp /home/deploy/apps/aoumi_server/releases/20221230083114/vendor /home/deploy/apps/aoumi_server/releases/20221230083114/public ) INFO [0189dab4] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [4d16f99b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/log ] as deploy@18.136.197.163 DEBUG [4d16f99b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/log ] DEBUG [4d16f99b] Finished in 0.087 seconds with exit status 1 (failed). DEBUG [f3b74e49] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/log ] as deploy@18.136.197.163 DEBUG [f3b74e49] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/log ] DEBUG [f3b74e49] Finished in 0.131 seconds with exit status 0 (successful). INFO [d3d43ae2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083114/log as deploy@18.136.197.163 DEBUG [d3d43ae2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083114/log ) INFO [d3d43ae2] Finished in 0.094 seconds with exit status 0 (successful). INFO [d370f354] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230083114/log as deploy@18.136.197.163 DEBUG [d370f354] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230083114/log ) INFO [d370f354] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [f528f9cb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids ] as deploy@18.136.197.163 DEBUG [f528f9cb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids ] DEBUG [f528f9cb] Finished in 0.097 seconds with exit status 1 (failed). DEBUG [fdfd08cc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids ] as deploy@18.136.197.163 DEBUG [fdfd08cc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids ] DEBUG [fdfd08cc] Finished in 0.137 seconds with exit status 0 (successful). INFO [9671fbf4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids as deploy@18.136.197.163 DEBUG [9671fbf4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids ) INFO [9671fbf4] Finished in 0.101 seconds with exit status 0 (successful). INFO [832e4d9c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids as deploy@18.136.197.163 DEBUG [832e4d9c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/pids ) INFO [832e4d9c] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [494eed43] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/cache ] as deploy@18.136.197.163 DEBUG [494eed43] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/cache ] DEBUG [494eed43] Finished in 0.090 seconds with exit status 1 (failed). DEBUG [20e8903d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/cache ] as deploy@18.136.197.163 DEBUG [20e8903d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/cache ] DEBUG [20e8903d] Finished in 0.147 seconds with exit status 1 (failed). INFO [29e951e0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/cache as deploy@18.136.197.163 DEBUG [29e951e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/cache ) INFO [29e951e0] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [14a378b8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/sockets ] as deploy@18.136.197.163 DEBUG [14a378b8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/sockets ] DEBUG [14a378b8] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [1b422089] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/sockets ] as deploy@18.136.197.163 DEBUG [1b422089] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/sockets ] DEBUG [1b422089] Finished in 0.103 seconds with exit status 1 (failed). INFO [b622a83d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/sockets as deploy@18.136.197.163 DEBUG [b622a83d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230083114/tmp/sockets ) INFO [b622a83d] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [c8106b9d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/vendor/bundle ] as deploy@18.136.197.163 DEBUG [c8106b9d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/vendor/bundle ] DEBUG [c8106b9d] Finished in 0.098 seconds with exit status 1 (failed). DEBUG [ca1df64f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/vendor/bundle ] as deploy@18.136.197.163 DEBUG [ca1df64f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/vendor/bundle ] DEBUG [ca1df64f] Finished in 0.135 seconds with exit status 1 (failed). INFO [41d561f7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230083114/vendor/bundle as deploy@18.136.197.163 DEBUG [41d561f7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230083114/vendor/bundle ) INFO [41d561f7] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [4493f223] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/public/system ] as deploy@18.136.197.163 DEBUG [4493f223] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/public/system ] DEBUG [4493f223] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [9d7ce605] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/public/system ] as deploy@18.136.197.163 DEBUG [9d7ce605] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/public/system ] DEBUG [9d7ce605] Finished in 0.091 seconds with exit status 1 (failed). INFO [3b14546e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230083114/public/system as deploy@18.136.197.163 DEBUG [3b14546e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230083114/public/system ) INFO [3b14546e] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [206a8cae] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/public/uploads ] as deploy@18.136.197.163 DEBUG [206a8cae] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083114/public/uploads ] DEBUG [206a8cae] Finished in 0.093 seconds with exit status 1 (failed). DEBUG [be35602b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/public/uploads ] as deploy@18.136.197.163 DEBUG [be35602b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083114/public/uploads ] DEBUG [be35602b] Finished in 0.131 seconds with exit status 1 (failed). INFO [51a2df00] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230083114/public/uploads as deploy@18.136.197.163 DEBUG [51a2df00] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230083114/public/uploads ) INFO [51a2df00] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [d5e3b676] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [d5e3b676] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi DEBUG [d5e3b676] Finished in 0.129 seconds with exit status 0 (successful). INFO [b1cd28de] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [b1cd28de] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083114 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [b1cd28de] Finished in 0.284 seconds with exit status 0 (successful). INFO [bc68c486] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [bc68c486] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083114 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [bc68c486] Finished in 0.489 seconds with exit status 0 (successful). INFO [95bfe817] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [95bfe817] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083114 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [95bfe817] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [4b26e62e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [4b26e62e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi DEBUG [4b26e62e] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [e48a3abb] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [e48a3abb] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083114 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [e48a3abb] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [e48a3abb] DEBUG [e48a3abb]  DEBUG [e48a3abb] The Gemfile's dependencies are satisfied DEBUG [e48a3abb] DEBUG [e48a3abb] Finished in 0.577 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [50a02edf] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [50a02edf] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083114; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083114'" 1>&2; false; fi DEBUG [50a02edf] Finished in 0.140 seconds with exit status 0 (successful). INFO [f0848974] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [f0848974] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083114 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [f0848974] Finished in 1.582 seconds with exit status 0 (successful). INFO [df619fd9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230083114 /home/deploy/apps/aoumi_server/releases/current as deploy@18.136.197.163 DEBUG [df619fd9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230083114 /home/deploy/apps/aoumi_server/releases/current ) INFO [df619fd9] Finished in 0.341 seconds with exit status 0 (successful). INFO [33e6a278] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@18.136.197.163 DEBUG [33e6a278] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [33e6a278] Finished in 0.316 seconds with exit status 0 (successful). DEBUG [1d6926a2] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [1d6926a2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [1d6926a2] 20221230081814 DEBUG [1d6926a2] DEBUG [1d6926a2] 20221230081930 DEBUG [1d6926a2] DEBUG [1d6926a2] 20221230082231 DEBUG [1d6926a2] DEBUG [1d6926a2] 20221230082446 DEBUG [1d6926a2] DEBUG [1d6926a2] 20221230082959 DEBUG [1d6926a2] DEBUG [1d6926a2] 20221230083114 DEBUG [1d6926a2] DEBUG [1d6926a2] Finished in 0.355 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 18.136.197.163 DEBUG [ff235025] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@18.136.197.163 DEBUG [ff235025] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [ff235025] Finished in 0.364 seconds with exit status 0 (successful). DEBUG [d4e04bdb] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@18.136.197.163 DEBUG [d4e04bdb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [d4e04bdb] /home/deploy/apps/aoumi_server/releases/20221230083114 DEBUG [d4e04bdb] DEBUG [d4e04bdb] Finished in 0.205 seconds with exit status 0 (successful). INFO [bae98f7a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081814 as deploy@18.136.197.163 DEBUG [bae98f7a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081814 ) INFO [bae98f7a] Finished in 0.168 seconds with exit status 0 (successful). DEBUG [ac6d1e83] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [ac6d1e83] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [ac6d1e83] Finished in 0.094 seconds with exit status 0 (successful). INFO [48850667] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230083114 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@18.136.197.163 DEBUG [48850667] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230083114 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [48850667] Finished in 0.151 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 15:35:18 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [caebead0] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [caebead0] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [caebead0] Finished in 0.994 seconds with exit status 0 (successful). INFO [7b534fbe] Running /usr/bin/env mkdir -p /tmp as deploy@18.136.197.163 DEBUG [7b534fbe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [7b534fbe] Finished in 0.169 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-dd9411b20a5b4f21a997.sh 0.0% INFO Uploading /tmp/git-ssh-dd9411b20a5b4f21a997.sh 100.0% INFO [73c2ba55] Running /usr/bin/env chmod 700 /tmp/git-ssh-dd9411b20a5b4f21a997.sh as deploy@18.136.197.163 DEBUG [73c2ba55] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-dd9411b20a5b4f21a997.sh ) INFO [73c2ba55] Finished in 0.150 seconds with exit status 0 (successful). INFO [8e76848a] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@18.136.197.163 DEBUG [8e76848a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd9411b20a5b4f21a997.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [8e76848a] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [8e76848a] Finished in 3.018 seconds with exit status 0 (successful). INFO [385d8050] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [385d8050] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [385d8050] Finished in 0.093 seconds with exit status 0 (successful). INFO [3d652fdc] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@18.136.197.163 DEBUG [3d652fdc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [3d652fdc] Finished in 0.158 seconds with exit status 0 (successful). INFO [8684ab81] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@18.136.197.163 DEBUG [8684ab81] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [8684ab81] Finished in 0.211 seconds with exit status 0 (successful). DEBUG [3a754abd] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@18.136.197.163 DEBUG [3a754abd] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [3a754abd] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [7f85baae] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@18.136.197.163 DEBUG [7f85baae] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [7f85baae] Finished in 0.204 seconds with exit status 0 (successful). DEBUG [be6049e9] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@18.136.197.163 DEBUG [be6049e9] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [be6049e9] Finished in 0.131 seconds with exit status 0 (successful). DEBUG [c7b264ee] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@18.136.197.163 DEBUG [c7b264ee] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [c7b264ee] Finished in 0.234 seconds with exit status 0 (successful). DEBUG [dcd4d5b3] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@18.136.197.163 DEBUG [dcd4d5b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [dcd4d5b3] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [dcd4d5b3] DEBUG [dcd4d5b3] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [0487be5f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@18.136.197.163 DEBUG [0487be5f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [0487be5f] Finished in 0.201 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5228e6e9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [5228e6e9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5228e6e9] Finished in 0.176 seconds with exit status 0 (successful). INFO [90a7a3da] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@18.136.197.163 DEBUG [90a7a3da] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd9411b20a5b4f21a997.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [90a7a3da] Finished in 0.184 seconds with exit status 0 (successful). INFO [cac2bb0e] Running /usr/bin/env git remote update --prune as deploy@18.136.197.163 DEBUG [cac2bb0e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd9411b20a5b4f21a997.sh" ; /usr/bin/env git remote update --prune ) DEBUG [cac2bb0e] Fetching origin DEBUG [cac2bb0e] INFO [cac2bb0e] Finished in 2.903 seconds with exit status 0 (successful). DEBUG [46149495] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [46149495] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [46149495] Finished in 0.096 seconds with exit status 0 (successful). INFO [b69a40f3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083524 as deploy@18.136.197.163 DEBUG [b69a40f3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd9411b20a5b4f21a997.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083524 ) INFO [b69a40f3] Finished in 0.148 seconds with exit status 0 (successful). INFO [12ddc7e9] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230083524 as deploy@18.136.197.163 DEBUG [12ddc7e9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd9411b20a5b4f21a997.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230083524 ) INFO [12ddc7e9] Finished in 0.304 seconds with exit status 0 (successful). DEBUG [cefba598] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [cefba598] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [cefba598] Finished in 0.117 seconds with exit status 0 (successful). DEBUG [d7a55d8e] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@18.136.197.163 DEBUG [d7a55d8e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd9411b20a5b4f21a997.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d7a55d8e] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [d7a55d8e] DEBUG [d7a55d8e] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [6180eb85] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [6180eb85] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi DEBUG [6180eb85] Finished in 0.162 seconds with exit status 0 (successful). INFO [9bec8300] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@18.136.197.163 DEBUG [9bec8300] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083524 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [9bec8300] Finished in 0.177 seconds with exit status 0 (successful). INFO [c369f204] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083524 /home/deploy/apps/aoumi_server/releases/20221230083524/config as deploy@18.136.197.163 DEBUG [c369f204] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083524 /home/deploy/apps/aoumi_server/releases/20221230083524/config ) INFO [c369f204] Finished in 0.182 seconds with exit status 0 (successful). DEBUG [0001a9af] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/.env ] as deploy@18.136.197.163 DEBUG [0001a9af] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/.env ] DEBUG [0001a9af] Finished in 0.216 seconds with exit status 1 (failed). DEBUG [17eb4a10] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230083524/.env ] as deploy@18.136.197.163 DEBUG [17eb4a10] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230083524/.env ] DEBUG [17eb4a10] Finished in 0.148 seconds with exit status 0 (successful). INFO [84993ed7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230083524/.env as deploy@18.136.197.163 DEBUG [84993ed7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230083524/.env ) INFO [84993ed7] Finished in 0.159 seconds with exit status 0 (successful). INFO [e098c037] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230083524/.env as deploy@18.136.197.163 DEBUG [e098c037] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230083524/.env ) INFO [e098c037] Finished in 0.127 seconds with exit status 0 (successful). DEBUG [a0c10805] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/config/application.yml ] as deploy@18.136.197.163 DEBUG [a0c10805] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/config/application.yml ] DEBUG [a0c10805] Finished in 0.178 seconds with exit status 1 (failed). DEBUG [a63aacae] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230083524/config/application.yml ] as deploy@18.136.197.163 DEBUG [a63aacae] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230083524/config/application.yml ] DEBUG [a63aacae] Finished in 0.152 seconds with exit status 1 (failed). INFO [b13e6275] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230083524/config/application.yml as deploy@18.136.197.163 DEBUG [b13e6275] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/application.yml /home/deploy/apps/aoumi_server/releases/20221230083524/config/application.yml ) INFO [b13e6275] Finished in 0.156 seconds with exit status 0 (successful). INFO [40a77a60] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083524 /home/deploy/apps/aoumi_server/releases/20221230083524/tmp /home/deploy/apps/aoumi_server/releases/20221230083524/vendor /home/deploy/apps/aoumi_server/releases/20221230083524/public as deploy@18.136.197.163 DEBUG [40a77a60] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230083524 /home/deploy/apps/aoumi_server/releases/20221230083524/tmp /home/deploy/apps/aoumi_server/releases/20221230083524/vendor /home/deploy/apps/aoumi_server/releases/20221230083524/public ) INFO [40a77a60] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [7f88dbc7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/log ] as deploy@18.136.197.163 DEBUG [7f88dbc7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/log ] DEBUG [7f88dbc7] Finished in 0.175 seconds with exit status 1 (failed). DEBUG [4d42c8ad] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/log ] as deploy@18.136.197.163 DEBUG [4d42c8ad] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/log ] DEBUG [4d42c8ad] Finished in 0.135 seconds with exit status 0 (successful). INFO [e642be48] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083524/log as deploy@18.136.197.163 DEBUG [e642be48] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083524/log ) INFO [e642be48] Finished in 0.164 seconds with exit status 0 (successful). INFO [53676d37] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230083524/log as deploy@18.136.197.163 DEBUG [53676d37] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230083524/log ) INFO [53676d37] Finished in 0.185 seconds with exit status 0 (successful). DEBUG [93d15367] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids ] as deploy@18.136.197.163 DEBUG [93d15367] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids ] DEBUG [93d15367] Finished in 0.167 seconds with exit status 1 (failed). DEBUG [98b989f6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids ] as deploy@18.136.197.163 DEBUG [98b989f6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids ] DEBUG [98b989f6] Finished in 0.118 seconds with exit status 0 (successful). INFO [d39e6bf8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids as deploy@18.136.197.163 DEBUG [d39e6bf8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids ) INFO [d39e6bf8] Finished in 0.158 seconds with exit status 0 (successful). INFO [d488210e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids as deploy@18.136.197.163 DEBUG [d488210e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/pids ) INFO [d488210e] Finished in 0.120 seconds with exit status 0 (successful). DEBUG [d78df0cd] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/cache ] as deploy@18.136.197.163 DEBUG [d78df0cd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/cache ] DEBUG [d78df0cd] Finished in 0.164 seconds with exit status 1 (failed). DEBUG [1a57bc11] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/cache ] as deploy@18.136.197.163 DEBUG [1a57bc11] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/cache ] DEBUG [1a57bc11] Finished in 0.108 seconds with exit status 1 (failed). INFO [e4a5a96d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/cache as deploy@18.136.197.163 DEBUG [e4a5a96d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/cache ) INFO [e4a5a96d] Finished in 0.162 seconds with exit status 0 (successful). DEBUG [4ed53632] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/sockets ] as deploy@18.136.197.163 DEBUG [4ed53632] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/sockets ] DEBUG [4ed53632] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [b51b10a7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/sockets ] as deploy@18.136.197.163 DEBUG [b51b10a7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/sockets ] DEBUG [b51b10a7] Finished in 0.178 seconds with exit status 1 (failed). INFO [15cda2e5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/sockets as deploy@18.136.197.163 DEBUG [15cda2e5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230083524/tmp/sockets ) INFO [15cda2e5] Finished in 0.123 seconds with exit status 0 (successful). DEBUG [bfb82f7c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/vendor/bundle ] as deploy@18.136.197.163 DEBUG [bfb82f7c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/vendor/bundle ] DEBUG [bfb82f7c] Finished in 0.160 seconds with exit status 1 (failed). DEBUG [25b720ee] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/vendor/bundle ] as deploy@18.136.197.163 DEBUG [25b720ee] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/vendor/bundle ] DEBUG [25b720ee] Finished in 0.131 seconds with exit status 1 (failed). INFO [824a948e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230083524/vendor/bundle as deploy@18.136.197.163 DEBUG [824a948e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230083524/vendor/bundle ) INFO [824a948e] Finished in 0.172 seconds with exit status 0 (successful). DEBUG [342a035f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/public/system ] as deploy@18.136.197.163 DEBUG [342a035f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/public/system ] DEBUG [342a035f] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [fd11e195] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/public/system ] as deploy@18.136.197.163 DEBUG [fd11e195] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/public/system ] DEBUG [fd11e195] Finished in 0.154 seconds with exit status 1 (failed). INFO [2ddd4da3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230083524/public/system as deploy@18.136.197.163 DEBUG [2ddd4da3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230083524/public/system ) INFO [2ddd4da3] Finished in 0.115 seconds with exit status 0 (successful). DEBUG [305ce8fb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/public/uploads ] as deploy@18.136.197.163 DEBUG [305ce8fb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230083524/public/uploads ] DEBUG [305ce8fb] Finished in 0.165 seconds with exit status 1 (failed). DEBUG [02f8075e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/public/uploads ] as deploy@18.136.197.163 DEBUG [02f8075e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230083524/public/uploads ] DEBUG [02f8075e] Finished in 0.115 seconds with exit status 1 (failed). INFO [78c47e89] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230083524/public/uploads as deploy@18.136.197.163 DEBUG [78c47e89] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230083524/public/uploads ) INFO [78c47e89] Finished in 0.242 seconds with exit status 0 (successful). DEBUG [91ed90dc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [91ed90dc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi DEBUG [91ed90dc] Finished in 0.133 seconds with exit status 0 (successful). INFO [8180bbcf] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@18.136.197.163 DEBUG [8180bbcf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083524 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [8180bbcf] Finished in 0.508 seconds with exit status 0 (successful). INFO [e73745e4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@18.136.197.163 DEBUG [e73745e4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083524 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [e73745e4] Finished in 0.516 seconds with exit status 0 (successful). INFO [1539d9ed] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@18.136.197.163 DEBUG [1539d9ed] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083524 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [1539d9ed] Finished in 0.374 seconds with exit status 0 (successful). DEBUG [f37dd0d8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [f37dd0d8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi DEBUG [f37dd0d8] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [9c61cc74] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@18.136.197.163 DEBUG [9c61cc74] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083524 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [9c61cc74] Warning: the running version of Bundler (2.2.3) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`. DEBUG [9c61cc74] DEBUG [9c61cc74]  DEBUG [9c61cc74] The Gemfile's dependencies are satisfied DEBUG [9c61cc74] DEBUG [9c61cc74] Finished in 0.783 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8ddcfe5c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [8ddcfe5c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230083524; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230083524'" 1>&2; false; fi DEBUG [8ddcfe5c] Finished in 0.142 seconds with exit status 0 (successful). INFO [e2b389da] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@18.136.197.163 DEBUG [e2b389da] Command: cd /home/deploy/apps/aoumi_server/releases/20221230083524 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [e2b389da] Finished in 1.685 seconds with exit status 0 (successful). INFO [0c0eda09] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230083524 /home/deploy/apps/aoumi_server/releases/current as deploy@18.136.197.163 DEBUG [0c0eda09] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230083524 /home/deploy/apps/aoumi_server/releases/current ) INFO [0c0eda09] Finished in 0.153 seconds with exit status 0 (successful). INFO [d419fbc1] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@18.136.197.163 DEBUG [d419fbc1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [d419fbc1] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [ec94c02b] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@18.136.197.163 DEBUG [ec94c02b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [ec94c02b] 20221230081930 DEBUG [ec94c02b] DEBUG [ec94c02b] 20221230082231 DEBUG [ec94c02b] DEBUG [ec94c02b] 20221230082446 DEBUG [ec94c02b] DEBUG [ec94c02b] 20221230082959 DEBUG [ec94c02b] DEBUG [ec94c02b] 20221230083114 DEBUG [ec94c02b] DEBUG [ec94c02b] 20221230083524 DEBUG [ec94c02b] DEBUG [ec94c02b] Finished in 0.140 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 18.136.197.163 DEBUG [6d724a6b] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@18.136.197.163 DEBUG [6d724a6b] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [6d724a6b] Finished in 0.194 seconds with exit status 0 (successful). DEBUG [d4daa847] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@18.136.197.163 DEBUG [d4daa847] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [d4daa847] /home/deploy/apps/aoumi_server/releases/20221230083524 DEBUG [d4daa847] DEBUG [d4daa847] Finished in 0.151 seconds with exit status 0 (successful). INFO [8a04f267] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081930 as deploy@18.136.197.163 DEBUG [8a04f267] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230081930 ) INFO [8a04f267] Finished in 0.224 seconds with exit status 0 (successful). DEBUG [35383bf0] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@18.136.197.163 DEBUG [35383bf0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [35383bf0] Finished in 0.145 seconds with exit status 0 (successful). INFO [3eaf9d16] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230083524 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@18.136.197.163 DEBUG [3eaf9d16] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230083524 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [3eaf9d16] Finished in 0.237 seconds with exit status 0 (successful). INFO [8733e429] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@18.136.197.163 DEBUG [8733e429] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [8733e429] >>> /etc/sudoers: syntax error near line 25 <<< DEBUG [8733e429] DEBUG [8733e429] sudo DEBUG [8733e429] : DEBUG [8733e429] parse error in /etc/sudoers near line 25 DEBUG [8733e429] DEBUG [8733e429] sudo DEBUG [8733e429] : DEBUG [8733e429] no valid sudoers sources found, quitting DEBUG [8733e429] DEBUG [8733e429] sudo DEBUG [8733e429] : DEBUG [8733e429] unable to initialize policy plugin DEBUG [8733e429] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:27:01 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d0382629] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [d0382629] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:27:51 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [8382bee5] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [8382bee5] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:28:04 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ba896ae5] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@18.136.197.163 DEBUG [ba896ae5] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:28:47 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a6ae0629] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [a6ae0629] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [a6ae0629] Finished in 0.990 seconds with exit status 0 (successful). INFO [48d1d8c0] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [48d1d8c0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [48d1d8c0] Finished in 0.102 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-7b7940a34c74c8134fd3.sh 0.0% INFO Uploading /tmp/git-ssh-7b7940a34c74c8134fd3.sh 100.0% INFO [6a99a633] Running /usr/bin/env chmod 700 /tmp/git-ssh-7b7940a34c74c8134fd3.sh as deploy@3.1.200.152 DEBUG [6a99a633] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-7b7940a34c74c8134fd3.sh ) INFO [6a99a633] Finished in 0.108 seconds with exit status 0 (successful). INFO [94c235e9] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [94c235e9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7b7940a34c74c8134fd3.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [94c235e9] Warning: Permanently added 'github.com,20.205.243.166' (ECDSA) to the list of known hosts. DEBUG [94c235e9] DEBUG [94c235e9] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [94c235e9] HEAD INFO [94c235e9] Finished in 3.056 seconds with exit status 0 (successful). INFO [6042c977] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [6042c977] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [6042c977] Finished in 0.082 seconds with exit status 0 (successful). INFO [68112f83] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [68112f83] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [68112f83] Finished in 0.111 seconds with exit status 0 (successful). INFO [9fe7a670] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [9fe7a670] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [9fe7a670] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [097b976a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [097b976a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [097b976a] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [cc9b8f41] Running [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] as deploy@3.1.200.152 DEBUG [cc9b8f41] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/application.yml ] DEBUG [cc9b8f41] Finished in 0.148 seconds with exit status 1 (failed). ERROR linked file /home/deploy/apps/aoumi_server/shared/config/application.yml does not exist on 3.1.200.152 INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:29:11 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [535d00f1] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [535d00f1] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [535d00f1] Finished in 1.197 seconds with exit status 0 (successful). INFO [5eb8d8a4] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [5eb8d8a4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [5eb8d8a4] Finished in 0.101 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-fa0f7486c1244a8c187e.sh 0.0% INFO Uploading /tmp/git-ssh-fa0f7486c1244a8c187e.sh 100.0% INFO [d163d32f] Running /usr/bin/env chmod 700 /tmp/git-ssh-fa0f7486c1244a8c187e.sh as deploy@3.1.200.152 DEBUG [d163d32f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-fa0f7486c1244a8c187e.sh ) INFO [d163d32f] Finished in 0.126 seconds with exit status 0 (successful). INFO [d238efa1] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [d238efa1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d238efa1] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [d238efa1] HEAD INFO [d238efa1] Finished in 2.990 seconds with exit status 0 (successful). INFO [43e07dac] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [43e07dac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [43e07dac] Finished in 0.102 seconds with exit status 0 (successful). INFO [5b491fc1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [5b491fc1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [5b491fc1] Finished in 0.104 seconds with exit status 0 (successful). INFO [e8ba99a0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [e8ba99a0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [e8ba99a0] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [5183aa4e] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [5183aa4e] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [5183aa4e] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [238f9842] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [238f9842] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [238f9842] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [3a5a51c0] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [3a5a51c0] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [3a5a51c0] Finished in 0.105 seconds with exit status 1 (failed). WARN puma.rb NOT FOUND! DEBUG Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 0.0% INFO Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 100.0% INFO puma.rb generated DEBUG [da7bc389] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [da7bc389] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [da7bc389] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [5cdf1f32] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [5cdf1f32] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [5cdf1f32] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [7e910b3a] Running if test ! -d /home/deploy/apps/aoumi_server; then echo "Directory does not exist '/home/deploy/apps/aoumi_server'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7e910b3a] Command: if test ! -d /home/deploy/apps/aoumi_server; then echo "Directory does not exist '/home/deploy/apps/aoumi_server'" 1>&2; false; fi DEBUG [7e910b3a] Finished in 0.113 seconds with exit status 0 (successful). INFO [90eb3a0e] Running /usr/bin/env git clone --mirror git@github.com:huythanh176/aoumi_server.git /home/deploy/apps/aoumi_server/repo as deploy@3.1.200.152 DEBUG [90eb3a0e] Command: cd /home/deploy/apps/aoumi_server && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env git clone --mirror git@github.com:huythanh176/aoumi_server.git /home/deploy/apps/aoumi_server/repo ) DEBUG [90eb3a0e] Cloning into bare repository '/home/deploy/apps/aoumi_server/repo'... DEBUG [90eb3a0e] DEBUG [90eb3a0e] remote: Enumerating objects: 255, done. DEBUG [90eb3a0e] DEBUG [90eb3a0e] remote: Counting objects: 0% (1/255) DEBUG [90eb3a0e] remote: Counting objects: 1% (3/255) DEBUG [90eb3a0e] remote: Counting objects: 2% (6/255) DEBUG [90eb3a0e] remote: Counting objects: 3% (8/255) DEBUG [90eb3a0e] remote: Counting objects: 4% (11/255) DEBUG [90eb3a0e] remote: Counting objects: 5% (13/255) DEBUG [90eb3a0e] remote: Counting objects: 6% (16/255) DEBUG [90eb3a0e] remote: Counting objects: 7% (18/255) DEBUG [90eb3a0e] remote: Counting objects: 8% (21/255) DEBUG [90eb3a0e] remote: Counting objects: 9% (23/255) DEBUG [90eb3a0e] remote: Counting objects: 10% (26/255) DEBUG [90eb3a0e] remote: Counting objects: 11% (29/255) DEBUG [90eb3a0e] remote: Counting objects: 12% (31/255) DEBUG [90eb3a0e] remote: Counting objects: 13% (34/255) DEBUG [90eb3a0e] remote: Counting objects: 14% (36/255) DEBUG [90eb3a0e] remote: Counting objects: 15% (39/255) DEBUG [90eb3a0e] remote: Counting objects: 16% (41/255) DEBUG [90eb3a0e] remote: Counting objects: 17% (44/255) DEBUG [90eb3a0e] remote: Counting objects: 18% (46/255) DEBUG [90eb3a0e] remote: Counting objects: 19% (49/255) DEBUG [90eb3a0e] remote: Counting objects: 20% (51/255) DEBUG [90eb3a0e] remote: Counting objects: 21% (54/255) DEBUG [90eb3a0e] remote: Counting objects: 22% (57/255) DEBUG [90eb3a0e] remote: Counting objects: 23% (59/255) DEBUG [90eb3a0e] remote: Counting objects: 24% (62/255) DEBUG [90eb3a0e] remote: Counting objects: 25% (64/255) DEBUG [90eb3a0e] remote: Counting objects: 26% (67/255) DEBUG [90eb3a0e] remote: Counting objects: 27% (69/255) DEBUG [90eb3a0e] remote: Counting objects: 28% (72/255) DEBUG [90eb3a0e] remote: Counting objects: 29% (74/255) DEBUG [90eb3a0e] remote: Counting objects: 30% (77/255) DEBUG [90eb3a0e] remote: Counting objects: 31% (80/255) DEBUG [90eb3a0e] remote: Counting objects: 32% (82/255) DEBUG [90eb3a0e] remote: Counting objects: 33% (85/255) DEBUG [90eb3a0e] remote: Counting objects: 34% (87/255) DEBUG [90eb3a0e] remote: Counting objects: 35% (90/255) DEBUG [90eb3a0e] remote: Counting objects: 36% (92/255) DEBUG [90eb3a0e] remote: Counting objects: 37% (95/255) DEBUG [90eb3a0e] remote: Counting objects: 38% (97/255) DEBUG [90eb3a0e] remote: Counting objects: 39% (100/255) DEBUG [90eb3a0e] remote: Counting objects: 40% (102/255) DEBUG [90eb3a0e] remote: Counting objects: 41% (105/255) DEBUG [90eb3a0e] remote: Counting objects: 42% (108/255) DEBUG [90eb3a0e] remote: Counting objects: 43% (110/255) DEBUG [90eb3a0e] remote: Counting objects: 44% (113/255) DEBUG [90eb3a0e] remote: Counting objects: 45% (115/255) DEBUG [90eb3a0e] remote: Counting objects: 46% (118/255) DEBUG [90eb3a0e] remote: Counting objects: 47% (120/255) DEBUG [90eb3a0e] remote: Counting objects: 48% (123/255) DEBUG [90eb3a0e] remote: Counting objects: 49% (125/255) DEBUG [90eb3a0e] remote: Counting objects: 50% (128/255) DEBUG [90eb3a0e] remote: Counting objects: 51% (131/255) DEBUG [90eb3a0e] remote: Counting objects: 52% (133/255) DEBUG [90eb3a0e] remote: Counting objects: 53% (136/255) DEBUG [90eb3a0e] remote: Counting objects: 54% (138/255) DEBUG [90eb3a0e] remote: Counting objects: 55% (141/255) DEBUG [90eb3a0e] remote: Counting objects: 56% (143/255) DEBUG [90eb3a0e] remote: Counting objects: 57% (146/255) DEBUG [90eb3a0e] remote: Counting objects: 58% (148/255) DEBUG [90eb3a0e] remote: Counting objects: 59% (151/255) DEBUG [90eb3a0e] remote: Counting objects: 60% (153/255) DEBUG [90eb3a0e] remote: Counting objects: 61% (156/255) DEBUG [90eb3a0e] remote: Counting objects: 62% (159/255) DEBUG [90eb3a0e] remote: Counting objects: 63% (161/255) DEBUG [90eb3a0e] remote: Counting objects: 64% (164/255) DEBUG [90eb3a0e] remote: Counting objects: 65% (166/255) DEBUG [90eb3a0e] remote: Counting objects: 66% (169/255) DEBUG [90eb3a0e] remote: Counting objects: 67% (171/255) DEBUG [90eb3a0e] remote: Counting objects: 68% (174/255) DEBUG [90eb3a0e] remote: Counting objects: 69% (176/255) DEBUG [90eb3a0e] remote: Counting objects: 70% (179/255) DEBUG [90eb3a0e] remote: Counting objects: 71% (182/255) DEBUG [90eb3a0e] remote: Counting objects: 72% (184/255) DEBUG [90eb3a0e] remote: Counting objects: 73% (187/255) DEBUG [90eb3a0e] remote: Counting objects: 74% (189/255) DEBUG [90eb3a0e] remote: Counting objects: 75% (192/255) DEBUG [90eb3a0e] remote: Counting objects: 76% (194/255) DEBUG [90eb3a0e] remote: Counting objects: 77% (197/255) DEBUG [90eb3a0e] remote: Counting objects: 78% (199/255) DEBUG [90eb3a0e] remote: Counting objects: 79% (202/255) DEBUG [90eb3a0e] remote: Counting objects: 80% (204/255) DEBUG [90eb3a0e] remote: Counting objects: 81% (207/255) DEBUG [90eb3a0e] remote: Counting objects: 82% (210/255) DEBUG [90eb3a0e] remote: Counting objects: 83% (212/255) DEBUG [90eb3a0e] remote: Counting objects: 84% (215/255) DEBUG [90eb3a0e] remote: Counting objects: 85% (217/255) DEBUG [90eb3a0e] remote: Counting objects: 86% (220/255) DEBUG [90eb3a0e] remote: Counting objects: 87% (222/255) DEBUG [90eb3a0e] remote: Counting objects: 88% (225/255) DEBUG [90eb3a0e] remote: Counting objects: 89% (227/255) DEBUG [90eb3a0e] remote: Counting objects: 90% (230/255) DEBUG [90eb3a0e] remote: Counting objects: 91% (233/255) DEBUG [90eb3a0e] remote: Counting objects: 92% (235/255) DEBUG [90eb3a0e] remote: Counting objects: 93% (238/255) DEBUG [90eb3a0e] remote: Counting objects: 94% (240/255) DEBUG [90eb3a0e] remote: Counting objects: 95% (243/255) DEBUG [90eb3a0e] remote: Counting objects: 96% (245/255) DEBUG [90eb3a0e] remote: Counting objects: 97% (248/255) DEBUG [90eb3a0e] remote: Counting objects: 98% (250/255) DEBUG [90eb3a0e] remote: Counting objects: 99% (253/255) DEBUG [90eb3a0e] remote: Counting objects: 100% (255/255) DEBUG [90eb3a0e] remote: Counting objects: 100% (255/255), done. DEBUG [90eb3a0e] DEBUG [90eb3a0e] remote: Compressing objects: 0% (1/169) DEBUG [90eb3a0e] remote: Compressing objects: 1% (2/169) DEBUG [90eb3a0e] remote: Compressing objects: 2% (4/169) DEBUG [90eb3a0e] remote: Compressing objects: 3% (6/169) DEBUG [90eb3a0e] remote: Compressing objects: 4% (7/169) DEBUG [90eb3a0e] remote: Compressing objects: 5% (9/169) DEBUG [90eb3a0e] remote: Compressing objects: 6% (11/169) DEBUG [90eb3a0e] remote: Compressing objects: 7% (12/169) DEBUG [90eb3a0e] remote: Compressing objects: 8% (14/169) DEBUG [90eb3a0e] remote: Compressing objects: 9% (16/169) DEBUG [90eb3a0e] remote: Compressing objects: 10% (17/169) DEBUG [90eb3a0e] remote: Compressing objects: 11% (19/169) DEBUG [90eb3a0e] remote: Compressing objects: 12% (21/169) DEBUG [90eb3a0e] remote: Compressing objects: 13% (22/169) DEBUG [90eb3a0e] remote: Compressing objects: 14% (24/169) DEBUG [90eb3a0e] remote: Compressing objects: 15% (26/169) DEBUG [90eb3a0e] remote: Compressing objects: 16% (28/169) DEBUG [90eb3a0e] remote: Compressing objects: 17% (29/169) DEBUG [90eb3a0e] remote: Compressing objects: 18% (31/169) DEBUG [90eb3a0e] remote: Compressing objects: 19% (33/169) DEBUG [90eb3a0e] remote: Compressing objects: 20% (34/169) DEBUG [90eb3a0e] remote: Compressing objects: 21% (36/169) DEBUG [90eb3a0e] remote: Compressing objects: 22% (38/169) DEBUG [90eb3a0e] remote: Compressing objects: 23% (39/169) remote: Compressing objects: 24% (41/169) DEBUG [90eb3a0e] remote: Compressing objects: 25% (43/169) remote: Compressing objects: 26% (44/169) remote: Compressing objects: 27% (46/169) remote: Compressing objects: 28% (48/169) DEBUG [90eb3a0e] remote: Compressing objects: 29% (50/169) DEBUG [90eb3a0e] remote: Compressing objects: 30% (51/169) remote: Compressing objects: 31% (53/169) remote: Compressing objects: 32% (55/169) remote: Compressing objects: 33% (56/169) remote: Compressing objects: 34% (58/169) DEBUG [90eb3a0e] remote: Compressing objects: 35% (60/169) remote: Compressing objects: 36% (61/169) remote: Compressing objects: 37% (63/169) remote: Compressing objects: 38% (65/169) remote: Compressing objects: 39% (66/169) DEBUG [90eb3a0e] remote: Compressing objects: 40% (68/169) remote: Compressing objects: 41% (70/169) remote: Compressing objects: 42% (71/169) remote: Compressing objects: 43% (73/169) DEBUG [90eb3a0e] remote: Compressing objects: 44% (75/169) remote: Compressing objects: 45% (77/169) remote: Compressing objects: 46% (78/169) remote: Compressing objects: 47% (80/169) DEBUG [90eb3a0e] remote: Compressing objects: 48% (82/169) DEBUG [90eb3a0e] remote: Compressing objects: 49% (83/169) DEBUG [90eb3a0e] remote: Compressing objects: 50% (85/169) remote: Compressing objects: 51% (87/169) remote: Compressing objects: 52% (88/169) remote: Compressing objects: 53% (90/169) DEBUG [90eb3a0e] remote: Compressing objects: 54% (92/169) remote: Compressing objects: 55% (93/169) remote: Compressing objects: 56% (95/169) remote: Compressing objects: 57% (97/169) remote: Compressing objects: 58% (99/169) remote: Compressing objects: 59% (100/169) remote: Compressing objects: 60% (102/169) remote: Compressing objects: 61% (104/169) remote: Compressing objects: 62% (105/169) DEBUG [90eb3a0e] remote: Compressing objects: 63% (107/169) remote: Compressing objects: 64% (109/169) remote: Compressing objects: 65% (110/169) remote: Compressing objects: 66% (112/169) remote: Compressing objects: 67% (114/169) remote: Compressing objects: 68% (115/169) DEBUG [90eb3a0e] remote: Compressing objects: 69% (117/169) remote: Compressing objects: 70% (119/169) remote: Compressing objects: 71% (120/169) remote: Compressing objects: 72% (122/169) DEBUG [90eb3a0e] remote: Compressing objects: 73% (124/169) remote: Compressing objects: 74% (126/169) remote: Compressing objects: 75% (127/169) remote: Compressing objects: 76% (129/169) DEBUG [90eb3a0e] remote: Compressing objects: 77% (131/169) remote: Compressing objects: 78% (132/169) remote: Compressing objects: 79% (134/169) remote: Compressing objects: 80% (136/169) DEBUG [90eb3a0e] remote: Compressing objects: 81% (137/169) remote: Compressing objects: 82% (139/169) remote: Compressing objects: 83% (141/169) remote: Compressing objects: 84% (142/169) DEBUG [90eb3a0e] remote: Compressing objects: 85% (144/169) remote: Compressing objects: 86% (146/169) remote: Compressing objects: 87% (148/169) remote: Compressing objects: 88% (149/169) DEBUG [90eb3a0e] remote: Compressing objects: 89% (151/169) remote: Compressing objects: 90% (153/169) remote: Compressing objects: 91% (154/169) remote: Compressing objects: 92% (156/169) DEBUG [90eb3a0e] remote: Compressing objects: 93% (158/169) remote: Compressing objects: 94% (159/169) remote: Compressing objects: 95% (161/169) DEBUG [90eb3a0e] remote: Compressing objects: 96% (163/169) remote: Compressing objects: 97% (164/169) remote: Compressing objects: 98% (166/169) remote: Compressing objects: 99% (168/169) DEBUG [90eb3a0e] remote: Compressing objects: 100% (169/169) remote: Compressing objects: 100% (169/169), done. DEBUG [90eb3a0e] Receiving objects: 0% (1/255) DEBUG [90eb3a0e] Receiving objects: 1% (3/255) DEBUG [90eb3a0e] Receiving objects: 2% (6/255) DEBUG [90eb3a0e] Receiving objects: 3% (8/255) DEBUG [90eb3a0e] Receiving objects: 4% (11/255) DEBUG [90eb3a0e] Receiving objects: 5% (13/255) DEBUG [90eb3a0e] Receiving objects: 6% (16/255) DEBUG [90eb3a0e] Receiving objects: 7% (18/255) DEBUG [90eb3a0e] Receiving objects: 8% (21/255) DEBUG [90eb3a0e] Receiving objects: 9% (23/255) DEBUG [90eb3a0e] Receiving objects: 10% (26/255) DEBUG [90eb3a0e] Receiving objects: 11% (29/255) DEBUG [90eb3a0e] Receiving objects: 12% (31/255) DEBUG [90eb3a0e] Receiving objects: 13% (34/255) DEBUG [90eb3a0e] Receiving objects: 14% (36/255) DEBUG [90eb3a0e] Receiving objects: 15% (39/255) DEBUG [90eb3a0e] Receiving objects: 16% (41/255) DEBUG [90eb3a0e] Receiving objects: 17% (44/255) DEBUG [90eb3a0e] Receiving objects: 18% (46/255) DEBUG [90eb3a0e] Receiving objects: 19% (49/255) DEBUG [90eb3a0e] Receiving objects: 20% (51/255) DEBUG [90eb3a0e] Receiving objects: 21% (54/255) DEBUG [90eb3a0e] Receiving objects: 22% (57/255) DEBUG [90eb3a0e] Receiving objects: 23% (59/255) DEBUG [90eb3a0e] Receiving objects: 24% (62/255) DEBUG [90eb3a0e] Receiving objects: 25% (64/255) DEBUG [90eb3a0e] Receiving objects: 26% (67/255) DEBUG [90eb3a0e] Receiving objects: 27% (69/255) DEBUG [90eb3a0e] Receiving objects: 28% (72/255) DEBUG [90eb3a0e] Receiving objects: 29% (74/255) DEBUG [90eb3a0e] Receiving objects: 30% (77/255) DEBUG [90eb3a0e] Receiving objects: 31% (80/255) DEBUG [90eb3a0e] Receiving objects: 32% (82/255) DEBUG [90eb3a0e] Receiving objects: 33% (85/255) DEBUG [90eb3a0e] Receiving objects: 34% (87/255) DEBUG [90eb3a0e] Receiving objects: 35% (90/255) DEBUG [90eb3a0e] Receiving objects: 36% (92/255) DEBUG [90eb3a0e] Receiving objects: 37% (95/255) DEBUG [90eb3a0e] Receiving objects: 38% (97/255) DEBUG [90eb3a0e] Receiving objects: 39% (100/255) DEBUG [90eb3a0e] Receiving objects: 40% (102/255) DEBUG [90eb3a0e] Receiving objects: 41% (105/255) DEBUG [90eb3a0e] Receiving objects: 42% (108/255) DEBUG [90eb3a0e] Receiving objects: 43% (110/255) DEBUG [90eb3a0e] Receiving objects: 44% (113/255) DEBUG [90eb3a0e] Receiving objects: 45% (115/255) DEBUG [90eb3a0e] Receiving objects: 46% (118/255) DEBUG [90eb3a0e] Receiving objects: 47% (120/255) DEBUG [90eb3a0e] Receiving objects: 48% (123/255) DEBUG [90eb3a0e] Receiving objects: 49% (125/255) DEBUG [90eb3a0e] Receiving objects: 50% (128/255) DEBUG [90eb3a0e] Receiving objects: 51% (131/255) DEBUG [90eb3a0e] Receiving objects: 52% (133/255) DEBUG [90eb3a0e] Receiving objects: 53% (136/255) DEBUG [90eb3a0e] Receiving objects: 54% (138/255) DEBUG [90eb3a0e] Receiving objects: 55% (141/255) DEBUG [90eb3a0e] Receiving objects: 56% (143/255) DEBUG [90eb3a0e] Receiving objects: 57% (146/255) DEBUG [90eb3a0e] Receiving objects: 58% (148/255) DEBUG [90eb3a0e] Receiving objects: 59% (151/255) DEBUG [90eb3a0e] Receiving objects: 60% (153/255) DEBUG [90eb3a0e] Receiving objects: 61% (156/255) DEBUG [90eb3a0e] Receiving objects: 62% (159/255) DEBUG [90eb3a0e] Receiving objects: 63% (161/255) DEBUG [90eb3a0e] Receiving objects: 64% (164/255) DEBUG [90eb3a0e] Receiving objects: 65% (166/255) DEBUG [90eb3a0e] Receiving objects: 66% (169/255) DEBUG [90eb3a0e] Receiving objects: 67% (171/255), 180.00 KiB | 259.00 KiB/s DEBUG [90eb3a0e] Receiving objects: 67% (172/255), 180.00 KiB | 259.00 KiB/s DEBUG [90eb3a0e] Receiving objects: 68% (174/255), 180.00 KiB | 259.00 KiB/s DEBUG [90eb3a0e] Receiving objects: 69% (176/255), 180.00 KiB | 259.00 KiB/s DEBUG [90eb3a0e] Receiving objects: 70% (179/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] remote: Total 255 (delta 79), reused 224 (delta 56), pack-reused 0 DEBUG [90eb3a0e] Receiving objects: 71% (182/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 72% (184/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 73% (187/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 74% (189/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 75% (192/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 76% (194/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 77% (197/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 78% (199/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 79% (202/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 80% (204/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 81% (207/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 82% (210/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 83% (212/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 84% (215/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 85% (217/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 86% (220/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 87% (222/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 88% (225/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 89% (227/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 90% (230/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 91% (233/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 92% (235/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 93% (238/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 94% (240/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 95% (243/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 96% (245/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 97% (248/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 98% (250/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 99% (253/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 100% (255/255), 1.64 MiB | 1.40 MiB/s DEBUG [90eb3a0e] Receiving objects: 100% (255/255), 2.03 MiB | 1.49 MiB/s, done. DEBUG [90eb3a0e] DEBUG [90eb3a0e] Resolving deltas: 0% (0/79) DEBUG [90eb3a0e] Resolving deltas: 1% (1/79) DEBUG [90eb3a0e] Resolving deltas: 12% (10/79) DEBUG [90eb3a0e] Resolving deltas: 13% (11/79) DEBUG [90eb3a0e] Resolving deltas: 16% (13/79) DEBUG [90eb3a0e] Resolving deltas: 17% (14/79) DEBUG [90eb3a0e] Resolving deltas: 18% (15/79) DEBUG [90eb3a0e] Resolving deltas: 25% (20/79) DEBUG [90eb3a0e] Resolving deltas: 32% (26/79) DEBUG [90eb3a0e] Resolving deltas: 34% (27/79) DEBUG [90eb3a0e] Resolving deltas: 39% (31/79) DEBUG [90eb3a0e] Resolving deltas: 41% (33/79) DEBUG [90eb3a0e] Resolving deltas: 44% (35/79) DEBUG [90eb3a0e] Resolving deltas: 45% (36/79) DEBUG [90eb3a0e] Resolving deltas: 51% (41/79) DEBUG [90eb3a0e] Resolving deltas: 53% (42/79) DEBUG [90eb3a0e] Resolving deltas: 54% (43/79) DEBUG [90eb3a0e] Resolving deltas: 55% (44/79) DEBUG [90eb3a0e] Resolving deltas: 56% (45/79) DEBUG [90eb3a0e] Resolving deltas: 58% (46/79) DEBUG [90eb3a0e] Resolving deltas: 59% (47/79) DEBUG [90eb3a0e] Resolving deltas: 68% (54/79) DEBUG [90eb3a0e] Resolving deltas: 69% (55/79) DEBUG [90eb3a0e] Resolving deltas: 72% (57/79) DEBUG [90eb3a0e] Resolving deltas: 73% (58/79) DEBUG [90eb3a0e] Resolving deltas: 74% (59/79) DEBUG [90eb3a0e] Resolving deltas: 77% (61/79) DEBUG [90eb3a0e] Resolving deltas: 78% (62/79) DEBUG [90eb3a0e] Resolving deltas: 79% (63/79) DEBUG [90eb3a0e] Resolving deltas: 83% (66/79) DEBUG [90eb3a0e] Resolving deltas: 86% (68/79) DEBUG [90eb3a0e] Resolving deltas: 88% (70/79) DEBUG [90eb3a0e] Resolving deltas: 89% (71/79) DEBUG [90eb3a0e] Resolving deltas: 92% (73/79) DEBUG [90eb3a0e] Resolving deltas: 93% (74/79) DEBUG [90eb3a0e] Resolving deltas: 94% (75/79) DEBUG [90eb3a0e] Resolving deltas: 96% (76/79) DEBUG [90eb3a0e] Resolving deltas: 97% (77/79) DEBUG [90eb3a0e] Resolving deltas: 98% (78/79) DEBUG [90eb3a0e] Resolving deltas: 100% (79/79) DEBUG [90eb3a0e] Resolving deltas: 100% (79/79), done. DEBUG [90eb3a0e] INFO [90eb3a0e] Finished in 4.543 seconds with exit status 0 (successful). DEBUG [84b5b3dd] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [84b5b3dd] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [84b5b3dd] Finished in 0.101 seconds with exit status 0 (successful). INFO [c4a9bd66] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [c4a9bd66] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [c4a9bd66] Finished in 0.113 seconds with exit status 0 (successful). INFO [6f422115] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [6f422115] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env git remote update --prune ) DEBUG [6f422115] Fetching origin DEBUG [6f422115] INFO [6f422115] Finished in 3.020 seconds with exit status 0 (successful). DEBUG [da426570] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [da426570] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [da426570] Finished in 0.106 seconds with exit status 0 (successful). INFO [a0283c0e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230092917 as deploy@3.1.200.152 DEBUG [a0283c0e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230092917 ) INFO [a0283c0e] Finished in 0.107 seconds with exit status 0 (successful). INFO [7cfbc63f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230092917 as deploy@3.1.200.152 DEBUG [7cfbc63f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230092917 ) INFO [7cfbc63f] Finished in 0.210 seconds with exit status 0 (successful). DEBUG [55ff2e7c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [55ff2e7c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [55ff2e7c] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [7b225538] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [7b225538] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-fa0f7486c1244a8c187e.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [7b225538] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [7b225538] DEBUG [7b225538] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [64bb5394] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [64bb5394] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi DEBUG [64bb5394] Finished in 0.101 seconds with exit status 0 (successful). INFO [c44682ff] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [c44682ff] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [c44682ff] Finished in 0.153 seconds with exit status 0 (successful). INFO [fdd73020] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230092917 /home/deploy/apps/aoumi_server/releases/20221230092917/config as deploy@3.1.200.152 DEBUG [fdd73020] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230092917 /home/deploy/apps/aoumi_server/releases/20221230092917/config ) INFO [fdd73020] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [15f35565] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/.env ] as deploy@3.1.200.152 DEBUG [15f35565] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/.env ] DEBUG [15f35565] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [bb87daf3] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230092917/.env ] as deploy@3.1.200.152 DEBUG [bb87daf3] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230092917/.env ] DEBUG [bb87daf3] Finished in 0.105 seconds with exit status 0 (successful). INFO [a98116ff] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230092917/.env as deploy@3.1.200.152 DEBUG [a98116ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230092917/.env ) INFO [a98116ff] Finished in 0.154 seconds with exit status 0 (successful). INFO [3d310af3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230092917/.env as deploy@3.1.200.152 DEBUG [3d310af3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230092917/.env ) INFO [3d310af3] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [c3bec88f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml ] as deploy@3.1.200.152 DEBUG [c3bec88f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml ] DEBUG [c3bec88f] Finished in 0.152 seconds with exit status 1 (failed). DEBUG [b5e923d4] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml ] as deploy@3.1.200.152 DEBUG [b5e923d4] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml ] DEBUG [b5e923d4] Finished in 0.107 seconds with exit status 0 (successful). INFO [7d6bb7d9] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml as deploy@3.1.200.152 DEBUG [7d6bb7d9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml ) INFO [7d6bb7d9] Finished in 0.154 seconds with exit status 0 (successful). INFO [ac02f399] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml as deploy@3.1.200.152 DEBUG [ac02f399] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230092917/config/database.yml ) INFO [ac02f399] Finished in 0.108 seconds with exit status 0 (successful). INFO [21232b3e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230092917 /home/deploy/apps/aoumi_server/releases/20221230092917/tmp /home/deploy/apps/aoumi_server/releases/20221230092917/vendor /home/deploy/apps/aoumi_server/releases/20221230092917/public as deploy@3.1.200.152 DEBUG [21232b3e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230092917 /home/deploy/apps/aoumi_server/releases/20221230092917/tmp /home/deploy/apps/aoumi_server/releases/20221230092917/vendor /home/deploy/apps/aoumi_server/releases/20221230092917/public ) INFO [21232b3e] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [7fb4fe1b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/log ] as deploy@3.1.200.152 DEBUG [7fb4fe1b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/log ] DEBUG [7fb4fe1b] Finished in 0.113 seconds with exit status 1 (failed). DEBUG [71dffb82] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/log ] as deploy@3.1.200.152 DEBUG [71dffb82] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/log ] DEBUG [71dffb82] Finished in 0.143 seconds with exit status 0 (successful). INFO [31633a5c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230092917/log as deploy@3.1.200.152 DEBUG [31633a5c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230092917/log ) INFO [31633a5c] Finished in 0.113 seconds with exit status 0 (successful). INFO [b79365fc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230092917/log as deploy@3.1.200.152 DEBUG [b79365fc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230092917/log ) INFO [b79365fc] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [8f85f870] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids ] as deploy@3.1.200.152 DEBUG [8f85f870] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids ] DEBUG [8f85f870] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [e78fb3e1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids ] as deploy@3.1.200.152 DEBUG [e78fb3e1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids ] DEBUG [e78fb3e1] Finished in 0.152 seconds with exit status 0 (successful). INFO [652fe738] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids as deploy@3.1.200.152 DEBUG [652fe738] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids ) INFO [652fe738] Finished in 0.105 seconds with exit status 0 (successful). INFO [c9039df4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids as deploy@3.1.200.152 DEBUG [c9039df4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/pids ) INFO [c9039df4] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [c85b40d4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/cache ] as deploy@3.1.200.152 DEBUG [c85b40d4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/cache ] DEBUG [c85b40d4] Finished in 0.123 seconds with exit status 1 (failed). DEBUG [517b8ad5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/cache ] as deploy@3.1.200.152 DEBUG [517b8ad5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/cache ] DEBUG [517b8ad5] Finished in 0.148 seconds with exit status 1 (failed). INFO [2ecf0feb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/cache as deploy@3.1.200.152 DEBUG [2ecf0feb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/cache ) INFO [2ecf0feb] Finished in 0.115 seconds with exit status 0 (successful). DEBUG [d6625ea9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/sockets ] as deploy@3.1.200.152 DEBUG [d6625ea9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/sockets ] DEBUG [d6625ea9] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [f58e03e1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/sockets ] as deploy@3.1.200.152 DEBUG [f58e03e1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/sockets ] DEBUG [f58e03e1] Finished in 0.103 seconds with exit status 1 (failed). INFO [cff7cd20] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/sockets as deploy@3.1.200.152 DEBUG [cff7cd20] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230092917/tmp/sockets ) INFO [cff7cd20] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [04592c75] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/vendor/bundle ] as deploy@3.1.200.152 DEBUG [04592c75] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/vendor/bundle ] DEBUG [04592c75] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [fefaf33d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/vendor/bundle ] as deploy@3.1.200.152 DEBUG [fefaf33d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/vendor/bundle ] DEBUG [fefaf33d] Finished in 0.146 seconds with exit status 1 (failed). INFO [847824b3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230092917/vendor/bundle as deploy@3.1.200.152 DEBUG [847824b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230092917/vendor/bundle ) INFO [847824b3] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [fb2c3734] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/public/system ] as deploy@3.1.200.152 DEBUG [fb2c3734] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/public/system ] DEBUG [fb2c3734] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [58d46154] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/public/system ] as deploy@3.1.200.152 DEBUG [58d46154] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/public/system ] DEBUG [58d46154] Finished in 0.105 seconds with exit status 1 (failed). INFO [435751f3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230092917/public/system as deploy@3.1.200.152 DEBUG [435751f3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230092917/public/system ) INFO [435751f3] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [e17ffc58] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/public/uploads ] as deploy@3.1.200.152 DEBUG [e17ffc58] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230092917/public/uploads ] DEBUG [e17ffc58] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [31ee4d5e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/public/uploads ] as deploy@3.1.200.152 DEBUG [31ee4d5e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230092917/public/uploads ] DEBUG [31ee4d5e] Finished in 0.147 seconds with exit status 1 (failed). INFO [0d0f2347] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230092917/public/uploads as deploy@3.1.200.152 DEBUG [0d0f2347] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230092917/public/uploads ) INFO [0d0f2347] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [f9db4f6a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f9db4f6a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi DEBUG [f9db4f6a] Finished in 0.147 seconds with exit status 0 (successful). INFO [396d85a5] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [396d85a5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [396d85a5] Finished in 0.365 seconds with exit status 0 (successful). INFO [2c2264dc] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [2c2264dc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [2c2264dc] Finished in 0.342 seconds with exit status 0 (successful). INFO [4ef10019] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [4ef10019] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [4ef10019] Finished in 0.318 seconds with exit status 0 (successful). DEBUG [dc15e138] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [dc15e138] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi DEBUG [dc15e138] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [da1ec8e6] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [da1ec8e6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [da1ec8e6] The following gems are missing DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rails (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * mysql2 (0.5.4) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * puma (5.6.4) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * config (4.0.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * bootsnap (1.12.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rack-cors (1.1.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * devise (4.8.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * jwt (2.4.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dotenv-rails (2.7.6) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * actioncable (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * actionmailbox (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * actionmailer (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * actionpack (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * actiontext (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * actionview (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * activejob (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * activemodel (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * activerecord (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * activestorage (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * activesupport (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * railties (7.0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * nio4r (2.5.8) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * deep_merge (1.2.2) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-validation (1.8.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * msgpack (1.4.5) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rack (2.2.4) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * bcrypt (3.1.17) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * orm_adapter (0.5.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * responders (3.0.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * warden (1.2.9) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dotenv (2.7.6) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * websocket-driver (0.7.5) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * mail (2.7.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * net-imap (0.2.3) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * net-smtp (0.3.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rails-dom-testing (2.0.3) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rack-test (2.0.2) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rails-html-sanitizer (1.4.3) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * globalid (1.0.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * nokogiri (1.13.7) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * builder (3.2.4) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * erubi (1.10.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * marcel (1.0.2) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * mini_mime (1.1.2) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * concurrent-ruby (1.1.10) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * i18n (1.12.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * minitest (5.16.2) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * tzinfo (2.0.5) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * method_source (1.0.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * rake (13.0.6) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * thor (1.2.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * zeitwerk (2.6.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-container (0.10.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-core (0.8.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-initializer (3.1.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-schema (1.9.3) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * websocket-extensions (0.1.5) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * digest (3.1.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * net-protocol (0.1.3) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * strscan (3.0.3) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * timeout (0.3.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * loofah (2.18.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * racc (1.6.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-configurable (0.15.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-logic (1.2.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-types (1.5.1) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * crass (1.0.6) DEBUG [da1ec8e6] DEBUG [da1ec8e6]  * dry-inflector (0.3.0) DEBUG [da1ec8e6] DEBUG [da1ec8e6] Install missing gems with `bundle install` DEBUG [da1ec8e6] DEBUG [da1ec8e6] Finished in 0.574 seconds with exit status 1 (failed). INFO [fb7adbda] Running $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet as deploy@3.1.200.152 DEBUG [fb7adbda] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle install --jobs 4 --quiet ) INFO [fb7adbda] Finished in 36.294 seconds with exit status 0 (successful). INFO [deploy:migrate] Run `rake db:migrate` DEBUG [c27569e9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c27569e9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230092917; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230092917'" 1>&2; false; fi DEBUG [c27569e9] Finished in 0.100 seconds with exit status 0 (successful). INFO [eecf9873] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [eecf9873] Command: cd /home/deploy/apps/aoumi_server/releases/20221230092917 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [eecf9873] rake aborted! DEBUG [eecf9873] DEBUG [eecf9873] ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: admin. DEBUG [eecf9873] DEBUG [eecf9873] DEBUG [eecf9873] Please check your database configuration to ensure the username/password are valid. DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:49:in `rescue in new_client' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/de DEBUG [eecf9873] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [eecf9873] DEBUG [eecf9873] DEBUG [eecf9873] Caused by: DEBUG [eecf9873] DEBUG [eecf9873] Mysql2::Error::ConnectionError: Access denied for user 'admin'@'10.0.0.20' (using password: YES) DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [eecf9873] nection_handler.rb:211:in `retrieve_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [eecf9873] DEBUG [eecf9873] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [eecf9873] DEBUG [eecf9873] Tasks: TOP => db:migrate DEBUG [eecf9873] DEBUG [eecf9873] (See full trace by running task with --trace) DEBUG [eecf9873] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:32:44 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [764d3ccf] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [764d3ccf] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [764d3ccf] Finished in 1.113 seconds with exit status 0 (successful). INFO [04b44bd3] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [04b44bd3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [04b44bd3] Finished in 0.121 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-08f658f8d6ec2bd1868a.sh 0.0% INFO Uploading /tmp/git-ssh-08f658f8d6ec2bd1868a.sh 100.0% INFO [f615a75b] Running /usr/bin/env chmod 700 /tmp/git-ssh-08f658f8d6ec2bd1868a.sh as deploy@3.1.200.152 DEBUG [f615a75b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-08f658f8d6ec2bd1868a.sh ) INFO [f615a75b] Finished in 0.471 seconds with exit status 0 (successful). INFO [22f80adc] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [22f80adc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-08f658f8d6ec2bd1868a.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [22f80adc] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [22f80adc] HEAD INFO [22f80adc] Finished in 3.059 seconds with exit status 0 (successful). INFO [aeb9e2ad] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [aeb9e2ad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [aeb9e2ad] Finished in 0.106 seconds with exit status 0 (successful). INFO [db15d023] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [db15d023] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [db15d023] Finished in 0.116 seconds with exit status 0 (successful). INFO [44a81987] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [44a81987] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [44a81987] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [bbcc58ce] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [bbcc58ce] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [bbcc58ce] Finished in 0.190 seconds with exit status 0 (successful). DEBUG [db2ce656] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [db2ce656] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [db2ce656] Finished in 0.161 seconds with exit status 0 (successful). DEBUG [0c38c548] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [0c38c548] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [0c38c548] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [798165e6] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [798165e6] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [798165e6] Finished in 0.171 seconds with exit status 1 (failed). DEBUG [3eba5ec6] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [3eba5ec6] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [3eba5ec6] Finished in 0.245 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [15034f96] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [15034f96] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [15034f96] Finished in 0.194 seconds with exit status 0 (successful). INFO [f831ff97] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [f831ff97] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-08f658f8d6ec2bd1868a.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f831ff97] Finished in 0.121 seconds with exit status 0 (successful). INFO [01f5451d] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [01f5451d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-08f658f8d6ec2bd1868a.sh" ; /usr/bin/env git remote update --prune ) DEBUG [01f5451d] Fetching origin DEBUG [01f5451d] INFO [01f5451d] Finished in 3.055 seconds with exit status 0 (successful). DEBUG [467b5f33] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [467b5f33] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [467b5f33] Finished in 0.104 seconds with exit status 0 (successful). INFO [0cd44b36] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093250 as deploy@3.1.200.152 DEBUG [0cd44b36] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-08f658f8d6ec2bd1868a.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093250 ) INFO [0cd44b36] Finished in 0.104 seconds with exit status 0 (successful). INFO [6c7f5526] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093250 as deploy@3.1.200.152 DEBUG [6c7f5526] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-08f658f8d6ec2bd1868a.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093250 ) INFO [6c7f5526] Finished in 0.226 seconds with exit status 0 (successful). DEBUG [239927fc] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [239927fc] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [239927fc] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [e2b01154] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [e2b01154] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-08f658f8d6ec2bd1868a.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [e2b01154] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [e2b01154] DEBUG [e2b01154] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [1cec0286] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1cec0286] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi DEBUG [1cec0286] Finished in 0.153 seconds with exit status 0 (successful). INFO [2cf24c72] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [2cf24c72] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093250 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [2cf24c72] Finished in 0.174 seconds with exit status 0 (successful). INFO [0324a5be] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093250 /home/deploy/apps/aoumi_server/releases/20221230093250/config as deploy@3.1.200.152 DEBUG [0324a5be] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093250 /home/deploy/apps/aoumi_server/releases/20221230093250/config ) INFO [0324a5be] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [e3faad69] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/.env ] as deploy@3.1.200.152 DEBUG [e3faad69] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/.env ] DEBUG [e3faad69] Finished in 0.179 seconds with exit status 1 (failed). DEBUG [fed268db] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093250/.env ] as deploy@3.1.200.152 DEBUG [fed268db] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093250/.env ] DEBUG [fed268db] Finished in 0.196 seconds with exit status 0 (successful). INFO [d89012d8] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093250/.env as deploy@3.1.200.152 DEBUG [d89012d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093250/.env ) INFO [d89012d8] Finished in 0.225 seconds with exit status 0 (successful). INFO [d77bb00d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093250/.env as deploy@3.1.200.152 DEBUG [d77bb00d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093250/.env ) INFO [d77bb00d] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [159e5eaa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml ] as deploy@3.1.200.152 DEBUG [159e5eaa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml ] DEBUG [159e5eaa] Finished in 0.160 seconds with exit status 1 (failed). DEBUG [83e12945] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml ] as deploy@3.1.200.152 DEBUG [83e12945] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml ] DEBUG [83e12945] Finished in 0.190 seconds with exit status 0 (successful). INFO [1fe67e15] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml as deploy@3.1.200.152 DEBUG [1fe67e15] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml ) INFO [1fe67e15] Finished in 0.161 seconds with exit status 0 (successful). INFO [a61b6850] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml as deploy@3.1.200.152 DEBUG [a61b6850] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093250/config/database.yml ) INFO [a61b6850] Finished in 0.829 seconds with exit status 0 (successful). INFO [4730c797] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093250 /home/deploy/apps/aoumi_server/releases/20221230093250/tmp /home/deploy/apps/aoumi_server/releases/20221230093250/vendor /home/deploy/apps/aoumi_server/releases/20221230093250/public as deploy@3.1.200.152 DEBUG [4730c797] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093250 /home/deploy/apps/aoumi_server/releases/20221230093250/tmp /home/deploy/apps/aoumi_server/releases/20221230093250/vendor /home/deploy/apps/aoumi_server/releases/20221230093250/public ) INFO [4730c797] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [0c3e8d27] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/log ] as deploy@3.1.200.152 DEBUG [0c3e8d27] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/log ] DEBUG [0c3e8d27] Finished in 0.514 seconds with exit status 1 (failed). DEBUG [eb33b39c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/log ] as deploy@3.1.200.152 DEBUG [eb33b39c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/log ] DEBUG [eb33b39c] Finished in 0.689 seconds with exit status 0 (successful). INFO [4ec94862] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093250/log as deploy@3.1.200.152 DEBUG [4ec94862] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093250/log ) INFO [4ec94862] Finished in 1.044 seconds with exit status 0 (successful). INFO [ce97e6c7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093250/log as deploy@3.1.200.152 DEBUG [ce97e6c7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093250/log ) INFO [ce97e6c7] Finished in 0.645 seconds with exit status 0 (successful). DEBUG [2f0ea48f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids ] as deploy@3.1.200.152 DEBUG [2f0ea48f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids ] DEBUG [2f0ea48f] Finished in 0.528 seconds with exit status 1 (failed). DEBUG [7abeca5c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids ] as deploy@3.1.200.152 DEBUG [7abeca5c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids ] DEBUG [7abeca5c] Finished in 0.209 seconds with exit status 0 (successful). INFO [69886580] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids as deploy@3.1.200.152 DEBUG [69886580] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids ) INFO [69886580] Finished in 0.324 seconds with exit status 0 (successful). INFO [ce16a570] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids as deploy@3.1.200.152 DEBUG [ce16a570] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/pids ) INFO [ce16a570] Finished in 0.320 seconds with exit status 0 (successful). DEBUG [a31a652e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/cache ] as deploy@3.1.200.152 DEBUG [a31a652e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/cache ] DEBUG [a31a652e] Finished in 0.189 seconds with exit status 1 (failed). DEBUG [aeccfd59] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/cache ] as deploy@3.1.200.152 DEBUG [aeccfd59] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/cache ] DEBUG [aeccfd59] Finished in 0.840 seconds with exit status 1 (failed). INFO [9a1bdefe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/cache as deploy@3.1.200.152 DEBUG [9a1bdefe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/cache ) INFO [9a1bdefe] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [3ff4b1e1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/sockets ] as deploy@3.1.200.152 DEBUG [3ff4b1e1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/sockets ] DEBUG [3ff4b1e1] Finished in 0.664 seconds with exit status 1 (failed). DEBUG [86078ac2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/sockets ] as deploy@3.1.200.152 DEBUG [86078ac2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/sockets ] DEBUG [86078ac2] Finished in 1.050 seconds with exit status 1 (failed). INFO [dd45c5dc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/sockets as deploy@3.1.200.152 DEBUG [dd45c5dc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093250/tmp/sockets ) INFO [dd45c5dc] Finished in 0.562 seconds with exit status 0 (successful). DEBUG [548486a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/vendor/bundle ] as deploy@3.1.200.152 DEBUG [548486a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/vendor/bundle ] DEBUG [548486a3] Finished in 1.210 seconds with exit status 1 (failed). DEBUG [fbf8ae80] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/vendor/bundle ] as deploy@3.1.200.152 DEBUG [fbf8ae80] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/vendor/bundle ] DEBUG [fbf8ae80] Finished in 1.440 seconds with exit status 1 (failed). INFO [ac6fbdf0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093250/vendor/bundle as deploy@3.1.200.152 DEBUG [ac6fbdf0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093250/vendor/bundle ) INFO [ac6fbdf0] Finished in 1.058 seconds with exit status 0 (successful). DEBUG [76c8cfcd] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/public/system ] as deploy@3.1.200.152 DEBUG [76c8cfcd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/public/system ] DEBUG [76c8cfcd] Finished in 0.525 seconds with exit status 1 (failed). DEBUG [f5b5f472] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/public/system ] as deploy@3.1.200.152 DEBUG [f5b5f472] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/public/system ] DEBUG [f5b5f472] Finished in 0.925 seconds with exit status 1 (failed). INFO [7af4ccd3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093250/public/system as deploy@3.1.200.152 DEBUG [7af4ccd3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093250/public/system ) INFO [7af4ccd3] Finished in 1.308 seconds with exit status 0 (successful). DEBUG [61318ca7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/public/uploads ] as deploy@3.1.200.152 DEBUG [61318ca7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093250/public/uploads ] DEBUG [61318ca7] Finished in 0.990 seconds with exit status 1 (failed). DEBUG [cdae59de] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/public/uploads ] as deploy@3.1.200.152 DEBUG [cdae59de] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093250/public/uploads ] DEBUG [cdae59de] Finished in 2.670 seconds with exit status 1 (failed). INFO [82209ef5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093250/public/uploads as deploy@3.1.200.152 DEBUG [82209ef5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093250/public/uploads ) INFO [82209ef5] Finished in 1.835 seconds with exit status 0 (successful). DEBUG [5b3c8de2] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5b3c8de2] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi DEBUG [5b3c8de2] Finished in 9.100 seconds with exit status 0 (successful). INFO [c77c9ecb] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [c77c9ecb] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093250 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [c77c9ecb] Finished in 0.344 seconds with exit status 0 (successful). INFO [32106851] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [32106851] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093250 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [32106851] Finished in 0.369 seconds with exit status 0 (successful). INFO [0f54e25f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [0f54e25f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093250 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [0f54e25f] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [1b3f0540] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1b3f0540] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi DEBUG [1b3f0540] Finished in 0.320 seconds with exit status 0 (successful). DEBUG [2f127644] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [2f127644] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093250 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [2f127644] The Gemfile's dependencies are satisfied DEBUG [2f127644] DEBUG [2f127644] Finished in 0.612 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [32a6e984] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [32a6e984] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093250; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093250'" 1>&2; false; fi DEBUG [32a6e984] Finished in 0.178 seconds with exit status 0 (successful). INFO [44ba6da9] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [44ba6da9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093250 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [44ba6da9] rake aborted! DEBUG [44ba6da9] DEBUG [44ba6da9] ActiveRecord::NoDatabaseError: We could not find your database: aum-dev. Which can be found in the database configuration file located at config/database.yml. DEBUG [44ba6da9] DEBUG [44ba6da9] DEBUG [44ba6da9] To resolve this issue: DEBUG [44ba6da9] DEBUG [44ba6da9] DEBUG [44ba6da9] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [44ba6da9] DEBUG [44ba6da9] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [44ba6da9] DEBUG [44ba6da9] DEBUG [44ba6da9] To create your database, run: DEBUG [44ba6da9] DEBUG [44ba6da9] DEBUG [44ba6da9] bin/rails db:create DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/de DEBUG [44ba6da9] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [44ba6da9] DEBUG [44ba6da9] DEBUG [44ba6da9] Caused by: DEBUG [44ba6da9] DEBUG [44ba6da9] Mysql2::Error: Unknown database 'aum-dev' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [44ba6da9] nection_handler.rb:211:in `retrieve_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [44ba6da9] DEBUG [44ba6da9] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [44ba6da9] DEBUG [44ba6da9] Tasks: TOP => db:migrate DEBUG [44ba6da9] DEBUG [44ba6da9] (See full trace by running task with --trace) DEBUG [44ba6da9] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:34:53 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [b2d83e85] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [b2d83e85] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [b2d83e85] Finished in 1.015 seconds with exit status 0 (successful). INFO [00de5616] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [00de5616] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [00de5616] Finished in 0.095 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-8e5cf8a00c728fcefb9d.sh 0.0% INFO Uploading /tmp/git-ssh-8e5cf8a00c728fcefb9d.sh 100.0% INFO [de697214] Running /usr/bin/env chmod 700 /tmp/git-ssh-8e5cf8a00c728fcefb9d.sh as deploy@3.1.200.152 DEBUG [de697214] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-8e5cf8a00c728fcefb9d.sh ) INFO [de697214] Finished in 0.109 seconds with exit status 0 (successful). INFO [7dbdbe23] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [7dbdbe23] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8e5cf8a00c728fcefb9d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [7dbdbe23] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [7dbdbe23] Finished in 2.969 seconds with exit status 0 (successful). INFO [ccc34e67] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [ccc34e67] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [ccc34e67] Finished in 0.075 seconds with exit status 0 (successful). INFO [09bf9098] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [09bf9098] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [09bf9098] Finished in 0.101 seconds with exit status 0 (successful). INFO [8166b508] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [8166b508] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [8166b508] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [c947f5f5] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [c947f5f5] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [c947f5f5] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [e23e31f4] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [e23e31f4] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [e23e31f4] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [69e2fb4b] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [69e2fb4b] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [69e2fb4b] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [08a82051] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [08a82051] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [08a82051] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [c55c5b76] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [c55c5b76] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [c55c5b76] Finished in 0.103 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [f3a17f71] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f3a17f71] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f3a17f71] Finished in 0.144 seconds with exit status 0 (successful). INFO [16cb0adf] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [16cb0adf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8e5cf8a00c728fcefb9d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [16cb0adf] Finished in 0.105 seconds with exit status 0 (successful). INFO [1244ccbb] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [1244ccbb] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8e5cf8a00c728fcefb9d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [1244ccbb] Fetching origin DEBUG [1244ccbb] INFO [1244ccbb] Finished in 3.099 seconds with exit status 0 (successful). DEBUG [c8133778] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c8133778] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c8133778] Finished in 0.118 seconds with exit status 0 (successful). INFO [47b29619] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093458 as deploy@3.1.200.152 DEBUG [47b29619] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8e5cf8a00c728fcefb9d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093458 ) INFO [47b29619] Finished in 0.106 seconds with exit status 0 (successful). INFO [7a2903a4] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093458 as deploy@3.1.200.152 DEBUG [7a2903a4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8e5cf8a00c728fcefb9d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093458 ) INFO [7a2903a4] Finished in 0.211 seconds with exit status 0 (successful). DEBUG [ae0ba160] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ae0ba160] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ae0ba160] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [7c0f3f5a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [7c0f3f5a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8e5cf8a00c728fcefb9d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [7c0f3f5a] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [7c0f3f5a] DEBUG [7c0f3f5a] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [c8294f73] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c8294f73] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi DEBUG [c8294f73] Finished in 0.103 seconds with exit status 0 (successful). INFO [690da09b] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [690da09b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093458 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [690da09b] Finished in 0.145 seconds with exit status 0 (successful). INFO [77651f64] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093458 /home/deploy/apps/aoumi_server/releases/20221230093458/config as deploy@3.1.200.152 DEBUG [77651f64] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093458 /home/deploy/apps/aoumi_server/releases/20221230093458/config ) INFO [77651f64] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [f0b708b1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/.env ] as deploy@3.1.200.152 DEBUG [f0b708b1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/.env ] DEBUG [f0b708b1] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [4115e98d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093458/.env ] as deploy@3.1.200.152 DEBUG [4115e98d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093458/.env ] DEBUG [4115e98d] Finished in 0.106 seconds with exit status 0 (successful). INFO [0624f528] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093458/.env as deploy@3.1.200.152 DEBUG [0624f528] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093458/.env ) INFO [0624f528] Finished in 0.150 seconds with exit status 0 (successful). INFO [d138ca45] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093458/.env as deploy@3.1.200.152 DEBUG [d138ca45] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093458/.env ) INFO [d138ca45] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [2abaae6d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml ] as deploy@3.1.200.152 DEBUG [2abaae6d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml ] DEBUG [2abaae6d] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [8266dd0d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml ] as deploy@3.1.200.152 DEBUG [8266dd0d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml ] DEBUG [8266dd0d] Finished in 0.104 seconds with exit status 0 (successful). INFO [7d2b91ae] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml as deploy@3.1.200.152 DEBUG [7d2b91ae] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml ) INFO [7d2b91ae] Finished in 0.143 seconds with exit status 0 (successful). INFO [6a816417] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml as deploy@3.1.200.152 DEBUG [6a816417] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093458/config/database.yml ) INFO [6a816417] Finished in 0.105 seconds with exit status 0 (successful). INFO [09fdabb3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093458 /home/deploy/apps/aoumi_server/releases/20221230093458/tmp /home/deploy/apps/aoumi_server/releases/20221230093458/vendor /home/deploy/apps/aoumi_server/releases/20221230093458/public as deploy@3.1.200.152 DEBUG [09fdabb3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093458 /home/deploy/apps/aoumi_server/releases/20221230093458/tmp /home/deploy/apps/aoumi_server/releases/20221230093458/vendor /home/deploy/apps/aoumi_server/releases/20221230093458/public ) INFO [09fdabb3] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [54edde83] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/log ] as deploy@3.1.200.152 DEBUG [54edde83] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/log ] DEBUG [54edde83] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [1cd25ca7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/log ] as deploy@3.1.200.152 DEBUG [1cd25ca7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/log ] DEBUG [1cd25ca7] Finished in 0.145 seconds with exit status 0 (successful). INFO [827e4b69] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093458/log as deploy@3.1.200.152 DEBUG [827e4b69] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093458/log ) INFO [827e4b69] Finished in 0.106 seconds with exit status 0 (successful). INFO [e141aac3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093458/log as deploy@3.1.200.152 DEBUG [e141aac3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093458/log ) INFO [e141aac3] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [0dc93ac9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids ] as deploy@3.1.200.152 DEBUG [0dc93ac9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids ] DEBUG [0dc93ac9] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [a964807e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids ] as deploy@3.1.200.152 DEBUG [a964807e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids ] DEBUG [a964807e] Finished in 0.144 seconds with exit status 0 (successful). INFO [a73d05e9] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids as deploy@3.1.200.152 DEBUG [a73d05e9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids ) INFO [a73d05e9] Finished in 0.112 seconds with exit status 0 (successful). INFO [c6a8d847] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids as deploy@3.1.200.152 DEBUG [c6a8d847] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/pids ) INFO [c6a8d847] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [cda403f6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/cache ] as deploy@3.1.200.152 DEBUG [cda403f6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/cache ] DEBUG [cda403f6] Finished in 0.107 seconds with exit status 1 (failed). DEBUG [cf648bf3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/cache ] as deploy@3.1.200.152 DEBUG [cf648bf3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/cache ] DEBUG [cf648bf3] Finished in 0.144 seconds with exit status 1 (failed). INFO [83ccfd98] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/cache as deploy@3.1.200.152 DEBUG [83ccfd98] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/cache ) INFO [83ccfd98] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [dcec25e0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/sockets ] as deploy@3.1.200.152 DEBUG [dcec25e0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/sockets ] DEBUG [dcec25e0] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [851bfe6b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/sockets ] as deploy@3.1.200.152 DEBUG [851bfe6b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/sockets ] DEBUG [851bfe6b] Finished in 0.103 seconds with exit status 1 (failed). INFO [1b616f34] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/sockets as deploy@3.1.200.152 DEBUG [1b616f34] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093458/tmp/sockets ) INFO [1b616f34] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [9eecdbed] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/vendor/bundle ] as deploy@3.1.200.152 DEBUG [9eecdbed] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/vendor/bundle ] DEBUG [9eecdbed] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [4dc630d9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/vendor/bundle ] as deploy@3.1.200.152 DEBUG [4dc630d9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/vendor/bundle ] DEBUG [4dc630d9] Finished in 0.146 seconds with exit status 1 (failed). INFO [fc8355dc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093458/vendor/bundle as deploy@3.1.200.152 DEBUG [fc8355dc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093458/vendor/bundle ) INFO [fc8355dc] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [049a7e5e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/public/system ] as deploy@3.1.200.152 DEBUG [049a7e5e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/public/system ] DEBUG [049a7e5e] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [5e8941f4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/public/system ] as deploy@3.1.200.152 DEBUG [5e8941f4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/public/system ] DEBUG [5e8941f4] Finished in 0.102 seconds with exit status 1 (failed). INFO [77e90da0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093458/public/system as deploy@3.1.200.152 DEBUG [77e90da0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093458/public/system ) INFO [77e90da0] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [a5b8020d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/public/uploads ] as deploy@3.1.200.152 DEBUG [a5b8020d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093458/public/uploads ] DEBUG [a5b8020d] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [20f75a16] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/public/uploads ] as deploy@3.1.200.152 DEBUG [20f75a16] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093458/public/uploads ] DEBUG [20f75a16] Finished in 0.144 seconds with exit status 1 (failed). INFO [ae11455b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093458/public/uploads as deploy@3.1.200.152 DEBUG [ae11455b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093458/public/uploads ) INFO [ae11455b] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [46126f14] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [46126f14] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi DEBUG [46126f14] Finished in 0.142 seconds with exit status 0 (successful). INFO [5b6ac5ac] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [5b6ac5ac] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093458 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [5b6ac5ac] Finished in 0.303 seconds with exit status 0 (successful). INFO [05e6e9ad] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [05e6e9ad] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093458 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [05e6e9ad] Finished in 0.353 seconds with exit status 0 (successful). INFO [09ffd7dc] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [09ffd7dc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093458 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [09ffd7dc] Finished in 0.304 seconds with exit status 0 (successful). DEBUG [97ce2949] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [97ce2949] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi DEBUG [97ce2949] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [62b180d4] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [62b180d4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093458 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [62b180d4] The Gemfile's dependencies are satisfied DEBUG [62b180d4] DEBUG [62b180d4] Finished in 0.507 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [b01552c4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [b01552c4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093458; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093458'" 1>&2; false; fi DEBUG [b01552c4] Finished in 0.095 seconds with exit status 0 (successful). INFO [a5922440] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [a5922440] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093458 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) DEBUG [a5922440] rake aborted! DEBUG [a5922440] DEBUG [a5922440] ActiveRecord::NoDatabaseError: We could not find your database: aum-dev. Which can be found in the database configuration file located at config/database.yml. DEBUG [a5922440] DEBUG [a5922440] DEBUG [a5922440] To resolve this issue: DEBUG [a5922440] DEBUG [a5922440] DEBUG [a5922440] - Did you create the database for this app, or delete it? You may need to create your database. DEBUG [a5922440] DEBUG [a5922440] - Has the database name changed? Check your database.yml config has the correct database name. DEBUG [a5922440] DEBUG [a5922440] DEBUG [a5922440] To create your database, run: DEBUG [a5922440] DEBUG [a5922440] DEBUG [a5922440] bin/rails db:create DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:47:in `rescue in new_client' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:43:in `new_client' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_handler.rb:211:in `retrieve_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [a5922440] DEBUG [a5922440] /home/de DEBUG [a5922440] ploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [a5922440] DEBUG [a5922440] DEBUG [a5922440] Caused by: DEBUG [a5922440] DEBUG [a5922440] Mysql2::Error: Unknown database 'aum-dev' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `connect' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95:in `initialize' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:44:in `new_client' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in `mysql2_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `public_send' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:656:in `new_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:700:in `checkout_new_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:679:in `try_to_checkout_new_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:640:in `acquire_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:341:in `checkout' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:181:in `connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_adapters/abstract/con DEBUG [a5922440] nection_handler.rb:211:in `retrieve_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:313:in `retrieve_connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/connection_handling.rb:280:in `connection' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/tasks/database_tasks.rb:262:in `migrate' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/activerecord-7.0.3.1/lib/active_record/railties/databases.rake:92:in `block (2 levels) in
' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in `' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `load' DEBUG [a5922440] DEBUG [a5922440] /home/deploy/.rbenv/versions/3.0.0/bin/bundle:23:in `
' DEBUG [a5922440] DEBUG [a5922440] Tasks: TOP => db:migrate DEBUG [a5922440] DEBUG [a5922440] (See full trace by running task with --trace) DEBUG [a5922440] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:36:29 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [079f9877] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [079f9877] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [079f9877] Finished in 0.991 seconds with exit status 0 (successful). INFO [8066673f] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [8066673f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [8066673f] Finished in 0.100 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-b415c19657a851ca93b5.sh 0.0% INFO Uploading /tmp/git-ssh-b415c19657a851ca93b5.sh 100.0% INFO [e9f04b51] Running /usr/bin/env chmod 700 /tmp/git-ssh-b415c19657a851ca93b5.sh as deploy@3.1.200.152 DEBUG [e9f04b51] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-b415c19657a851ca93b5.sh ) INFO [e9f04b51] Finished in 0.103 seconds with exit status 0 (successful). INFO [b89762fb] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [b89762fb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b415c19657a851ca93b5.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b89762fb] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [b89762fb] HEAD INFO [b89762fb] Finished in 3.051 seconds with exit status 0 (successful). INFO [4bf6b809] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [4bf6b809] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [4bf6b809] Finished in 0.101 seconds with exit status 0 (successful). INFO [34c3bdbd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [34c3bdbd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [34c3bdbd] Finished in 0.105 seconds with exit status 0 (successful). INFO [fad84deb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [fad84deb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [fad84deb] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [6979b703] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [6979b703] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [6979b703] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [20f520c2] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [20f520c2] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [20f520c2] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [23a9b281] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [23a9b281] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [23a9b281] Finished in 0.247 seconds with exit status 0 (successful). DEBUG [626b0b12] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [626b0b12] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [626b0b12] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [ffa8665b] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [ffa8665b] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [ffa8665b] Finished in 0.100 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [9395b52e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9395b52e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9395b52e] Finished in 0.146 seconds with exit status 0 (successful). INFO [f3b85403] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [f3b85403] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b415c19657a851ca93b5.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f3b85403] Finished in 0.103 seconds with exit status 0 (successful). INFO [7324ba11] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [7324ba11] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b415c19657a851ca93b5.sh" ; /usr/bin/env git remote update --prune ) DEBUG [7324ba11] Fetching origin DEBUG [7324ba11] INFO [7324ba11] Finished in 2.930 seconds with exit status 0 (successful). DEBUG [652fcde4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [652fcde4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [652fcde4] Finished in 0.261 seconds with exit status 0 (successful). INFO [6ad8e871] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093635 as deploy@3.1.200.152 DEBUG [6ad8e871] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b415c19657a851ca93b5.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093635 ) INFO [6ad8e871] Finished in 0.103 seconds with exit status 0 (successful). INFO [0488df7b] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093635 as deploy@3.1.200.152 DEBUG [0488df7b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b415c19657a851ca93b5.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093635 ) INFO [0488df7b] Finished in 0.208 seconds with exit status 0 (successful). DEBUG [52057728] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [52057728] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [52057728] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [68e6abe1] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [68e6abe1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b415c19657a851ca93b5.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [68e6abe1] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [68e6abe1] DEBUG [68e6abe1] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [142f8b0a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [142f8b0a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi DEBUG [142f8b0a] Finished in 0.102 seconds with exit status 0 (successful). INFO [d676a271] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [d676a271] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093635 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [d676a271] Finished in 0.149 seconds with exit status 0 (successful). INFO [b52dd35e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093635 /home/deploy/apps/aoumi_server/releases/20221230093635/config as deploy@3.1.200.152 DEBUG [b52dd35e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093635 /home/deploy/apps/aoumi_server/releases/20221230093635/config ) INFO [b52dd35e] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [27bbb6d7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/.env ] as deploy@3.1.200.152 DEBUG [27bbb6d7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/.env ] DEBUG [27bbb6d7] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [a8cc9e20] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093635/.env ] as deploy@3.1.200.152 DEBUG [a8cc9e20] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093635/.env ] DEBUG [a8cc9e20] Finished in 0.104 seconds with exit status 0 (successful). INFO [dd040168] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093635/.env as deploy@3.1.200.152 DEBUG [dd040168] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093635/.env ) INFO [dd040168] Finished in 0.145 seconds with exit status 0 (successful). INFO [52546d67] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093635/.env as deploy@3.1.200.152 DEBUG [52546d67] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093635/.env ) INFO [52546d67] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [7fe68842] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml ] as deploy@3.1.200.152 DEBUG [7fe68842] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml ] DEBUG [7fe68842] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [6d0991c2] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml ] as deploy@3.1.200.152 DEBUG [6d0991c2] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml ] DEBUG [6d0991c2] Finished in 0.102 seconds with exit status 0 (successful). INFO [7a23e44d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml as deploy@3.1.200.152 DEBUG [7a23e44d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml ) INFO [7a23e44d] Finished in 0.151 seconds with exit status 0 (successful). INFO [10c810e6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml as deploy@3.1.200.152 DEBUG [10c810e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093635/config/database.yml ) INFO [10c810e6] Finished in 0.165 seconds with exit status 0 (successful). INFO [52194d2d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093635 /home/deploy/apps/aoumi_server/releases/20221230093635/tmp /home/deploy/apps/aoumi_server/releases/20221230093635/vendor /home/deploy/apps/aoumi_server/releases/20221230093635/public as deploy@3.1.200.152 DEBUG [52194d2d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093635 /home/deploy/apps/aoumi_server/releases/20221230093635/tmp /home/deploy/apps/aoumi_server/releases/20221230093635/vendor /home/deploy/apps/aoumi_server/releases/20221230093635/public ) INFO [52194d2d] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [23eb3567] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/log ] as deploy@3.1.200.152 DEBUG [23eb3567] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/log ] DEBUG [23eb3567] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [f031d55d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/log ] as deploy@3.1.200.152 DEBUG [f031d55d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/log ] DEBUG [f031d55d] Finished in 0.146 seconds with exit status 0 (successful). INFO [3d0c8fba] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093635/log as deploy@3.1.200.152 DEBUG [3d0c8fba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093635/log ) INFO [3d0c8fba] Finished in 0.103 seconds with exit status 0 (successful). INFO [1b842611] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093635/log as deploy@3.1.200.152 DEBUG [1b842611] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093635/log ) INFO [1b842611] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [6b3e729a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids ] as deploy@3.1.200.152 DEBUG [6b3e729a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids ] DEBUG [6b3e729a] Finished in 0.107 seconds with exit status 1 (failed). DEBUG [26dd1321] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids ] as deploy@3.1.200.152 DEBUG [26dd1321] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids ] DEBUG [26dd1321] Finished in 0.163 seconds with exit status 0 (successful). INFO [e8a24255] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids as deploy@3.1.200.152 DEBUG [e8a24255] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids ) INFO [e8a24255] Finished in 0.123 seconds with exit status 0 (successful). INFO [037a787a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids as deploy@3.1.200.152 DEBUG [037a787a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/pids ) INFO [037a787a] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [c41f5733] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/cache ] as deploy@3.1.200.152 DEBUG [c41f5733] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/cache ] DEBUG [c41f5733] Finished in 0.226 seconds with exit status 1 (failed). DEBUG [44c322ce] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/cache ] as deploy@3.1.200.152 DEBUG [44c322ce] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/cache ] DEBUG [44c322ce] Finished in 0.173 seconds with exit status 1 (failed). INFO [4d052b7d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/cache as deploy@3.1.200.152 DEBUG [4d052b7d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/cache ) INFO [4d052b7d] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [b18e6c51] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/sockets ] as deploy@3.1.200.152 DEBUG [b18e6c51] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/sockets ] DEBUG [b18e6c51] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [0284dc29] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/sockets ] as deploy@3.1.200.152 DEBUG [0284dc29] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/sockets ] DEBUG [0284dc29] Finished in 0.105 seconds with exit status 1 (failed). INFO [1f4e9658] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/sockets as deploy@3.1.200.152 DEBUG [1f4e9658] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093635/tmp/sockets ) INFO [1f4e9658] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [c274909b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/vendor/bundle ] as deploy@3.1.200.152 DEBUG [c274909b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/vendor/bundle ] DEBUG [c274909b] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [867cf2fe] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/vendor/bundle ] as deploy@3.1.200.152 DEBUG [867cf2fe] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/vendor/bundle ] DEBUG [867cf2fe] Finished in 0.166 seconds with exit status 1 (failed). INFO [49fddf52] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093635/vendor/bundle as deploy@3.1.200.152 DEBUG [49fddf52] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093635/vendor/bundle ) INFO [49fddf52] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [edb859f4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/public/system ] as deploy@3.1.200.152 DEBUG [edb859f4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/public/system ] DEBUG [edb859f4] Finished in 0.165 seconds with exit status 1 (failed). DEBUG [27ea8c1b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/public/system ] as deploy@3.1.200.152 DEBUG [27ea8c1b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/public/system ] DEBUG [27ea8c1b] Finished in 0.113 seconds with exit status 1 (failed). INFO [4957757b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093635/public/system as deploy@3.1.200.152 DEBUG [4957757b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093635/public/system ) INFO [4957757b] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [29ba4a61] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/public/uploads ] as deploy@3.1.200.152 DEBUG [29ba4a61] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093635/public/uploads ] DEBUG [29ba4a61] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [0acd87c7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/public/uploads ] as deploy@3.1.200.152 DEBUG [0acd87c7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093635/public/uploads ] DEBUG [0acd87c7] Finished in 0.143 seconds with exit status 1 (failed). INFO [4fab09aa] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093635/public/uploads as deploy@3.1.200.152 DEBUG [4fab09aa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093635/public/uploads ) INFO [4fab09aa] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [e25819ec] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e25819ec] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi DEBUG [e25819ec] Finished in 0.231 seconds with exit status 0 (successful). INFO [1bfa99be] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [1bfa99be] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093635 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [1bfa99be] Finished in 0.303 seconds with exit status 0 (successful). INFO [29d7e7b6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [29d7e7b6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093635 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [29d7e7b6] Finished in 0.461 seconds with exit status 0 (successful). INFO [ff2b4d21] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [ff2b4d21] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093635 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [ff2b4d21] Finished in 0.319 seconds with exit status 0 (successful). DEBUG [269e04c4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [269e04c4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi DEBUG [269e04c4] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [9c1e19a6] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [9c1e19a6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093635 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [9c1e19a6] The Gemfile's dependencies are satisfied DEBUG [9c1e19a6] DEBUG [9c1e19a6] Finished in 0.548 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [3fba8255] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [3fba8255] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093635; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093635'" 1>&2; false; fi DEBUG [3fba8255] Finished in 0.145 seconds with exit status 0 (successful). INFO [e1d46acc] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [e1d46acc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093635 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [e1d46acc] Finished in 1.390 seconds with exit status 0 (successful). INFO [ea016242] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230093635 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [ea016242] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230093635 /home/deploy/apps/aoumi_server/releases/current ) INFO [ea016242] Finished in 0.154 seconds with exit status 0 (successful). INFO [a4e6c59a] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [a4e6c59a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [a4e6c59a] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [598f40f6] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [598f40f6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [598f40f6] 20221230092917 DEBUG [598f40f6] DEBUG [598f40f6] 20221230093250 DEBUG [598f40f6] DEBUG [598f40f6] 20221230093458 DEBUG [598f40f6] DEBUG [598f40f6] 20221230093635 DEBUG [598f40f6] DEBUG [598f40f6] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [5e872aca] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5e872aca] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [5e872aca] Finished in 0.108 seconds with exit status 0 (successful). INFO [6573e455] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230093635 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [6573e455] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230093635 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [6573e455] Finished in 0.152 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:37:09 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f0ee9d82] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [f0ee9d82] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [f0ee9d82] Finished in 1.055 seconds with exit status 0 (successful). INFO [8d616942] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [8d616942] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [8d616942] Finished in 0.096 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-32475e1aa252a09106f2.sh 0.0% INFO Uploading /tmp/git-ssh-32475e1aa252a09106f2.sh 100.0% INFO [e83edbf4] Running /usr/bin/env chmod 700 /tmp/git-ssh-32475e1aa252a09106f2.sh as deploy@3.1.200.152 DEBUG [e83edbf4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-32475e1aa252a09106f2.sh ) INFO [e83edbf4] Finished in 0.109 seconds with exit status 0 (successful). INFO [ebc8c834] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [ebc8c834] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-32475e1aa252a09106f2.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ebc8c834] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [ebc8c834] HEAD INFO [ebc8c834] Finished in 2.968 seconds with exit status 0 (successful). INFO [a6052c98] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [a6052c98] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [a6052c98] Finished in 0.088 seconds with exit status 0 (successful). INFO [354454b3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [354454b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [354454b3] Finished in 0.101 seconds with exit status 0 (successful). INFO [c392e33d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [c392e33d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [c392e33d] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [b9b2307e] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [b9b2307e] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [b9b2307e] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [2e31c47d] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [2e31c47d] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [2e31c47d] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [196f7d4f] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [196f7d4f] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [196f7d4f] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [a7ac5893] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [a7ac5893] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [a7ac5893] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [da641405] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [da641405] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [da641405] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [da641405] DEBUG [da641405] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [df2c6e8c] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [df2c6e8c] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [df2c6e8c] Finished in 0.145 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [40ee5ca2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [40ee5ca2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [40ee5ca2] Finished in 0.099 seconds with exit status 0 (successful). INFO [e7af90d6] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [e7af90d6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-32475e1aa252a09106f2.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e7af90d6] Finished in 0.148 seconds with exit status 0 (successful). INFO [cf85ae94] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [cf85ae94] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-32475e1aa252a09106f2.sh" ; /usr/bin/env git remote update --prune ) DEBUG [cf85ae94] Fetching origin DEBUG [cf85ae94] INFO [cf85ae94] Finished in 2.827 seconds with exit status 0 (successful). DEBUG [70150f98] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [70150f98] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [70150f98] Finished in 0.097 seconds with exit status 0 (successful). INFO [efe6d197] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093715 as deploy@3.1.200.152 DEBUG [efe6d197] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-32475e1aa252a09106f2.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093715 ) INFO [efe6d197] Finished in 0.154 seconds with exit status 0 (successful). INFO [03327e51] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093715 as deploy@3.1.200.152 DEBUG [03327e51] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-32475e1aa252a09106f2.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093715 ) INFO [03327e51] Finished in 0.168 seconds with exit status 0 (successful). DEBUG [47b0ba97] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [47b0ba97] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [47b0ba97] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [db328047] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [db328047] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-32475e1aa252a09106f2.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [db328047] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [db328047] DEBUG [db328047] Finished in 0.128 seconds with exit status 0 (successful). DEBUG [a45aa315] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [a45aa315] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi DEBUG [a45aa315] Finished in 0.143 seconds with exit status 0 (successful). INFO [71db8dac] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [71db8dac] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093715 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [71db8dac] Finished in 0.107 seconds with exit status 0 (successful). INFO [c727cbcf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093715 /home/deploy/apps/aoumi_server/releases/20221230093715/config as deploy@3.1.200.152 DEBUG [c727cbcf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093715 /home/deploy/apps/aoumi_server/releases/20221230093715/config ) INFO [c727cbcf] Finished in 0.181 seconds with exit status 0 (successful). DEBUG [7d13035d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/.env ] as deploy@3.1.200.152 DEBUG [7d13035d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/.env ] DEBUG [7d13035d] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [0e3e4529] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093715/.env ] as deploy@3.1.200.152 DEBUG [0e3e4529] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093715/.env ] DEBUG [0e3e4529] Finished in 0.143 seconds with exit status 0 (successful). INFO [c275687d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093715/.env as deploy@3.1.200.152 DEBUG [c275687d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093715/.env ) INFO [c275687d] Finished in 0.134 seconds with exit status 0 (successful). INFO [4fa77ca5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093715/.env as deploy@3.1.200.152 DEBUG [4fa77ca5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093715/.env ) INFO [4fa77ca5] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [f74777d0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml ] as deploy@3.1.200.152 DEBUG [f74777d0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml ] DEBUG [f74777d0] Finished in 0.114 seconds with exit status 1 (failed). DEBUG [a8be877f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml ] as deploy@3.1.200.152 DEBUG [a8be877f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml ] DEBUG [a8be877f] Finished in 0.194 seconds with exit status 0 (successful). INFO [31bc198b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml as deploy@3.1.200.152 DEBUG [31bc198b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml ) INFO [31bc198b] Finished in 0.175 seconds with exit status 0 (successful). INFO [fa66726a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml as deploy@3.1.200.152 DEBUG [fa66726a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093715/config/database.yml ) INFO [fa66726a] Finished in 0.149 seconds with exit status 0 (successful). INFO [3daad97c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093715 /home/deploy/apps/aoumi_server/releases/20221230093715/tmp /home/deploy/apps/aoumi_server/releases/20221230093715/vendor /home/deploy/apps/aoumi_server/releases/20221230093715/public as deploy@3.1.200.152 DEBUG [3daad97c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093715 /home/deploy/apps/aoumi_server/releases/20221230093715/tmp /home/deploy/apps/aoumi_server/releases/20221230093715/vendor /home/deploy/apps/aoumi_server/releases/20221230093715/public ) INFO [3daad97c] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [e1957e99] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/log ] as deploy@3.1.200.152 DEBUG [e1957e99] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/log ] DEBUG [e1957e99] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [cf9c7b22] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/log ] as deploy@3.1.200.152 DEBUG [cf9c7b22] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/log ] DEBUG [cf9c7b22] Finished in 0.102 seconds with exit status 0 (successful). INFO [4b163649] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093715/log as deploy@3.1.200.152 DEBUG [4b163649] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093715/log ) INFO [4b163649] Finished in 0.149 seconds with exit status 0 (successful). INFO [df426482] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093715/log as deploy@3.1.200.152 DEBUG [df426482] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093715/log ) INFO [df426482] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [d9b63741] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids ] as deploy@3.1.200.152 DEBUG [d9b63741] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids ] DEBUG [d9b63741] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [5db22f15] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids ] as deploy@3.1.200.152 DEBUG [5db22f15] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids ] DEBUG [5db22f15] Finished in 0.101 seconds with exit status 0 (successful). INFO [d0a5f868] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids as deploy@3.1.200.152 DEBUG [d0a5f868] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids ) INFO [d0a5f868] Finished in 0.156 seconds with exit status 0 (successful). INFO [7fc61af2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids as deploy@3.1.200.152 DEBUG [7fc61af2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/pids ) INFO [7fc61af2] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [efa39392] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/cache ] as deploy@3.1.200.152 DEBUG [efa39392] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/cache ] DEBUG [efa39392] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [fe853cef] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/cache ] as deploy@3.1.200.152 DEBUG [fe853cef] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/cache ] DEBUG [fe853cef] Finished in 0.102 seconds with exit status 1 (failed). INFO [cf975047] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/cache as deploy@3.1.200.152 DEBUG [cf975047] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/cache ) INFO [cf975047] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [5d948296] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/sockets ] as deploy@3.1.200.152 DEBUG [5d948296] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/sockets ] DEBUG [5d948296] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [e6716c39] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/sockets ] as deploy@3.1.200.152 DEBUG [e6716c39] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/sockets ] DEBUG [e6716c39] Finished in 0.145 seconds with exit status 1 (failed). INFO [da672b22] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/sockets as deploy@3.1.200.152 DEBUG [da672b22] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093715/tmp/sockets ) INFO [da672b22] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [40ca2fee] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/vendor/bundle ] as deploy@3.1.200.152 DEBUG [40ca2fee] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/vendor/bundle ] DEBUG [40ca2fee] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [23ef43a1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/vendor/bundle ] as deploy@3.1.200.152 DEBUG [23ef43a1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/vendor/bundle ] DEBUG [23ef43a1] Finished in 0.102 seconds with exit status 1 (failed). INFO [72bb97f4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093715/vendor/bundle as deploy@3.1.200.152 DEBUG [72bb97f4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093715/vendor/bundle ) INFO [72bb97f4] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [4fd99da1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/public/system ] as deploy@3.1.200.152 DEBUG [4fd99da1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/public/system ] DEBUG [4fd99da1] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [72ca5f14] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/public/system ] as deploy@3.1.200.152 DEBUG [72ca5f14] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/public/system ] DEBUG [72ca5f14] Finished in 0.154 seconds with exit status 1 (failed). INFO [97d50cef] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093715/public/system as deploy@3.1.200.152 DEBUG [97d50cef] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093715/public/system ) INFO [97d50cef] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [5b9500c7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/public/uploads ] as deploy@3.1.200.152 DEBUG [5b9500c7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093715/public/uploads ] DEBUG [5b9500c7] Finished in 0.153 seconds with exit status 1 (failed). DEBUG [afc087b5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/public/uploads ] as deploy@3.1.200.152 DEBUG [afc087b5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093715/public/uploads ] DEBUG [afc087b5] Finished in 0.117 seconds with exit status 1 (failed). INFO [548c1047] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093715/public/uploads as deploy@3.1.200.152 DEBUG [548c1047] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093715/public/uploads ) INFO [548c1047] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [5b67bd89] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5b67bd89] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi DEBUG [5b67bd89] Finished in 0.112 seconds with exit status 0 (successful). INFO [8fb0c16f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [8fb0c16f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093715 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [8fb0c16f] Finished in 0.367 seconds with exit status 0 (successful). INFO [2adbb863] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [2adbb863] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093715 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [2adbb863] Finished in 0.310 seconds with exit status 0 (successful). INFO [e7f364d4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [e7f364d4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093715 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e7f364d4] Finished in 0.440 seconds with exit status 0 (successful). DEBUG [1210a209] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1210a209] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi DEBUG [1210a209] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [1fd7133e] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [1fd7133e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093715 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [1fd7133e] The Gemfile's dependencies are satisfied DEBUG [1fd7133e] DEBUG [1fd7133e] Finished in 0.616 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [da16e412] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [da16e412] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093715; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093715'" 1>&2; false; fi DEBUG [da16e412] Finished in 0.106 seconds with exit status 0 (successful). INFO [30e67fe1] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [30e67fe1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093715 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [30e67fe1] Finished in 1.426 seconds with exit status 0 (successful). INFO [3f7831bd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230093715 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [3f7831bd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230093715 /home/deploy/apps/aoumi_server/releases/current ) INFO [3f7831bd] Finished in 0.106 seconds with exit status 0 (successful). INFO [4c1840ac] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [4c1840ac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [4c1840ac] Finished in 0.163 seconds with exit status 0 (successful). DEBUG [78fa3fe2] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [78fa3fe2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [78fa3fe2] 20221230092917 DEBUG [78fa3fe2] DEBUG [78fa3fe2] 20221230093250 DEBUG [78fa3fe2] DEBUG [78fa3fe2] 20221230093458 DEBUG [78fa3fe2] DEBUG [78fa3fe2] 20221230093635 DEBUG [78fa3fe2] DEBUG [78fa3fe2] 20221230093715 DEBUG [78fa3fe2] DEBUG [78fa3fe2] Finished in 0.114 seconds with exit status 0 (successful). INFO Keeping 5 of 5 deployed releases on 3.1.200.152 DEBUG [7832e6c3] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [7832e6c3] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [7832e6c3] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [1e4091df] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [1e4091df] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [1e4091df] /home/deploy/apps/aoumi_server/releases/20221230093715 DEBUG [1e4091df] DEBUG [1e4091df] Finished in 0.105 seconds with exit status 0 (successful). INFO No old releases (keeping newest 5) on 3.1.200.152 DEBUG [b65b79ce] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [b65b79ce] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [b65b79ce] Finished in 0.143 seconds with exit status 0 (successful). INFO [664091da] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230093715 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [664091da] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230093715 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [664091da] Finished in 0.101 seconds with exit status 0 (successful). INFO [5e4d87ec] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [5e4d87ec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [5e4d87ec] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:37:40 +0700 cap development deploy:test INFO --------------------------------------------------------------------------- DEBUG [135e7fe2] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [135e7fe2] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [135e7fe2] Finished in 1.010 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:37:45 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [00036eed] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [00036eed] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [00036eed] Finished in 1.095 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:38:04 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [4d990592] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [4d990592] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [4d990592] Finished in 1.028 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:38:08 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [0e0dbce3] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [0e0dbce3] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [0e0dbce3] Finished in 1.059 seconds with exit status 0 (successful). INFO [55881858] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [55881858] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [55881858] Finished in 0.106 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-dd173000479b44339e47.sh 0.0% INFO Uploading /tmp/git-ssh-dd173000479b44339e47.sh 100.0% INFO [7872fb05] Running /usr/bin/env chmod 700 /tmp/git-ssh-dd173000479b44339e47.sh as deploy@3.1.200.152 DEBUG [7872fb05] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-dd173000479b44339e47.sh ) INFO [7872fb05] Finished in 0.107 seconds with exit status 0 (successful). INFO [9460e8d8] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [9460e8d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd173000479b44339e47.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [9460e8d8] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [9460e8d8] HEAD INFO [9460e8d8] Finished in 2.958 seconds with exit status 0 (successful). INFO [dc3f24db] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [dc3f24db] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [dc3f24db] Finished in 0.119 seconds with exit status 0 (successful). INFO [1b7981ff] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [1b7981ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [1b7981ff] Finished in 0.100 seconds with exit status 0 (successful). INFO [40cfdf18] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [40cfdf18] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [40cfdf18] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [0e28518b] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [0e28518b] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [0e28518b] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [9eefddd9] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [9eefddd9] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [9eefddd9] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [646a9632] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [646a9632] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [646a9632] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [883a5297] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [883a5297] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [883a5297] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [4f654167] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [4f654167] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [4f654167] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [4f654167] DEBUG [4f654167] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [bcebe38c] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [bcebe38c] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [bcebe38c] Finished in 0.145 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [43e1e8b6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [43e1e8b6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [43e1e8b6] Finished in 0.103 seconds with exit status 0 (successful). INFO [631c2dbd] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [631c2dbd] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd173000479b44339e47.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [631c2dbd] Finished in 0.153 seconds with exit status 0 (successful). INFO [957af1ab] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [957af1ab] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd173000479b44339e47.sh" ; /usr/bin/env git remote update --prune ) DEBUG [957af1ab] Fetching origin DEBUG [957af1ab] INFO [957af1ab] Finished in 2.889 seconds with exit status 0 (successful). DEBUG [f910c8a2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f910c8a2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f910c8a2] Finished in 0.106 seconds with exit status 0 (successful). INFO [8e66efe9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093814 as deploy@3.1.200.152 DEBUG [8e66efe9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd173000479b44339e47.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093814 ) INFO [8e66efe9] Finished in 0.111 seconds with exit status 0 (successful). INFO [e02d3344] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093814 as deploy@3.1.200.152 DEBUG [e02d3344] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd173000479b44339e47.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230093814 ) INFO [e02d3344] Finished in 0.229 seconds with exit status 0 (successful). DEBUG [b5918c3d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [b5918c3d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b5918c3d] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [7bfec9ee] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [7bfec9ee] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-dd173000479b44339e47.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [7bfec9ee] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [7bfec9ee] DEBUG [7bfec9ee] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [e4957e29] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e4957e29] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi DEBUG [e4957e29] Finished in 0.105 seconds with exit status 0 (successful). INFO [00931d49] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [00931d49] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [00931d49] Finished in 0.153 seconds with exit status 0 (successful). INFO [4cb8cf1c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093814 /home/deploy/apps/aoumi_server/releases/20221230093814/config as deploy@3.1.200.152 DEBUG [4cb8cf1c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093814 /home/deploy/apps/aoumi_server/releases/20221230093814/config ) INFO [4cb8cf1c] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [579b0a78] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/.env ] as deploy@3.1.200.152 DEBUG [579b0a78] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/.env ] DEBUG [579b0a78] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [beae3c3a] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093814/.env ] as deploy@3.1.200.152 DEBUG [beae3c3a] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093814/.env ] DEBUG [beae3c3a] Finished in 0.110 seconds with exit status 0 (successful). INFO [64fbd976] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093814/.env as deploy@3.1.200.152 DEBUG [64fbd976] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093814/.env ) INFO [64fbd976] Finished in 0.154 seconds with exit status 0 (successful). INFO [395fc06f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093814/.env as deploy@3.1.200.152 DEBUG [395fc06f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230093814/.env ) INFO [395fc06f] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [79a980dd] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml ] as deploy@3.1.200.152 DEBUG [79a980dd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml ] DEBUG [79a980dd] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [75041cc5] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml ] as deploy@3.1.200.152 DEBUG [75041cc5] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml ] DEBUG [75041cc5] Finished in 0.110 seconds with exit status 0 (successful). INFO [65d2464e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml as deploy@3.1.200.152 DEBUG [65d2464e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml ) INFO [65d2464e] Finished in 0.147 seconds with exit status 0 (successful). INFO [68a35710] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml as deploy@3.1.200.152 DEBUG [68a35710] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230093814/config/database.yml ) INFO [68a35710] Finished in 0.113 seconds with exit status 0 (successful). INFO [d103f643] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093814 /home/deploy/apps/aoumi_server/releases/20221230093814/tmp /home/deploy/apps/aoumi_server/releases/20221230093814/vendor /home/deploy/apps/aoumi_server/releases/20221230093814/public as deploy@3.1.200.152 DEBUG [d103f643] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230093814 /home/deploy/apps/aoumi_server/releases/20221230093814/tmp /home/deploy/apps/aoumi_server/releases/20221230093814/vendor /home/deploy/apps/aoumi_server/releases/20221230093814/public ) INFO [d103f643] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [278d13c0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/log ] as deploy@3.1.200.152 DEBUG [278d13c0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/log ] DEBUG [278d13c0] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [a048b15e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/log ] as deploy@3.1.200.152 DEBUG [a048b15e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/log ] DEBUG [a048b15e] Finished in 0.147 seconds with exit status 0 (successful). INFO [e675b13e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093814/log as deploy@3.1.200.152 DEBUG [e675b13e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093814/log ) INFO [e675b13e] Finished in 0.113 seconds with exit status 0 (successful). INFO [a3f0a6ba] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093814/log as deploy@3.1.200.152 DEBUG [a3f0a6ba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230093814/log ) INFO [a3f0a6ba] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [ab513606] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids ] as deploy@3.1.200.152 DEBUG [ab513606] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids ] DEBUG [ab513606] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [35990dec] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids ] as deploy@3.1.200.152 DEBUG [35990dec] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids ] DEBUG [35990dec] Finished in 0.151 seconds with exit status 0 (successful). INFO [61901d77] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids as deploy@3.1.200.152 DEBUG [61901d77] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids ) INFO [61901d77] Finished in 0.107 seconds with exit status 0 (successful). INFO [71b47fa4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids as deploy@3.1.200.152 DEBUG [71b47fa4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/pids ) INFO [71b47fa4] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [a9f85137] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/cache ] as deploy@3.1.200.152 DEBUG [a9f85137] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/cache ] DEBUG [a9f85137] Finished in 0.113 seconds with exit status 1 (failed). DEBUG [688f84c7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/cache ] as deploy@3.1.200.152 DEBUG [688f84c7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/cache ] DEBUG [688f84c7] Finished in 0.148 seconds with exit status 1 (failed). INFO [87281f5d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/cache as deploy@3.1.200.152 DEBUG [87281f5d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/cache ) INFO [87281f5d] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [22db8744] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/sockets ] as deploy@3.1.200.152 DEBUG [22db8744] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/sockets ] DEBUG [22db8744] Finished in 0.152 seconds with exit status 1 (failed). DEBUG [61e07ef1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/sockets ] as deploy@3.1.200.152 DEBUG [61e07ef1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/sockets ] DEBUG [61e07ef1] Finished in 0.106 seconds with exit status 1 (failed). INFO [31a1a298] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/sockets as deploy@3.1.200.152 DEBUG [31a1a298] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230093814/tmp/sockets ) INFO [31a1a298] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [0c2a2259] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/vendor/bundle ] as deploy@3.1.200.152 DEBUG [0c2a2259] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/vendor/bundle ] DEBUG [0c2a2259] Finished in 0.112 seconds with exit status 1 (failed). DEBUG [0e5f739c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/vendor/bundle ] as deploy@3.1.200.152 DEBUG [0e5f739c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/vendor/bundle ] DEBUG [0e5f739c] Finished in 0.156 seconds with exit status 1 (failed). INFO [42c62b4f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093814/vendor/bundle as deploy@3.1.200.152 DEBUG [42c62b4f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230093814/vendor/bundle ) INFO [42c62b4f] Finished in 0.119 seconds with exit status 0 (successful). DEBUG [5362714b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/public/system ] as deploy@3.1.200.152 DEBUG [5362714b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/public/system ] DEBUG [5362714b] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [511f81c2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/public/system ] as deploy@3.1.200.152 DEBUG [511f81c2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/public/system ] DEBUG [511f81c2] Finished in 0.105 seconds with exit status 1 (failed). INFO [8bf9396b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093814/public/system as deploy@3.1.200.152 DEBUG [8bf9396b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230093814/public/system ) INFO [8bf9396b] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [dac2b4f6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/public/uploads ] as deploy@3.1.200.152 DEBUG [dac2b4f6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230093814/public/uploads ] DEBUG [dac2b4f6] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [81a47076] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/public/uploads ] as deploy@3.1.200.152 DEBUG [81a47076] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230093814/public/uploads ] DEBUG [81a47076] Finished in 0.147 seconds with exit status 1 (failed). INFO [954ebf65] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093814/public/uploads as deploy@3.1.200.152 DEBUG [954ebf65] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230093814/public/uploads ) INFO [954ebf65] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [06f875be] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [06f875be] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi DEBUG [06f875be] Finished in 0.154 seconds with exit status 0 (successful). INFO [fb2707e0] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [fb2707e0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [fb2707e0] Finished in 0.311 seconds with exit status 0 (successful). INFO [eac3b90a] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [eac3b90a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [eac3b90a] Finished in 0.347 seconds with exit status 0 (successful). INFO [ada8c113] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [ada8c113] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [ada8c113] Finished in 0.344 seconds with exit status 0 (successful). DEBUG [7755cf09] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7755cf09] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi DEBUG [7755cf09] Finished in 0.161 seconds with exit status 0 (successful). DEBUG [dbd756fe] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [dbd756fe] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [dbd756fe] The Gemfile's dependencies are satisfied DEBUG [dbd756fe] DEBUG [dbd756fe] Finished in 0.555 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [ae7f216c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ae7f216c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230093814; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230093814'" 1>&2; false; fi DEBUG [ae7f216c] Finished in 0.075 seconds with exit status 0 (successful). INFO [7801a5e2] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [7801a5e2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230093814 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [7801a5e2] Finished in 1.417 seconds with exit status 0 (successful). INFO [71c635d4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230093814 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [71c635d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230093814 /home/deploy/apps/aoumi_server/releases/current ) INFO [71c635d4] Finished in 0.109 seconds with exit status 0 (successful). INFO [9b6d403e] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [9b6d403e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [9b6d403e] Finished in 0.160 seconds with exit status 0 (successful). DEBUG [0ebfc009] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [0ebfc009] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [0ebfc009] 20221230092917 DEBUG [0ebfc009] DEBUG [0ebfc009] 20221230093250 DEBUG [0ebfc009] DEBUG [0ebfc009] 20221230093458 DEBUG [0ebfc009] DEBUG [0ebfc009] 20221230093635 DEBUG [0ebfc009] DEBUG [0ebfc009] 20221230093715 DEBUG [0ebfc009] DEBUG [0ebfc009] 20221230093814 DEBUG [0ebfc009] DEBUG [0ebfc009] Finished in 0.115 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [8c87bb26] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [8c87bb26] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [8c87bb26] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [8c46ca93] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [8c46ca93] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [8c46ca93] /home/deploy/apps/aoumi_server/releases/20221230093814 DEBUG [8c46ca93] DEBUG [8c46ca93] Finished in 0.111 seconds with exit status 0 (successful). INFO [157fd269] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230092917 as deploy@3.1.200.152 DEBUG [157fd269] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230092917 ) INFO [157fd269] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [df6afa93] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [df6afa93] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [df6afa93] Finished in 0.117 seconds with exit status 0 (successful). INFO [d1802d5f] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230093814 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [d1802d5f] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230093814 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [d1802d5f] Finished in 0.206 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:41:22 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a88aa98e] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [a88aa98e] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [a88aa98e] Finished in 0.993 seconds with exit status 0 (successful). INFO [9d8b3453] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [9d8b3453] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [9d8b3453] Finished in 0.100 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-b6c1b8386886674665a7.sh 0.0% INFO Uploading /tmp/git-ssh-b6c1b8386886674665a7.sh 100.0% INFO [ed660f54] Running /usr/bin/env chmod 700 /tmp/git-ssh-b6c1b8386886674665a7.sh as deploy@3.1.200.152 DEBUG [ed660f54] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-b6c1b8386886674665a7.sh ) INFO [ed660f54] Finished in 0.109 seconds with exit status 0 (successful). INFO [22b60db6] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [22b60db6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b6c1b8386886674665a7.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [22b60db6] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [22b60db6] HEAD INFO [22b60db6] Finished in 12.700 seconds with exit status 0 (successful). INFO [97e29cfa] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [97e29cfa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [97e29cfa] Finished in 0.108 seconds with exit status 0 (successful). INFO [af2ff772] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [af2ff772] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [af2ff772] Finished in 0.172 seconds with exit status 0 (successful). INFO [398670f5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [398670f5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [398670f5] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [936a7ca7] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [936a7ca7] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [936a7ca7] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [50372a6f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [50372a6f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [50372a6f] Finished in 0.119 seconds with exit status 0 (successful). DEBUG [d7ed3b09] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [d7ed3b09] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [d7ed3b09] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [be2d6063] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [be2d6063] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [be2d6063] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [09b3afaa] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [09b3afaa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [09b3afaa] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [09b3afaa] DEBUG [09b3afaa] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [b581d9ab] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [b581d9ab] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [b581d9ab] Finished in 0.135 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [dfb8571a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [dfb8571a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [dfb8571a] Finished in 0.155 seconds with exit status 0 (successful). INFO [1ac36c10] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [1ac36c10] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b6c1b8386886674665a7.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [1ac36c10] Finished in 0.118 seconds with exit status 0 (successful). INFO [35ef6ecc] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [35ef6ecc] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b6c1b8386886674665a7.sh" ; /usr/bin/env git remote update --prune ) DEBUG [35ef6ecc] Fetching origin DEBUG [35ef6ecc] INFO [35ef6ecc] Finished in 2.972 seconds with exit status 0 (successful). DEBUG [3202fb93] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [3202fb93] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3202fb93] Finished in 0.134 seconds with exit status 0 (successful). INFO [e37f20b1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094137 as deploy@3.1.200.152 DEBUG [e37f20b1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b6c1b8386886674665a7.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094137 ) INFO [e37f20b1] Finished in 0.127 seconds with exit status 0 (successful). INFO [e2cb9271] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094137 as deploy@3.1.200.152 DEBUG [e2cb9271] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b6c1b8386886674665a7.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094137 ) INFO [e2cb9271] Finished in 0.210 seconds with exit status 0 (successful). DEBUG [c56653d6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c56653d6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c56653d6] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [2c81491d] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [2c81491d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-b6c1b8386886674665a7.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [2c81491d] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [2c81491d] DEBUG [2c81491d] Finished in 0.210 seconds with exit status 0 (successful). DEBUG [7fbbd0fc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7fbbd0fc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi DEBUG [7fbbd0fc] Finished in 0.135 seconds with exit status 0 (successful). INFO [5b79cb2c] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [5b79cb2c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [5b79cb2c] Finished in 0.152 seconds with exit status 0 (successful). INFO [68d27c4f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094137 /home/deploy/apps/aoumi_server/releases/20221230094137/config as deploy@3.1.200.152 DEBUG [68d27c4f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094137 /home/deploy/apps/aoumi_server/releases/20221230094137/config ) INFO [68d27c4f] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [b4fc382e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/.env ] as deploy@3.1.200.152 DEBUG [b4fc382e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/.env ] DEBUG [b4fc382e] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [ad28c569] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094137/.env ] as deploy@3.1.200.152 DEBUG [ad28c569] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094137/.env ] DEBUG [ad28c569] Finished in 0.114 seconds with exit status 0 (successful). INFO [bfff49b7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094137/.env as deploy@3.1.200.152 DEBUG [bfff49b7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094137/.env ) INFO [bfff49b7] Finished in 0.147 seconds with exit status 0 (successful). INFO [18a18443] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094137/.env as deploy@3.1.200.152 DEBUG [18a18443] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094137/.env ) INFO [18a18443] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [2bae2bac] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml ] as deploy@3.1.200.152 DEBUG [2bae2bac] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml ] DEBUG [2bae2bac] Finished in 0.152 seconds with exit status 1 (failed). DEBUG [de2395f7] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml ] as deploy@3.1.200.152 DEBUG [de2395f7] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml ] DEBUG [de2395f7] Finished in 0.108 seconds with exit status 0 (successful). INFO [a786d46d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml as deploy@3.1.200.152 DEBUG [a786d46d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml ) INFO [a786d46d] Finished in 0.148 seconds with exit status 0 (successful). INFO [aca07d78] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml as deploy@3.1.200.152 DEBUG [aca07d78] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094137/config/database.yml ) INFO [aca07d78] Finished in 0.106 seconds with exit status 0 (successful). INFO [c856ccd6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094137 /home/deploy/apps/aoumi_server/releases/20221230094137/tmp /home/deploy/apps/aoumi_server/releases/20221230094137/vendor /home/deploy/apps/aoumi_server/releases/20221230094137/public as deploy@3.1.200.152 DEBUG [c856ccd6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094137 /home/deploy/apps/aoumi_server/releases/20221230094137/tmp /home/deploy/apps/aoumi_server/releases/20221230094137/vendor /home/deploy/apps/aoumi_server/releases/20221230094137/public ) INFO [c856ccd6] Finished in 0.139 seconds with exit status 0 (successful). DEBUG [54f1cda1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/log ] as deploy@3.1.200.152 DEBUG [54f1cda1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/log ] DEBUG [54f1cda1] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [53cf51a7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/log ] as deploy@3.1.200.152 DEBUG [53cf51a7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/log ] DEBUG [53cf51a7] Finished in 0.149 seconds with exit status 0 (successful). INFO [a44b32c2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094137/log as deploy@3.1.200.152 DEBUG [a44b32c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094137/log ) INFO [a44b32c2] Finished in 0.110 seconds with exit status 0 (successful). INFO [67934a66] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094137/log as deploy@3.1.200.152 DEBUG [67934a66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094137/log ) INFO [67934a66] Finished in 0.156 seconds with exit status 0 (successful). DEBUG [c20628b6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids ] as deploy@3.1.200.152 DEBUG [c20628b6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids ] DEBUG [c20628b6] Finished in 0.120 seconds with exit status 1 (failed). DEBUG [1ce9831e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids ] as deploy@3.1.200.152 DEBUG [1ce9831e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids ] DEBUG [1ce9831e] Finished in 0.143 seconds with exit status 0 (successful). INFO [248780f0] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids as deploy@3.1.200.152 DEBUG [248780f0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids ) INFO [248780f0] Finished in 0.109 seconds with exit status 0 (successful). INFO [1dcadf1f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids as deploy@3.1.200.152 DEBUG [1dcadf1f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/pids ) INFO [1dcadf1f] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [5e85265f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/cache ] as deploy@3.1.200.152 DEBUG [5e85265f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/cache ] DEBUG [5e85265f] Finished in 0.111 seconds with exit status 1 (failed). DEBUG [f7a364f9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/cache ] as deploy@3.1.200.152 DEBUG [f7a364f9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/cache ] DEBUG [f7a364f9] Finished in 0.149 seconds with exit status 1 (failed). INFO [c72cf2fb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/cache as deploy@3.1.200.152 DEBUG [c72cf2fb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/cache ) INFO [c72cf2fb] Finished in 0.115 seconds with exit status 0 (successful). DEBUG [c59c2dcf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/sockets ] as deploy@3.1.200.152 DEBUG [c59c2dcf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/sockets ] DEBUG [c59c2dcf] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [3a14e5c7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/sockets ] as deploy@3.1.200.152 DEBUG [3a14e5c7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/sockets ] DEBUG [3a14e5c7] Finished in 0.106 seconds with exit status 1 (failed). INFO [95de209c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/sockets as deploy@3.1.200.152 DEBUG [95de209c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094137/tmp/sockets ) INFO [95de209c] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [b83be789] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/vendor/bundle ] as deploy@3.1.200.152 DEBUG [b83be789] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/vendor/bundle ] DEBUG [b83be789] Finished in 0.109 seconds with exit status 1 (failed). DEBUG [83af3539] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/vendor/bundle ] as deploy@3.1.200.152 DEBUG [83af3539] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/vendor/bundle ] DEBUG [83af3539] Finished in 0.143 seconds with exit status 1 (failed). INFO [702b5e85] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094137/vendor/bundle as deploy@3.1.200.152 DEBUG [702b5e85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094137/vendor/bundle ) INFO [702b5e85] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [6cfc3a5f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/public/system ] as deploy@3.1.200.152 DEBUG [6cfc3a5f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/public/system ] DEBUG [6cfc3a5f] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [9452b8bd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/public/system ] as deploy@3.1.200.152 DEBUG [9452b8bd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/public/system ] DEBUG [9452b8bd] Finished in 0.103 seconds with exit status 1 (failed). INFO [0ad42a57] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094137/public/system as deploy@3.1.200.152 DEBUG [0ad42a57] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094137/public/system ) INFO [0ad42a57] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [54ba941c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/public/uploads ] as deploy@3.1.200.152 DEBUG [54ba941c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094137/public/uploads ] DEBUG [54ba941c] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [b1d57084] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/public/uploads ] as deploy@3.1.200.152 DEBUG [b1d57084] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094137/public/uploads ] DEBUG [b1d57084] Finished in 0.155 seconds with exit status 1 (failed). INFO [c485ba14] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094137/public/uploads as deploy@3.1.200.152 DEBUG [c485ba14] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094137/public/uploads ) INFO [c485ba14] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [7f071b70] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7f071b70] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi DEBUG [7f071b70] Finished in 0.149 seconds with exit status 0 (successful). INFO [ef8108b4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [ef8108b4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [ef8108b4] Finished in 0.407 seconds with exit status 0 (successful). INFO [bcc55765] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [bcc55765] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [bcc55765] Finished in 0.355 seconds with exit status 0 (successful). INFO [61a28f10] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [61a28f10] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [61a28f10] Finished in 0.302 seconds with exit status 0 (successful). DEBUG [e1ee9bc3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e1ee9bc3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi DEBUG [e1ee9bc3] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [a0a8ef41] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [a0a8ef41] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [a0a8ef41] The Gemfile's dependencies are satisfied DEBUG [a0a8ef41] DEBUG [a0a8ef41] Finished in 0.525 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [fd45639c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [fd45639c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094137'" 1>&2; false; fi DEBUG [fd45639c] Finished in 0.151 seconds with exit status 0 (successful). INFO [44145de2] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [44145de2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094137 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [44145de2] Finished in 1.363 seconds with exit status 0 (successful). INFO [9b04feec] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094137 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [9b04feec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094137 /home/deploy/apps/aoumi_server/releases/current ) INFO [9b04feec] Finished in 0.146 seconds with exit status 0 (successful). INFO [d0c4632e] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [d0c4632e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [d0c4632e] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [5493f37a] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [5493f37a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [5493f37a] 20221230093250 DEBUG [5493f37a] DEBUG [5493f37a] 20221230093458 DEBUG [5493f37a] DEBUG [5493f37a] 20221230093635 DEBUG [5493f37a] DEBUG [5493f37a] 20221230093715 DEBUG [5493f37a] DEBUG [5493f37a] 20221230093814 DEBUG [5493f37a] DEBUG [5493f37a] 20221230094137 DEBUG [5493f37a] DEBUG [5493f37a] Finished in 0.172 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [55c76fef] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [55c76fef] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [55c76fef] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [9df5b5c4] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [9df5b5c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [9df5b5c4] /home/deploy/apps/aoumi_server/releases/20221230094137 DEBUG [9df5b5c4] DEBUG [9df5b5c4] Finished in 0.150 seconds with exit status 0 (successful). INFO [b157b9da] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093250 as deploy@3.1.200.152 DEBUG [b157b9da] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093250 ) INFO [b157b9da] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [df9d0aff] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [df9d0aff] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [df9d0aff] Finished in 0.159 seconds with exit status 0 (successful). INFO [fce5162a] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094137 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [fce5162a] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094137 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [fce5162a] Finished in 0.105 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:43:29 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [fa2a9560] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [fa2a9560] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [fa2a9560] Finished in 1.052 seconds with exit status 0 (successful). INFO [48c984f1] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [48c984f1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [48c984f1] Finished in 0.097 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-919de10b8958dca9c3be.sh 0.0% INFO Uploading /tmp/git-ssh-919de10b8958dca9c3be.sh 100.0% INFO [38f140b6] Running /usr/bin/env chmod 700 /tmp/git-ssh-919de10b8958dca9c3be.sh as deploy@3.1.200.152 DEBUG [38f140b6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-919de10b8958dca9c3be.sh ) INFO [38f140b6] Finished in 0.110 seconds with exit status 0 (successful). INFO [f59bedcc] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [f59bedcc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-919de10b8958dca9c3be.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [f59bedcc] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [f59bedcc] HEAD INFO [f59bedcc] Finished in 2.972 seconds with exit status 0 (successful). INFO [e99ee956] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [e99ee956] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [e99ee956] Finished in 0.101 seconds with exit status 0 (successful). INFO [c6eb5707] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [c6eb5707] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [c6eb5707] Finished in 0.107 seconds with exit status 0 (successful). INFO [c71ea17b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [c71ea17b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [c71ea17b] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [780f77ac] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [780f77ac] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [780f77ac] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [148d67e6] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [148d67e6] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [148d67e6] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [559e1034] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [559e1034] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [559e1034] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [d6dd921c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [d6dd921c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [d6dd921c] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [08734d98] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [08734d98] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [08734d98] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [08734d98] DEBUG [08734d98] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [6e098412] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [6e098412] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [6e098412] Finished in 0.147 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [3d842b1d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [3d842b1d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3d842b1d] Finished in 0.101 seconds with exit status 0 (successful). INFO [4cf43c2f] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [4cf43c2f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-919de10b8958dca9c3be.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [4cf43c2f] Finished in 0.148 seconds with exit status 0 (successful). INFO [732c75f2] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [732c75f2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-919de10b8958dca9c3be.sh" ; /usr/bin/env git remote update --prune ) DEBUG [732c75f2] Fetching origin DEBUG [732c75f2] INFO [732c75f2] Finished in 3.011 seconds with exit status 0 (successful). DEBUG [7a13ef91] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7a13ef91] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7a13ef91] Finished in 0.100 seconds with exit status 0 (successful). INFO [3967f773] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094334 as deploy@3.1.200.152 DEBUG [3967f773] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-919de10b8958dca9c3be.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094334 ) INFO [3967f773] Finished in 0.108 seconds with exit status 0 (successful). INFO [2f103070] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094334 as deploy@3.1.200.152 DEBUG [2f103070] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-919de10b8958dca9c3be.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094334 ) INFO [2f103070] Finished in 0.211 seconds with exit status 0 (successful). DEBUG [9e342b0b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9e342b0b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9e342b0b] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [77aa02ac] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [77aa02ac] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-919de10b8958dca9c3be.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [77aa02ac] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [77aa02ac] DEBUG [77aa02ac] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [e1f5d5b3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e1f5d5b3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi DEBUG [e1f5d5b3] Finished in 0.107 seconds with exit status 0 (successful). INFO [9455bc64] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [9455bc64] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094334 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [9455bc64] Finished in 0.146 seconds with exit status 0 (successful). INFO [8cd8486c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094334 /home/deploy/apps/aoumi_server/releases/20221230094334/config as deploy@3.1.200.152 DEBUG [8cd8486c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094334 /home/deploy/apps/aoumi_server/releases/20221230094334/config ) INFO [8cd8486c] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [d0d176b2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/.env ] as deploy@3.1.200.152 DEBUG [d0d176b2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/.env ] DEBUG [d0d176b2] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [5a774278] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094334/.env ] as deploy@3.1.200.152 DEBUG [5a774278] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094334/.env ] DEBUG [5a774278] Finished in 0.103 seconds with exit status 0 (successful). INFO [2d33465a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094334/.env as deploy@3.1.200.152 DEBUG [2d33465a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094334/.env ) INFO [2d33465a] Finished in 0.147 seconds with exit status 0 (successful). INFO [73ebc75e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094334/.env as deploy@3.1.200.152 DEBUG [73ebc75e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094334/.env ) INFO [73ebc75e] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [544f8c7b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml ] as deploy@3.1.200.152 DEBUG [544f8c7b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml ] DEBUG [544f8c7b] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [e0971e12] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml ] as deploy@3.1.200.152 DEBUG [e0971e12] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml ] DEBUG [e0971e12] Finished in 0.108 seconds with exit status 0 (successful). INFO [6088c67a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml as deploy@3.1.200.152 DEBUG [6088c67a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml ) INFO [6088c67a] Finished in 0.147 seconds with exit status 0 (successful). INFO [cdb4820c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml as deploy@3.1.200.152 DEBUG [cdb4820c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094334/config/database.yml ) INFO [cdb4820c] Finished in 0.106 seconds with exit status 0 (successful). INFO [aa351df8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094334 /home/deploy/apps/aoumi_server/releases/20221230094334/tmp /home/deploy/apps/aoumi_server/releases/20221230094334/vendor /home/deploy/apps/aoumi_server/releases/20221230094334/public as deploy@3.1.200.152 DEBUG [aa351df8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094334 /home/deploy/apps/aoumi_server/releases/20221230094334/tmp /home/deploy/apps/aoumi_server/releases/20221230094334/vendor /home/deploy/apps/aoumi_server/releases/20221230094334/public ) INFO [aa351df8] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [48cf9d32] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/log ] as deploy@3.1.200.152 DEBUG [48cf9d32] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/log ] DEBUG [48cf9d32] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [e880c081] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/log ] as deploy@3.1.200.152 DEBUG [e880c081] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/log ] DEBUG [e880c081] Finished in 0.146 seconds with exit status 0 (successful). INFO [4e04fd1a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094334/log as deploy@3.1.200.152 DEBUG [4e04fd1a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094334/log ) INFO [4e04fd1a] Finished in 0.108 seconds with exit status 0 (successful). INFO [47376c1d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094334/log as deploy@3.1.200.152 DEBUG [47376c1d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094334/log ) INFO [47376c1d] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [96de09b6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids ] as deploy@3.1.200.152 DEBUG [96de09b6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids ] DEBUG [96de09b6] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [d72f1930] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids ] as deploy@3.1.200.152 DEBUG [d72f1930] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids ] DEBUG [d72f1930] Finished in 0.149 seconds with exit status 0 (successful). INFO [1108f5ff] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids as deploy@3.1.200.152 DEBUG [1108f5ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids ) INFO [1108f5ff] Finished in 0.104 seconds with exit status 0 (successful). INFO [27697040] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids as deploy@3.1.200.152 DEBUG [27697040] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/pids ) INFO [27697040] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [15422e18] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/cache ] as deploy@3.1.200.152 DEBUG [15422e18] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/cache ] DEBUG [15422e18] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [c17099f7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/cache ] as deploy@3.1.200.152 DEBUG [c17099f7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/cache ] DEBUG [c17099f7] Finished in 0.148 seconds with exit status 1 (failed). INFO [9f1308d4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/cache as deploy@3.1.200.152 DEBUG [9f1308d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/cache ) INFO [9f1308d4] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [fe6d9dbd] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/sockets ] as deploy@3.1.200.152 DEBUG [fe6d9dbd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/sockets ] DEBUG [fe6d9dbd] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [fc89105c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/sockets ] as deploy@3.1.200.152 DEBUG [fc89105c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/sockets ] DEBUG [fc89105c] Finished in 0.107 seconds with exit status 1 (failed). INFO [29515c74] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/sockets as deploy@3.1.200.152 DEBUG [29515c74] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094334/tmp/sockets ) INFO [29515c74] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [3754e2c7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/vendor/bundle ] as deploy@3.1.200.152 DEBUG [3754e2c7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/vendor/bundle ] DEBUG [3754e2c7] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [8bcdd3d4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/vendor/bundle ] as deploy@3.1.200.152 DEBUG [8bcdd3d4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/vendor/bundle ] DEBUG [8bcdd3d4] Finished in 0.143 seconds with exit status 1 (failed). INFO [eab451d2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094334/vendor/bundle as deploy@3.1.200.152 DEBUG [eab451d2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094334/vendor/bundle ) INFO [eab451d2] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [99671044] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/public/system ] as deploy@3.1.200.152 DEBUG [99671044] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/public/system ] DEBUG [99671044] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [52341646] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/public/system ] as deploy@3.1.200.152 DEBUG [52341646] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/public/system ] DEBUG [52341646] Finished in 0.103 seconds with exit status 1 (failed). INFO [770d12f5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094334/public/system as deploy@3.1.200.152 DEBUG [770d12f5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094334/public/system ) INFO [770d12f5] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [e87448b7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/public/uploads ] as deploy@3.1.200.152 DEBUG [e87448b7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094334/public/uploads ] DEBUG [e87448b7] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [5f7b550a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/public/uploads ] as deploy@3.1.200.152 DEBUG [5f7b550a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094334/public/uploads ] DEBUG [5f7b550a] Finished in 0.146 seconds with exit status 1 (failed). INFO [33a0b63b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094334/public/uploads as deploy@3.1.200.152 DEBUG [33a0b63b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094334/public/uploads ) INFO [33a0b63b] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [90081759] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [90081759] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi DEBUG [90081759] Finished in 0.144 seconds with exit status 0 (successful). INFO [6182fd0d] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [6182fd0d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094334 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [6182fd0d] Finished in 0.369 seconds with exit status 0 (successful). INFO [95ba935b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [95ba935b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094334 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [95ba935b] Finished in 0.349 seconds with exit status 0 (successful). INFO [f771aafe] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [f771aafe] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094334 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [f771aafe] Finished in 0.362 seconds with exit status 0 (successful). DEBUG [edb0d621] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [edb0d621] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi DEBUG [edb0d621] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [da18b3a0] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [da18b3a0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094334 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [da18b3a0] The Gemfile's dependencies are satisfied DEBUG [da18b3a0] DEBUG [da18b3a0] Finished in 0.473 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [f0dc8316] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f0dc8316] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094334; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094334'" 1>&2; false; fi DEBUG [f0dc8316] Finished in 0.146 seconds with exit status 0 (successful). INFO [f1d205f4] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [f1d205f4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094334 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [f1d205f4] Finished in 1.373 seconds with exit status 0 (successful). INFO [0263341c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094334 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [0263341c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094334 /home/deploy/apps/aoumi_server/releases/current ) INFO [0263341c] Finished in 0.145 seconds with exit status 0 (successful). INFO [d9e308d5] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [d9e308d5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [d9e308d5] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [549a62e6] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [549a62e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [549a62e6] 20221230093458 DEBUG [549a62e6] DEBUG [549a62e6] 20221230093635 DEBUG [549a62e6] DEBUG [549a62e6] 20221230093715 DEBUG [549a62e6] DEBUG [549a62e6] 20221230093814 DEBUG [549a62e6] DEBUG [549a62e6] 20221230094137 DEBUG [549a62e6] DEBUG [549a62e6] 20221230094334 DEBUG [549a62e6] DEBUG [549a62e6] Finished in 0.151 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [c8d4d774] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [c8d4d774] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [c8d4d774] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [17409bfd] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [17409bfd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [17409bfd] /home/deploy/apps/aoumi_server/releases/20221230094334 DEBUG [17409bfd] DEBUG [17409bfd] Finished in 0.146 seconds with exit status 0 (successful). INFO [1a4b55d8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093458 as deploy@3.1.200.152 DEBUG [1a4b55d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093458 ) INFO [1a4b55d8] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [912f32e7] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [912f32e7] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [912f32e7] Finished in 0.144 seconds with exit status 0 (successful). INFO [9cc0b125] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094334 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [9cc0b125] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094334 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [9cc0b125] Finished in 0.100 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:44:26 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [7a1f0e49] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [7a1f0e49] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [7a1f0e49] Finished in 1.074 seconds with exit status 0 (successful). INFO [a8555e23] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [a8555e23] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [a8555e23] Finished in 0.099 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-6128ee6ef32ebff7f837.sh 0.0% INFO Uploading /tmp/git-ssh-6128ee6ef32ebff7f837.sh 100.0% INFO [779f626c] Running /usr/bin/env chmod 700 /tmp/git-ssh-6128ee6ef32ebff7f837.sh as deploy@3.1.200.152 DEBUG [779f626c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-6128ee6ef32ebff7f837.sh ) INFO [779f626c] Finished in 0.111 seconds with exit status 0 (successful). INFO [7b73b2e4] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [7b73b2e4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6128ee6ef32ebff7f837.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [7b73b2e4] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [7b73b2e4] HEAD INFO [7b73b2e4] Finished in 2.867 seconds with exit status 0 (successful). INFO [82dda574] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [82dda574] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [82dda574] Finished in 0.110 seconds with exit status 0 (successful). INFO [456104bf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [456104bf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [456104bf] Finished in 0.103 seconds with exit status 0 (successful). INFO [39bb4892] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [39bb4892] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [39bb4892] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [f54a345b] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [f54a345b] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [f54a345b] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [471c18cc] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [471c18cc] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [471c18cc] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [59b91f78] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [59b91f78] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [59b91f78] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [1cbcc713] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [1cbcc713] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [1cbcc713] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [e438cc46] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [e438cc46] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [e438cc46] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [e438cc46] DEBUG [e438cc46] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [80a01209] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [80a01209] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [80a01209] Finished in 0.174 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [bfbb0f0a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [bfbb0f0a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bfbb0f0a] Finished in 0.107 seconds with exit status 0 (successful). INFO [81710e50] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [81710e50] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6128ee6ef32ebff7f837.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [81710e50] Finished in 0.153 seconds with exit status 0 (successful). INFO [7e4f7917] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [7e4f7917] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6128ee6ef32ebff7f837.sh" ; /usr/bin/env git remote update --prune ) DEBUG [7e4f7917] Fetching origin DEBUG [7e4f7917] INFO [7e4f7917] Finished in 2.954 seconds with exit status 0 (successful). DEBUG [3105ec0b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [3105ec0b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3105ec0b] Finished in 0.109 seconds with exit status 0 (successful). INFO [8fd56d46] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094431 as deploy@3.1.200.152 DEBUG [8fd56d46] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6128ee6ef32ebff7f837.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094431 ) INFO [8fd56d46] Finished in 0.107 seconds with exit status 0 (successful). INFO [c2c50287] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094431 as deploy@3.1.200.152 DEBUG [c2c50287] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6128ee6ef32ebff7f837.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094431 ) INFO [c2c50287] Finished in 0.214 seconds with exit status 0 (successful). DEBUG [78bfdcfc] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [78bfdcfc] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [78bfdcfc] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [cc94fd28] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [cc94fd28] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6128ee6ef32ebff7f837.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [cc94fd28] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [cc94fd28] DEBUG [cc94fd28] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [d9fbe927] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d9fbe927] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi DEBUG [d9fbe927] Finished in 0.114 seconds with exit status 0 (successful). INFO [a5cdf5bd] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [a5cdf5bd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094431 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [a5cdf5bd] Finished in 0.157 seconds with exit status 0 (successful). INFO [97e6ddbe] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094431 /home/deploy/apps/aoumi_server/releases/20221230094431/config as deploy@3.1.200.152 DEBUG [97e6ddbe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094431 /home/deploy/apps/aoumi_server/releases/20221230094431/config ) INFO [97e6ddbe] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [52821f9e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/.env ] as deploy@3.1.200.152 DEBUG [52821f9e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/.env ] DEBUG [52821f9e] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [9d695afc] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094431/.env ] as deploy@3.1.200.152 DEBUG [9d695afc] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094431/.env ] DEBUG [9d695afc] Finished in 0.109 seconds with exit status 0 (successful). INFO [2bfa3d76] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094431/.env as deploy@3.1.200.152 DEBUG [2bfa3d76] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094431/.env ) INFO [2bfa3d76] Finished in 0.146 seconds with exit status 0 (successful). INFO [7c796592] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094431/.env as deploy@3.1.200.152 DEBUG [7c796592] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094431/.env ) INFO [7c796592] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [5547cfc0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml ] as deploy@3.1.200.152 DEBUG [5547cfc0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml ] DEBUG [5547cfc0] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [52cb3243] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml ] as deploy@3.1.200.152 DEBUG [52cb3243] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml ] DEBUG [52cb3243] Finished in 0.111 seconds with exit status 0 (successful). INFO [66ca2e6a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml as deploy@3.1.200.152 DEBUG [66ca2e6a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml ) INFO [66ca2e6a] Finished in 0.154 seconds with exit status 0 (successful). INFO [074ea0f9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml as deploy@3.1.200.152 DEBUG [074ea0f9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094431/config/database.yml ) INFO [074ea0f9] Finished in 0.125 seconds with exit status 0 (successful). INFO [e2ec19e5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094431 /home/deploy/apps/aoumi_server/releases/20221230094431/tmp /home/deploy/apps/aoumi_server/releases/20221230094431/vendor /home/deploy/apps/aoumi_server/releases/20221230094431/public as deploy@3.1.200.152 DEBUG [e2ec19e5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094431 /home/deploy/apps/aoumi_server/releases/20221230094431/tmp /home/deploy/apps/aoumi_server/releases/20221230094431/vendor /home/deploy/apps/aoumi_server/releases/20221230094431/public ) INFO [e2ec19e5] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [51deb800] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/log ] as deploy@3.1.200.152 DEBUG [51deb800] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/log ] DEBUG [51deb800] Finished in 0.110 seconds with exit status 1 (failed). DEBUG [edb2f083] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/log ] as deploy@3.1.200.152 DEBUG [edb2f083] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/log ] DEBUG [edb2f083] Finished in 0.162 seconds with exit status 0 (successful). INFO [83f9528e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094431/log as deploy@3.1.200.152 DEBUG [83f9528e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094431/log ) INFO [83f9528e] Finished in 0.109 seconds with exit status 0 (successful). INFO [89f22181] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094431/log as deploy@3.1.200.152 DEBUG [89f22181] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094431/log ) INFO [89f22181] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [a0e72307] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids ] as deploy@3.1.200.152 DEBUG [a0e72307] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids ] DEBUG [a0e72307] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [9ed287ea] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids ] as deploy@3.1.200.152 DEBUG [9ed287ea] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids ] DEBUG [9ed287ea] Finished in 0.150 seconds with exit status 0 (successful). INFO [aa59f335] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids as deploy@3.1.200.152 DEBUG [aa59f335] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids ) INFO [aa59f335] Finished in 0.111 seconds with exit status 0 (successful). INFO [db218520] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids as deploy@3.1.200.152 DEBUG [db218520] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/pids ) INFO [db218520] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [6b0bc957] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/cache ] as deploy@3.1.200.152 DEBUG [6b0bc957] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/cache ] DEBUG [6b0bc957] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [f622b598] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/cache ] as deploy@3.1.200.152 DEBUG [f622b598] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/cache ] DEBUG [f622b598] Finished in 0.153 seconds with exit status 1 (failed). INFO [3e73272e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/cache as deploy@3.1.200.152 DEBUG [3e73272e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/cache ) INFO [3e73272e] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [ad46edd6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/sockets ] as deploy@3.1.200.152 DEBUG [ad46edd6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/sockets ] DEBUG [ad46edd6] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [27efb5b2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/sockets ] as deploy@3.1.200.152 DEBUG [27efb5b2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/sockets ] DEBUG [27efb5b2] Finished in 0.108 seconds with exit status 1 (failed). INFO [e35cfc6b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/sockets as deploy@3.1.200.152 DEBUG [e35cfc6b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094431/tmp/sockets ) INFO [e35cfc6b] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [73d5e892] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/vendor/bundle ] as deploy@3.1.200.152 DEBUG [73d5e892] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/vendor/bundle ] DEBUG [73d5e892] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [5dfda7b3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/vendor/bundle ] as deploy@3.1.200.152 DEBUG [5dfda7b3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/vendor/bundle ] DEBUG [5dfda7b3] Finished in 0.147 seconds with exit status 1 (failed). INFO [d97a9a67] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094431/vendor/bundle as deploy@3.1.200.152 DEBUG [d97a9a67] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094431/vendor/bundle ) INFO [d97a9a67] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [dfa42629] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/public/system ] as deploy@3.1.200.152 DEBUG [dfa42629] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/public/system ] DEBUG [dfa42629] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [4277c37e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/public/system ] as deploy@3.1.200.152 DEBUG [4277c37e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/public/system ] DEBUG [4277c37e] Finished in 0.109 seconds with exit status 1 (failed). INFO [1eae2ff5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094431/public/system as deploy@3.1.200.152 DEBUG [1eae2ff5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094431/public/system ) INFO [1eae2ff5] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [221c9636] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/public/uploads ] as deploy@3.1.200.152 DEBUG [221c9636] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094431/public/uploads ] DEBUG [221c9636] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [938d5948] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/public/uploads ] as deploy@3.1.200.152 DEBUG [938d5948] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094431/public/uploads ] DEBUG [938d5948] Finished in 0.164 seconds with exit status 1 (failed). INFO [29de4388] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094431/public/uploads as deploy@3.1.200.152 DEBUG [29de4388] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094431/public/uploads ) INFO [29de4388] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [3ee9c0d8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [3ee9c0d8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi DEBUG [3ee9c0d8] Finished in 0.151 seconds with exit status 0 (successful). INFO [017cfb3f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [017cfb3f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094431 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [017cfb3f] Finished in 0.302 seconds with exit status 0 (successful). INFO [f7b56619] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [f7b56619] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094431 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [f7b56619] Finished in 0.343 seconds with exit status 0 (successful). INFO [2fab4eb4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [2fab4eb4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094431 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [2fab4eb4] Finished in 0.301 seconds with exit status 0 (successful). DEBUG [567927bb] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [567927bb] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi DEBUG [567927bb] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [165cf1a3] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [165cf1a3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094431 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [165cf1a3] The Gemfile's dependencies are satisfied DEBUG [165cf1a3] DEBUG [165cf1a3] Finished in 0.496 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [f27b2119] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f27b2119] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094431; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094431'" 1>&2; false; fi DEBUG [f27b2119] Finished in 0.149 seconds with exit status 0 (successful). INFO [cb253d79] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [cb253d79] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094431 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [cb253d79] Finished in 1.381 seconds with exit status 0 (successful). INFO [7e683fa8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094431 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [7e683fa8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094431 /home/deploy/apps/aoumi_server/releases/current ) INFO [7e683fa8] Finished in 0.147 seconds with exit status 0 (successful). INFO [2b5f1386] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [2b5f1386] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [2b5f1386] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [5330ce72] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [5330ce72] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [5330ce72] 20221230093635 DEBUG [5330ce72] DEBUG [5330ce72] 20221230093715 DEBUG [5330ce72] DEBUG [5330ce72] 20221230093814 DEBUG [5330ce72] DEBUG [5330ce72] 20221230094137 DEBUG [5330ce72] DEBUG [5330ce72] 20221230094334 DEBUG [5330ce72] DEBUG [5330ce72] 20221230094431 DEBUG [5330ce72] DEBUG [5330ce72] Finished in 0.158 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [a1ef52b2] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [a1ef52b2] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [a1ef52b2] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [1e46f5a6] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [1e46f5a6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [1e46f5a6] /home/deploy/apps/aoumi_server/releases/20221230094431 DEBUG [1e46f5a6] DEBUG [1e46f5a6] Finished in 0.149 seconds with exit status 0 (successful). INFO [9c4e721c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093635 as deploy@3.1.200.152 DEBUG [9c4e721c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093635 ) INFO [9c4e721c] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [7d1c0ef3] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7d1c0ef3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [7d1c0ef3] Finished in 0.147 seconds with exit status 0 (successful). INFO [ac91878b] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094431 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [ac91878b] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094431 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [ac91878b] Finished in 0.109 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:45:41 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [520cb9b1] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [520cb9b1] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [520cb9b1] Finished in 0.967 seconds with exit status 0 (successful). INFO [3b3a6781] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [3b3a6781] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [3b3a6781] Finished in 0.100 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-c93c95d7f0f34342539a.sh 0.0% INFO Uploading /tmp/git-ssh-c93c95d7f0f34342539a.sh 100.0% INFO [4c0b17a6] Running /usr/bin/env chmod 700 /tmp/git-ssh-c93c95d7f0f34342539a.sh as deploy@3.1.200.152 DEBUG [4c0b17a6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-c93c95d7f0f34342539a.sh ) INFO [4c0b17a6] Finished in 0.105 seconds with exit status 0 (successful). INFO [d41962fe] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [d41962fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c93c95d7f0f34342539a.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d41962fe] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [d41962fe] HEAD INFO [d41962fe] Finished in 2.812 seconds with exit status 0 (successful). INFO [9953f54e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [9953f54e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [9953f54e] Finished in 0.090 seconds with exit status 0 (successful). INFO [ce2d13fe] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [ce2d13fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [ce2d13fe] Finished in 0.101 seconds with exit status 0 (successful). INFO [214acee7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [214acee7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [214acee7] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [c0336bd1] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [c0336bd1] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [c0336bd1] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [c84147d3] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [c84147d3] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [c84147d3] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [008ee28f] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [008ee28f] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [008ee28f] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [5e8828a8] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [5e8828a8] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [5e8828a8] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [3798fc66] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [3798fc66] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [3798fc66] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [3798fc66] DEBUG [3798fc66] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [cd2d8563] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [cd2d8563] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [cd2d8563] Finished in 0.145 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [8a1a214d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8a1a214d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8a1a214d] Finished in 0.101 seconds with exit status 0 (successful). INFO [863ec41d] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [863ec41d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c93c95d7f0f34342539a.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [863ec41d] Finished in 0.150 seconds with exit status 0 (successful). INFO [ebe8cca9] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [ebe8cca9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c93c95d7f0f34342539a.sh" ; /usr/bin/env git remote update --prune ) DEBUG [ebe8cca9] Fetching origin DEBUG [ebe8cca9] INFO [ebe8cca9] Finished in 2.944 seconds with exit status 0 (successful). DEBUG [76abede8] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [76abede8] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [76abede8] Finished in 0.103 seconds with exit status 0 (successful). INFO [55550c60] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094547 as deploy@3.1.200.152 DEBUG [55550c60] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c93c95d7f0f34342539a.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094547 ) INFO [55550c60] Finished in 0.103 seconds with exit status 0 (successful). INFO [741af223] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094547 as deploy@3.1.200.152 DEBUG [741af223] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c93c95d7f0f34342539a.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094547 ) INFO [741af223] Finished in 0.215 seconds with exit status 0 (successful). DEBUG [0509e315] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [0509e315] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [0509e315] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [51d57334] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [51d57334] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c93c95d7f0f34342539a.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [51d57334] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [51d57334] DEBUG [51d57334] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [d79f198d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d79f198d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi DEBUG [d79f198d] Finished in 0.107 seconds with exit status 0 (successful). INFO [90fb6f75] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [90fb6f75] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094547 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [90fb6f75] Finished in 0.145 seconds with exit status 0 (successful). INFO [3cd6446a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094547 /home/deploy/apps/aoumi_server/releases/20221230094547/config as deploy@3.1.200.152 DEBUG [3cd6446a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094547 /home/deploy/apps/aoumi_server/releases/20221230094547/config ) INFO [3cd6446a] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [eebfb9d4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/.env ] as deploy@3.1.200.152 DEBUG [eebfb9d4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/.env ] DEBUG [eebfb9d4] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [0989670b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094547/.env ] as deploy@3.1.200.152 DEBUG [0989670b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094547/.env ] DEBUG [0989670b] Finished in 0.102 seconds with exit status 0 (successful). INFO [047f5164] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094547/.env as deploy@3.1.200.152 DEBUG [047f5164] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094547/.env ) INFO [047f5164] Finished in 0.146 seconds with exit status 0 (successful). INFO [16857f13] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094547/.env as deploy@3.1.200.152 DEBUG [16857f13] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094547/.env ) INFO [16857f13] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [657e9645] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml ] as deploy@3.1.200.152 DEBUG [657e9645] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml ] DEBUG [657e9645] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [79cf699d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml ] as deploy@3.1.200.152 DEBUG [79cf699d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml ] DEBUG [79cf699d] Finished in 0.099 seconds with exit status 0 (successful). INFO [2e45f03b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml as deploy@3.1.200.152 DEBUG [2e45f03b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml ) INFO [2e45f03b] Finished in 0.145 seconds with exit status 0 (successful). INFO [8669e52a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml as deploy@3.1.200.152 DEBUG [8669e52a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094547/config/database.yml ) INFO [8669e52a] Finished in 0.102 seconds with exit status 0 (successful). INFO [4b5e4022] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094547 /home/deploy/apps/aoumi_server/releases/20221230094547/tmp /home/deploy/apps/aoumi_server/releases/20221230094547/vendor /home/deploy/apps/aoumi_server/releases/20221230094547/public as deploy@3.1.200.152 DEBUG [4b5e4022] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094547 /home/deploy/apps/aoumi_server/releases/20221230094547/tmp /home/deploy/apps/aoumi_server/releases/20221230094547/vendor /home/deploy/apps/aoumi_server/releases/20221230094547/public ) INFO [4b5e4022] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [3c817c2d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/log ] as deploy@3.1.200.152 DEBUG [3c817c2d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/log ] DEBUG [3c817c2d] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [1aa01543] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/log ] as deploy@3.1.200.152 DEBUG [1aa01543] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/log ] DEBUG [1aa01543] Finished in 0.142 seconds with exit status 0 (successful). INFO [b652d226] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094547/log as deploy@3.1.200.152 DEBUG [b652d226] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094547/log ) INFO [b652d226] Finished in 0.109 seconds with exit status 0 (successful). INFO [3321e478] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094547/log as deploy@3.1.200.152 DEBUG [3321e478] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094547/log ) INFO [3321e478] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [4444d17c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids ] as deploy@3.1.200.152 DEBUG [4444d17c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids ] DEBUG [4444d17c] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [39b81e5d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids ] as deploy@3.1.200.152 DEBUG [39b81e5d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids ] DEBUG [39b81e5d] Finished in 0.145 seconds with exit status 0 (successful). INFO [6d3d4e7e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids as deploy@3.1.200.152 DEBUG [6d3d4e7e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids ) INFO [6d3d4e7e] Finished in 0.102 seconds with exit status 0 (successful). INFO [ec50c3c3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids as deploy@3.1.200.152 DEBUG [ec50c3c3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/pids ) INFO [ec50c3c3] Finished in 0.159 seconds with exit status 0 (successful). DEBUG [eaec96ec] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/cache ] as deploy@3.1.200.152 DEBUG [eaec96ec] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/cache ] DEBUG [eaec96ec] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [cac23e41] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/cache ] as deploy@3.1.200.152 DEBUG [cac23e41] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/cache ] DEBUG [cac23e41] Finished in 0.148 seconds with exit status 1 (failed). INFO [7ae4b732] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/cache as deploy@3.1.200.152 DEBUG [7ae4b732] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/cache ) INFO [7ae4b732] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [7c059d02] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/sockets ] as deploy@3.1.200.152 DEBUG [7c059d02] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/sockets ] DEBUG [7c059d02] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [c4a2cade] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/sockets ] as deploy@3.1.200.152 DEBUG [c4a2cade] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/sockets ] DEBUG [c4a2cade] Finished in 0.098 seconds with exit status 1 (failed). INFO [3162688b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/sockets as deploy@3.1.200.152 DEBUG [3162688b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094547/tmp/sockets ) INFO [3162688b] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [733c1bd4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/vendor/bundle ] as deploy@3.1.200.152 DEBUG [733c1bd4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/vendor/bundle ] DEBUG [733c1bd4] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [5374022e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/vendor/bundle ] as deploy@3.1.200.152 DEBUG [5374022e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/vendor/bundle ] DEBUG [5374022e] Finished in 0.142 seconds with exit status 1 (failed). INFO [cc0b56d8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094547/vendor/bundle as deploy@3.1.200.152 DEBUG [cc0b56d8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094547/vendor/bundle ) INFO [cc0b56d8] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [89cf9e1c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/public/system ] as deploy@3.1.200.152 DEBUG [89cf9e1c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/public/system ] DEBUG [89cf9e1c] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [90cd635c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/public/system ] as deploy@3.1.200.152 DEBUG [90cd635c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/public/system ] DEBUG [90cd635c] Finished in 0.110 seconds with exit status 1 (failed). INFO [e0ba50c4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094547/public/system as deploy@3.1.200.152 DEBUG [e0ba50c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094547/public/system ) INFO [e0ba50c4] Finished in 0.156 seconds with exit status 0 (successful). DEBUG [ec19cacb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/public/uploads ] as deploy@3.1.200.152 DEBUG [ec19cacb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094547/public/uploads ] DEBUG [ec19cacb] Finished in 0.111 seconds with exit status 1 (failed). DEBUG [a28c50b2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/public/uploads ] as deploy@3.1.200.152 DEBUG [a28c50b2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094547/public/uploads ] DEBUG [a28c50b2] Finished in 0.150 seconds with exit status 1 (failed). INFO [8b1e1b04] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094547/public/uploads as deploy@3.1.200.152 DEBUG [8b1e1b04] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094547/public/uploads ) INFO [8b1e1b04] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [751a84f6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [751a84f6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi DEBUG [751a84f6] Finished in 0.142 seconds with exit status 0 (successful). INFO [f15776b6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [f15776b6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094547 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f15776b6] Finished in 0.383 seconds with exit status 0 (successful). INFO [cc2e927e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [cc2e927e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094547 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [cc2e927e] Finished in 0.349 seconds with exit status 0 (successful). INFO [9767f696] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [9767f696] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094547 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [9767f696] Finished in 0.367 seconds with exit status 0 (successful). DEBUG [f015089f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f015089f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi DEBUG [f015089f] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [31d63212] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [31d63212] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094547 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [31d63212] The Gemfile's dependencies are satisfied DEBUG [31d63212] DEBUG [31d63212] Finished in 0.563 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [3c93e7c9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [3c93e7c9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094547; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094547'" 1>&2; false; fi DEBUG [3c93e7c9] Finished in 0.070 seconds with exit status 0 (successful). INFO [af796d29] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [af796d29] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094547 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [af796d29] Finished in 1.460 seconds with exit status 0 (successful). INFO [70f74a21] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094547 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [70f74a21] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094547 /home/deploy/apps/aoumi_server/releases/current ) INFO [70f74a21] Finished in 0.106 seconds with exit status 0 (successful). INFO [674584fd] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [674584fd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [674584fd] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [c5b789e4] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [c5b789e4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [c5b789e4] 20221230093715 DEBUG [c5b789e4] DEBUG [c5b789e4] 20221230093814 DEBUG [c5b789e4] DEBUG [c5b789e4] 20221230094137 DEBUG [c5b789e4] DEBUG [c5b789e4] 20221230094334 DEBUG [c5b789e4] DEBUG [c5b789e4] 20221230094431 DEBUG [c5b789e4] DEBUG [c5b789e4] 20221230094547 DEBUG [c5b789e4] DEBUG [c5b789e4] Finished in 0.133 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [11dcb7c9] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [11dcb7c9] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [11dcb7c9] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [b0714e24] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [b0714e24] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [b0714e24] /home/deploy/apps/aoumi_server/releases/20221230094547 DEBUG [b0714e24] DEBUG [b0714e24] Finished in 0.101 seconds with exit status 0 (successful). INFO [d334c468] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093715 as deploy@3.1.200.152 DEBUG [d334c468] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093715 ) INFO [d334c468] Finished in 0.156 seconds with exit status 0 (successful). DEBUG [8a5faaa6] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8a5faaa6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [8a5faaa6] Finished in 0.103 seconds with exit status 0 (successful). INFO [341f044b] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094547 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [341f044b] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094547 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [341f044b] Finished in 0.141 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:49:46 +0700 cap development deploy:status INFO --------------------------------------------------------------------------- DEBUG [11782f2e] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [11782f2e] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [11782f2e] Finished in 1.081 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:49:52 +0700 cap development deploy puma:start INFO --------------------------------------------------------------------------- DEBUG [fd226b0e] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [fd226b0e] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [fd226b0e] Finished in 1.032 seconds with exit status 0 (successful). INFO [97361206] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [97361206] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [97361206] Finished in 0.095 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-20ae606a9dd3bf9fb87d.sh 0.0% INFO Uploading /tmp/git-ssh-20ae606a9dd3bf9fb87d.sh 100.0% INFO [99723213] Running /usr/bin/env chmod 700 /tmp/git-ssh-20ae606a9dd3bf9fb87d.sh as deploy@3.1.200.152 DEBUG [99723213] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-20ae606a9dd3bf9fb87d.sh ) INFO [99723213] Finished in 0.106 seconds with exit status 0 (successful). INFO [ba6e1220] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [ba6e1220] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-20ae606a9dd3bf9fb87d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ba6e1220] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [ba6e1220] DEBUG [ba6e1220] HEAD INFO [ba6e1220] Finished in 2.980 seconds with exit status 0 (successful). INFO [4acf1693] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [4acf1693] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [4acf1693] Finished in 0.105 seconds with exit status 0 (successful). INFO [4b6cb4d4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [4b6cb4d4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [4b6cb4d4] Finished in 0.103 seconds with exit status 0 (successful). INFO [d6cd0e34] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [d6cd0e34] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [d6cd0e34] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [b6e56ec9] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [b6e56ec9] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [b6e56ec9] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [9e7b5f15] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [9e7b5f15] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [9e7b5f15] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [c615e684] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [c615e684] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [c615e684] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [72325af9] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [72325af9] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [72325af9] Finished in 0.162 seconds with exit status 0 (successful). DEBUG [14d05ea4] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [14d05ea4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [14d05ea4] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [14d05ea4] DEBUG [14d05ea4] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [e07b6865] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [e07b6865] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [e07b6865] Finished in 0.148 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [35e4cc4a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [35e4cc4a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [35e4cc4a] Finished in 0.111 seconds with exit status 0 (successful). INFO [e4c4597a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [e4c4597a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-20ae606a9dd3bf9fb87d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e4c4597a] Finished in 0.160 seconds with exit status 0 (successful). INFO [4a055298] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [4a055298] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-20ae606a9dd3bf9fb87d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [4a055298] Fetching origin DEBUG [4a055298] INFO [4a055298] Finished in 2.940 seconds with exit status 0 (successful). DEBUG [4e2a1937] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4e2a1937] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [4e2a1937] Finished in 0.100 seconds with exit status 0 (successful). INFO [0a1f9ce8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094958 as deploy@3.1.200.152 DEBUG [0a1f9ce8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-20ae606a9dd3bf9fb87d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094958 ) INFO [0a1f9ce8] Finished in 0.103 seconds with exit status 0 (successful). INFO [fe9c5ea3] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094958 as deploy@3.1.200.152 DEBUG [fe9c5ea3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-20ae606a9dd3bf9fb87d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230094958 ) INFO [fe9c5ea3] Finished in 0.205 seconds with exit status 0 (successful). DEBUG [5c551eea] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5c551eea] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5c551eea] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [d21b45b0] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [d21b45b0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-20ae606a9dd3bf9fb87d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d21b45b0] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [d21b45b0] DEBUG [d21b45b0] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [0f9a6e32] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [0f9a6e32] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi DEBUG [0f9a6e32] Finished in 0.105 seconds with exit status 0 (successful). INFO [e5afab98] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [e5afab98] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094958 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [e5afab98] Finished in 0.145 seconds with exit status 0 (successful). INFO [51df4417] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094958 /home/deploy/apps/aoumi_server/releases/20221230094958/config as deploy@3.1.200.152 DEBUG [51df4417] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094958 /home/deploy/apps/aoumi_server/releases/20221230094958/config ) INFO [51df4417] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [07be3282] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/.env ] as deploy@3.1.200.152 DEBUG [07be3282] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/.env ] DEBUG [07be3282] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [17b0b664] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094958/.env ] as deploy@3.1.200.152 DEBUG [17b0b664] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094958/.env ] DEBUG [17b0b664] Finished in 0.104 seconds with exit status 0 (successful). INFO [0660684a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094958/.env as deploy@3.1.200.152 DEBUG [0660684a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094958/.env ) INFO [0660684a] Finished in 0.147 seconds with exit status 0 (successful). INFO [a0ad1733] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094958/.env as deploy@3.1.200.152 DEBUG [a0ad1733] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230094958/.env ) INFO [a0ad1733] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [07bab205] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml ] as deploy@3.1.200.152 DEBUG [07bab205] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml ] DEBUG [07bab205] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [f3508b17] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml ] as deploy@3.1.200.152 DEBUG [f3508b17] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml ] DEBUG [f3508b17] Finished in 0.102 seconds with exit status 0 (successful). INFO [a0f01509] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml as deploy@3.1.200.152 DEBUG [a0f01509] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml ) INFO [a0f01509] Finished in 0.144 seconds with exit status 0 (successful). INFO [8229b9a7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml as deploy@3.1.200.152 DEBUG [8229b9a7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230094958/config/database.yml ) INFO [8229b9a7] Finished in 0.110 seconds with exit status 0 (successful). INFO [1ece4ca7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094958 /home/deploy/apps/aoumi_server/releases/20221230094958/tmp /home/deploy/apps/aoumi_server/releases/20221230094958/vendor /home/deploy/apps/aoumi_server/releases/20221230094958/public as deploy@3.1.200.152 DEBUG [1ece4ca7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230094958 /home/deploy/apps/aoumi_server/releases/20221230094958/tmp /home/deploy/apps/aoumi_server/releases/20221230094958/vendor /home/deploy/apps/aoumi_server/releases/20221230094958/public ) INFO [1ece4ca7] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [02ef376c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/log ] as deploy@3.1.200.152 DEBUG [02ef376c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/log ] DEBUG [02ef376c] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [5ecd4aee] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/log ] as deploy@3.1.200.152 DEBUG [5ecd4aee] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/log ] DEBUG [5ecd4aee] Finished in 0.178 seconds with exit status 0 (successful). INFO [6ca270ec] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094958/log as deploy@3.1.200.152 DEBUG [6ca270ec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094958/log ) INFO [6ca270ec] Finished in 0.097 seconds with exit status 0 (successful). INFO [1580923d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094958/log as deploy@3.1.200.152 DEBUG [1580923d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230094958/log ) INFO [1580923d] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [adce0208] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids ] as deploy@3.1.200.152 DEBUG [adce0208] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids ] DEBUG [adce0208] Finished in 0.344 seconds with exit status 1 (failed). DEBUG [0ab02308] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids ] as deploy@3.1.200.152 DEBUG [0ab02308] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids ] DEBUG [0ab02308] Finished in 0.113 seconds with exit status 0 (successful). INFO [f9863308] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids as deploy@3.1.200.152 DEBUG [f9863308] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids ) INFO [f9863308] Finished in 0.150 seconds with exit status 0 (successful). INFO [ec2c142a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids as deploy@3.1.200.152 DEBUG [ec2c142a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/pids ) INFO [ec2c142a] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [cee6dc1e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/cache ] as deploy@3.1.200.152 DEBUG [cee6dc1e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/cache ] DEBUG [cee6dc1e] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [93f32c0c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/cache ] as deploy@3.1.200.152 DEBUG [93f32c0c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/cache ] DEBUG [93f32c0c] Finished in 0.104 seconds with exit status 1 (failed). INFO [27785a49] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/cache as deploy@3.1.200.152 DEBUG [27785a49] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/cache ) INFO [27785a49] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [c9304a3f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/sockets ] as deploy@3.1.200.152 DEBUG [c9304a3f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/sockets ] DEBUG [c9304a3f] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [e74cdca4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/sockets ] as deploy@3.1.200.152 DEBUG [e74cdca4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/sockets ] DEBUG [e74cdca4] Finished in 0.152 seconds with exit status 1 (failed). INFO [7d521dc3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/sockets as deploy@3.1.200.152 DEBUG [7d521dc3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230094958/tmp/sockets ) INFO [7d521dc3] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [fb679efa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/vendor/bundle ] as deploy@3.1.200.152 DEBUG [fb679efa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/vendor/bundle ] DEBUG [fb679efa] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [b70164cf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/vendor/bundle ] as deploy@3.1.200.152 DEBUG [b70164cf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/vendor/bundle ] DEBUG [b70164cf] Finished in 0.109 seconds with exit status 1 (failed). INFO [b870129f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094958/vendor/bundle as deploy@3.1.200.152 DEBUG [b870129f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230094958/vendor/bundle ) INFO [b870129f] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [f0a9dbdc] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/public/system ] as deploy@3.1.200.152 DEBUG [f0a9dbdc] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/public/system ] DEBUG [f0a9dbdc] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [3509c3df] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/public/system ] as deploy@3.1.200.152 DEBUG [3509c3df] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/public/system ] DEBUG [3509c3df] Finished in 0.148 seconds with exit status 1 (failed). INFO [997ccc70] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094958/public/system as deploy@3.1.200.152 DEBUG [997ccc70] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230094958/public/system ) INFO [997ccc70] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [39413915] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/public/uploads ] as deploy@3.1.200.152 DEBUG [39413915] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230094958/public/uploads ] DEBUG [39413915] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [d8d403d9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/public/uploads ] as deploy@3.1.200.152 DEBUG [d8d403d9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230094958/public/uploads ] DEBUG [d8d403d9] Finished in 0.103 seconds with exit status 1 (failed). INFO [69742f26] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094958/public/uploads as deploy@3.1.200.152 DEBUG [69742f26] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230094958/public/uploads ) INFO [69742f26] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [f7602578] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f7602578] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi DEBUG [f7602578] Finished in 0.101 seconds with exit status 0 (successful). INFO [7e365ca4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [7e365ca4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094958 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [7e365ca4] Finished in 0.350 seconds with exit status 0 (successful). INFO [5b3fd6c9] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [5b3fd6c9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094958 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [5b3fd6c9] Finished in 0.303 seconds with exit status 0 (successful). INFO [e9c28ff4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [e9c28ff4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094958 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e9c28ff4] Finished in 0.372 seconds with exit status 0 (successful). DEBUG [576e336a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [576e336a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi DEBUG [576e336a] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [d83f304a] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [d83f304a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094958 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [d83f304a] The Gemfile's dependencies are satisfied DEBUG [d83f304a] DEBUG [d83f304a] Finished in 0.527 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [0a7484fa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [0a7484fa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230094958; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230094958'" 1>&2; false; fi DEBUG [0a7484fa] Finished in 0.100 seconds with exit status 0 (successful). INFO [68fc305d] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [68fc305d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230094958 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [68fc305d] Finished in 1.543 seconds with exit status 0 (successful). INFO [cb927d24] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094958 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [cb927d24] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230094958 /home/deploy/apps/aoumi_server/releases/current ) INFO [cb927d24] Finished in 0.102 seconds with exit status 0 (successful). INFO [87e3a858] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [87e3a858] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [87e3a858] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [3d4a0568] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [3d4a0568] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [3d4a0568] 20221230093814 DEBUG [3d4a0568] DEBUG [3d4a0568] 20221230094137 DEBUG [3d4a0568] DEBUG [3d4a0568] 20221230094334 DEBUG [3d4a0568] DEBUG [3d4a0568] 20221230094431 DEBUG [3d4a0568] DEBUG [3d4a0568] 20221230094547 DEBUG [3d4a0568] DEBUG [3d4a0568] 20221230094958 DEBUG [3d4a0568] DEBUG [3d4a0568] Finished in 0.135 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [a78fcaa8] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [a78fcaa8] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [a78fcaa8] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [1f90cdf6] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [1f90cdf6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [1f90cdf6] /home/deploy/apps/aoumi_server/releases/20221230094958 DEBUG [1f90cdf6] DEBUG [1f90cdf6] Finished in 0.108 seconds with exit status 0 (successful). INFO [2d1887db] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093814 as deploy@3.1.200.152 DEBUG [2d1887db] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230093814 ) INFO [2d1887db] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [f3f4dc75] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f3f4dc75] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [f3f4dc75] Finished in 0.109 seconds with exit status 0 (successful). INFO [61299e6f] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094958 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [61299e6f] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230094958 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [61299e6f] Finished in 0.142 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:52:36 +0700 cap development deploy p INFO --------------------------------------------------------------------------- DEBUG [4320bab4] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [4320bab4] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:52:38 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [423db474] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [423db474] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [423db474] Finished in 1.819 seconds with exit status 0 (successful). INFO [e369a300] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [e369a300] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [e369a300] Finished in 0.100 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-eaa13b6858b9a9d6324d.sh 0.0% INFO Uploading /tmp/git-ssh-eaa13b6858b9a9d6324d.sh 100.0% INFO [cefac48a] Running /usr/bin/env chmod 700 /tmp/git-ssh-eaa13b6858b9a9d6324d.sh as deploy@3.1.200.152 DEBUG [cefac48a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-eaa13b6858b9a9d6324d.sh ) INFO [cefac48a] Finished in 0.135 seconds with exit status 0 (successful). INFO [f683082a] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [f683082a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-eaa13b6858b9a9d6324d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [f683082a] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [f683082a] HEAD INFO [f683082a] Finished in 3.249 seconds with exit status 0 (successful). INFO [afb7bdc7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [afb7bdc7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [afb7bdc7] Finished in 0.104 seconds with exit status 0 (successful). INFO [496f981b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [496f981b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [496f981b] Finished in 0.102 seconds with exit status 0 (successful). INFO [2f5757ed] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [2f5757ed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [2f5757ed] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [f13cc557] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [f13cc557] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [f13cc557] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [747ff942] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [747ff942] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [747ff942] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [045012b8] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [045012b8] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [045012b8] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [8b78fbf0] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [8b78fbf0] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [8b78fbf0] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [3e5f91c8] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [3e5f91c8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [3e5f91c8] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [3e5f91c8] DEBUG [3e5f91c8] Finished in 0.122 seconds with exit status 0 (successful). DEBUG [072a0aa3] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [072a0aa3] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [072a0aa3] Finished in 0.141 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [e572a271] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e572a271] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e572a271] Finished in 0.099 seconds with exit status 0 (successful). INFO [45e7254c] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [45e7254c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-eaa13b6858b9a9d6324d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [45e7254c] Finished in 0.153 seconds with exit status 0 (successful). INFO [d8f8d6b1] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [d8f8d6b1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-eaa13b6858b9a9d6324d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [d8f8d6b1] Fetching origin DEBUG [d8f8d6b1] INFO [d8f8d6b1] Finished in 2.894 seconds with exit status 0 (successful). DEBUG [e27f9c87] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e27f9c87] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e27f9c87] Finished in 0.110 seconds with exit status 0 (successful). INFO [501ad2e2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095245 as deploy@3.1.200.152 DEBUG [501ad2e2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-eaa13b6858b9a9d6324d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095245 ) INFO [501ad2e2] Finished in 0.144 seconds with exit status 0 (successful). INFO [e368d6e4] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095245 as deploy@3.1.200.152 DEBUG [e368d6e4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-eaa13b6858b9a9d6324d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095245 ) INFO [e368d6e4] Finished in 0.249 seconds with exit status 0 (successful). DEBUG [ab47d36f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ab47d36f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ab47d36f] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [08d4f03a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [08d4f03a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-eaa13b6858b9a9d6324d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [08d4f03a] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [08d4f03a] DEBUG [08d4f03a] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [8fcf99c4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8fcf99c4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi DEBUG [8fcf99c4] Finished in 0.101 seconds with exit status 0 (successful). INFO [dc95d63e] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [dc95d63e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095245 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [dc95d63e] Finished in 0.156 seconds with exit status 0 (successful). INFO [0398ce4b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095245 /home/deploy/apps/aoumi_server/releases/20221230095245/config as deploy@3.1.200.152 DEBUG [0398ce4b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095245 /home/deploy/apps/aoumi_server/releases/20221230095245/config ) INFO [0398ce4b] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [c56f9372] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/.env ] as deploy@3.1.200.152 DEBUG [c56f9372] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/.env ] DEBUG [c56f9372] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [9f06af6c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095245/.env ] as deploy@3.1.200.152 DEBUG [9f06af6c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095245/.env ] DEBUG [9f06af6c] Finished in 0.102 seconds with exit status 0 (successful). INFO [34e0d277] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095245/.env as deploy@3.1.200.152 DEBUG [34e0d277] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095245/.env ) INFO [34e0d277] Finished in 0.148 seconds with exit status 0 (successful). INFO [33b0ade6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095245/.env as deploy@3.1.200.152 DEBUG [33b0ade6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095245/.env ) INFO [33b0ade6] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [31072955] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml ] as deploy@3.1.200.152 DEBUG [31072955] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml ] DEBUG [31072955] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [55492c9c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml ] as deploy@3.1.200.152 DEBUG [55492c9c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml ] DEBUG [55492c9c] Finished in 0.105 seconds with exit status 0 (successful). INFO [c427aef2] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml as deploy@3.1.200.152 DEBUG [c427aef2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml ) INFO [c427aef2] Finished in 0.152 seconds with exit status 0 (successful). INFO [97c87fb0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml as deploy@3.1.200.152 DEBUG [97c87fb0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095245/config/database.yml ) INFO [97c87fb0] Finished in 0.110 seconds with exit status 0 (successful). INFO [83b8e269] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095245 /home/deploy/apps/aoumi_server/releases/20221230095245/tmp /home/deploy/apps/aoumi_server/releases/20221230095245/vendor /home/deploy/apps/aoumi_server/releases/20221230095245/public as deploy@3.1.200.152 DEBUG [83b8e269] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095245 /home/deploy/apps/aoumi_server/releases/20221230095245/tmp /home/deploy/apps/aoumi_server/releases/20221230095245/vendor /home/deploy/apps/aoumi_server/releases/20221230095245/public ) INFO [83b8e269] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [57512d15] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/log ] as deploy@3.1.200.152 DEBUG [57512d15] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/log ] DEBUG [57512d15] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [264e4d09] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/log ] as deploy@3.1.200.152 DEBUG [264e4d09] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/log ] DEBUG [264e4d09] Finished in 0.143 seconds with exit status 0 (successful). INFO [df022fe4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095245/log as deploy@3.1.200.152 DEBUG [df022fe4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095245/log ) INFO [df022fe4] Finished in 0.103 seconds with exit status 0 (successful). INFO [ed4af15f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095245/log as deploy@3.1.200.152 DEBUG [ed4af15f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095245/log ) INFO [ed4af15f] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [159aff2a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids ] as deploy@3.1.200.152 DEBUG [159aff2a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids ] DEBUG [159aff2a] Finished in 0.110 seconds with exit status 1 (failed). DEBUG [d8df15a0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids ] as deploy@3.1.200.152 DEBUG [d8df15a0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids ] DEBUG [d8df15a0] Finished in 0.150 seconds with exit status 0 (successful). INFO [3d933c45] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids as deploy@3.1.200.152 DEBUG [3d933c45] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids ) INFO [3d933c45] Finished in 0.104 seconds with exit status 0 (successful). INFO [ea9027a1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids as deploy@3.1.200.152 DEBUG [ea9027a1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/pids ) INFO [ea9027a1] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [92bbf074] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/cache ] as deploy@3.1.200.152 DEBUG [92bbf074] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/cache ] DEBUG [92bbf074] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [fd4e777f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/cache ] as deploy@3.1.200.152 DEBUG [fd4e777f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/cache ] DEBUG [fd4e777f] Finished in 0.146 seconds with exit status 1 (failed). INFO [23016f67] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/cache as deploy@3.1.200.152 DEBUG [23016f67] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/cache ) INFO [23016f67] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [b94f2913] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/sockets ] as deploy@3.1.200.152 DEBUG [b94f2913] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/sockets ] DEBUG [b94f2913] Finished in 0.170 seconds with exit status 1 (failed). DEBUG [5eb602a9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/sockets ] as deploy@3.1.200.152 DEBUG [5eb602a9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/sockets ] DEBUG [5eb602a9] Finished in 0.104 seconds with exit status 1 (failed). INFO [10563687] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/sockets as deploy@3.1.200.152 DEBUG [10563687] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095245/tmp/sockets ) INFO [10563687] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [c02561f3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/vendor/bundle ] as deploy@3.1.200.152 DEBUG [c02561f3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/vendor/bundle ] DEBUG [c02561f3] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [86b7327d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/vendor/bundle ] as deploy@3.1.200.152 DEBUG [86b7327d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/vendor/bundle ] DEBUG [86b7327d] Finished in 0.144 seconds with exit status 1 (failed). INFO [cc111f5e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095245/vendor/bundle as deploy@3.1.200.152 DEBUG [cc111f5e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095245/vendor/bundle ) INFO [cc111f5e] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [7c2044fa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/public/system ] as deploy@3.1.200.152 DEBUG [7c2044fa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/public/system ] DEBUG [7c2044fa] Finished in 0.153 seconds with exit status 1 (failed). DEBUG [eb6ebd6f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/public/system ] as deploy@3.1.200.152 DEBUG [eb6ebd6f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/public/system ] DEBUG [eb6ebd6f] Finished in 0.102 seconds with exit status 1 (failed). INFO [c574f741] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095245/public/system as deploy@3.1.200.152 DEBUG [c574f741] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095245/public/system ) INFO [c574f741] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [b1a6833d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/public/uploads ] as deploy@3.1.200.152 DEBUG [b1a6833d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095245/public/uploads ] DEBUG [b1a6833d] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [91c14c1b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/public/uploads ] as deploy@3.1.200.152 DEBUG [91c14c1b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095245/public/uploads ] DEBUG [91c14c1b] Finished in 0.145 seconds with exit status 1 (failed). INFO [2578ad51] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095245/public/uploads as deploy@3.1.200.152 DEBUG [2578ad51] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095245/public/uploads ) INFO [2578ad51] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [c9053fea] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c9053fea] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi DEBUG [c9053fea] Finished in 0.160 seconds with exit status 0 (successful). INFO [c63b2b49] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [c63b2b49] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095245 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [c63b2b49] Finished in 0.299 seconds with exit status 0 (successful). INFO [591c5b63] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [591c5b63] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095245 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [591c5b63] Finished in 0.434 seconds with exit status 0 (successful). INFO [a54667ab] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [a54667ab] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095245 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [a54667ab] Finished in 0.304 seconds with exit status 0 (successful). DEBUG [ee4b7f00] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ee4b7f00] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi DEBUG [ee4b7f00] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [bddd81aa] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [bddd81aa] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095245 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [bddd81aa] The Gemfile's dependencies are satisfied DEBUG [bddd81aa] DEBUG [bddd81aa] Finished in 0.472 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [cd9cbeb4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [cd9cbeb4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095245; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095245'" 1>&2; false; fi DEBUG [cd9cbeb4] Finished in 0.145 seconds with exit status 0 (successful). INFO [046cf218] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [046cf218] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095245 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [046cf218] Finished in 1.488 seconds with exit status 0 (successful). INFO [b2353aed] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095245 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [b2353aed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095245 /home/deploy/apps/aoumi_server/releases/current ) INFO [b2353aed] Finished in 0.156 seconds with exit status 0 (successful). INFO [c1c0f047] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [c1c0f047] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [c1c0f047] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [0ae83c49] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [0ae83c49] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [0ae83c49] 20221230094137 DEBUG [0ae83c49] DEBUG [0ae83c49] 20221230094334 DEBUG [0ae83c49] DEBUG [0ae83c49] 20221230094431 DEBUG [0ae83c49] DEBUG [0ae83c49] 20221230094547 DEBUG [0ae83c49] DEBUG [0ae83c49] 20221230094958 DEBUG [0ae83c49] DEBUG [0ae83c49] 20221230095245 DEBUG [0ae83c49] DEBUG [0ae83c49] Finished in 0.179 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [4c8fe1da] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [4c8fe1da] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [4c8fe1da] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [cc6abdde] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [cc6abdde] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [cc6abdde] /home/deploy/apps/aoumi_server/releases/20221230095245 DEBUG [cc6abdde] DEBUG [cc6abdde] Finished in 0.151 seconds with exit status 0 (successful). INFO [ce7a2483] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094137 as deploy@3.1.200.152 DEBUG [ce7a2483] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094137 ) INFO [ce7a2483] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [16ecbb23] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [16ecbb23] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [16ecbb23] Finished in 0.148 seconds with exit status 0 (successful). INFO [8047fa26] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095245 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [8047fa26] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095245 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [8047fa26] Finished in 0.105 seconds with exit status 0 (successful). INFO [d05c1b38] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [d05c1b38] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [d05c1b38] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:56:35 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [6c6f0d20] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [6c6f0d20] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [6c6f0d20] Finished in 1.013 seconds with exit status 0 (successful). INFO [48d952c6] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [48d952c6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [48d952c6] Finished in 0.096 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-8c9f3246022314770172.sh 0.0% INFO Uploading /tmp/git-ssh-8c9f3246022314770172.sh 100.0% INFO [9aabc658] Running /usr/bin/env chmod 700 /tmp/git-ssh-8c9f3246022314770172.sh as deploy@3.1.200.152 DEBUG [9aabc658] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-8c9f3246022314770172.sh ) INFO [9aabc658] Finished in 0.102 seconds with exit status 0 (successful). INFO [d7357529] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [d7357529] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8c9f3246022314770172.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d7357529] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [d7357529] Finished in 2.981 seconds with exit status 0 (successful). INFO [8c950942] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [8c950942] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [8c950942] Finished in 0.100 seconds with exit status 0 (successful). INFO [b0318ad0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [b0318ad0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [b0318ad0] Finished in 0.099 seconds with exit status 0 (successful). INFO [53e63309] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [53e63309] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [53e63309] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [8eed005a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [8eed005a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [8eed005a] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [9a11b91c] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [9a11b91c] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [9a11b91c] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [c3d3bcf1] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [c3d3bcf1] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [c3d3bcf1] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [99252b62] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [99252b62] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [99252b62] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [7a515129] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [7a515129] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [7a515129] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [7a515129] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [249dcd50] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [249dcd50] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [249dcd50] Finished in 0.143 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [babf55de] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [babf55de] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [babf55de] Finished in 0.140 seconds with exit status 0 (successful). INFO [e2ccf239] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [e2ccf239] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8c9f3246022314770172.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e2ccf239] Finished in 0.143 seconds with exit status 0 (successful). INFO [14d69628] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [14d69628] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8c9f3246022314770172.sh" ; /usr/bin/env git remote update --prune ) DEBUG [14d69628] Fetching origin INFO [14d69628] Finished in 2.854 seconds with exit status 0 (successful). DEBUG [c7733968] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c7733968] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c7733968] Finished in 0.099 seconds with exit status 0 (successful). INFO [eacce489] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095640 as deploy@3.1.200.152 DEBUG [eacce489] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8c9f3246022314770172.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095640 ) INFO [eacce489] Finished in 0.168 seconds with exit status 0 (successful). INFO [0862087a] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095640 as deploy@3.1.200.152 DEBUG [0862087a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8c9f3246022314770172.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095640 ) INFO [0862087a] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [f01d96fc] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f01d96fc] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f01d96fc] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [3ca82592] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [3ca82592] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8c9f3246022314770172.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [3ca82592] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [3ca82592] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [7415dc09] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7415dc09] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi DEBUG [7415dc09] Finished in 0.143 seconds with exit status 0 (successful). INFO [4ab53dc6] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [4ab53dc6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095640 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [4ab53dc6] Finished in 0.107 seconds with exit status 0 (successful). INFO [93d1dbb7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095640 /home/deploy/apps/aoumi_server/releases/20221230095640/config as deploy@3.1.200.152 DEBUG [93d1dbb7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095640 /home/deploy/apps/aoumi_server/releases/20221230095640/config ) INFO [93d1dbb7] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [23f03946] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/.env ] as deploy@3.1.200.152 DEBUG [23f03946] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/.env ] DEBUG [23f03946] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [0f4e627f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095640/.env ] as deploy@3.1.200.152 DEBUG [0f4e627f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095640/.env ] DEBUG [0f4e627f] Finished in 0.143 seconds with exit status 0 (successful). INFO [d3bda867] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095640/.env as deploy@3.1.200.152 DEBUG [d3bda867] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095640/.env ) INFO [d3bda867] Finished in 0.107 seconds with exit status 0 (successful). INFO [b957255c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095640/.env as deploy@3.1.200.152 DEBUG [b957255c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095640/.env ) INFO [b957255c] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [96f6f6c8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml ] as deploy@3.1.200.152 DEBUG [96f6f6c8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml ] DEBUG [96f6f6c8] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [48c49bf2] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml ] as deploy@3.1.200.152 DEBUG [48c49bf2] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml ] DEBUG [48c49bf2] Finished in 0.144 seconds with exit status 0 (successful). INFO [860210c4] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml as deploy@3.1.200.152 DEBUG [860210c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml ) INFO [860210c4] Finished in 0.108 seconds with exit status 0 (successful). INFO [189f9418] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml as deploy@3.1.200.152 DEBUG [189f9418] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095640/config/database.yml ) INFO [189f9418] Finished in 0.160 seconds with exit status 0 (successful). INFO [fd91a525] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095640 /home/deploy/apps/aoumi_server/releases/20221230095640/tmp /home/deploy/apps/aoumi_server/releases/20221230095640/vendor /home/deploy/apps/aoumi_server/releases/20221230095640/public as deploy@3.1.200.152 DEBUG [fd91a525] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095640 /home/deploy/apps/aoumi_server/releases/20221230095640/tmp /home/deploy/apps/aoumi_server/releases/20221230095640/vendor /home/deploy/apps/aoumi_server/releases/20221230095640/public ) INFO [fd91a525] Finished in 0.097 seconds with exit status 0 (successful). DEBUG [346b8568] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/log ] as deploy@3.1.200.152 DEBUG [346b8568] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/log ] DEBUG [346b8568] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [76786d5e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/log ] as deploy@3.1.200.152 DEBUG [76786d5e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/log ] DEBUG [76786d5e] Finished in 0.102 seconds with exit status 0 (successful). INFO [04e1fe2f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095640/log as deploy@3.1.200.152 DEBUG [04e1fe2f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095640/log ) INFO [04e1fe2f] Finished in 0.147 seconds with exit status 0 (successful). INFO [58b880dd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095640/log as deploy@3.1.200.152 DEBUG [58b880dd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095640/log ) INFO [58b880dd] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [38c5c697] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids ] as deploy@3.1.200.152 DEBUG [38c5c697] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids ] DEBUG [38c5c697] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [fb5ecc80] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids ] as deploy@3.1.200.152 DEBUG [fb5ecc80] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids ] DEBUG [fb5ecc80] Finished in 0.099 seconds with exit status 0 (successful). INFO [e07220f7] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids as deploy@3.1.200.152 DEBUG [e07220f7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids ) INFO [e07220f7] Finished in 0.149 seconds with exit status 0 (successful). INFO [1166d91b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids as deploy@3.1.200.152 DEBUG [1166d91b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/pids ) INFO [1166d91b] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [c179822a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/cache ] as deploy@3.1.200.152 DEBUG [c179822a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/cache ] DEBUG [c179822a] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [533c3f70] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/cache ] as deploy@3.1.200.152 DEBUG [533c3f70] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/cache ] DEBUG [533c3f70] Finished in 0.103 seconds with exit status 1 (failed). INFO [db601b08] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/cache as deploy@3.1.200.152 DEBUG [db601b08] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/cache ) INFO [db601b08] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [f45c2abe] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/sockets ] as deploy@3.1.200.152 DEBUG [f45c2abe] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/sockets ] DEBUG [f45c2abe] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [720e60e1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/sockets ] as deploy@3.1.200.152 DEBUG [720e60e1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/sockets ] DEBUG [720e60e1] Finished in 0.143 seconds with exit status 1 (failed). INFO [7e7f7744] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/sockets as deploy@3.1.200.152 DEBUG [7e7f7744] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095640/tmp/sockets ) INFO [7e7f7744] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [d9dfbc9b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/vendor/bundle ] as deploy@3.1.200.152 DEBUG [d9dfbc9b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/vendor/bundle ] DEBUG [d9dfbc9b] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [3c08c04e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/vendor/bundle ] as deploy@3.1.200.152 DEBUG [3c08c04e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/vendor/bundle ] DEBUG [3c08c04e] Finished in 0.104 seconds with exit status 1 (failed). INFO [c9148b4a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095640/vendor/bundle as deploy@3.1.200.152 DEBUG [c9148b4a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095640/vendor/bundle ) INFO [c9148b4a] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [debbe051] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/public/system ] as deploy@3.1.200.152 DEBUG [debbe051] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/public/system ] DEBUG [debbe051] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [232d6954] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/public/system ] as deploy@3.1.200.152 DEBUG [232d6954] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/public/system ] DEBUG [232d6954] Finished in 0.141 seconds with exit status 1 (failed). INFO [3db1ed4c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095640/public/system as deploy@3.1.200.152 DEBUG [3db1ed4c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095640/public/system ) INFO [3db1ed4c] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [7906f6df] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/public/uploads ] as deploy@3.1.200.152 DEBUG [7906f6df] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095640/public/uploads ] DEBUG [7906f6df] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [9000f738] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/public/uploads ] as deploy@3.1.200.152 DEBUG [9000f738] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095640/public/uploads ] DEBUG [9000f738] Finished in 0.104 seconds with exit status 1 (failed). INFO [83398128] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095640/public/uploads as deploy@3.1.200.152 DEBUG [83398128] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095640/public/uploads ) INFO [83398128] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [9f988be9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9f988be9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi DEBUG [9f988be9] Finished in 0.100 seconds with exit status 0 (successful). INFO [06d731e0] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [06d731e0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095640 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [06d731e0] Finished in 0.365 seconds with exit status 0 (successful). INFO [ab1b14e6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [ab1b14e6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095640 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [ab1b14e6] Finished in 0.302 seconds with exit status 0 (successful). INFO [5d755c9c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [5d755c9c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095640 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [5d755c9c] Finished in 0.340 seconds with exit status 0 (successful). DEBUG [c229609b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c229609b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi DEBUG [c229609b] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [c6c00ff0] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [c6c00ff0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095640 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [c6c00ff0] The Gemfile's dependencies are satisfied DEBUG [c6c00ff0] Finished in 0.573 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [c787f63e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c787f63e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095640; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095640'" 1>&2; false; fi DEBUG [c787f63e] Finished in 0.101 seconds with exit status 0 (successful). INFO [d70b74c8] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [d70b74c8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095640 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [d70b74c8] Finished in 1.429 seconds with exit status 0 (successful). INFO [6e560e30] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095640 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [6e560e30] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095640 /home/deploy/apps/aoumi_server/releases/current ) INFO [6e560e30] Finished in 0.100 seconds with exit status 0 (successful). INFO [a588febc] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [a588febc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [a588febc] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [f382beef] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [f382beef] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [f382beef] 20221230094334 20221230094431 20221230094547 20221230094958 20221230095245 20221230095640 DEBUG [f382beef] Finished in 0.102 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [6a4e9ff6] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [6a4e9ff6] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [6a4e9ff6] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [8f9c169f] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [8f9c169f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [8f9c169f] /home/deploy/apps/aoumi_server/releases/20221230095640 DEBUG [8f9c169f] Finished in 0.109 seconds with exit status 0 (successful). INFO [434ca504] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094334 as deploy@3.1.200.152 DEBUG [434ca504] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094334 ) INFO [434ca504] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [4221d9d8] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4221d9d8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [4221d9d8] Finished in 0.105 seconds with exit status 0 (successful). INFO [c3f7d1d9] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095640 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [c3f7d1d9] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095640 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [c3f7d1d9] Finished in 0.150 seconds with exit status 0 (successful). INFO [7377a592] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [7377a592] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [7377a592] sudo DEBUG [7377a592] : DEBUG [7377a592] no tty present and no askpass program specified DEBUG [7377a592] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:57:28 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [4a4287d0] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [4a4287d0] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [4a4287d0] Finished in 0.971 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:57:31 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a37e9489] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [a37e9489] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [a37e9489] Finished in 1.000 seconds with exit status 0 (successful). INFO [d52c3a95] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [d52c3a95] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [d52c3a95] Finished in 0.108 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-d6e2d2f142b344340d8e.sh 0.0% INFO Uploading /tmp/git-ssh-d6e2d2f142b344340d8e.sh 100.0% INFO [7ee99cee] Running /usr/bin/env chmod 700 /tmp/git-ssh-d6e2d2f142b344340d8e.sh as deploy@3.1.200.152 DEBUG [7ee99cee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-d6e2d2f142b344340d8e.sh ) INFO [7ee99cee] Finished in 0.100 seconds with exit status 0 (successful). INFO [4101b88e] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [4101b88e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d6e2d2f142b344340d8e.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [4101b88e] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [4101b88e] Finished in 2.972 seconds with exit status 0 (successful). INFO [ee4ae90f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [ee4ae90f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [ee4ae90f] Finished in 0.101 seconds with exit status 0 (successful). INFO [014088eb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [014088eb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [014088eb] Finished in 0.100 seconds with exit status 0 (successful). INFO [1da982b1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [1da982b1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [1da982b1] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [e9ebd583] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [e9ebd583] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [e9ebd583] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [92802db3] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [92802db3] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [92802db3] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [117fb8ca] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [117fb8ca] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [117fb8ca] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [b978cb98] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [b978cb98] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [b978cb98] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [baf0109d] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [baf0109d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [baf0109d] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [baf0109d] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [55b28e5b] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [55b28e5b] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [55b28e5b] Finished in 0.201 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [136872df] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [136872df] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [136872df] Finished in 0.128 seconds with exit status 0 (successful). INFO [d6ac0276] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [d6ac0276] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d6e2d2f142b344340d8e.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [d6ac0276] Finished in 0.153 seconds with exit status 0 (successful). INFO [af231327] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [af231327] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d6e2d2f142b344340d8e.sh" ; /usr/bin/env git remote update --prune ) DEBUG [af231327] Fetching origin INFO [af231327] Finished in 2.810 seconds with exit status 0 (successful). DEBUG [c62edb79] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c62edb79] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c62edb79] Finished in 0.252 seconds with exit status 0 (successful). INFO [383442d5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095737 as deploy@3.1.200.152 DEBUG [383442d5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d6e2d2f142b344340d8e.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095737 ) INFO [383442d5] Finished in 0.138 seconds with exit status 0 (successful). INFO [b0893566] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095737 as deploy@3.1.200.152 DEBUG [b0893566] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d6e2d2f142b344340d8e.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095737 ) INFO [b0893566] Finished in 0.258 seconds with exit status 0 (successful). DEBUG [2281649b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [2281649b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2281649b] Finished in 0.127 seconds with exit status 0 (successful). DEBUG [a6220d1b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [a6220d1b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d6e2d2f142b344340d8e.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [a6220d1b] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [a6220d1b] Finished in 0.177 seconds with exit status 0 (successful). DEBUG [01a2fb31] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [01a2fb31] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi DEBUG [01a2fb31] Finished in 0.122 seconds with exit status 0 (successful). INFO [a5eadda6] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [a5eadda6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095737 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [a5eadda6] Finished in 0.186 seconds with exit status 0 (successful). INFO [800a61a7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095737 /home/deploy/apps/aoumi_server/releases/20221230095737/config as deploy@3.1.200.152 DEBUG [800a61a7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095737 /home/deploy/apps/aoumi_server/releases/20221230095737/config ) INFO [800a61a7] Finished in 0.163 seconds with exit status 0 (successful). DEBUG [d5832bba] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/.env ] as deploy@3.1.200.152 DEBUG [d5832bba] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/.env ] DEBUG [d5832bba] Finished in 0.171 seconds with exit status 1 (failed). DEBUG [18c32f61] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095737/.env ] as deploy@3.1.200.152 DEBUG [18c32f61] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095737/.env ] DEBUG [18c32f61] Finished in 0.129 seconds with exit status 0 (successful). INFO [ebcc5463] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095737/.env as deploy@3.1.200.152 DEBUG [ebcc5463] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095737/.env ) INFO [ebcc5463] Finished in 0.152 seconds with exit status 0 (successful). INFO [23907b4e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095737/.env as deploy@3.1.200.152 DEBUG [23907b4e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095737/.env ) INFO [23907b4e] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [575a2829] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml ] as deploy@3.1.200.152 DEBUG [575a2829] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml ] DEBUG [575a2829] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [3b0ff33c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml ] as deploy@3.1.200.152 DEBUG [3b0ff33c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml ] DEBUG [3b0ff33c] Finished in 0.107 seconds with exit status 0 (successful). INFO [8739df0e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml as deploy@3.1.200.152 DEBUG [8739df0e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml ) INFO [8739df0e] Finished in 0.146 seconds with exit status 0 (successful). INFO [2ced2512] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml as deploy@3.1.200.152 DEBUG [2ced2512] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095737/config/database.yml ) INFO [2ced2512] Finished in 0.100 seconds with exit status 0 (successful). INFO [82e3953a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095737 /home/deploy/apps/aoumi_server/releases/20221230095737/tmp /home/deploy/apps/aoumi_server/releases/20221230095737/vendor /home/deploy/apps/aoumi_server/releases/20221230095737/public as deploy@3.1.200.152 DEBUG [82e3953a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095737 /home/deploy/apps/aoumi_server/releases/20221230095737/tmp /home/deploy/apps/aoumi_server/releases/20221230095737/vendor /home/deploy/apps/aoumi_server/releases/20221230095737/public ) INFO [82e3953a] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [fbef6f21] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/log ] as deploy@3.1.200.152 DEBUG [fbef6f21] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/log ] DEBUG [fbef6f21] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [b5a650b7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/log ] as deploy@3.1.200.152 DEBUG [b5a650b7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/log ] DEBUG [b5a650b7] Finished in 0.144 seconds with exit status 0 (successful). INFO [2766d0c5] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095737/log as deploy@3.1.200.152 DEBUG [2766d0c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095737/log ) INFO [2766d0c5] Finished in 0.114 seconds with exit status 0 (successful). INFO [877af674] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095737/log as deploy@3.1.200.152 DEBUG [877af674] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095737/log ) INFO [877af674] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [9c99eee4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids ] as deploy@3.1.200.152 DEBUG [9c99eee4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids ] DEBUG [9c99eee4] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [641762c3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids ] as deploy@3.1.200.152 DEBUG [641762c3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids ] DEBUG [641762c3] Finished in 0.142 seconds with exit status 0 (successful). INFO [1cd7471a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids as deploy@3.1.200.152 DEBUG [1cd7471a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids ) INFO [1cd7471a] Finished in 0.102 seconds with exit status 0 (successful). INFO [638b83f5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids as deploy@3.1.200.152 DEBUG [638b83f5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/pids ) INFO [638b83f5] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [a66b1c60] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/cache ] as deploy@3.1.200.152 DEBUG [a66b1c60] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/cache ] DEBUG [a66b1c60] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [52d49742] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/cache ] as deploy@3.1.200.152 DEBUG [52d49742] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/cache ] DEBUG [52d49742] Finished in 0.149 seconds with exit status 1 (failed). INFO [e11ac2bb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/cache as deploy@3.1.200.152 DEBUG [e11ac2bb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/cache ) INFO [e11ac2bb] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [dd875809] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/sockets ] as deploy@3.1.200.152 DEBUG [dd875809] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/sockets ] DEBUG [dd875809] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [9f844fb0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/sockets ] as deploy@3.1.200.152 DEBUG [9f844fb0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/sockets ] DEBUG [9f844fb0] Finished in 0.102 seconds with exit status 1 (failed). INFO [cd8b7602] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/sockets as deploy@3.1.200.152 DEBUG [cd8b7602] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095737/tmp/sockets ) INFO [cd8b7602] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [7212ae9d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/vendor/bundle ] as deploy@3.1.200.152 DEBUG [7212ae9d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/vendor/bundle ] DEBUG [7212ae9d] Finished in 0.098 seconds with exit status 1 (failed). DEBUG [8b3e8921] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/vendor/bundle ] as deploy@3.1.200.152 DEBUG [8b3e8921] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/vendor/bundle ] DEBUG [8b3e8921] Finished in 0.145 seconds with exit status 1 (failed). INFO [c8db6f7e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095737/vendor/bundle as deploy@3.1.200.152 DEBUG [c8db6f7e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095737/vendor/bundle ) INFO [c8db6f7e] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [cf40483f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/public/system ] as deploy@3.1.200.152 DEBUG [cf40483f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/public/system ] DEBUG [cf40483f] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [12ae30c4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/public/system ] as deploy@3.1.200.152 DEBUG [12ae30c4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/public/system ] DEBUG [12ae30c4] Finished in 0.103 seconds with exit status 1 (failed). INFO [df23a5c4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095737/public/system as deploy@3.1.200.152 DEBUG [df23a5c4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095737/public/system ) INFO [df23a5c4] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [00c1dafd] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/public/uploads ] as deploy@3.1.200.152 DEBUG [00c1dafd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095737/public/uploads ] DEBUG [00c1dafd] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [65307565] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/public/uploads ] as deploy@3.1.200.152 DEBUG [65307565] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095737/public/uploads ] DEBUG [65307565] Finished in 0.144 seconds with exit status 1 (failed). INFO [c1ef6738] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095737/public/uploads as deploy@3.1.200.152 DEBUG [c1ef6738] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095737/public/uploads ) INFO [c1ef6738] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [f7ea7505] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f7ea7505] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi DEBUG [f7ea7505] Finished in 0.142 seconds with exit status 0 (successful). INFO [416fdc63] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [416fdc63] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095737 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [416fdc63] Finished in 0.304 seconds with exit status 0 (successful). INFO [909fd0b1] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [909fd0b1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095737 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [909fd0b1] Finished in 0.347 seconds with exit status 0 (successful). INFO [64d554d6] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [64d554d6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095737 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [64d554d6] Finished in 0.322 seconds with exit status 0 (successful). DEBUG [195d3c7c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [195d3c7c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi DEBUG [195d3c7c] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [ac6471e5] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [ac6471e5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095737 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ac6471e5] The Gemfile's dependencies are satisfied DEBUG [ac6471e5] Finished in 0.463 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [7d10d256] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7d10d256] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095737; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095737'" 1>&2; false; fi DEBUG [7d10d256] Finished in 0.142 seconds with exit status 0 (successful). INFO [efbf0dbd] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [efbf0dbd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095737 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [efbf0dbd] Finished in 1.331 seconds with exit status 0 (successful). INFO [76f449bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095737 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [76f449bc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095737 /home/deploy/apps/aoumi_server/releases/current ) INFO [76f449bc] Finished in 0.146 seconds with exit status 0 (successful). INFO [9d3e27b7] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [9d3e27b7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [9d3e27b7] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [ee7a9a14] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [ee7a9a14] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [ee7a9a14] 20221230094431 20221230094547 20221230094958 20221230095245 20221230095640 20221230095737 DEBUG [ee7a9a14] Finished in 0.147 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [1f749248] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [1f749248] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [1f749248] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [ba9ebd44] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [ba9ebd44] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [ba9ebd44] /home/deploy/apps/aoumi_server/releases/20221230095737 DEBUG [ba9ebd44] Finished in 0.147 seconds with exit status 0 (successful). INFO [6dd41f88] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094431 as deploy@3.1.200.152 DEBUG [6dd41f88] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094431 ) INFO [6dd41f88] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [35c4811f] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [35c4811f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [35c4811f] Finished in 0.157 seconds with exit status 0 (successful). INFO [eb10cbdb] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095737 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [eb10cbdb] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095737 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [eb10cbdb] Finished in 0.105 seconds with exit status 0 (successful). INFO [fd995bb5] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [fd995bb5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [fd995bb5] sudo DEBUG [fd995bb5] : DEBUG [fd995bb5] no tty present and no askpass program specified DEBUG [fd995bb5] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 16:58:23 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [bf51f24e] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [bf51f24e] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [bf51f24e] Finished in 0.993 seconds with exit status 0 (successful). INFO [d695e38a] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [d695e38a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [d695e38a] Finished in 0.108 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-00c524f1f7e222b5d18d.sh 0.0% INFO Uploading /tmp/git-ssh-00c524f1f7e222b5d18d.sh 100.0% INFO [111104ff] Running /usr/bin/env chmod 700 /tmp/git-ssh-00c524f1f7e222b5d18d.sh as deploy@3.1.200.152 DEBUG [111104ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-00c524f1f7e222b5d18d.sh ) INFO [111104ff] Finished in 0.104 seconds with exit status 0 (successful). INFO [00def77f] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [00def77f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-00c524f1f7e222b5d18d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [00def77f] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [00def77f] HEAD INFO [00def77f] Finished in 2.972 seconds with exit status 0 (successful). INFO [bcf82cd2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [bcf82cd2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [bcf82cd2] Finished in 0.105 seconds with exit status 0 (successful). INFO [40277244] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [40277244] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [40277244] Finished in 0.095 seconds with exit status 0 (successful). INFO [2c66561b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [2c66561b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [2c66561b] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [a0e030ff] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [a0e030ff] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [a0e030ff] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [08e9e6a3] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [08e9e6a3] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [08e9e6a3] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [5d780da0] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [5d780da0] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [5d780da0] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [778bc677] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [778bc677] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [778bc677] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [0bf30374] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [0bf30374] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [0bf30374] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [0bf30374] DEBUG [0bf30374] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [e8eb85a5] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [e8eb85a5] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [e8eb85a5] Finished in 0.142 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [844dc862] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [844dc862] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [844dc862] Finished in 0.104 seconds with exit status 0 (successful). INFO [e3de300e] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [e3de300e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-00c524f1f7e222b5d18d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e3de300e] Finished in 0.151 seconds with exit status 0 (successful). INFO [e9b94e0e] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [e9b94e0e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-00c524f1f7e222b5d18d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [e9b94e0e] Fetching origin DEBUG [e9b94e0e] INFO [e9b94e0e] Finished in 2.806 seconds with exit status 0 (successful). DEBUG [62a322dd] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [62a322dd] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [62a322dd] Finished in 0.105 seconds with exit status 0 (successful). INFO [87ab157a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095828 as deploy@3.1.200.152 DEBUG [87ab157a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-00c524f1f7e222b5d18d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095828 ) INFO [87ab157a] Finished in 0.105 seconds with exit status 0 (successful). INFO [2c95f5e0] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095828 as deploy@3.1.200.152 DEBUG [2c95f5e0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-00c524f1f7e222b5d18d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230095828 ) INFO [2c95f5e0] Finished in 0.232 seconds with exit status 0 (successful). DEBUG [93d6061c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [93d6061c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [93d6061c] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [fb6d6bb7] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [fb6d6bb7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-00c524f1f7e222b5d18d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [fb6d6bb7] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [fb6d6bb7] DEBUG [fb6d6bb7] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [596149e1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [596149e1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi DEBUG [596149e1] Finished in 0.101 seconds with exit status 0 (successful). INFO [f61f7301] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [f61f7301] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095828 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [f61f7301] Finished in 0.149 seconds with exit status 0 (successful). INFO [591aa58f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095828 /home/deploy/apps/aoumi_server/releases/20221230095828/config as deploy@3.1.200.152 DEBUG [591aa58f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095828 /home/deploy/apps/aoumi_server/releases/20221230095828/config ) INFO [591aa58f] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [f89b19a8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/.env ] as deploy@3.1.200.152 DEBUG [f89b19a8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/.env ] DEBUG [f89b19a8] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [854529b6] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095828/.env ] as deploy@3.1.200.152 DEBUG [854529b6] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095828/.env ] DEBUG [854529b6] Finished in 0.104 seconds with exit status 0 (successful). INFO [54a203cc] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095828/.env as deploy@3.1.200.152 DEBUG [54a203cc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095828/.env ) INFO [54a203cc] Finished in 0.151 seconds with exit status 0 (successful). INFO [cce118ec] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095828/.env as deploy@3.1.200.152 DEBUG [cce118ec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230095828/.env ) INFO [cce118ec] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [19e5390b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml ] as deploy@3.1.200.152 DEBUG [19e5390b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml ] DEBUG [19e5390b] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [e39b9438] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml ] as deploy@3.1.200.152 DEBUG [e39b9438] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml ] DEBUG [e39b9438] Finished in 0.104 seconds with exit status 0 (successful). INFO [f23eab7a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml as deploy@3.1.200.152 DEBUG [f23eab7a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml ) INFO [f23eab7a] Finished in 0.153 seconds with exit status 0 (successful). INFO [3ed6a1fe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml as deploy@3.1.200.152 DEBUG [3ed6a1fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230095828/config/database.yml ) INFO [3ed6a1fe] Finished in 0.107 seconds with exit status 0 (successful). INFO [609311c1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095828 /home/deploy/apps/aoumi_server/releases/20221230095828/tmp /home/deploy/apps/aoumi_server/releases/20221230095828/vendor /home/deploy/apps/aoumi_server/releases/20221230095828/public as deploy@3.1.200.152 DEBUG [609311c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230095828 /home/deploy/apps/aoumi_server/releases/20221230095828/tmp /home/deploy/apps/aoumi_server/releases/20221230095828/vendor /home/deploy/apps/aoumi_server/releases/20221230095828/public ) INFO [609311c1] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [2b24da0f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/log ] as deploy@3.1.200.152 DEBUG [2b24da0f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/log ] DEBUG [2b24da0f] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [a1d89b6b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/log ] as deploy@3.1.200.152 DEBUG [a1d89b6b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/log ] DEBUG [a1d89b6b] Finished in 0.151 seconds with exit status 0 (successful). INFO [6458c552] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095828/log as deploy@3.1.200.152 DEBUG [6458c552] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095828/log ) INFO [6458c552] Finished in 0.104 seconds with exit status 0 (successful). INFO [00c411d2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095828/log as deploy@3.1.200.152 DEBUG [00c411d2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230095828/log ) INFO [00c411d2] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [6b8e55ff] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids ] as deploy@3.1.200.152 DEBUG [6b8e55ff] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids ] DEBUG [6b8e55ff] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [3d208f16] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids ] as deploy@3.1.200.152 DEBUG [3d208f16] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids ] DEBUG [3d208f16] Finished in 0.145 seconds with exit status 0 (successful). INFO [75ccc717] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids as deploy@3.1.200.152 DEBUG [75ccc717] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids ) INFO [75ccc717] Finished in 0.108 seconds with exit status 0 (successful). INFO [ada73035] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids as deploy@3.1.200.152 DEBUG [ada73035] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/pids ) INFO [ada73035] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [aea442c4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/cache ] as deploy@3.1.200.152 DEBUG [aea442c4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/cache ] DEBUG [aea442c4] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [d499ecf0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/cache ] as deploy@3.1.200.152 DEBUG [d499ecf0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/cache ] DEBUG [d499ecf0] Finished in 0.146 seconds with exit status 1 (failed). INFO [483ed77f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/cache as deploy@3.1.200.152 DEBUG [483ed77f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/cache ) INFO [483ed77f] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [848f83b5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/sockets ] as deploy@3.1.200.152 DEBUG [848f83b5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/sockets ] DEBUG [848f83b5] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [80356771] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/sockets ] as deploy@3.1.200.152 DEBUG [80356771] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/sockets ] DEBUG [80356771] Finished in 0.104 seconds with exit status 1 (failed). INFO [9539b5d3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/sockets as deploy@3.1.200.152 DEBUG [9539b5d3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230095828/tmp/sockets ) INFO [9539b5d3] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [fec8d310] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/vendor/bundle ] as deploy@3.1.200.152 DEBUG [fec8d310] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/vendor/bundle ] DEBUG [fec8d310] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [08d076c4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/vendor/bundle ] as deploy@3.1.200.152 DEBUG [08d076c4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/vendor/bundle ] DEBUG [08d076c4] Finished in 0.147 seconds with exit status 1 (failed). INFO [42c0ba4b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095828/vendor/bundle as deploy@3.1.200.152 DEBUG [42c0ba4b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230095828/vendor/bundle ) INFO [42c0ba4b] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [220f8718] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/public/system ] as deploy@3.1.200.152 DEBUG [220f8718] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/public/system ] DEBUG [220f8718] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [5b324bbe] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/public/system ] as deploy@3.1.200.152 DEBUG [5b324bbe] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/public/system ] DEBUG [5b324bbe] Finished in 0.103 seconds with exit status 1 (failed). INFO [f8dfafa0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095828/public/system as deploy@3.1.200.152 DEBUG [f8dfafa0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230095828/public/system ) INFO [f8dfafa0] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [59aef053] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/public/uploads ] as deploy@3.1.200.152 DEBUG [59aef053] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230095828/public/uploads ] DEBUG [59aef053] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [ded38aae] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/public/uploads ] as deploy@3.1.200.152 DEBUG [ded38aae] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230095828/public/uploads ] DEBUG [ded38aae] Finished in 0.146 seconds with exit status 1 (failed). INFO [ab5d5ca5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095828/public/uploads as deploy@3.1.200.152 DEBUG [ab5d5ca5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230095828/public/uploads ) INFO [ab5d5ca5] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [26338b0f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [26338b0f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi DEBUG [26338b0f] Finished in 0.147 seconds with exit status 0 (successful). INFO [ca902ac5] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [ca902ac5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095828 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [ca902ac5] Finished in 0.441 seconds with exit status 0 (successful). INFO [70405006] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [70405006] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095828 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [70405006] Finished in 0.353 seconds with exit status 0 (successful). INFO [6986696f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [6986696f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095828 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [6986696f] Finished in 0.302 seconds with exit status 0 (successful). DEBUG [ee4775dd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ee4775dd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi DEBUG [ee4775dd] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [7a3dc565] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [7a3dc565] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095828 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [7a3dc565] The Gemfile's dependencies are satisfied DEBUG [7a3dc565] DEBUG [7a3dc565] Finished in 0.491 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [ad364e39] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ad364e39] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230095828; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230095828'" 1>&2; false; fi DEBUG [ad364e39] Finished in 0.144 seconds with exit status 0 (successful). INFO [708fa3a9] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [708fa3a9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230095828 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [708fa3a9] Finished in 1.418 seconds with exit status 0 (successful). INFO [5a866a85] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095828 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [5a866a85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230095828 /home/deploy/apps/aoumi_server/releases/current ) INFO [5a866a85] Finished in 0.143 seconds with exit status 0 (successful). INFO [89d80359] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [89d80359] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [89d80359] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [02320d69] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [02320d69] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [02320d69] 20221230094547 DEBUG [02320d69] DEBUG [02320d69] 20221230094958 DEBUG [02320d69] DEBUG [02320d69] 20221230095245 DEBUG [02320d69] DEBUG [02320d69] 20221230095640 DEBUG [02320d69] DEBUG [02320d69] 20221230095737 DEBUG [02320d69] DEBUG [02320d69] 20221230095828 DEBUG [02320d69] DEBUG [02320d69] Finished in 0.147 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [9b8cbc44] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [9b8cbc44] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [9b8cbc44] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [cee3620a] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [cee3620a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [cee3620a] /home/deploy/apps/aoumi_server/releases/20221230095828 DEBUG [cee3620a] DEBUG [cee3620a] Finished in 0.149 seconds with exit status 0 (successful). INFO [bb7fae58] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094547 as deploy@3.1.200.152 DEBUG [bb7fae58] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094547 ) INFO [bb7fae58] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [cf80c9f6] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [cf80c9f6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [cf80c9f6] Finished in 0.147 seconds with exit status 0 (successful). INFO [8690178a] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095828 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [8690178a] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230095828 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [8690178a] Finished in 0.109 seconds with exit status 0 (successful). INFO [f9e8b932] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [f9e8b932] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [f9e8b932] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:00:17 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d9df1dd7] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [d9df1dd7] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [d9df1dd7] Finished in 1.064 seconds with exit status 0 (successful). INFO [cea13903] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [cea13903] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [cea13903] Finished in 0.098 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-1d9ce5f4900ba5d03324.sh 0.0% INFO Uploading /tmp/git-ssh-1d9ce5f4900ba5d03324.sh 100.0% INFO [87675d63] Running /usr/bin/env chmod 700 /tmp/git-ssh-1d9ce5f4900ba5d03324.sh as deploy@3.1.200.152 DEBUG [87675d63] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-1d9ce5f4900ba5d03324.sh ) INFO [87675d63] Finished in 0.107 seconds with exit status 0 (successful). INFO [55b5f871] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [55b5f871] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1d9ce5f4900ba5d03324.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [55b5f871] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [55b5f871] Finished in 3.054 seconds with exit status 0 (successful). INFO [94bb7789] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [94bb7789] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [94bb7789] Finished in 0.115 seconds with exit status 0 (successful). INFO [f76cf4d0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [f76cf4d0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [f76cf4d0] Finished in 0.107 seconds with exit status 0 (successful). INFO [b6ea370a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [b6ea370a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [b6ea370a] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [12724c2e] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [12724c2e] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [12724c2e] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [f9b567fe] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [f9b567fe] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [f9b567fe] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [b93785af] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [b93785af] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [b93785af] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [f4c18130] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [f4c18130] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [f4c18130] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [636c05ae] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [636c05ae] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [636c05ae] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [636c05ae] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [e1dbfdba] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [e1dbfdba] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [e1dbfdba] Finished in 0.144 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [f0653321] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f0653321] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f0653321] Finished in 0.109 seconds with exit status 0 (successful). INFO [419f1822] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [419f1822] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1d9ce5f4900ba5d03324.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [419f1822] Finished in 0.153 seconds with exit status 0 (successful). INFO [c741d63e] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [c741d63e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1d9ce5f4900ba5d03324.sh" ; /usr/bin/env git remote update --prune ) DEBUG [c741d63e] Fetching origin INFO [c741d63e] Finished in 2.974 seconds with exit status 0 (successful). DEBUG [5cc57327] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5cc57327] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5cc57327] Finished in 0.103 seconds with exit status 0 (successful). INFO [a6d774cf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100023 as deploy@3.1.200.152 DEBUG [a6d774cf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1d9ce5f4900ba5d03324.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100023 ) INFO [a6d774cf] Finished in 0.106 seconds with exit status 0 (successful). INFO [acce1158] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100023 as deploy@3.1.200.152 DEBUG [acce1158] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1d9ce5f4900ba5d03324.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100023 ) INFO [acce1158] Finished in 0.205 seconds with exit status 0 (successful). DEBUG [e0bc7f3a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e0bc7f3a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e0bc7f3a] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [f8034c9a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [f8034c9a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1d9ce5f4900ba5d03324.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f8034c9a] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [f8034c9a] Finished in 0.170 seconds with exit status 0 (successful). DEBUG [59d64c22] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [59d64c22] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi DEBUG [59d64c22] Finished in 0.104 seconds with exit status 0 (successful). INFO [27eb4ae7] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [27eb4ae7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100023 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [27eb4ae7] Finished in 0.149 seconds with exit status 0 (successful). INFO [bd99c8a9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100023 /home/deploy/apps/aoumi_server/releases/20221230100023/config as deploy@3.1.200.152 DEBUG [bd99c8a9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100023 /home/deploy/apps/aoumi_server/releases/20221230100023/config ) INFO [bd99c8a9] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [1e404127] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/.env ] as deploy@3.1.200.152 DEBUG [1e404127] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/.env ] DEBUG [1e404127] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [a0daebec] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100023/.env ] as deploy@3.1.200.152 DEBUG [a0daebec] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100023/.env ] DEBUG [a0daebec] Finished in 0.112 seconds with exit status 0 (successful). INFO [544d6851] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100023/.env as deploy@3.1.200.152 DEBUG [544d6851] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100023/.env ) INFO [544d6851] Finished in 0.149 seconds with exit status 0 (successful). INFO [ad491242] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100023/.env as deploy@3.1.200.152 DEBUG [ad491242] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100023/.env ) INFO [ad491242] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [58f4fb2e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml ] as deploy@3.1.200.152 DEBUG [58f4fb2e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml ] DEBUG [58f4fb2e] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [e047c85b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml ] as deploy@3.1.200.152 DEBUG [e047c85b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml ] DEBUG [e047c85b] Finished in 0.111 seconds with exit status 0 (successful). INFO [47632e4b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml as deploy@3.1.200.152 DEBUG [47632e4b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml ) INFO [47632e4b] Finished in 0.151 seconds with exit status 0 (successful). INFO [96210f4e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml as deploy@3.1.200.152 DEBUG [96210f4e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100023/config/database.yml ) INFO [96210f4e] Finished in 0.107 seconds with exit status 0 (successful). INFO [7d957ced] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100023 /home/deploy/apps/aoumi_server/releases/20221230100023/tmp /home/deploy/apps/aoumi_server/releases/20221230100023/vendor /home/deploy/apps/aoumi_server/releases/20221230100023/public as deploy@3.1.200.152 DEBUG [7d957ced] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100023 /home/deploy/apps/aoumi_server/releases/20221230100023/tmp /home/deploy/apps/aoumi_server/releases/20221230100023/vendor /home/deploy/apps/aoumi_server/releases/20221230100023/public ) INFO [7d957ced] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [561d9d35] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/log ] as deploy@3.1.200.152 DEBUG [561d9d35] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/log ] DEBUG [561d9d35] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [b96f999a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/log ] as deploy@3.1.200.152 DEBUG [b96f999a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/log ] DEBUG [b96f999a] Finished in 0.149 seconds with exit status 0 (successful). INFO [ec5cfa59] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100023/log as deploy@3.1.200.152 DEBUG [ec5cfa59] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100023/log ) INFO [ec5cfa59] Finished in 0.106 seconds with exit status 0 (successful). INFO [2265e9bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100023/log as deploy@3.1.200.152 DEBUG [2265e9bc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100023/log ) INFO [2265e9bc] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [408a30a8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids ] as deploy@3.1.200.152 DEBUG [408a30a8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids ] DEBUG [408a30a8] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [b1a791b6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids ] as deploy@3.1.200.152 DEBUG [b1a791b6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids ] DEBUG [b1a791b6] Finished in 0.146 seconds with exit status 0 (successful). INFO [11184d49] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids as deploy@3.1.200.152 DEBUG [11184d49] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids ) INFO [11184d49] Finished in 0.107 seconds with exit status 0 (successful). INFO [8f9ce2b2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids as deploy@3.1.200.152 DEBUG [8f9ce2b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/pids ) INFO [8f9ce2b2] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [d6f3bdde] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/cache ] as deploy@3.1.200.152 DEBUG [d6f3bdde] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/cache ] DEBUG [d6f3bdde] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [aca59432] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/cache ] as deploy@3.1.200.152 DEBUG [aca59432] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/cache ] DEBUG [aca59432] Finished in 0.149 seconds with exit status 1 (failed). INFO [a26631e5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/cache as deploy@3.1.200.152 DEBUG [a26631e5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/cache ) INFO [a26631e5] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [fae5bacb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/sockets ] as deploy@3.1.200.152 DEBUG [fae5bacb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/sockets ] DEBUG [fae5bacb] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [41ce958a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/sockets ] as deploy@3.1.200.152 DEBUG [41ce958a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/sockets ] DEBUG [41ce958a] Finished in 0.135 seconds with exit status 1 (failed). INFO [f48ecd38] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/sockets as deploy@3.1.200.152 DEBUG [f48ecd38] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100023/tmp/sockets ) INFO [f48ecd38] Finished in 0.182 seconds with exit status 0 (successful). DEBUG [b3488910] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/vendor/bundle ] as deploy@3.1.200.152 DEBUG [b3488910] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/vendor/bundle ] DEBUG [b3488910] Finished in 0.110 seconds with exit status 1 (failed). DEBUG [9d652070] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/vendor/bundle ] as deploy@3.1.200.152 DEBUG [9d652070] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/vendor/bundle ] DEBUG [9d652070] Finished in 0.150 seconds with exit status 1 (failed). INFO [8fd37dcb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100023/vendor/bundle as deploy@3.1.200.152 DEBUG [8fd37dcb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100023/vendor/bundle ) INFO [8fd37dcb] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [d7934708] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/public/system ] as deploy@3.1.200.152 DEBUG [d7934708] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/public/system ] DEBUG [d7934708] Finished in 0.153 seconds with exit status 1 (failed). DEBUG [10b69a4b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/public/system ] as deploy@3.1.200.152 DEBUG [10b69a4b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/public/system ] DEBUG [10b69a4b] Finished in 0.108 seconds with exit status 1 (failed). INFO [8515e97d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100023/public/system as deploy@3.1.200.152 DEBUG [8515e97d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100023/public/system ) INFO [8515e97d] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [4e150f5a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/public/uploads ] as deploy@3.1.200.152 DEBUG [4e150f5a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100023/public/uploads ] DEBUG [4e150f5a] Finished in 0.107 seconds with exit status 1 (failed). DEBUG [7d4dbe84] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/public/uploads ] as deploy@3.1.200.152 DEBUG [7d4dbe84] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100023/public/uploads ] DEBUG [7d4dbe84] Finished in 0.151 seconds with exit status 1 (failed). INFO [0c00682d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100023/public/uploads as deploy@3.1.200.152 DEBUG [0c00682d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100023/public/uploads ) INFO [0c00682d] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [80abf2ba] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [80abf2ba] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi DEBUG [80abf2ba] Finished in 0.153 seconds with exit status 0 (successful). INFO [aaaf5f3f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [aaaf5f3f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100023 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [aaaf5f3f] Finished in 0.309 seconds with exit status 0 (successful). INFO [0eef07bc] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [0eef07bc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100023 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [0eef07bc] Finished in 0.349 seconds with exit status 0 (successful). INFO [235ef5e4] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [235ef5e4] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100023 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [235ef5e4] Finished in 0.314 seconds with exit status 0 (successful). DEBUG [1540295d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1540295d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi DEBUG [1540295d] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [11634a5a] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [11634a5a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100023 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [11634a5a] The Gemfile's dependencies are satisfied DEBUG [11634a5a] Finished in 0.503 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [042793a5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [042793a5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100023; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100023'" 1>&2; false; fi DEBUG [042793a5] Finished in 0.152 seconds with exit status 0 (successful). INFO [cad07025] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [cad07025] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100023 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [cad07025] Finished in 1.381 seconds with exit status 0 (successful). INFO [c1049fa0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100023 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [c1049fa0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100023 /home/deploy/apps/aoumi_server/releases/current ) INFO [c1049fa0] Finished in 0.147 seconds with exit status 0 (successful). INFO [89e7ec6b] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [89e7ec6b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [89e7ec6b] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [6187963b] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [6187963b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [6187963b] 20221230094958 20221230095245 20221230095640 20221230095737 20221230095828 20221230100023 DEBUG [6187963b] Finished in 0.153 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [01ec36ef] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [01ec36ef] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [01ec36ef] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [bac5fda9] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [bac5fda9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [bac5fda9] /home/deploy/apps/aoumi_server/releases/20221230100023 DEBUG [bac5fda9] Finished in 0.156 seconds with exit status 0 (successful). INFO [89084720] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094958 as deploy@3.1.200.152 DEBUG [89084720] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230094958 ) INFO [89084720] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [05a29e86] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [05a29e86] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [05a29e86] Finished in 0.143 seconds with exit status 0 (successful). INFO [2b018f4e] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100023 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [2b018f4e] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100023 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [2b018f4e] Finished in 0.106 seconds with exit status 0 (successful). INFO [2f29db3a] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [2f29db3a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [2f29db3a] sudo DEBUG [2f29db3a] : DEBUG [2f29db3a] no tty present and no askpass program specified DEBUG [2f29db3a] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:01:13 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [668b1d76] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [668b1d76] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [668b1d76] Finished in 1.044 seconds with exit status 0 (successful). INFO [61d84849] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [61d84849] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [61d84849] Finished in 0.101 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-56cf329c86a4d5735308.sh 0.0% INFO Uploading /tmp/git-ssh-56cf329c86a4d5735308.sh 100.0% INFO [f949b75b] Running /usr/bin/env chmod 700 /tmp/git-ssh-56cf329c86a4d5735308.sh as deploy@3.1.200.152 DEBUG [f949b75b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-56cf329c86a4d5735308.sh ) INFO [f949b75b] Finished in 0.107 seconds with exit status 0 (successful). INFO [b1aef190] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [b1aef190] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56cf329c86a4d5735308.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b1aef190] 18d4045e78fd73cd18b9563cf13b7a24525043d4 DEBUG [b1aef190] HEAD INFO [b1aef190] Finished in 2.978 seconds with exit status 0 (successful). INFO [3e57a78f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [3e57a78f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [3e57a78f] Finished in 0.094 seconds with exit status 0 (successful). INFO [a5b5fba5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [a5b5fba5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [a5b5fba5] Finished in 0.102 seconds with exit status 0 (successful). INFO [3247c877] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [3247c877] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [3247c877] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [8c7a4404] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [8c7a4404] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [8c7a4404] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [8ad2bd63] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [8ad2bd63] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [8ad2bd63] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [ee25e159] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [ee25e159] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ee25e159] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [3782727c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [3782727c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [3782727c] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [f19ff336] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [f19ff336] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [f19ff336] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [f19ff336] DEBUG [f19ff336] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [369ad857] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [369ad857] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [369ad857] Finished in 0.148 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [b27db266] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [b27db266] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b27db266] Finished in 0.102 seconds with exit status 0 (successful). INFO [06f478b5] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [06f478b5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56cf329c86a4d5735308.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [06f478b5] Finished in 0.164 seconds with exit status 0 (successful). INFO [355317f1] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [355317f1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56cf329c86a4d5735308.sh" ; /usr/bin/env git remote update --prune ) DEBUG [355317f1] Fetching origin DEBUG [355317f1] INFO [355317f1] Finished in 2.898 seconds with exit status 0 (successful). DEBUG [d066e384] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d066e384] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d066e384] Finished in 0.091 seconds with exit status 0 (successful). INFO [3380eca0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100119 as deploy@3.1.200.152 DEBUG [3380eca0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56cf329c86a4d5735308.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100119 ) INFO [3380eca0] Finished in 0.112 seconds with exit status 0 (successful). INFO [dacf6dc3] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100119 as deploy@3.1.200.152 DEBUG [dacf6dc3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56cf329c86a4d5735308.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100119 ) INFO [dacf6dc3] Finished in 0.211 seconds with exit status 0 (successful). DEBUG [b40ad7af] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [b40ad7af] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b40ad7af] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [e6f4f817] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [e6f4f817] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-56cf329c86a4d5735308.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [e6f4f817] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [e6f4f817] DEBUG [e6f4f817] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [2e119984] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [2e119984] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi DEBUG [2e119984] Finished in 0.119 seconds with exit status 0 (successful). INFO [ffd1fee1] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [ffd1fee1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100119 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [ffd1fee1] Finished in 0.152 seconds with exit status 0 (successful). INFO [80df5d7f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100119 /home/deploy/apps/aoumi_server/releases/20221230100119/config as deploy@3.1.200.152 DEBUG [80df5d7f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100119 /home/deploy/apps/aoumi_server/releases/20221230100119/config ) INFO [80df5d7f] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [6e1fd63e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/.env ] as deploy@3.1.200.152 DEBUG [6e1fd63e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/.env ] DEBUG [6e1fd63e] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [1be168b9] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100119/.env ] as deploy@3.1.200.152 DEBUG [1be168b9] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100119/.env ] DEBUG [1be168b9] Finished in 0.108 seconds with exit status 0 (successful). INFO [0b8b5f26] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100119/.env as deploy@3.1.200.152 DEBUG [0b8b5f26] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100119/.env ) INFO [0b8b5f26] Finished in 0.150 seconds with exit status 0 (successful). INFO [2206a740] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100119/.env as deploy@3.1.200.152 DEBUG [2206a740] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100119/.env ) INFO [2206a740] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [034f04d5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml ] as deploy@3.1.200.152 DEBUG [034f04d5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml ] DEBUG [034f04d5] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [4b41f4fd] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml ] as deploy@3.1.200.152 DEBUG [4b41f4fd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml ] DEBUG [4b41f4fd] Finished in 0.105 seconds with exit status 0 (successful). INFO [dadb4a51] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml as deploy@3.1.200.152 DEBUG [dadb4a51] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml ) INFO [dadb4a51] Finished in 0.147 seconds with exit status 0 (successful). INFO [1841cf1f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml as deploy@3.1.200.152 DEBUG [1841cf1f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100119/config/database.yml ) INFO [1841cf1f] Finished in 0.108 seconds with exit status 0 (successful). INFO [e96dbe7c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100119 /home/deploy/apps/aoumi_server/releases/20221230100119/tmp /home/deploy/apps/aoumi_server/releases/20221230100119/vendor /home/deploy/apps/aoumi_server/releases/20221230100119/public as deploy@3.1.200.152 DEBUG [e96dbe7c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100119 /home/deploy/apps/aoumi_server/releases/20221230100119/tmp /home/deploy/apps/aoumi_server/releases/20221230100119/vendor /home/deploy/apps/aoumi_server/releases/20221230100119/public ) INFO [e96dbe7c] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [94a3e30e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/log ] as deploy@3.1.200.152 DEBUG [94a3e30e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/log ] DEBUG [94a3e30e] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [f419f9b3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/log ] as deploy@3.1.200.152 DEBUG [f419f9b3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/log ] DEBUG [f419f9b3] Finished in 0.177 seconds with exit status 0 (successful). INFO [5bc5d95b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100119/log as deploy@3.1.200.152 DEBUG [5bc5d95b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100119/log ) INFO [5bc5d95b] Finished in 0.112 seconds with exit status 0 (successful). INFO [ee414a8f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100119/log as deploy@3.1.200.152 DEBUG [ee414a8f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100119/log ) INFO [ee414a8f] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [22696ff2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids ] as deploy@3.1.200.152 DEBUG [22696ff2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids ] DEBUG [22696ff2] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [009036ff] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids ] as deploy@3.1.200.152 DEBUG [009036ff] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids ] DEBUG [009036ff] Finished in 0.151 seconds with exit status 0 (successful). INFO [9c72f981] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids as deploy@3.1.200.152 DEBUG [9c72f981] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids ) INFO [9c72f981] Finished in 0.111 seconds with exit status 0 (successful). INFO [4ecc0f8e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids as deploy@3.1.200.152 DEBUG [4ecc0f8e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/pids ) INFO [4ecc0f8e] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [4460018d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/cache ] as deploy@3.1.200.152 DEBUG [4460018d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/cache ] DEBUG [4460018d] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [d27b39cd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/cache ] as deploy@3.1.200.152 DEBUG [d27b39cd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/cache ] DEBUG [d27b39cd] Finished in 0.147 seconds with exit status 1 (failed). INFO [da26ccf6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/cache as deploy@3.1.200.152 DEBUG [da26ccf6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/cache ) INFO [da26ccf6] Finished in 0.116 seconds with exit status 0 (successful). DEBUG [76a368a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/sockets ] as deploy@3.1.200.152 DEBUG [76a368a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/sockets ] DEBUG [76a368a3] Finished in 0.152 seconds with exit status 1 (failed). DEBUG [60520aac] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/sockets ] as deploy@3.1.200.152 DEBUG [60520aac] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/sockets ] DEBUG [60520aac] Finished in 0.111 seconds with exit status 1 (failed). INFO [9341f425] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/sockets as deploy@3.1.200.152 DEBUG [9341f425] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100119/tmp/sockets ) INFO [9341f425] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [fe8910ff] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/vendor/bundle ] as deploy@3.1.200.152 DEBUG [fe8910ff] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/vendor/bundle ] DEBUG [fe8910ff] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [7f098178] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/vendor/bundle ] as deploy@3.1.200.152 DEBUG [7f098178] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/vendor/bundle ] DEBUG [7f098178] Finished in 0.149 seconds with exit status 1 (failed). INFO [a42a0b44] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100119/vendor/bundle as deploy@3.1.200.152 DEBUG [a42a0b44] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100119/vendor/bundle ) INFO [a42a0b44] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [a630ab3c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/public/system ] as deploy@3.1.200.152 DEBUG [a630ab3c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/public/system ] DEBUG [a630ab3c] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [9803bd4f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/public/system ] as deploy@3.1.200.152 DEBUG [9803bd4f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/public/system ] DEBUG [9803bd4f] Finished in 0.102 seconds with exit status 1 (failed). INFO [01c76781] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100119/public/system as deploy@3.1.200.152 DEBUG [01c76781] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100119/public/system ) INFO [01c76781] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [52cc2e52] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/public/uploads ] as deploy@3.1.200.152 DEBUG [52cc2e52] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100119/public/uploads ] DEBUG [52cc2e52] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [9718fb8a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/public/uploads ] as deploy@3.1.200.152 DEBUG [9718fb8a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100119/public/uploads ] DEBUG [9718fb8a] Finished in 0.147 seconds with exit status 1 (failed). INFO [6ba262e8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100119/public/uploads as deploy@3.1.200.152 DEBUG [6ba262e8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100119/public/uploads ) INFO [6ba262e8] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [79e5528a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [79e5528a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi DEBUG [79e5528a] Finished in 0.154 seconds with exit status 0 (successful). INFO [8a03667b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [8a03667b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100119 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [8a03667b] Finished in 0.306 seconds with exit status 0 (successful). INFO [8bc45d28] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [8bc45d28] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100119 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [8bc45d28] Finished in 0.436 seconds with exit status 0 (successful). INFO [be83236a] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [be83236a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100119 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [be83236a] Finished in 0.302 seconds with exit status 0 (successful). DEBUG [4efc784d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4efc784d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi DEBUG [4efc784d] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [34efddc7] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [34efddc7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100119 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [34efddc7] The Gemfile's dependencies are satisfied DEBUG [34efddc7] DEBUG [34efddc7] Finished in 0.569 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [dea508aa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [dea508aa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100119; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100119'" 1>&2; false; fi DEBUG [dea508aa] Finished in 0.143 seconds with exit status 0 (successful). INFO [fe811d80] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [fe811d80] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100119 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [fe811d80] Finished in 1.383 seconds with exit status 0 (successful). INFO [79e3f717] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100119 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [79e3f717] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100119 /home/deploy/apps/aoumi_server/releases/current ) INFO [79e3f717] Finished in 0.153 seconds with exit status 0 (successful). INFO [d3fd83ba] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [d3fd83ba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [d3fd83ba] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [d1dba2b1] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [d1dba2b1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [d1dba2b1] 20221230095245 DEBUG [d1dba2b1] DEBUG [d1dba2b1] 20221230095640 DEBUG [d1dba2b1] DEBUG [d1dba2b1] 20221230095737 DEBUG [d1dba2b1] DEBUG [d1dba2b1] 20221230095828 DEBUG [d1dba2b1] DEBUG [d1dba2b1] 20221230100023 DEBUG [d1dba2b1] DEBUG [d1dba2b1] 20221230100119 DEBUG [d1dba2b1] DEBUG [d1dba2b1] Finished in 0.158 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [a17e1024] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [a17e1024] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [a17e1024] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [e3cf394a] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [e3cf394a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [e3cf394a] /home/deploy/apps/aoumi_server/releases/20221230100119 DEBUG [e3cf394a] DEBUG [e3cf394a] Finished in 0.157 seconds with exit status 0 (successful). INFO [93b40432] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095245 as deploy@3.1.200.152 DEBUG [93b40432] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095245 ) INFO [93b40432] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [51348920] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [51348920] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [51348920] Finished in 0.145 seconds with exit status 0 (successful). INFO [c7619c30] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100119 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [c7619c30] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100119 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [c7619c30] Finished in 0.108 seconds with exit status 0 (successful). INFO [83589214] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [83589214] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [83589214] [sudo] password for deploy: INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:01:41 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f5ff5221] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [f5ff5221] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [f5ff5221] Finished in 0.970 seconds with exit status 0 (successful). INFO [67f7c98e] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [67f7c98e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [67f7c98e] Finished in 0.098 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-f649158e538f03effe86.sh 0.0% INFO Uploading /tmp/git-ssh-f649158e538f03effe86.sh 100.0% INFO [87714644] Running /usr/bin/env chmod 700 /tmp/git-ssh-f649158e538f03effe86.sh as deploy@3.1.200.152 DEBUG [87714644] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-f649158e538f03effe86.sh ) INFO [87714644] Finished in 0.106 seconds with exit status 0 (successful). INFO [276cf3e4] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [276cf3e4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f649158e538f03effe86.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [276cf3e4] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [276cf3e4] Finished in 2.971 seconds with exit status 0 (successful). INFO [ac1af17b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [ac1af17b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [ac1af17b] Finished in 0.096 seconds with exit status 0 (successful). INFO [c6d3f263] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [c6d3f263] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [c6d3f263] Finished in 0.103 seconds with exit status 0 (successful). INFO [30025693] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [30025693] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [30025693] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [60a9fc67] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [60a9fc67] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [60a9fc67] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [4bc86e32] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [4bc86e32] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [4bc86e32] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [d5e96f3e] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [d5e96f3e] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [d5e96f3e] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [38c35d80] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [38c35d80] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [38c35d80] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [a522c3e6] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [a522c3e6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [a522c3e6] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [a522c3e6] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [c1b3c1df] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [c1b3c1df] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [c1b3c1df] Finished in 0.142 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [e476749a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e476749a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e476749a] Finished in 0.102 seconds with exit status 0 (successful). INFO [9c1d9b16] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [9c1d9b16] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f649158e538f03effe86.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [9c1d9b16] Finished in 0.143 seconds with exit status 0 (successful). INFO [44415c90] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [44415c90] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f649158e538f03effe86.sh" ; /usr/bin/env git remote update --prune ) DEBUG [44415c90] Fetching origin INFO [44415c90] Finished in 2.929 seconds with exit status 0 (successful). DEBUG [7d63f708] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7d63f708] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7d63f708] Finished in 0.091 seconds with exit status 0 (successful). INFO [1913f90f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100146 as deploy@3.1.200.152 DEBUG [1913f90f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f649158e538f03effe86.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100146 ) INFO [1913f90f] Finished in 0.103 seconds with exit status 0 (successful). INFO [98b40650] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100146 as deploy@3.1.200.152 DEBUG [98b40650] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f649158e538f03effe86.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100146 ) INFO [98b40650] Finished in 0.214 seconds with exit status 0 (successful). DEBUG [372dedb9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [372dedb9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [372dedb9] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [70a27e28] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [70a27e28] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f649158e538f03effe86.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [70a27e28] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [70a27e28] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [a681e601] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [a681e601] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi DEBUG [a681e601] Finished in 0.101 seconds with exit status 0 (successful). INFO [df370f5c] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [df370f5c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100146 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [df370f5c] Finished in 0.146 seconds with exit status 0 (successful). INFO [d902500a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100146 /home/deploy/apps/aoumi_server/releases/20221230100146/config as deploy@3.1.200.152 DEBUG [d902500a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100146 /home/deploy/apps/aoumi_server/releases/20221230100146/config ) INFO [d902500a] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [88f09ef4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/.env ] as deploy@3.1.200.152 DEBUG [88f09ef4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/.env ] DEBUG [88f09ef4] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [fac6f663] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100146/.env ] as deploy@3.1.200.152 DEBUG [fac6f663] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100146/.env ] DEBUG [fac6f663] Finished in 0.101 seconds with exit status 0 (successful). INFO [ebde0f76] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100146/.env as deploy@3.1.200.152 DEBUG [ebde0f76] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100146/.env ) INFO [ebde0f76] Finished in 0.150 seconds with exit status 0 (successful). INFO [a2eb6e40] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100146/.env as deploy@3.1.200.152 DEBUG [a2eb6e40] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100146/.env ) INFO [a2eb6e40] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [9ee68150] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml ] as deploy@3.1.200.152 DEBUG [9ee68150] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml ] DEBUG [9ee68150] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [fbd208c8] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml ] as deploy@3.1.200.152 DEBUG [fbd208c8] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml ] DEBUG [fbd208c8] Finished in 0.101 seconds with exit status 0 (successful). INFO [9181916e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml as deploy@3.1.200.152 DEBUG [9181916e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml ) INFO [9181916e] Finished in 0.148 seconds with exit status 0 (successful). INFO [7b71bfe0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml as deploy@3.1.200.152 DEBUG [7b71bfe0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100146/config/database.yml ) INFO [7b71bfe0] Finished in 0.103 seconds with exit status 0 (successful). INFO [81a526a0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100146 /home/deploy/apps/aoumi_server/releases/20221230100146/tmp /home/deploy/apps/aoumi_server/releases/20221230100146/vendor /home/deploy/apps/aoumi_server/releases/20221230100146/public as deploy@3.1.200.152 DEBUG [81a526a0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100146 /home/deploy/apps/aoumi_server/releases/20221230100146/tmp /home/deploy/apps/aoumi_server/releases/20221230100146/vendor /home/deploy/apps/aoumi_server/releases/20221230100146/public ) INFO [81a526a0] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [7c1cd305] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/log ] as deploy@3.1.200.152 DEBUG [7c1cd305] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/log ] DEBUG [7c1cd305] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [f0dbf87c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/log ] as deploy@3.1.200.152 DEBUG [f0dbf87c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/log ] DEBUG [f0dbf87c] Finished in 0.165 seconds with exit status 0 (successful). INFO [41a3badc] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100146/log as deploy@3.1.200.152 DEBUG [41a3badc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100146/log ) INFO [41a3badc] Finished in 0.103 seconds with exit status 0 (successful). INFO [a0cac519] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100146/log as deploy@3.1.200.152 DEBUG [a0cac519] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100146/log ) INFO [a0cac519] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [1aac2c4e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids ] as deploy@3.1.200.152 DEBUG [1aac2c4e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids ] DEBUG [1aac2c4e] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [617b3feb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids ] as deploy@3.1.200.152 DEBUG [617b3feb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids ] DEBUG [617b3feb] Finished in 0.142 seconds with exit status 0 (successful). INFO [6d983c3c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids as deploy@3.1.200.152 DEBUG [6d983c3c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids ) INFO [6d983c3c] Finished in 0.103 seconds with exit status 0 (successful). INFO [0babffea] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids as deploy@3.1.200.152 DEBUG [0babffea] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/pids ) INFO [0babffea] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [400c5aef] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/cache ] as deploy@3.1.200.152 DEBUG [400c5aef] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/cache ] DEBUG [400c5aef] Finished in 0.117 seconds with exit status 1 (failed). DEBUG [b916c127] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/cache ] as deploy@3.1.200.152 DEBUG [b916c127] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/cache ] DEBUG [b916c127] Finished in 0.143 seconds with exit status 1 (failed). INFO [ed968481] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/cache as deploy@3.1.200.152 DEBUG [ed968481] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/cache ) INFO [ed968481] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [e00855d2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/sockets ] as deploy@3.1.200.152 DEBUG [e00855d2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/sockets ] DEBUG [e00855d2] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [c828793f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/sockets ] as deploy@3.1.200.152 DEBUG [c828793f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/sockets ] DEBUG [c828793f] Finished in 0.102 seconds with exit status 1 (failed). INFO [9afd1379] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/sockets as deploy@3.1.200.152 DEBUG [9afd1379] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100146/tmp/sockets ) INFO [9afd1379] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [5ab4acf4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/vendor/bundle ] as deploy@3.1.200.152 DEBUG [5ab4acf4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/vendor/bundle ] DEBUG [5ab4acf4] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [baff1929] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/vendor/bundle ] as deploy@3.1.200.152 DEBUG [baff1929] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/vendor/bundle ] DEBUG [baff1929] Finished in 0.150 seconds with exit status 1 (failed). INFO [f84c9ae4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100146/vendor/bundle as deploy@3.1.200.152 DEBUG [f84c9ae4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100146/vendor/bundle ) INFO [f84c9ae4] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [af1e6efa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/public/system ] as deploy@3.1.200.152 DEBUG [af1e6efa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/public/system ] DEBUG [af1e6efa] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [ddd6a51c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/public/system ] as deploy@3.1.200.152 DEBUG [ddd6a51c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/public/system ] DEBUG [ddd6a51c] Finished in 0.102 seconds with exit status 1 (failed). INFO [62ee927b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100146/public/system as deploy@3.1.200.152 DEBUG [62ee927b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100146/public/system ) INFO [62ee927b] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [b81a8acc] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/public/uploads ] as deploy@3.1.200.152 DEBUG [b81a8acc] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100146/public/uploads ] DEBUG [b81a8acc] Finished in 0.106 seconds with exit status 1 (failed). DEBUG [3cf251c6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/public/uploads ] as deploy@3.1.200.152 DEBUG [3cf251c6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100146/public/uploads ] DEBUG [3cf251c6] Finished in 0.142 seconds with exit status 1 (failed). INFO [3047c14f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100146/public/uploads as deploy@3.1.200.152 DEBUG [3047c14f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100146/public/uploads ) INFO [3047c14f] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [4bfcfd22] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4bfcfd22] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi DEBUG [4bfcfd22] Finished in 0.142 seconds with exit status 0 (successful). INFO [b6a6cd53] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [b6a6cd53] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100146 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [b6a6cd53] Finished in 0.302 seconds with exit status 0 (successful). INFO [3d42d3d2] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [3d42d3d2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100146 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [3d42d3d2] Finished in 0.347 seconds with exit status 0 (successful). INFO [e5fb6e9e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [e5fb6e9e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100146 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e5fb6e9e] Finished in 0.301 seconds with exit status 0 (successful). DEBUG [1b6ead07] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1b6ead07] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi DEBUG [1b6ead07] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [9f9e60a2] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [9f9e60a2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100146 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [9f9e60a2] The Gemfile's dependencies are satisfied DEBUG [9f9e60a2] Finished in 0.496 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [31c420e9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [31c420e9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100146; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100146'" 1>&2; false; fi DEBUG [31c420e9] Finished in 0.143 seconds with exit status 0 (successful). INFO [5afc4add] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [5afc4add] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100146 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [5afc4add] Finished in 1.383 seconds with exit status 0 (successful). INFO [581a4245] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100146 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [581a4245] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100146 /home/deploy/apps/aoumi_server/releases/current ) INFO [581a4245] Finished in 0.150 seconds with exit status 0 (successful). INFO [13358976] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [13358976] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [13358976] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [f8a70b8f] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [f8a70b8f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [f8a70b8f] 20221230095640 20221230095737 20221230095828 20221230100023 20221230100119 20221230100146 DEBUG [f8a70b8f] Finished in 0.145 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [8f682b2e] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [8f682b2e] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [8f682b2e] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [0a0380fe] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [0a0380fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [0a0380fe] /home/deploy/apps/aoumi_server/releases/20221230100146 DEBUG [0a0380fe] Finished in 0.146 seconds with exit status 0 (successful). INFO [dcaabff6] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095640 as deploy@3.1.200.152 DEBUG [dcaabff6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095640 ) INFO [dcaabff6] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [e1fba22d] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e1fba22d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [e1fba22d] Finished in 0.145 seconds with exit status 0 (successful). INFO [83b7079b] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100146 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [83b7079b] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100146 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [83b7079b] Finished in 0.104 seconds with exit status 0 (successful). INFO [173dbb4e] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [173dbb4e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [173dbb4e] sudo DEBUG [173dbb4e] : DEBUG [173dbb4e] no tty present and no askpass program specified DEBUG [173dbb4e] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:04:59 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [fd591b63] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [fd591b63] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [fd591b63] Finished in 1.057 seconds with exit status 0 (successful). INFO [ac90c2eb] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [ac90c2eb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [ac90c2eb] Finished in 0.099 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-3288c24ccf575f72a1b0.sh 0.0% INFO Uploading /tmp/git-ssh-3288c24ccf575f72a1b0.sh 100.0% INFO [403ff924] Running /usr/bin/env chmod 700 /tmp/git-ssh-3288c24ccf575f72a1b0.sh as deploy@3.1.200.152 DEBUG [403ff924] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-3288c24ccf575f72a1b0.sh ) INFO [403ff924] Finished in 0.110 seconds with exit status 0 (successful). INFO [04aa5085] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [04aa5085] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3288c24ccf575f72a1b0.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [04aa5085] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [04aa5085] Finished in 3.476 seconds with exit status 0 (successful). INFO [1ae484a0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [1ae484a0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [1ae484a0] Finished in 0.105 seconds with exit status 0 (successful). INFO [00b31312] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [00b31312] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [00b31312] Finished in 0.100 seconds with exit status 0 (successful). INFO [0b44b2be] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [0b44b2be] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [0b44b2be] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [8d1ffa36] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [8d1ffa36] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [8d1ffa36] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [fd90c894] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [fd90c894] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [fd90c894] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [7662907f] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [7662907f] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [7662907f] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [e84ae28a] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [e84ae28a] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [e84ae28a] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [aa513fe7] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [aa513fe7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [aa513fe7] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [aa513fe7] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [383fc3cb] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [383fc3cb] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [383fc3cb] Finished in 0.149 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [fefce5ec] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [fefce5ec] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [fefce5ec] Finished in 0.106 seconds with exit status 0 (successful). INFO [57e34311] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [57e34311] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3288c24ccf575f72a1b0.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [57e34311] Finished in 0.149 seconds with exit status 0 (successful). INFO [da33aa46] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [da33aa46] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3288c24ccf575f72a1b0.sh" ; /usr/bin/env git remote update --prune ) DEBUG [da33aa46] Fetching origin INFO [da33aa46] Finished in 2.920 seconds with exit status 0 (successful). DEBUG [56cb7159] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [56cb7159] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [56cb7159] Finished in 0.098 seconds with exit status 0 (successful). INFO [73ee62bd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100505 as deploy@3.1.200.152 DEBUG [73ee62bd] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3288c24ccf575f72a1b0.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100505 ) INFO [73ee62bd] Finished in 0.101 seconds with exit status 0 (successful). INFO [63eece32] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100505 as deploy@3.1.200.152 DEBUG [63eece32] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3288c24ccf575f72a1b0.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100505 ) INFO [63eece32] Finished in 0.216 seconds with exit status 0 (successful). DEBUG [956b18ed] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [956b18ed] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [956b18ed] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [42a02a80] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [42a02a80] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3288c24ccf575f72a1b0.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [42a02a80] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [42a02a80] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [cdf3776a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [cdf3776a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi DEBUG [cdf3776a] Finished in 0.109 seconds with exit status 0 (successful). INFO [4ba3f62d] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [4ba3f62d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100505 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [4ba3f62d] Finished in 0.151 seconds with exit status 0 (successful). INFO [b43ce6f7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100505 /home/deploy/apps/aoumi_server/releases/20221230100505/config as deploy@3.1.200.152 DEBUG [b43ce6f7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100505 /home/deploy/apps/aoumi_server/releases/20221230100505/config ) INFO [b43ce6f7] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [154ac6f3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/.env ] as deploy@3.1.200.152 DEBUG [154ac6f3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/.env ] DEBUG [154ac6f3] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [1d81fda5] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100505/.env ] as deploy@3.1.200.152 DEBUG [1d81fda5] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100505/.env ] DEBUG [1d81fda5] Finished in 0.104 seconds with exit status 0 (successful). INFO [15440764] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100505/.env as deploy@3.1.200.152 DEBUG [15440764] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100505/.env ) INFO [15440764] Finished in 0.152 seconds with exit status 0 (successful). INFO [d150197d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100505/.env as deploy@3.1.200.152 DEBUG [d150197d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100505/.env ) INFO [d150197d] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [697879ed] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml ] as deploy@3.1.200.152 DEBUG [697879ed] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml ] DEBUG [697879ed] Finished in 0.160 seconds with exit status 1 (failed). DEBUG [fe7f4fb9] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml ] as deploy@3.1.200.152 DEBUG [fe7f4fb9] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml ] DEBUG [fe7f4fb9] Finished in 0.109 seconds with exit status 0 (successful). INFO [33330dc7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml as deploy@3.1.200.152 DEBUG [33330dc7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml ) INFO [33330dc7] Finished in 0.150 seconds with exit status 0 (successful). INFO [3a305f6e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml as deploy@3.1.200.152 DEBUG [3a305f6e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100505/config/database.yml ) INFO [3a305f6e] Finished in 0.105 seconds with exit status 0 (successful). INFO [33ef0c14] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100505 /home/deploy/apps/aoumi_server/releases/20221230100505/tmp /home/deploy/apps/aoumi_server/releases/20221230100505/vendor /home/deploy/apps/aoumi_server/releases/20221230100505/public as deploy@3.1.200.152 DEBUG [33ef0c14] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100505 /home/deploy/apps/aoumi_server/releases/20221230100505/tmp /home/deploy/apps/aoumi_server/releases/20221230100505/vendor /home/deploy/apps/aoumi_server/releases/20221230100505/public ) INFO [33ef0c14] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [62948822] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/log ] as deploy@3.1.200.152 DEBUG [62948822] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/log ] DEBUG [62948822] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [224350fc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/log ] as deploy@3.1.200.152 DEBUG [224350fc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/log ] DEBUG [224350fc] Finished in 0.141 seconds with exit status 0 (successful). INFO [7ddc3666] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100505/log as deploy@3.1.200.152 DEBUG [7ddc3666] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100505/log ) INFO [7ddc3666] Finished in 0.108 seconds with exit status 0 (successful). INFO [39491b2b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100505/log as deploy@3.1.200.152 DEBUG [39491b2b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100505/log ) INFO [39491b2b] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [a5e26e4c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids ] as deploy@3.1.200.152 DEBUG [a5e26e4c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids ] DEBUG [a5e26e4c] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [018f1216] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids ] as deploy@3.1.200.152 DEBUG [018f1216] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids ] DEBUG [018f1216] Finished in 0.143 seconds with exit status 0 (successful). INFO [6e8d36b8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids as deploy@3.1.200.152 DEBUG [6e8d36b8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids ) INFO [6e8d36b8] Finished in 0.103 seconds with exit status 0 (successful). INFO [9cbe2d9f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids as deploy@3.1.200.152 DEBUG [9cbe2d9f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/pids ) INFO [9cbe2d9f] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [70b0b5a8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/cache ] as deploy@3.1.200.152 DEBUG [70b0b5a8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/cache ] DEBUG [70b0b5a8] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [4018be09] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/cache ] as deploy@3.1.200.152 DEBUG [4018be09] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/cache ] DEBUG [4018be09] Finished in 0.145 seconds with exit status 1 (failed). INFO [10da5482] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/cache as deploy@3.1.200.152 DEBUG [10da5482] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/cache ) INFO [10da5482] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [b4c6fd69] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/sockets ] as deploy@3.1.200.152 DEBUG [b4c6fd69] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/sockets ] DEBUG [b4c6fd69] Finished in 0.153 seconds with exit status 1 (failed). DEBUG [18eff519] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/sockets ] as deploy@3.1.200.152 DEBUG [18eff519] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/sockets ] DEBUG [18eff519] Finished in 0.105 seconds with exit status 1 (failed). INFO [c9ee79c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/sockets as deploy@3.1.200.152 DEBUG [c9ee79c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100505/tmp/sockets ) INFO [c9ee79c5] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [effb4450] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/vendor/bundle ] as deploy@3.1.200.152 DEBUG [effb4450] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/vendor/bundle ] DEBUG [effb4450] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [42b139aa] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/vendor/bundle ] as deploy@3.1.200.152 DEBUG [42b139aa] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/vendor/bundle ] DEBUG [42b139aa] Finished in 0.142 seconds with exit status 1 (failed). INFO [2c3d6e13] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100505/vendor/bundle as deploy@3.1.200.152 DEBUG [2c3d6e13] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100505/vendor/bundle ) INFO [2c3d6e13] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [12492a70] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/public/system ] as deploy@3.1.200.152 DEBUG [12492a70] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/public/system ] DEBUG [12492a70] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [449c4c8d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/public/system ] as deploy@3.1.200.152 DEBUG [449c4c8d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/public/system ] DEBUG [449c4c8d] Finished in 0.100 seconds with exit status 1 (failed). INFO [de7c4e3b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100505/public/system as deploy@3.1.200.152 DEBUG [de7c4e3b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100505/public/system ) INFO [de7c4e3b] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [749b8410] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/public/uploads ] as deploy@3.1.200.152 DEBUG [749b8410] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100505/public/uploads ] DEBUG [749b8410] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [83a88d9b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/public/uploads ] as deploy@3.1.200.152 DEBUG [83a88d9b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100505/public/uploads ] DEBUG [83a88d9b] Finished in 0.150 seconds with exit status 1 (failed). INFO [46193d06] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100505/public/uploads as deploy@3.1.200.152 DEBUG [46193d06] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100505/public/uploads ) INFO [46193d06] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [c6e9c902] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c6e9c902] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi DEBUG [c6e9c902] Finished in 0.149 seconds with exit status 0 (successful). INFO [bf77e21d] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [bf77e21d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100505 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [bf77e21d] Finished in 0.306 seconds with exit status 0 (successful). INFO [06a5ad0c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [06a5ad0c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100505 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [06a5ad0c] Finished in 0.344 seconds with exit status 0 (successful). INFO [22f14e05] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [22f14e05] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100505 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [22f14e05] Finished in 0.304 seconds with exit status 0 (successful). DEBUG [2aac83a2] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [2aac83a2] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi DEBUG [2aac83a2] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [3bfb080d] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [3bfb080d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100505 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [3bfb080d] The Gemfile's dependencies are satisfied DEBUG [3bfb080d] Finished in 0.568 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8c62125d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8c62125d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100505; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100505'" 1>&2; false; fi DEBUG [8c62125d] Finished in 0.184 seconds with exit status 0 (successful). INFO [b15b015a] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [b15b015a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100505 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [b15b015a] Finished in 1.446 seconds with exit status 0 (successful). INFO [0c8d04ed] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100505 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [0c8d04ed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100505 /home/deploy/apps/aoumi_server/releases/current ) INFO [0c8d04ed] Finished in 0.159 seconds with exit status 0 (successful). INFO [8f5c0a16] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [8f5c0a16] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [8f5c0a16] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [85ae6821] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [85ae6821] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [85ae6821] 20221230095737 20221230095828 20221230100023 20221230100119 20221230100146 20221230100505 DEBUG [85ae6821] Finished in 0.148 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [aadb2997] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [aadb2997] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [aadb2997] Finished in 0.114 seconds with exit status 0 (successful). DEBUG [a9a1b20a] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [a9a1b20a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [a9a1b20a] /home/deploy/apps/aoumi_server/releases/20221230100505 DEBUG [a9a1b20a] Finished in 0.147 seconds with exit status 0 (successful). INFO [f2df0188] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095737 as deploy@3.1.200.152 DEBUG [f2df0188] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095737 ) INFO [f2df0188] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [c1f571a8] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c1f571a8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [c1f571a8] Finished in 0.160 seconds with exit status 0 (successful). INFO [49da91cd] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100505 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [49da91cd] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100505 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [49da91cd] Finished in 0.111 seconds with exit status 0 (successful). INFO [3bb97766] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [3bb97766] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [3bb97766] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:08:21 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [034bb69a] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [034bb69a] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [034bb69a] Finished in 1.065 seconds with exit status 0 (successful). INFO [52313d75] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [52313d75] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [52313d75] Finished in 0.098 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-d500602fe5f7322cc041.sh 0.0% INFO Uploading /tmp/git-ssh-d500602fe5f7322cc041.sh 100.0% INFO [f817d06d] Running /usr/bin/env chmod 700 /tmp/git-ssh-d500602fe5f7322cc041.sh as deploy@3.1.200.152 DEBUG [f817d06d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-d500602fe5f7322cc041.sh ) INFO [f817d06d] Finished in 0.123 seconds with exit status 0 (successful). INFO [a81dede3] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [a81dede3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d500602fe5f7322cc041.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a81dede3] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [a81dede3] Finished in 2.795 seconds with exit status 0 (successful). INFO [1cb6ee82] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [1cb6ee82] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [1cb6ee82] Finished in 0.106 seconds with exit status 0 (successful). INFO [c6b81951] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [c6b81951] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [c6b81951] Finished in 0.108 seconds with exit status 0 (successful). INFO [2b417a51] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [2b417a51] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [2b417a51] Finished in 0.162 seconds with exit status 0 (successful). DEBUG [6354702e] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [6354702e] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [6354702e] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [5e893b43] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [5e893b43] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [5e893b43] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [e26af3e4] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [e26af3e4] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [e26af3e4] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [97d4d26d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [97d4d26d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [97d4d26d] Finished in 0.176 seconds with exit status 0 (successful). DEBUG [87f125ef] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [87f125ef] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [87f125ef] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [87f125ef] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [e18d93e4] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [e18d93e4] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [e18d93e4] Finished in 0.149 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [8ac42c09] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8ac42c09] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8ac42c09] Finished in 0.554 seconds with exit status 0 (successful). INFO [a71cd667] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [a71cd667] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d500602fe5f7322cc041.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [a71cd667] Finished in 0.113 seconds with exit status 0 (successful). INFO [b047b75d] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [b047b75d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d500602fe5f7322cc041.sh" ; /usr/bin/env git remote update --prune ) DEBUG [b047b75d] Fetching origin INFO [b047b75d] Finished in 2.920 seconds with exit status 0 (successful). DEBUG [bd237b84] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [bd237b84] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bd237b84] Finished in 0.112 seconds with exit status 0 (successful). INFO [3fb68812] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100827 as deploy@3.1.200.152 DEBUG [3fb68812] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d500602fe5f7322cc041.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100827 ) INFO [3fb68812] Finished in 0.103 seconds with exit status 0 (successful). INFO [6ddb9b33] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100827 as deploy@3.1.200.152 DEBUG [6ddb9b33] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d500602fe5f7322cc041.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230100827 ) INFO [6ddb9b33] Finished in 0.215 seconds with exit status 0 (successful). DEBUG [c9299938] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c9299938] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c9299938] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [325bf4f6] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [325bf4f6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d500602fe5f7322cc041.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [325bf4f6] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [325bf4f6] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [fa65b2dc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [fa65b2dc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi DEBUG [fa65b2dc] Finished in 0.103 seconds with exit status 0 (successful). INFO [3489b577] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [3489b577] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100827 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [3489b577] Finished in 0.145 seconds with exit status 0 (successful). INFO [6c85beee] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100827 /home/deploy/apps/aoumi_server/releases/20221230100827/config as deploy@3.1.200.152 DEBUG [6c85beee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100827 /home/deploy/apps/aoumi_server/releases/20221230100827/config ) INFO [6c85beee] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [f03bd51c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/.env ] as deploy@3.1.200.152 DEBUG [f03bd51c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/.env ] DEBUG [f03bd51c] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [446b6e2d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100827/.env ] as deploy@3.1.200.152 DEBUG [446b6e2d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100827/.env ] DEBUG [446b6e2d] Finished in 0.101 seconds with exit status 0 (successful). INFO [5744c20e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100827/.env as deploy@3.1.200.152 DEBUG [5744c20e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100827/.env ) INFO [5744c20e] Finished in 0.153 seconds with exit status 0 (successful). INFO [5e403630] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100827/.env as deploy@3.1.200.152 DEBUG [5e403630] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230100827/.env ) INFO [5e403630] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [25d0521f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml ] as deploy@3.1.200.152 DEBUG [25d0521f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml ] DEBUG [25d0521f] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [a9fc6d19] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml ] as deploy@3.1.200.152 DEBUG [a9fc6d19] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml ] DEBUG [a9fc6d19] Finished in 0.115 seconds with exit status 0 (successful). INFO [a15595e2] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml as deploy@3.1.200.152 DEBUG [a15595e2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml ) INFO [a15595e2] Finished in 0.146 seconds with exit status 0 (successful). INFO [06e44bbf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml as deploy@3.1.200.152 DEBUG [06e44bbf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230100827/config/database.yml ) INFO [06e44bbf] Finished in 0.103 seconds with exit status 0 (successful). INFO [90abcd75] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100827 /home/deploy/apps/aoumi_server/releases/20221230100827/tmp /home/deploy/apps/aoumi_server/releases/20221230100827/vendor /home/deploy/apps/aoumi_server/releases/20221230100827/public as deploy@3.1.200.152 DEBUG [90abcd75] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230100827 /home/deploy/apps/aoumi_server/releases/20221230100827/tmp /home/deploy/apps/aoumi_server/releases/20221230100827/vendor /home/deploy/apps/aoumi_server/releases/20221230100827/public ) INFO [90abcd75] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [1f4a9bd1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/log ] as deploy@3.1.200.152 DEBUG [1f4a9bd1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/log ] DEBUG [1f4a9bd1] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [cfc41f3a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/log ] as deploy@3.1.200.152 DEBUG [cfc41f3a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/log ] DEBUG [cfc41f3a] Finished in 0.147 seconds with exit status 0 (successful). INFO [72001f62] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100827/log as deploy@3.1.200.152 DEBUG [72001f62] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100827/log ) INFO [72001f62] Finished in 0.110 seconds with exit status 0 (successful). INFO [557d7d6f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100827/log as deploy@3.1.200.152 DEBUG [557d7d6f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230100827/log ) INFO [557d7d6f] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [2c880efa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids ] as deploy@3.1.200.152 DEBUG [2c880efa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids ] DEBUG [2c880efa] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [49ff14df] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids ] as deploy@3.1.200.152 DEBUG [49ff14df] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids ] DEBUG [49ff14df] Finished in 0.148 seconds with exit status 0 (successful). INFO [4220ae44] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids as deploy@3.1.200.152 DEBUG [4220ae44] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids ) INFO [4220ae44] Finished in 0.107 seconds with exit status 0 (successful). INFO [aafaac35] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids as deploy@3.1.200.152 DEBUG [aafaac35] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/pids ) INFO [aafaac35] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [8a7bb57b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/cache ] as deploy@3.1.200.152 DEBUG [8a7bb57b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/cache ] DEBUG [8a7bb57b] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [13ec0e46] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/cache ] as deploy@3.1.200.152 DEBUG [13ec0e46] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/cache ] DEBUG [13ec0e46] Finished in 0.164 seconds with exit status 1 (failed). INFO [9d125672] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/cache as deploy@3.1.200.152 DEBUG [9d125672] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/cache ) INFO [9d125672] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [f5823ecb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/sockets ] as deploy@3.1.200.152 DEBUG [f5823ecb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/sockets ] DEBUG [f5823ecb] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [7e417873] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/sockets ] as deploy@3.1.200.152 DEBUG [7e417873] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/sockets ] DEBUG [7e417873] Finished in 0.101 seconds with exit status 1 (failed). INFO [251e0998] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/sockets as deploy@3.1.200.152 DEBUG [251e0998] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230100827/tmp/sockets ) INFO [251e0998] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [e27f2187] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/vendor/bundle ] as deploy@3.1.200.152 DEBUG [e27f2187] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/vendor/bundle ] DEBUG [e27f2187] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [85d7e644] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/vendor/bundle ] as deploy@3.1.200.152 DEBUG [85d7e644] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/vendor/bundle ] DEBUG [85d7e644] Finished in 0.145 seconds with exit status 1 (failed). INFO [94eacad2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100827/vendor/bundle as deploy@3.1.200.152 DEBUG [94eacad2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230100827/vendor/bundle ) INFO [94eacad2] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [657aa4a5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/public/system ] as deploy@3.1.200.152 DEBUG [657aa4a5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/public/system ] DEBUG [657aa4a5] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [b9be41ab] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/public/system ] as deploy@3.1.200.152 DEBUG [b9be41ab] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/public/system ] DEBUG [b9be41ab] Finished in 0.101 seconds with exit status 1 (failed). INFO [abd7509b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100827/public/system as deploy@3.1.200.152 DEBUG [abd7509b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230100827/public/system ) INFO [abd7509b] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [bad3d5bf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/public/uploads ] as deploy@3.1.200.152 DEBUG [bad3d5bf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230100827/public/uploads ] DEBUG [bad3d5bf] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [7b2c18c8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/public/uploads ] as deploy@3.1.200.152 DEBUG [7b2c18c8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230100827/public/uploads ] DEBUG [7b2c18c8] Finished in 0.147 seconds with exit status 1 (failed). INFO [a86147ab] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100827/public/uploads as deploy@3.1.200.152 DEBUG [a86147ab] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230100827/public/uploads ) INFO [a86147ab] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [0a367425] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [0a367425] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi DEBUG [0a367425] Finished in 0.145 seconds with exit status 0 (successful). INFO [f1b69416] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [f1b69416] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100827 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [f1b69416] Finished in 0.303 seconds with exit status 0 (successful). INFO [33224db9] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [33224db9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100827 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [33224db9] Finished in 0.342 seconds with exit status 0 (successful). INFO [0ad90d15] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [0ad90d15] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100827 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [0ad90d15] Finished in 0.299 seconds with exit status 0 (successful). DEBUG [d1ac40a8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d1ac40a8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi DEBUG [d1ac40a8] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [ca9d96d5] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [ca9d96d5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100827 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ca9d96d5] The Gemfile's dependencies are satisfied DEBUG [ca9d96d5] Finished in 0.456 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [50cad4f4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [50cad4f4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230100827; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230100827'" 1>&2; false; fi DEBUG [50cad4f4] Finished in 0.150 seconds with exit status 0 (successful). INFO [b70ff699] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [b70ff699] Command: cd /home/deploy/apps/aoumi_server/releases/20221230100827 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [b70ff699] Finished in 1.336 seconds with exit status 0 (successful). INFO [332a61f7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100827 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [332a61f7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230100827 /home/deploy/apps/aoumi_server/releases/current ) INFO [332a61f7] Finished in 0.144 seconds with exit status 0 (successful). INFO [2ae026f1] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [2ae026f1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [2ae026f1] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [cc0e4813] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [cc0e4813] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [cc0e4813] 20221230095828 20221230100023 20221230100119 20221230100146 20221230100505 20221230100827 DEBUG [cc0e4813] Finished in 0.147 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [5d02a6ce] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [5d02a6ce] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [5d02a6ce] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [82f69934] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [82f69934] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [82f69934] /home/deploy/apps/aoumi_server/releases/20221230100827 DEBUG [82f69934] Finished in 0.145 seconds with exit status 0 (successful). INFO [8b65c7ca] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095828 as deploy@3.1.200.152 DEBUG [8b65c7ca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230095828 ) INFO [8b65c7ca] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [7a67a7d4] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7a67a7d4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [7a67a7d4] Finished in 0.138 seconds with exit status 0 (successful). INFO [42e5d75d] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100827 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [42e5d75d] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230100827 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [42e5d75d] Finished in 0.106 seconds with exit status 0 (successful). INFO [24a60317] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [24a60317] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [24a60317] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:14:12 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [550f7a32] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [550f7a32] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [550f7a32] Finished in 1.017 seconds with exit status 0 (successful). INFO [32011c41] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [32011c41] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [32011c41] Finished in 0.107 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-af5b7f8e4db12a980c49.sh 0.0% INFO Uploading /tmp/git-ssh-af5b7f8e4db12a980c49.sh 100.0% INFO [3fd89b70] Running /usr/bin/env chmod 700 /tmp/git-ssh-af5b7f8e4db12a980c49.sh as deploy@3.1.200.152 DEBUG [3fd89b70] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-af5b7f8e4db12a980c49.sh ) INFO [3fd89b70] Finished in 0.107 seconds with exit status 0 (successful). INFO [b981f684] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [b981f684] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-af5b7f8e4db12a980c49.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b981f684] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [b981f684] Finished in 2.864 seconds with exit status 0 (successful). INFO [a2592525] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [a2592525] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [a2592525] Finished in 0.078 seconds with exit status 0 (successful). INFO [5cb48b19] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [5cb48b19] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [5cb48b19] Finished in 0.103 seconds with exit status 0 (successful). INFO [40d3d0b5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [40d3d0b5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [40d3d0b5] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [28555d4f] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [28555d4f] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [28555d4f] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [2c7639b8] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [2c7639b8] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [2c7639b8] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [3d0cfe4a] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [3d0cfe4a] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [3d0cfe4a] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [cf7cd47a] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [cf7cd47a] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [cf7cd47a] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [4131ce35] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [4131ce35] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [4131ce35] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [4131ce35] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [27188b55] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [27188b55] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [27188b55] Finished in 0.147 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [89663759] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [89663759] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [89663759] Finished in 0.102 seconds with exit status 0 (successful). INFO [b7bd8348] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [b7bd8348] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-af5b7f8e4db12a980c49.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [b7bd8348] Finished in 0.151 seconds with exit status 0 (successful). INFO [75d49bcf] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [75d49bcf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-af5b7f8e4db12a980c49.sh" ; /usr/bin/env git remote update --prune ) DEBUG [75d49bcf] Fetching origin INFO [75d49bcf] Finished in 3.037 seconds with exit status 0 (successful). DEBUG [bdf9f964] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [bdf9f964] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bdf9f964] Finished in 0.117 seconds with exit status 0 (successful). INFO [cb82b2f5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101417 as deploy@3.1.200.152 DEBUG [cb82b2f5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-af5b7f8e4db12a980c49.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101417 ) INFO [cb82b2f5] Finished in 0.109 seconds with exit status 0 (successful). INFO [ff944a72] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230101417 as deploy@3.1.200.152 DEBUG [ff944a72] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-af5b7f8e4db12a980c49.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230101417 ) INFO [ff944a72] Finished in 0.218 seconds with exit status 0 (successful). DEBUG [39d4396b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [39d4396b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [39d4396b] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [a2cb6a2b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [a2cb6a2b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-af5b7f8e4db12a980c49.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [a2cb6a2b] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [a2cb6a2b] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [a655b396] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [a655b396] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi DEBUG [a655b396] Finished in 0.149 seconds with exit status 0 (successful). INFO [c6cc04b3] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [c6cc04b3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101417 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [c6cc04b3] Finished in 0.162 seconds with exit status 0 (successful). INFO [2932929b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101417 /home/deploy/apps/aoumi_server/releases/20221230101417/config as deploy@3.1.200.152 DEBUG [2932929b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101417 /home/deploy/apps/aoumi_server/releases/20221230101417/config ) INFO [2932929b] Finished in 0.120 seconds with exit status 0 (successful). DEBUG [32eb2e23] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/.env ] as deploy@3.1.200.152 DEBUG [32eb2e23] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/.env ] DEBUG [32eb2e23] Finished in 0.152 seconds with exit status 1 (failed). DEBUG [72c362a8] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230101417/.env ] as deploy@3.1.200.152 DEBUG [72c362a8] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230101417/.env ] DEBUG [72c362a8] Finished in 0.111 seconds with exit status 0 (successful). INFO [68823999] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101417/.env as deploy@3.1.200.152 DEBUG [68823999] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101417/.env ) INFO [68823999] Finished in 0.147 seconds with exit status 0 (successful). INFO [28df2d65] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230101417/.env as deploy@3.1.200.152 DEBUG [28df2d65] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230101417/.env ) INFO [28df2d65] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [f932ce4b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml ] as deploy@3.1.200.152 DEBUG [f932ce4b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml ] DEBUG [f932ce4b] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [20d7fef6] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml ] as deploy@3.1.200.152 DEBUG [20d7fef6] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml ] DEBUG [20d7fef6] Finished in 0.110 seconds with exit status 0 (successful). INFO [13550900] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml as deploy@3.1.200.152 DEBUG [13550900] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml ) INFO [13550900] Finished in 0.153 seconds with exit status 0 (successful). INFO [9e7ff07a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml as deploy@3.1.200.152 DEBUG [9e7ff07a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230101417/config/database.yml ) INFO [9e7ff07a] Finished in 0.106 seconds with exit status 0 (successful). INFO [82a7a173] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101417 /home/deploy/apps/aoumi_server/releases/20221230101417/tmp /home/deploy/apps/aoumi_server/releases/20221230101417/vendor /home/deploy/apps/aoumi_server/releases/20221230101417/public as deploy@3.1.200.152 DEBUG [82a7a173] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101417 /home/deploy/apps/aoumi_server/releases/20221230101417/tmp /home/deploy/apps/aoumi_server/releases/20221230101417/vendor /home/deploy/apps/aoumi_server/releases/20221230101417/public ) INFO [82a7a173] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [cfdc8146] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/log ] as deploy@3.1.200.152 DEBUG [cfdc8146] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/log ] DEBUG [cfdc8146] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [086c24f7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/log ] as deploy@3.1.200.152 DEBUG [086c24f7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/log ] DEBUG [086c24f7] Finished in 0.171 seconds with exit status 0 (successful). INFO [0ea0c99b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101417/log as deploy@3.1.200.152 DEBUG [0ea0c99b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101417/log ) INFO [0ea0c99b] Finished in 0.111 seconds with exit status 0 (successful). INFO [9c059203] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230101417/log as deploy@3.1.200.152 DEBUG [9c059203] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230101417/log ) INFO [9c059203] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [f606c663] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids ] as deploy@3.1.200.152 DEBUG [f606c663] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids ] DEBUG [f606c663] Finished in 0.109 seconds with exit status 1 (failed). DEBUG [f4bd1028] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids ] as deploy@3.1.200.152 DEBUG [f4bd1028] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids ] DEBUG [f4bd1028] Finished in 0.150 seconds with exit status 0 (successful). INFO [40fa52f7] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids as deploy@3.1.200.152 DEBUG [40fa52f7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids ) INFO [40fa52f7] Finished in 0.107 seconds with exit status 0 (successful). INFO [b4c5317f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids as deploy@3.1.200.152 DEBUG [b4c5317f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/pids ) INFO [b4c5317f] Finished in 0.181 seconds with exit status 0 (successful). DEBUG [e0498727] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/cache ] as deploy@3.1.200.152 DEBUG [e0498727] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/cache ] DEBUG [e0498727] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [12c26cda] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/cache ] as deploy@3.1.200.152 DEBUG [12c26cda] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/cache ] DEBUG [12c26cda] Finished in 0.147 seconds with exit status 1 (failed). INFO [c69eebbc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/cache as deploy@3.1.200.152 DEBUG [c69eebbc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/cache ) INFO [c69eebbc] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [8b2b4b65] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/sockets ] as deploy@3.1.200.152 DEBUG [8b2b4b65] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/sockets ] DEBUG [8b2b4b65] Finished in 0.159 seconds with exit status 1 (failed). DEBUG [685695ca] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/sockets ] as deploy@3.1.200.152 DEBUG [685695ca] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/sockets ] DEBUG [685695ca] Finished in 0.107 seconds with exit status 1 (failed). INFO [f1e593d0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/sockets as deploy@3.1.200.152 DEBUG [f1e593d0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230101417/tmp/sockets ) INFO [f1e593d0] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [e6338fb6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/vendor/bundle ] as deploy@3.1.200.152 DEBUG [e6338fb6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/vendor/bundle ] DEBUG [e6338fb6] Finished in 0.120 seconds with exit status 1 (failed). DEBUG [c7dc6f88] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/vendor/bundle ] as deploy@3.1.200.152 DEBUG [c7dc6f88] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/vendor/bundle ] DEBUG [c7dc6f88] Finished in 0.148 seconds with exit status 1 (failed). INFO [3e4ea0fe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230101417/vendor/bundle as deploy@3.1.200.152 DEBUG [3e4ea0fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230101417/vendor/bundle ) INFO [3e4ea0fe] Finished in 0.120 seconds with exit status 0 (successful). DEBUG [82c4847c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/public/system ] as deploy@3.1.200.152 DEBUG [82c4847c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/public/system ] DEBUG [82c4847c] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [8b418706] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/public/system ] as deploy@3.1.200.152 DEBUG [8b418706] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/public/system ] DEBUG [8b418706] Finished in 0.106 seconds with exit status 1 (failed). INFO [8d1640db] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230101417/public/system as deploy@3.1.200.152 DEBUG [8d1640db] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230101417/public/system ) INFO [8d1640db] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [284aaa3f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/public/uploads ] as deploy@3.1.200.152 DEBUG [284aaa3f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101417/public/uploads ] DEBUG [284aaa3f] Finished in 0.109 seconds with exit status 1 (failed). DEBUG [32a0b4fa] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/public/uploads ] as deploy@3.1.200.152 DEBUG [32a0b4fa] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101417/public/uploads ] DEBUG [32a0b4fa] Finished in 0.148 seconds with exit status 1 (failed). INFO [8769219e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230101417/public/uploads as deploy@3.1.200.152 DEBUG [8769219e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230101417/public/uploads ) INFO [8769219e] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [4b767113] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4b767113] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi DEBUG [4b767113] Finished in 0.145 seconds with exit status 0 (successful). INFO [915109f0] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [915109f0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101417 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [915109f0] Finished in 0.317 seconds with exit status 0 (successful). INFO [7af6e138] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [7af6e138] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101417 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [7af6e138] Finished in 0.345 seconds with exit status 0 (successful). INFO [c0c77454] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [c0c77454] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101417 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [c0c77454] Finished in 0.305 seconds with exit status 0 (successful). DEBUG [bd9f0512] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [bd9f0512] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi DEBUG [bd9f0512] Finished in 0.213 seconds with exit status 0 (successful). DEBUG [b6d8126d] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [b6d8126d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101417 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [b6d8126d] The Gemfile's dependencies are satisfied DEBUG [b6d8126d] Finished in 0.520 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [abe88e06] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [abe88e06] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101417; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101417'" 1>&2; false; fi DEBUG [abe88e06] Finished in 0.154 seconds with exit status 0 (successful). INFO [cf000ffa] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [cf000ffa] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101417 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [cf000ffa] Finished in 1.376 seconds with exit status 0 (successful). INFO [ef57befe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230101417 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [ef57befe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230101417 /home/deploy/apps/aoumi_server/releases/current ) INFO [ef57befe] Finished in 0.159 seconds with exit status 0 (successful). INFO [05e6889a] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [05e6889a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [05e6889a] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [26650607] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [26650607] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [26650607] 20221230100023 20221230100119 20221230100146 20221230100505 20221230100827 20221230101417 DEBUG [26650607] Finished in 0.148 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [60e92ef3] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [60e92ef3] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [60e92ef3] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [d7b11d68] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [d7b11d68] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [d7b11d68] /home/deploy/apps/aoumi_server/releases/20221230101417 DEBUG [d7b11d68] Finished in 0.153 seconds with exit status 0 (successful). INFO [48f5a97d] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100023 as deploy@3.1.200.152 DEBUG [48f5a97d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100023 ) INFO [48f5a97d] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [4251e224] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4251e224] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [4251e224] Finished in 0.146 seconds with exit status 0 (successful). INFO [03cc34b3] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230101417 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [03cc34b3] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230101417 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [03cc34b3] Finished in 0.107 seconds with exit status 0 (successful). INFO [b6182188] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [b6182188] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [b6182188] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:16:48 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [42da9c75] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [42da9c75] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [42da9c75] Finished in 1.058 seconds with exit status 0 (successful). INFO [34ad26af] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [34ad26af] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [34ad26af] Finished in 0.101 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-6d557de363536819bc25.sh 0.0% INFO Uploading /tmp/git-ssh-6d557de363536819bc25.sh 100.0% INFO [e3ad6b3e] Running /usr/bin/env chmod 700 /tmp/git-ssh-6d557de363536819bc25.sh as deploy@3.1.200.152 DEBUG [e3ad6b3e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-6d557de363536819bc25.sh ) INFO [e3ad6b3e] Finished in 0.109 seconds with exit status 0 (successful). INFO [4c83986c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [4c83986c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6d557de363536819bc25.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [4c83986c] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [4c83986c] Finished in 3.190 seconds with exit status 0 (successful). INFO [d18ff8b3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [d18ff8b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [d18ff8b3] Finished in 0.105 seconds with exit status 0 (successful). INFO [e34661c2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [e34661c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [e34661c2] Finished in 0.108 seconds with exit status 0 (successful). INFO [681d74ab] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [681d74ab] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [681d74ab] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [89550394] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [89550394] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [89550394] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [33743cca] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [33743cca] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [33743cca] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [eaba2aa1] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [eaba2aa1] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [eaba2aa1] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [8d9224e8] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [8d9224e8] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [8d9224e8] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [18ed1fcf] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [18ed1fcf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [18ed1fcf] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [18ed1fcf] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [f434f9c0] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [f434f9c0] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [f434f9c0] Finished in 0.153 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5dde5bd4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5dde5bd4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5dde5bd4] Finished in 0.104 seconds with exit status 0 (successful). INFO [6549b7f1] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [6549b7f1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6d557de363536819bc25.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [6549b7f1] Finished in 0.149 seconds with exit status 0 (successful). INFO [d30d9d4c] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [d30d9d4c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6d557de363536819bc25.sh" ; /usr/bin/env git remote update --prune ) DEBUG [d30d9d4c] Fetching origin INFO [d30d9d4c] Finished in 2.947 seconds with exit status 0 (successful). DEBUG [07ada016] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [07ada016] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [07ada016] Finished in 0.097 seconds with exit status 0 (successful). INFO [a27032f3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101654 as deploy@3.1.200.152 DEBUG [a27032f3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6d557de363536819bc25.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101654 ) INFO [a27032f3] Finished in 0.109 seconds with exit status 0 (successful). INFO [0522ef6a] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230101654 as deploy@3.1.200.152 DEBUG [0522ef6a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6d557de363536819bc25.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230101654 ) INFO [0522ef6a] Finished in 0.220 seconds with exit status 0 (successful). DEBUG [29e1b440] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [29e1b440] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [29e1b440] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [5cd02bff] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [5cd02bff] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-6d557de363536819bc25.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [5cd02bff] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [5cd02bff] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [e5799aa5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e5799aa5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi DEBUG [e5799aa5] Finished in 0.105 seconds with exit status 0 (successful). INFO [30e0353a] Running /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION as deploy@3.1.200.152 DEBUG [30e0353a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101654 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "3812721895e0edd3397e4c3526797ba8b0616882" > REVISION ) INFO [30e0353a] Finished in 0.151 seconds with exit status 0 (successful). INFO [bdad7fc1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101654 /home/deploy/apps/aoumi_server/releases/20221230101654/config as deploy@3.1.200.152 DEBUG [bdad7fc1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101654 /home/deploy/apps/aoumi_server/releases/20221230101654/config ) INFO [bdad7fc1] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [1927a036] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/.env ] as deploy@3.1.200.152 DEBUG [1927a036] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/.env ] DEBUG [1927a036] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [ef235981] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230101654/.env ] as deploy@3.1.200.152 DEBUG [ef235981] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230101654/.env ] DEBUG [ef235981] Finished in 0.108 seconds with exit status 0 (successful). INFO [ed466ca5] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101654/.env as deploy@3.1.200.152 DEBUG [ed466ca5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101654/.env ) INFO [ed466ca5] Finished in 0.153 seconds with exit status 0 (successful). INFO [c767f9c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230101654/.env as deploy@3.1.200.152 DEBUG [c767f9c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230101654/.env ) INFO [c767f9c5] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [4984d5fc] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml ] as deploy@3.1.200.152 DEBUG [4984d5fc] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml ] DEBUG [4984d5fc] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [c013e113] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml ] as deploy@3.1.200.152 DEBUG [c013e113] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml ] DEBUG [c013e113] Finished in 0.112 seconds with exit status 0 (successful). INFO [0aa15142] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml as deploy@3.1.200.152 DEBUG [0aa15142] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml ) INFO [0aa15142] Finished in 0.150 seconds with exit status 0 (successful). INFO [f57d49ff] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml as deploy@3.1.200.152 DEBUG [f57d49ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230101654/config/database.yml ) INFO [f57d49ff] Finished in 0.106 seconds with exit status 0 (successful). INFO [507acfe0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101654 /home/deploy/apps/aoumi_server/releases/20221230101654/tmp /home/deploy/apps/aoumi_server/releases/20221230101654/vendor /home/deploy/apps/aoumi_server/releases/20221230101654/public as deploy@3.1.200.152 DEBUG [507acfe0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101654 /home/deploy/apps/aoumi_server/releases/20221230101654/tmp /home/deploy/apps/aoumi_server/releases/20221230101654/vendor /home/deploy/apps/aoumi_server/releases/20221230101654/public ) INFO [507acfe0] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [b61926af] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/log ] as deploy@3.1.200.152 DEBUG [b61926af] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/log ] DEBUG [b61926af] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [e6d4e3de] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/log ] as deploy@3.1.200.152 DEBUG [e6d4e3de] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/log ] DEBUG [e6d4e3de] Finished in 0.148 seconds with exit status 0 (successful). INFO [05e0ff23] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101654/log as deploy@3.1.200.152 DEBUG [05e0ff23] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101654/log ) INFO [05e0ff23] Finished in 0.108 seconds with exit status 0 (successful). INFO [b613ef0a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230101654/log as deploy@3.1.200.152 DEBUG [b613ef0a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230101654/log ) INFO [b613ef0a] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [8465b947] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids ] as deploy@3.1.200.152 DEBUG [8465b947] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids ] DEBUG [8465b947] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [36188ac2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids ] as deploy@3.1.200.152 DEBUG [36188ac2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids ] DEBUG [36188ac2] Finished in 0.149 seconds with exit status 0 (successful). INFO [47296fdc] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids as deploy@3.1.200.152 DEBUG [47296fdc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids ) INFO [47296fdc] Finished in 0.110 seconds with exit status 0 (successful). INFO [87d2a34c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids as deploy@3.1.200.152 DEBUG [87d2a34c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/pids ) INFO [87d2a34c] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [a16240d7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/cache ] as deploy@3.1.200.152 DEBUG [a16240d7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/cache ] DEBUG [a16240d7] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [95b28319] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/cache ] as deploy@3.1.200.152 DEBUG [95b28319] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/cache ] DEBUG [95b28319] Finished in 0.148 seconds with exit status 1 (failed). INFO [34e700fc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/cache as deploy@3.1.200.152 DEBUG [34e700fc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/cache ) INFO [34e700fc] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [02f18f82] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/sockets ] as deploy@3.1.200.152 DEBUG [02f18f82] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/sockets ] DEBUG [02f18f82] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [d967984d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/sockets ] as deploy@3.1.200.152 DEBUG [d967984d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/sockets ] DEBUG [d967984d] Finished in 0.101 seconds with exit status 1 (failed). INFO [934eca18] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/sockets as deploy@3.1.200.152 DEBUG [934eca18] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230101654/tmp/sockets ) INFO [934eca18] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [401135e9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/vendor/bundle ] as deploy@3.1.200.152 DEBUG [401135e9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/vendor/bundle ] DEBUG [401135e9] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [da9e11ea] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/vendor/bundle ] as deploy@3.1.200.152 DEBUG [da9e11ea] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/vendor/bundle ] DEBUG [da9e11ea] Finished in 0.147 seconds with exit status 1 (failed). INFO [de752a38] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230101654/vendor/bundle as deploy@3.1.200.152 DEBUG [de752a38] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230101654/vendor/bundle ) INFO [de752a38] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [b0c7c114] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/public/system ] as deploy@3.1.200.152 DEBUG [b0c7c114] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/public/system ] DEBUG [b0c7c114] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [879a2604] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/public/system ] as deploy@3.1.200.152 DEBUG [879a2604] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/public/system ] DEBUG [879a2604] Finished in 0.139 seconds with exit status 1 (failed). INFO [15b0255e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230101654/public/system as deploy@3.1.200.152 DEBUG [15b0255e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230101654/public/system ) INFO [15b0255e] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [5e7000e5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/public/uploads ] as deploy@3.1.200.152 DEBUG [5e7000e5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101654/public/uploads ] DEBUG [5e7000e5] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [d88c5871] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/public/uploads ] as deploy@3.1.200.152 DEBUG [d88c5871] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101654/public/uploads ] DEBUG [d88c5871] Finished in 0.150 seconds with exit status 1 (failed). INFO [7ab35eec] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230101654/public/uploads as deploy@3.1.200.152 DEBUG [7ab35eec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230101654/public/uploads ) INFO [7ab35eec] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [44a268f1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [44a268f1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi DEBUG [44a268f1] Finished in 0.149 seconds with exit status 0 (successful). INFO [4cac1dfe] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [4cac1dfe] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101654 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [4cac1dfe] Finished in 0.305 seconds with exit status 0 (successful). INFO [05e76201] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [05e76201] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101654 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [05e76201] Finished in 0.348 seconds with exit status 0 (successful). INFO [614ad2d1] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [614ad2d1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101654 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [614ad2d1] Finished in 0.329 seconds with exit status 0 (successful). DEBUG [383f2083] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [383f2083] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi DEBUG [383f2083] Finished in 0.161 seconds with exit status 0 (successful). DEBUG [def66caf] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [def66caf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101654 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [def66caf] The Gemfile's dependencies are satisfied DEBUG [def66caf] Finished in 0.519 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [08f725e6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [08f725e6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101654; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101654'" 1>&2; false; fi DEBUG [08f725e6] Finished in 0.103 seconds with exit status 0 (successful). INFO [3e839243] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [3e839243] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101654 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [3e839243] Finished in 1.429 seconds with exit status 0 (successful). INFO [85411033] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230101654 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [85411033] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230101654 /home/deploy/apps/aoumi_server/releases/current ) INFO [85411033] Finished in 0.108 seconds with exit status 0 (successful). INFO [e0db7342] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [e0db7342] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [e0db7342] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [a18e6237] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [a18e6237] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [a18e6237] 20221230100119 20221230100146 20221230100505 20221230100827 20221230101417 20221230101654 DEBUG [a18e6237] Finished in 0.109 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [de10fa96] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [de10fa96] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [de10fa96] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [7afa6255] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [7afa6255] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [7afa6255] /home/deploy/apps/aoumi_server/releases/20221230101654 DEBUG [7afa6255] Finished in 0.107 seconds with exit status 0 (successful). INFO [a929b6f5] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100119 as deploy@3.1.200.152 DEBUG [a929b6f5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100119 ) INFO [a929b6f5] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [907c011d] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [907c011d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [907c011d] Finished in 0.104 seconds with exit status 0 (successful). INFO [d1e95694] Running /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230101654 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [d1e95694] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 3812721895e0edd3397e4c3526797ba8b0616882) deployed as release 20221230101654 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [d1e95694] Finished in 0.146 seconds with exit status 0 (successful). INFO [aedb50d5] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [aedb50d5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [aedb50d5] Finished in 0.143 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:18:25 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [474dcbda] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [474dcbda] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [474dcbda] Finished in 1.034 seconds with exit status 0 (successful). INFO [c2343eae] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [c2343eae] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [c2343eae] Finished in 0.098 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-834798f8ee43ac967b89.sh 0.0% INFO Uploading /tmp/git-ssh-834798f8ee43ac967b89.sh 100.0% INFO [1eea0554] Running /usr/bin/env chmod 700 /tmp/git-ssh-834798f8ee43ac967b89.sh as deploy@3.1.200.152 DEBUG [1eea0554] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-834798f8ee43ac967b89.sh ) INFO [1eea0554] Finished in 0.106 seconds with exit status 0 (successful). INFO [9b6f201b] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [9b6f201b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-834798f8ee43ac967b89.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [9b6f201b] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [9b6f201b] Finished in 2.848 seconds with exit status 0 (successful). INFO [bf0fb510] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [bf0fb510] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [bf0fb510] Finished in 0.110 seconds with exit status 0 (successful). INFO [332b08fb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [332b08fb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [332b08fb] Finished in 0.103 seconds with exit status 0 (successful). INFO [fc784e58] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [fc784e58] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [fc784e58] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [505c29d8] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [505c29d8] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [505c29d8] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [08807cd6] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [08807cd6] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [08807cd6] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [6d25ff2b] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [6d25ff2b] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [6d25ff2b] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [fae5c6d7] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [fae5c6d7] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [fae5c6d7] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [b7afa085] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [b7afa085] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [b7afa085] 3812721895e0edd3397e4c3526797ba8b0616882 DEBUG [b7afa085] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [c106f0bf] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [c106f0bf] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [c106f0bf] Finished in 0.148 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [c1c2605d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c1c2605d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c1c2605d] Finished in 0.112 seconds with exit status 0 (successful). INFO [a0eaf3e8] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [a0eaf3e8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-834798f8ee43ac967b89.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [a0eaf3e8] Finished in 0.161 seconds with exit status 0 (successful). INFO [5827ab81] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [5827ab81] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-834798f8ee43ac967b89.sh" ; /usr/bin/env git remote update --prune ) DEBUG [5827ab81] Fetching origin DEBUG [5827ab81] From github.com:huythanh176/aoumi_server 3812721..87ad102 develop -> develop INFO [5827ab81] Finished in 2.979 seconds with exit status 0 (successful). DEBUG [d8d7467c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d8d7467c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d8d7467c] Finished in 0.104 seconds with exit status 0 (successful). INFO [6f685d21] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101831 as deploy@3.1.200.152 DEBUG [6f685d21] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-834798f8ee43ac967b89.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101831 ) INFO [6f685d21] Finished in 0.105 seconds with exit status 0 (successful). INFO [e78ee5d7] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230101831 as deploy@3.1.200.152 DEBUG [e78ee5d7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-834798f8ee43ac967b89.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230101831 ) INFO [e78ee5d7] Finished in 0.209 seconds with exit status 0 (successful). DEBUG [e2270b93] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e2270b93] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e2270b93] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [8afcfa2a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [8afcfa2a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-834798f8ee43ac967b89.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [8afcfa2a] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [8afcfa2a] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [500c7dff] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [500c7dff] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi DEBUG [500c7dff] Finished in 0.112 seconds with exit status 0 (successful). INFO [dfa509f6] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [dfa509f6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101831 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [dfa509f6] Finished in 0.163 seconds with exit status 0 (successful). INFO [0b1f107a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101831 /home/deploy/apps/aoumi_server/releases/20221230101831/config as deploy@3.1.200.152 DEBUG [0b1f107a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101831 /home/deploy/apps/aoumi_server/releases/20221230101831/config ) INFO [0b1f107a] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [44cef094] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/.env ] as deploy@3.1.200.152 DEBUG [44cef094] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/.env ] DEBUG [44cef094] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [74934124] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230101831/.env ] as deploy@3.1.200.152 DEBUG [74934124] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230101831/.env ] DEBUG [74934124] Finished in 0.104 seconds with exit status 0 (successful). INFO [a2ff75e9] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101831/.env as deploy@3.1.200.152 DEBUG [a2ff75e9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101831/.env ) INFO [a2ff75e9] Finished in 0.150 seconds with exit status 0 (successful). INFO [5052f45f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230101831/.env as deploy@3.1.200.152 DEBUG [5052f45f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230101831/.env ) INFO [5052f45f] Finished in 0.111 seconds with exit status 0 (successful). DEBUG [023ac450] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml ] as deploy@3.1.200.152 DEBUG [023ac450] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml ] DEBUG [023ac450] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [830a83d6] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml ] as deploy@3.1.200.152 DEBUG [830a83d6] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml ] DEBUG [830a83d6] Finished in 0.108 seconds with exit status 0 (successful). INFO [c103ddd8] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml as deploy@3.1.200.152 DEBUG [c103ddd8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml ) INFO [c103ddd8] Finished in 0.147 seconds with exit status 0 (successful). INFO [0c16267a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml as deploy@3.1.200.152 DEBUG [0c16267a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230101831/config/database.yml ) INFO [0c16267a] Finished in 0.107 seconds with exit status 0 (successful). INFO [d0c50df3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101831 /home/deploy/apps/aoumi_server/releases/20221230101831/tmp /home/deploy/apps/aoumi_server/releases/20221230101831/vendor /home/deploy/apps/aoumi_server/releases/20221230101831/public as deploy@3.1.200.152 DEBUG [d0c50df3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230101831 /home/deploy/apps/aoumi_server/releases/20221230101831/tmp /home/deploy/apps/aoumi_server/releases/20221230101831/vendor /home/deploy/apps/aoumi_server/releases/20221230101831/public ) INFO [d0c50df3] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [c2e675cf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/log ] as deploy@3.1.200.152 DEBUG [c2e675cf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/log ] DEBUG [c2e675cf] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [6837f841] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/log ] as deploy@3.1.200.152 DEBUG [6837f841] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/log ] DEBUG [6837f841] Finished in 0.149 seconds with exit status 0 (successful). INFO [e15d6c65] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101831/log as deploy@3.1.200.152 DEBUG [e15d6c65] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101831/log ) INFO [e15d6c65] Finished in 0.207 seconds with exit status 0 (successful). INFO [6d325326] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230101831/log as deploy@3.1.200.152 DEBUG [6d325326] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230101831/log ) INFO [6d325326] Finished in 0.156 seconds with exit status 0 (successful). DEBUG [cf77c067] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids ] as deploy@3.1.200.152 DEBUG [cf77c067] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids ] DEBUG [cf77c067] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [1eddb467] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids ] as deploy@3.1.200.152 DEBUG [1eddb467] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids ] DEBUG [1eddb467] Finished in 0.135 seconds with exit status 0 (successful). INFO [04015c5f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids as deploy@3.1.200.152 DEBUG [04015c5f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids ) INFO [04015c5f] Finished in 0.105 seconds with exit status 0 (successful). INFO [43d7d1fe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids as deploy@3.1.200.152 DEBUG [43d7d1fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/pids ) INFO [43d7d1fe] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [9a4b515b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/cache ] as deploy@3.1.200.152 DEBUG [9a4b515b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/cache ] DEBUG [9a4b515b] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [2a99a95b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/cache ] as deploy@3.1.200.152 DEBUG [2a99a95b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/cache ] DEBUG [2a99a95b] Finished in 0.149 seconds with exit status 1 (failed). INFO [3327c5cf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/cache as deploy@3.1.200.152 DEBUG [3327c5cf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/cache ) INFO [3327c5cf] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [35b29780] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/sockets ] as deploy@3.1.200.152 DEBUG [35b29780] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/sockets ] DEBUG [35b29780] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [e61462be] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/sockets ] as deploy@3.1.200.152 DEBUG [e61462be] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/sockets ] DEBUG [e61462be] Finished in 0.105 seconds with exit status 1 (failed). INFO [4c30042e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/sockets as deploy@3.1.200.152 DEBUG [4c30042e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230101831/tmp/sockets ) INFO [4c30042e] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [b309fdc7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/vendor/bundle ] as deploy@3.1.200.152 DEBUG [b309fdc7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/vendor/bundle ] DEBUG [b309fdc7] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [82d83df6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/vendor/bundle ] as deploy@3.1.200.152 DEBUG [82d83df6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/vendor/bundle ] DEBUG [82d83df6] Finished in 0.146 seconds with exit status 1 (failed). INFO [8e207e75] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230101831/vendor/bundle as deploy@3.1.200.152 DEBUG [8e207e75] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230101831/vendor/bundle ) INFO [8e207e75] Finished in 0.117 seconds with exit status 0 (successful). DEBUG [1e993eb4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/public/system ] as deploy@3.1.200.152 DEBUG [1e993eb4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/public/system ] DEBUG [1e993eb4] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [11b3c113] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/public/system ] as deploy@3.1.200.152 DEBUG [11b3c113] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/public/system ] DEBUG [11b3c113] Finished in 0.103 seconds with exit status 1 (failed). INFO [b8aa555f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230101831/public/system as deploy@3.1.200.152 DEBUG [b8aa555f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230101831/public/system ) INFO [b8aa555f] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [c51e4903] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/public/uploads ] as deploy@3.1.200.152 DEBUG [c51e4903] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230101831/public/uploads ] DEBUG [c51e4903] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [aa4eac9e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/public/uploads ] as deploy@3.1.200.152 DEBUG [aa4eac9e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230101831/public/uploads ] DEBUG [aa4eac9e] Finished in 0.148 seconds with exit status 1 (failed). INFO [11f8e4d3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230101831/public/uploads as deploy@3.1.200.152 DEBUG [11f8e4d3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230101831/public/uploads ) INFO [11f8e4d3] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [011d364b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [011d364b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi DEBUG [011d364b] Finished in 0.148 seconds with exit status 0 (successful). INFO [0fb3f8d3] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [0fb3f8d3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101831 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [0fb3f8d3] Finished in 0.302 seconds with exit status 0 (successful). INFO [11bd832d] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [11bd832d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101831 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [11bd832d] Finished in 0.345 seconds with exit status 0 (successful). INFO [46598222] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [46598222] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101831 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [46598222] Finished in 0.305 seconds with exit status 0 (successful). DEBUG [1843e501] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1843e501] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi DEBUG [1843e501] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [5e220f49] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [5e220f49] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101831 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [5e220f49] The Gemfile's dependencies are satisfied DEBUG [5e220f49] Finished in 0.467 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [e6517919] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e6517919] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230101831; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230101831'" 1>&2; false; fi DEBUG [e6517919] Finished in 0.144 seconds with exit status 0 (successful). INFO [cb5659f5] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [cb5659f5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230101831 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [cb5659f5] Finished in 1.342 seconds with exit status 0 (successful). INFO [09227a0d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230101831 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [09227a0d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230101831 /home/deploy/apps/aoumi_server/releases/current ) INFO [09227a0d] Finished in 0.148 seconds with exit status 0 (successful). INFO [c10a96f0] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [c10a96f0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [c10a96f0] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [bfc5411e] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [bfc5411e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [bfc5411e] 20221230100146 20221230100505 20221230100827 20221230101417 20221230101654 20221230101831 DEBUG [bfc5411e] Finished in 0.146 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [120879ff] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [120879ff] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [120879ff] Finished in 0.178 seconds with exit status 0 (successful). DEBUG [8c67a036] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [8c67a036] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [8c67a036] /home/deploy/apps/aoumi_server/releases/20221230101831 DEBUG [8c67a036] Finished in 0.158 seconds with exit status 0 (successful). INFO [86eecf48] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100146 as deploy@3.1.200.152 DEBUG [86eecf48] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100146 ) INFO [86eecf48] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [53573d86] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [53573d86] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [53573d86] Finished in 0.142 seconds with exit status 0 (successful). INFO [e2562432] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230101831 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [e2562432] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230101831 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [e2562432] Finished in 0.103 seconds with exit status 0 (successful). INFO [1cbad0db] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [1cbad0db] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [1cbad0db] Finished in 0.178 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:20:14 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [aba3ea55] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [aba3ea55] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [aba3ea55] Finished in 0.963 seconds with exit status 0 (successful). INFO [70a664b2] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [70a664b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [70a664b2] Finished in 0.094 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-0f2340c8170e5d3b2510.sh 0.0% INFO Uploading /tmp/git-ssh-0f2340c8170e5d3b2510.sh 100.0% INFO [524eaea2] Running /usr/bin/env chmod 700 /tmp/git-ssh-0f2340c8170e5d3b2510.sh as deploy@3.1.200.152 DEBUG [524eaea2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-0f2340c8170e5d3b2510.sh ) INFO [524eaea2] Finished in 0.102 seconds with exit status 0 (successful). INFO [de5e7841] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [de5e7841] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0f2340c8170e5d3b2510.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [de5e7841] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [de5e7841] Finished in 2.994 seconds with exit status 0 (successful). INFO [33fec7b5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [33fec7b5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [33fec7b5] Finished in 0.098 seconds with exit status 0 (successful). INFO [adea9dce] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [adea9dce] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [adea9dce] Finished in 0.095 seconds with exit status 0 (successful). INFO [a98c32c5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [a98c32c5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [a98c32c5] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [8df640ce] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [8df640ce] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [8df640ce] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [1e81f689] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [1e81f689] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [1e81f689] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [99c778fd] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [99c778fd] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [99c778fd] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [fbc8183c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [fbc8183c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [fbc8183c] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [535ce0e5] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [535ce0e5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [535ce0e5] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [535ce0e5] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [98e5905d] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [98e5905d] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [98e5905d] Finished in 0.144 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [d85a9dae] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d85a9dae] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d85a9dae] Finished in 0.103 seconds with exit status 0 (successful). INFO [2f5274c9] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [2f5274c9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0f2340c8170e5d3b2510.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [2f5274c9] Finished in 0.146 seconds with exit status 0 (successful). INFO [adf162eb] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [adf162eb] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0f2340c8170e5d3b2510.sh" ; /usr/bin/env git remote update --prune ) DEBUG [adf162eb] Fetching origin INFO [adf162eb] Finished in 2.929 seconds with exit status 0 (successful). DEBUG [cc3fabc2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [cc3fabc2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [cc3fabc2] Finished in 0.098 seconds with exit status 0 (successful). INFO [e4e9029a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102020 as deploy@3.1.200.152 DEBUG [e4e9029a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0f2340c8170e5d3b2510.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102020 ) INFO [e4e9029a] Finished in 0.105 seconds with exit status 0 (successful). INFO [cd16d590] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230102020 as deploy@3.1.200.152 DEBUG [cd16d590] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0f2340c8170e5d3b2510.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230102020 ) INFO [cd16d590] Finished in 0.204 seconds with exit status 0 (successful). DEBUG [49ac296c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [49ac296c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [49ac296c] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [6ff52280] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [6ff52280] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0f2340c8170e5d3b2510.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [6ff52280] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [6ff52280] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [28f9c4ef] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [28f9c4ef] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi DEBUG [28f9c4ef] Finished in 0.103 seconds with exit status 0 (successful). INFO [bc63e8e3] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [bc63e8e3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102020 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [bc63e8e3] Finished in 0.143 seconds with exit status 0 (successful). INFO [e64bf8ba] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102020 /home/deploy/apps/aoumi_server/releases/20221230102020/config as deploy@3.1.200.152 DEBUG [e64bf8ba] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102020 /home/deploy/apps/aoumi_server/releases/20221230102020/config ) INFO [e64bf8ba] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [f0c0e8b5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/.env ] as deploy@3.1.200.152 DEBUG [f0c0e8b5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/.env ] DEBUG [f0c0e8b5] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [7c1e7b2f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230102020/.env ] as deploy@3.1.200.152 DEBUG [7c1e7b2f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230102020/.env ] DEBUG [7c1e7b2f] Finished in 0.101 seconds with exit status 0 (successful). INFO [05771279] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102020/.env as deploy@3.1.200.152 DEBUG [05771279] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102020/.env ) INFO [05771279] Finished in 0.146 seconds with exit status 0 (successful). INFO [8649a805] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230102020/.env as deploy@3.1.200.152 DEBUG [8649a805] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230102020/.env ) INFO [8649a805] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [d230a738] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml ] as deploy@3.1.200.152 DEBUG [d230a738] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml ] DEBUG [d230a738] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [9c2b0835] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml ] as deploy@3.1.200.152 DEBUG [9c2b0835] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml ] DEBUG [9c2b0835] Finished in 0.102 seconds with exit status 0 (successful). INFO [ca4a08bf] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml as deploy@3.1.200.152 DEBUG [ca4a08bf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml ) INFO [ca4a08bf] Finished in 0.147 seconds with exit status 0 (successful). INFO [27d2f032] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml as deploy@3.1.200.152 DEBUG [27d2f032] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230102020/config/database.yml ) INFO [27d2f032] Finished in 0.107 seconds with exit status 0 (successful). INFO [cd666feb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102020 /home/deploy/apps/aoumi_server/releases/20221230102020/tmp /home/deploy/apps/aoumi_server/releases/20221230102020/vendor /home/deploy/apps/aoumi_server/releases/20221230102020/public as deploy@3.1.200.152 DEBUG [cd666feb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102020 /home/deploy/apps/aoumi_server/releases/20221230102020/tmp /home/deploy/apps/aoumi_server/releases/20221230102020/vendor /home/deploy/apps/aoumi_server/releases/20221230102020/public ) INFO [cd666feb] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [0c4a20ce] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/log ] as deploy@3.1.200.152 DEBUG [0c4a20ce] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/log ] DEBUG [0c4a20ce] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [fd7764c4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/log ] as deploy@3.1.200.152 DEBUG [fd7764c4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/log ] DEBUG [fd7764c4] Finished in 0.143 seconds with exit status 0 (successful). INFO [1169bfcf] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102020/log as deploy@3.1.200.152 DEBUG [1169bfcf] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102020/log ) INFO [1169bfcf] Finished in 0.102 seconds with exit status 0 (successful). INFO [bc567687] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230102020/log as deploy@3.1.200.152 DEBUG [bc567687] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230102020/log ) INFO [bc567687] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [65b40417] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids ] as deploy@3.1.200.152 DEBUG [65b40417] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids ] DEBUG [65b40417] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [660ae937] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids ] as deploy@3.1.200.152 DEBUG [660ae937] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids ] DEBUG [660ae937] Finished in 0.145 seconds with exit status 0 (successful). INFO [27d9d24f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids as deploy@3.1.200.152 DEBUG [27d9d24f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids ) INFO [27d9d24f] Finished in 0.102 seconds with exit status 0 (successful). INFO [1dc38f97] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids as deploy@3.1.200.152 DEBUG [1dc38f97] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/pids ) INFO [1dc38f97] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [0dd540b2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/cache ] as deploy@3.1.200.152 DEBUG [0dd540b2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/cache ] DEBUG [0dd540b2] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [b760b994] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/cache ] as deploy@3.1.200.152 DEBUG [b760b994] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/cache ] DEBUG [b760b994] Finished in 0.143 seconds with exit status 1 (failed). INFO [e601d1c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/cache as deploy@3.1.200.152 DEBUG [e601d1c9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/cache ) INFO [e601d1c9] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [4c92fc3b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/sockets ] as deploy@3.1.200.152 DEBUG [4c92fc3b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/sockets ] DEBUG [4c92fc3b] Finished in 0.143 seconds with exit status 1 (failed). DEBUG [88a988f3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/sockets ] as deploy@3.1.200.152 DEBUG [88a988f3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/sockets ] DEBUG [88a988f3] Finished in 0.103 seconds with exit status 1 (failed). INFO [761923ad] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/sockets as deploy@3.1.200.152 DEBUG [761923ad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230102020/tmp/sockets ) INFO [761923ad] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [867d3ac8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/vendor/bundle ] as deploy@3.1.200.152 DEBUG [867d3ac8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/vendor/bundle ] DEBUG [867d3ac8] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [0c7942bc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/vendor/bundle ] as deploy@3.1.200.152 DEBUG [0c7942bc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/vendor/bundle ] DEBUG [0c7942bc] Finished in 0.153 seconds with exit status 1 (failed). INFO [d0603b48] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230102020/vendor/bundle as deploy@3.1.200.152 DEBUG [d0603b48] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230102020/vendor/bundle ) INFO [d0603b48] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [ce20d9a7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/public/system ] as deploy@3.1.200.152 DEBUG [ce20d9a7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/public/system ] DEBUG [ce20d9a7] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [cfd4637a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/public/system ] as deploy@3.1.200.152 DEBUG [cfd4637a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/public/system ] DEBUG [cfd4637a] Finished in 0.101 seconds with exit status 1 (failed). INFO [5a5b1bf4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230102020/public/system as deploy@3.1.200.152 DEBUG [5a5b1bf4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230102020/public/system ) INFO [5a5b1bf4] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [7263c6c5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/public/uploads ] as deploy@3.1.200.152 DEBUG [7263c6c5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102020/public/uploads ] DEBUG [7263c6c5] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [0959ca1e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/public/uploads ] as deploy@3.1.200.152 DEBUG [0959ca1e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102020/public/uploads ] DEBUG [0959ca1e] Finished in 0.140 seconds with exit status 1 (failed). INFO [441d611d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230102020/public/uploads as deploy@3.1.200.152 DEBUG [441d611d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230102020/public/uploads ) INFO [441d611d] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [09f4f270] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [09f4f270] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi DEBUG [09f4f270] Finished in 0.142 seconds with exit status 0 (successful). INFO [9b3ca0c3] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [9b3ca0c3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102020 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [9b3ca0c3] Finished in 0.298 seconds with exit status 0 (successful). INFO [e5e16ddd] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [e5e16ddd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102020 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [e5e16ddd] Finished in 0.341 seconds with exit status 0 (successful). INFO [f66ff1af] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [f66ff1af] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102020 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [f66ff1af] Finished in 0.304 seconds with exit status 0 (successful). DEBUG [ec3d6a93] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ec3d6a93] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi DEBUG [ec3d6a93] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [3c531820] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [3c531820] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102020 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [3c531820] The Gemfile's dependencies are satisfied DEBUG [3c531820] Finished in 0.489 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [9451263d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9451263d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102020; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102020'" 1>&2; false; fi DEBUG [9451263d] Finished in 0.142 seconds with exit status 0 (successful). INFO [393df47a] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [393df47a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102020 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [393df47a] Finished in 1.387 seconds with exit status 0 (successful). INFO [261339b3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230102020 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [261339b3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230102020 /home/deploy/apps/aoumi_server/releases/current ) INFO [261339b3] Finished in 0.149 seconds with exit status 0 (successful). INFO [15b75f62] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [15b75f62] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [15b75f62] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [097b6571] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [097b6571] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [097b6571] 20221230100505 20221230100827 20221230101417 20221230101654 20221230101831 20221230102020 DEBUG [097b6571] Finished in 0.143 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [f8a1470b] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [f8a1470b] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [f8a1470b] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [799ea814] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [799ea814] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [799ea814] /home/deploy/apps/aoumi_server/releases/20221230102020 DEBUG [799ea814] Finished in 0.147 seconds with exit status 0 (successful). INFO [f4243dd4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100505 as deploy@3.1.200.152 DEBUG [f4243dd4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100505 ) INFO [f4243dd4] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [6f171f17] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [6f171f17] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [6f171f17] Finished in 0.144 seconds with exit status 0 (successful). INFO [94a2fef3] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230102020 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [94a2fef3] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230102020 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [94a2fef3] Finished in 0.108 seconds with exit status 0 (successful). INFO [1f48836e] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [1f48836e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [1f48836e] Finished in 0.173 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:24:32 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f1f1b0b6] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [f1f1b0b6] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [f1f1b0b6] Finished in 1.075 seconds with exit status 0 (successful). INFO [5433b81d] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [5433b81d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [5433b81d] Finished in 0.094 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-402d8c9462ac7ddbe6a6.sh 0.0% INFO Uploading /tmp/git-ssh-402d8c9462ac7ddbe6a6.sh 100.0% INFO [33d81ea9] Running /usr/bin/env chmod 700 /tmp/git-ssh-402d8c9462ac7ddbe6a6.sh as deploy@3.1.200.152 DEBUG [33d81ea9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-402d8c9462ac7ddbe6a6.sh ) INFO [33d81ea9] Finished in 0.101 seconds with exit status 0 (successful). INFO [06bbd583] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [06bbd583] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-402d8c9462ac7ddbe6a6.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [06bbd583] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [06bbd583] Finished in 2.892 seconds with exit status 0 (successful). INFO [c40dc77b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [c40dc77b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [c40dc77b] Finished in 0.097 seconds with exit status 0 (successful). INFO [5c6d337f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [5c6d337f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [5c6d337f] Finished in 0.098 seconds with exit status 0 (successful). INFO [b726856a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [b726856a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [b726856a] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [c189f8af] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [c189f8af] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [c189f8af] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [656dc64f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [656dc64f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [656dc64f] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [41d3a067] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [41d3a067] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [41d3a067] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [cab3d7e2] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [cab3d7e2] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [cab3d7e2] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [cceb9382] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [cceb9382] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [cceb9382] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [cceb9382] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [b1b84e17] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [b1b84e17] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [b1b84e17] Finished in 0.148 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [d4055dc7] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d4055dc7] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d4055dc7] Finished in 0.100 seconds with exit status 0 (successful). INFO [6fac5b07] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [6fac5b07] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-402d8c9462ac7ddbe6a6.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [6fac5b07] Finished in 0.152 seconds with exit status 0 (successful). INFO [66322a30] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [66322a30] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-402d8c9462ac7ddbe6a6.sh" ; /usr/bin/env git remote update --prune ) DEBUG [66322a30] Fetching origin INFO [66322a30] Finished in 3.133 seconds with exit status 0 (successful). DEBUG [51874dc3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [51874dc3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [51874dc3] Finished in 0.101 seconds with exit status 0 (successful). INFO [6a9f833c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102437 as deploy@3.1.200.152 DEBUG [6a9f833c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-402d8c9462ac7ddbe6a6.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102437 ) INFO [6a9f833c] Finished in 0.102 seconds with exit status 0 (successful). INFO [a7d3f62a] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230102437 as deploy@3.1.200.152 DEBUG [a7d3f62a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-402d8c9462ac7ddbe6a6.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230102437 ) INFO [a7d3f62a] Finished in 0.205 seconds with exit status 0 (successful). DEBUG [309e8c16] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [309e8c16] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [309e8c16] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [795f1f91] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [795f1f91] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-402d8c9462ac7ddbe6a6.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [795f1f91] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [795f1f91] Finished in 0.174 seconds with exit status 0 (successful). DEBUG [58fd3852] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [58fd3852] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi DEBUG [58fd3852] Finished in 0.099 seconds with exit status 0 (successful). INFO [b4ed9a6d] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [b4ed9a6d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102437 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [b4ed9a6d] Finished in 0.160 seconds with exit status 0 (successful). INFO [fe37d2d0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102437 /home/deploy/apps/aoumi_server/releases/20221230102437/config as deploy@3.1.200.152 DEBUG [fe37d2d0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102437 /home/deploy/apps/aoumi_server/releases/20221230102437/config ) INFO [fe37d2d0] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [4993e8f6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/.env ] as deploy@3.1.200.152 DEBUG [4993e8f6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/.env ] DEBUG [4993e8f6] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [e82a5b19] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230102437/.env ] as deploy@3.1.200.152 DEBUG [e82a5b19] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230102437/.env ] DEBUG [e82a5b19] Finished in 0.100 seconds with exit status 0 (successful). INFO [ca490194] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102437/.env as deploy@3.1.200.152 DEBUG [ca490194] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102437/.env ) INFO [ca490194] Finished in 0.145 seconds with exit status 0 (successful). INFO [bbea3ca6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230102437/.env as deploy@3.1.200.152 DEBUG [bbea3ca6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230102437/.env ) INFO [bbea3ca6] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [91f9cd1e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml ] as deploy@3.1.200.152 DEBUG [91f9cd1e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml ] DEBUG [91f9cd1e] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [635d70b8] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml ] as deploy@3.1.200.152 DEBUG [635d70b8] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml ] DEBUG [635d70b8] Finished in 0.105 seconds with exit status 0 (successful). INFO [f37a2a76] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml as deploy@3.1.200.152 DEBUG [f37a2a76] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml ) INFO [f37a2a76] Finished in 0.144 seconds with exit status 0 (successful). INFO [95c6449f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml as deploy@3.1.200.152 DEBUG [95c6449f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230102437/config/database.yml ) INFO [95c6449f] Finished in 0.103 seconds with exit status 0 (successful). INFO [c95ee160] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102437 /home/deploy/apps/aoumi_server/releases/20221230102437/tmp /home/deploy/apps/aoumi_server/releases/20221230102437/vendor /home/deploy/apps/aoumi_server/releases/20221230102437/public as deploy@3.1.200.152 DEBUG [c95ee160] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230102437 /home/deploy/apps/aoumi_server/releases/20221230102437/tmp /home/deploy/apps/aoumi_server/releases/20221230102437/vendor /home/deploy/apps/aoumi_server/releases/20221230102437/public ) INFO [c95ee160] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [37b4ff34] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/log ] as deploy@3.1.200.152 DEBUG [37b4ff34] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/log ] DEBUG [37b4ff34] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [0cfb2790] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/log ] as deploy@3.1.200.152 DEBUG [0cfb2790] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/log ] DEBUG [0cfb2790] Finished in 0.144 seconds with exit status 0 (successful). INFO [7b4fbaac] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102437/log as deploy@3.1.200.152 DEBUG [7b4fbaac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102437/log ) INFO [7b4fbaac] Finished in 0.101 seconds with exit status 0 (successful). INFO [d3cd9fd0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230102437/log as deploy@3.1.200.152 DEBUG [d3cd9fd0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230102437/log ) INFO [d3cd9fd0] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [7f270305] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids ] as deploy@3.1.200.152 DEBUG [7f270305] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids ] DEBUG [7f270305] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [af5e1f50] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids ] as deploy@3.1.200.152 DEBUG [af5e1f50] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids ] DEBUG [af5e1f50] Finished in 0.144 seconds with exit status 0 (successful). INFO [bac69f54] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids as deploy@3.1.200.152 DEBUG [bac69f54] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids ) INFO [bac69f54] Finished in 0.105 seconds with exit status 0 (successful). INFO [757c8076] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids as deploy@3.1.200.152 DEBUG [757c8076] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/pids ) INFO [757c8076] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [6159c696] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/cache ] as deploy@3.1.200.152 DEBUG [6159c696] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/cache ] DEBUG [6159c696] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [21866993] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/cache ] as deploy@3.1.200.152 DEBUG [21866993] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/cache ] DEBUG [21866993] Finished in 0.142 seconds with exit status 1 (failed). INFO [f0fd1c26] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/cache as deploy@3.1.200.152 DEBUG [f0fd1c26] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/cache ) INFO [f0fd1c26] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [02035924] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/sockets ] as deploy@3.1.200.152 DEBUG [02035924] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/sockets ] DEBUG [02035924] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [13b195e9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/sockets ] as deploy@3.1.200.152 DEBUG [13b195e9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/sockets ] DEBUG [13b195e9] Finished in 0.106 seconds with exit status 1 (failed). INFO [2648a914] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/sockets as deploy@3.1.200.152 DEBUG [2648a914] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230102437/tmp/sockets ) INFO [2648a914] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [3fc03f92] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/vendor/bundle ] as deploy@3.1.200.152 DEBUG [3fc03f92] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/vendor/bundle ] DEBUG [3fc03f92] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [cfb9038f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/vendor/bundle ] as deploy@3.1.200.152 DEBUG [cfb9038f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/vendor/bundle ] DEBUG [cfb9038f] Finished in 0.148 seconds with exit status 1 (failed). INFO [b81956e7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230102437/vendor/bundle as deploy@3.1.200.152 DEBUG [b81956e7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230102437/vendor/bundle ) INFO [b81956e7] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [45596a97] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/public/system ] as deploy@3.1.200.152 DEBUG [45596a97] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/public/system ] DEBUG [45596a97] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [d17711bb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/public/system ] as deploy@3.1.200.152 DEBUG [d17711bb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/public/system ] DEBUG [d17711bb] Finished in 0.105 seconds with exit status 1 (failed). INFO [9340a18c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230102437/public/system as deploy@3.1.200.152 DEBUG [9340a18c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230102437/public/system ) INFO [9340a18c] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [97d58f0f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/public/uploads ] as deploy@3.1.200.152 DEBUG [97d58f0f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230102437/public/uploads ] DEBUG [97d58f0f] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [f2d36eee] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/public/uploads ] as deploy@3.1.200.152 DEBUG [f2d36eee] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230102437/public/uploads ] DEBUG [f2d36eee] Finished in 0.143 seconds with exit status 1 (failed). INFO [73842d02] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230102437/public/uploads as deploy@3.1.200.152 DEBUG [73842d02] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230102437/public/uploads ) INFO [73842d02] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [223694f9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [223694f9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi DEBUG [223694f9] Finished in 0.143 seconds with exit status 0 (successful). INFO [959451ac] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [959451ac] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102437 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [959451ac] Finished in 0.300 seconds with exit status 0 (successful). INFO [b00df926] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [b00df926] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102437 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [b00df926] Finished in 0.336 seconds with exit status 0 (successful). INFO [684f984d] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [684f984d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102437 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [684f984d] Finished in 0.297 seconds with exit status 0 (successful). DEBUG [709c2e53] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [709c2e53] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi DEBUG [709c2e53] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [ffe65cb6] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [ffe65cb6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102437 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ffe65cb6] The Gemfile's dependencies are satisfied DEBUG [ffe65cb6] Finished in 0.544 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [25654e02] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [25654e02] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230102437; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230102437'" 1>&2; false; fi DEBUG [25654e02] Finished in 0.150 seconds with exit status 0 (successful). INFO [6e68ac00] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [6e68ac00] Command: cd /home/deploy/apps/aoumi_server/releases/20221230102437 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [6e68ac00] Finished in 1.381 seconds with exit status 0 (successful). INFO [b2afcfbc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230102437 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [b2afcfbc] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230102437 /home/deploy/apps/aoumi_server/releases/current ) INFO [b2afcfbc] Finished in 0.151 seconds with exit status 0 (successful). INFO [d8c30f0e] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [d8c30f0e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [d8c30f0e] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [24806cc4] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [24806cc4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [24806cc4] 20221230100827 20221230101417 20221230101654 20221230101831 20221230102020 20221230102437 DEBUG [24806cc4] Finished in 0.145 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [3fe28e2b] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [3fe28e2b] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [3fe28e2b] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [f6a58922] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [f6a58922] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [f6a58922] /home/deploy/apps/aoumi_server/releases/20221230102437 DEBUG [f6a58922] Finished in 0.146 seconds with exit status 0 (successful). INFO [ac64b7c2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100827 as deploy@3.1.200.152 DEBUG [ac64b7c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230100827 ) INFO [ac64b7c2] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [ffefd5e6] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ffefd5e6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [ffefd5e6] Finished in 0.140 seconds with exit status 0 (successful). INFO [2acf893b] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230102437 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [2acf893b] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230102437 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [2acf893b] Finished in 0.097 seconds with exit status 0 (successful). INFO [ad42f2eb] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [ad42f2eb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [ad42f2eb] Warning: The unit file, source configuration file or drop-ins of puma_aoumi_server_development.service changed on disk. Run 'systemctl daemon-reload' to reload units. INFO [ad42f2eb] Finished in 0.171 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:36:23 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [44b7e8e8] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [44b7e8e8] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [44b7e8e8] Finished in 1.025 seconds with exit status 0 (successful). INFO [d169d28b] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [d169d28b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [d169d28b] Finished in 0.096 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-5fcaa1848f72047fafb1.sh 0.0% INFO Uploading /tmp/git-ssh-5fcaa1848f72047fafb1.sh 100.0% INFO [6bb50c8c] Running /usr/bin/env chmod 700 /tmp/git-ssh-5fcaa1848f72047fafb1.sh as deploy@3.1.200.152 DEBUG [6bb50c8c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-5fcaa1848f72047fafb1.sh ) INFO [6bb50c8c] Finished in 0.103 seconds with exit status 0 (successful). INFO [c0be88e4] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [c0be88e4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5fcaa1848f72047fafb1.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [c0be88e4] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [c0be88e4] Finished in 2.951 seconds with exit status 0 (successful). INFO [cae0f98a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [cae0f98a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [cae0f98a] Finished in 0.099 seconds with exit status 0 (successful). INFO [dac6c32e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [dac6c32e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [dac6c32e] Finished in 0.100 seconds with exit status 0 (successful). INFO [7960da4e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [7960da4e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [7960da4e] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [ce0dedfc] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [ce0dedfc] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [ce0dedfc] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [7b3fe586] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [7b3fe586] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [7b3fe586] Finished in 0.240 seconds with exit status 0 (successful). DEBUG [3f5dcac2] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [3f5dcac2] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [3f5dcac2] Finished in 0.190 seconds with exit status 0 (successful). DEBUG [8b670226] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [8b670226] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [8b670226] Finished in 0.197 seconds with exit status 0 (successful). DEBUG [2457d26e] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [2457d26e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [2457d26e] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [2457d26e] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [cca38dbc] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [cca38dbc] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [cca38dbc] Finished in 0.256 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [ba2096d5] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ba2096d5] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ba2096d5] Finished in 0.182 seconds with exit status 0 (successful). INFO [38e8a752] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [38e8a752] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5fcaa1848f72047fafb1.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [38e8a752] Finished in 0.185 seconds with exit status 0 (successful). INFO [2aae63e3] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [2aae63e3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5fcaa1848f72047fafb1.sh" ; /usr/bin/env git remote update --prune ) DEBUG [2aae63e3] Fetching origin INFO [2aae63e3] Finished in 3.209 seconds with exit status 0 (successful). DEBUG [2746cd54] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [2746cd54] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2746cd54] Finished in 0.148 seconds with exit status 0 (successful). INFO [759ef8a4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230103629 as deploy@3.1.200.152 DEBUG [759ef8a4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5fcaa1848f72047fafb1.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230103629 ) INFO [759ef8a4] Finished in 0.173 seconds with exit status 0 (successful). INFO [7ae5030f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230103629 as deploy@3.1.200.152 DEBUG [7ae5030f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5fcaa1848f72047fafb1.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230103629 ) INFO [7ae5030f] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [c8b9ce97] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c8b9ce97] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c8b9ce97] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [6af8cc1c] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [6af8cc1c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-5fcaa1848f72047fafb1.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [6af8cc1c] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [6af8cc1c] Finished in 0.174 seconds with exit status 0 (successful). DEBUG [6bf70832] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [6bf70832] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi DEBUG [6bf70832] Finished in 0.101 seconds with exit status 0 (successful). INFO [561391eb] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [561391eb] Command: cd /home/deploy/apps/aoumi_server/releases/20221230103629 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [561391eb] Finished in 0.651 seconds with exit status 0 (successful). INFO [61855208] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230103629 /home/deploy/apps/aoumi_server/releases/20221230103629/config as deploy@3.1.200.152 DEBUG [61855208] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230103629 /home/deploy/apps/aoumi_server/releases/20221230103629/config ) INFO [61855208] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [42db2440] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/.env ] as deploy@3.1.200.152 DEBUG [42db2440] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/.env ] DEBUG [42db2440] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [1a6732b4] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230103629/.env ] as deploy@3.1.200.152 DEBUG [1a6732b4] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230103629/.env ] DEBUG [1a6732b4] Finished in 0.175 seconds with exit status 0 (successful). INFO [7ae681af] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230103629/.env as deploy@3.1.200.152 DEBUG [7ae681af] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230103629/.env ) INFO [7ae681af] Finished in 0.127 seconds with exit status 0 (successful). INFO [36766565] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230103629/.env as deploy@3.1.200.152 DEBUG [36766565] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230103629/.env ) INFO [36766565] Finished in 0.689 seconds with exit status 0 (successful). DEBUG [eafc69eb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml ] as deploy@3.1.200.152 DEBUG [eafc69eb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml ] DEBUG [eafc69eb] Finished in 0.122 seconds with exit status 1 (failed). DEBUG [89175296] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml ] as deploy@3.1.200.152 DEBUG [89175296] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml ] DEBUG [89175296] Finished in 0.113 seconds with exit status 0 (successful). INFO [cc206f22] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml as deploy@3.1.200.152 DEBUG [cc206f22] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml ) INFO [cc206f22] Finished in 0.413 seconds with exit status 0 (successful). INFO [ec3fc4a9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml as deploy@3.1.200.152 DEBUG [ec3fc4a9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230103629/config/database.yml ) INFO [ec3fc4a9] Finished in 0.117 seconds with exit status 0 (successful). INFO [028f0abb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230103629 /home/deploy/apps/aoumi_server/releases/20221230103629/tmp /home/deploy/apps/aoumi_server/releases/20221230103629/vendor /home/deploy/apps/aoumi_server/releases/20221230103629/public as deploy@3.1.200.152 DEBUG [028f0abb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230103629 /home/deploy/apps/aoumi_server/releases/20221230103629/tmp /home/deploy/apps/aoumi_server/releases/20221230103629/vendor /home/deploy/apps/aoumi_server/releases/20221230103629/public ) INFO [028f0abb] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [14600dec] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/log ] as deploy@3.1.200.152 DEBUG [14600dec] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/log ] DEBUG [14600dec] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [9132e843] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/log ] as deploy@3.1.200.152 DEBUG [9132e843] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/log ] DEBUG [9132e843] Finished in 0.171 seconds with exit status 0 (successful). INFO [729bf440] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230103629/log as deploy@3.1.200.152 DEBUG [729bf440] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230103629/log ) INFO [729bf440] Finished in 0.104 seconds with exit status 0 (successful). INFO [f652e57e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230103629/log as deploy@3.1.200.152 DEBUG [f652e57e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230103629/log ) INFO [f652e57e] Finished in 0.159 seconds with exit status 0 (successful). DEBUG [e4a91bf2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids ] as deploy@3.1.200.152 DEBUG [e4a91bf2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids ] DEBUG [e4a91bf2] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [8b2d54d6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids ] as deploy@3.1.200.152 DEBUG [8b2d54d6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids ] DEBUG [8b2d54d6] Finished in 0.167 seconds with exit status 0 (successful). INFO [04a864ef] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids as deploy@3.1.200.152 DEBUG [04a864ef] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids ) INFO [04a864ef] Finished in 0.103 seconds with exit status 0 (successful). INFO [b5540aaa] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids as deploy@3.1.200.152 DEBUG [b5540aaa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/pids ) INFO [b5540aaa] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [a6b89a9c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/cache ] as deploy@3.1.200.152 DEBUG [a6b89a9c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/cache ] DEBUG [a6b89a9c] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [4d745b6b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/cache ] as deploy@3.1.200.152 DEBUG [4d745b6b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/cache ] DEBUG [4d745b6b] Finished in 0.148 seconds with exit status 1 (failed). INFO [bf72766f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/cache as deploy@3.1.200.152 DEBUG [bf72766f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/cache ) INFO [bf72766f] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [96ec0b81] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/sockets ] as deploy@3.1.200.152 DEBUG [96ec0b81] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/sockets ] DEBUG [96ec0b81] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [6314534f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/sockets ] as deploy@3.1.200.152 DEBUG [6314534f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/sockets ] DEBUG [6314534f] Finished in 0.103 seconds with exit status 1 (failed). INFO [fbd1cd9a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/sockets as deploy@3.1.200.152 DEBUG [fbd1cd9a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230103629/tmp/sockets ) INFO [fbd1cd9a] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [c5cf66a0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/vendor/bundle ] as deploy@3.1.200.152 DEBUG [c5cf66a0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/vendor/bundle ] DEBUG [c5cf66a0] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [2371c1b5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/vendor/bundle ] as deploy@3.1.200.152 DEBUG [2371c1b5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/vendor/bundle ] DEBUG [2371c1b5] Finished in 0.156 seconds with exit status 1 (failed). INFO [a346bf93] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230103629/vendor/bundle as deploy@3.1.200.152 DEBUG [a346bf93] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230103629/vendor/bundle ) INFO [a346bf93] Finished in 0.123 seconds with exit status 0 (successful). DEBUG [1b36ee41] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/public/system ] as deploy@3.1.200.152 DEBUG [1b36ee41] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/public/system ] DEBUG [1b36ee41] Finished in 0.152 seconds with exit status 1 (failed). DEBUG [069daa4e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/public/system ] as deploy@3.1.200.152 DEBUG [069daa4e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/public/system ] DEBUG [069daa4e] Finished in 0.161 seconds with exit status 1 (failed). INFO [76788fb8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230103629/public/system as deploy@3.1.200.152 DEBUG [76788fb8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230103629/public/system ) INFO [76788fb8] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [0a1bae42] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/public/uploads ] as deploy@3.1.200.152 DEBUG [0a1bae42] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230103629/public/uploads ] DEBUG [0a1bae42] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [b9aa68cf] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/public/uploads ] as deploy@3.1.200.152 DEBUG [b9aa68cf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230103629/public/uploads ] DEBUG [b9aa68cf] Finished in 0.146 seconds with exit status 1 (failed). INFO [34626d1a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230103629/public/uploads as deploy@3.1.200.152 DEBUG [34626d1a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230103629/public/uploads ) INFO [34626d1a] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [7f8e8154] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7f8e8154] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi DEBUG [7f8e8154] Finished in 0.142 seconds with exit status 0 (successful). INFO [9af73c20] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [9af73c20] Command: cd /home/deploy/apps/aoumi_server/releases/20221230103629 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [9af73c20] Finished in 0.307 seconds with exit status 0 (successful). INFO [4681d95c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [4681d95c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230103629 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [4681d95c] Finished in 0.430 seconds with exit status 0 (successful). INFO [4ab44389] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [4ab44389] Command: cd /home/deploy/apps/aoumi_server/releases/20221230103629 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [4ab44389] Finished in 0.318 seconds with exit status 0 (successful). DEBUG [5c3b4930] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5c3b4930] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi DEBUG [5c3b4930] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [d5a94981] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [d5a94981] Command: cd /home/deploy/apps/aoumi_server/releases/20221230103629 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [d5a94981] The Gemfile's dependencies are satisfied DEBUG [d5a94981] Finished in 0.556 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [f9701dae] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f9701dae] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230103629; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230103629'" 1>&2; false; fi DEBUG [f9701dae] Finished in 0.240 seconds with exit status 0 (successful). INFO [4e0810a9] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [4e0810a9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230103629 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [4e0810a9] Finished in 1.413 seconds with exit status 0 (successful). INFO [e5c53e7c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230103629 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [e5c53e7c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230103629 /home/deploy/apps/aoumi_server/releases/current ) INFO [e5c53e7c] Finished in 0.309 seconds with exit status 0 (successful). INFO [188a6bd9] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [188a6bd9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [188a6bd9] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [90ca6c85] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [90ca6c85] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [90ca6c85] 20221230101417 20221230101654 20221230101831 20221230102020 20221230102437 20221230103629 DEBUG [90ca6c85] Finished in 0.157 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [6233d7d2] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [6233d7d2] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [6233d7d2] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [15777d02] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [15777d02] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [15777d02] /home/deploy/apps/aoumi_server/releases/20221230103629 DEBUG [15777d02] Finished in 0.151 seconds with exit status 0 (successful). INFO [ec031456] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101417 as deploy@3.1.200.152 DEBUG [ec031456] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101417 ) INFO [ec031456] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [8496aab9] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8496aab9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [8496aab9] Finished in 0.165 seconds with exit status 0 (successful). INFO [ef03a3e3] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230103629 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [ef03a3e3] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230103629 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [ef03a3e3] Finished in 0.119 seconds with exit status 0 (successful). INFO [273cab3d] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [273cab3d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [273cab3d] Finished in 0.269 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:42:35 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [5f467c7f] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [5f467c7f] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [5f467c7f] Finished in 1.000 seconds with exit status 0 (successful). INFO [47519b05] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [47519b05] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [47519b05] Finished in 0.096 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-ccc3c1349fc8dabab689.sh 0.0% INFO Uploading /tmp/git-ssh-ccc3c1349fc8dabab689.sh 100.0% INFO [ce883d62] Running /usr/bin/env chmod 700 /tmp/git-ssh-ccc3c1349fc8dabab689.sh as deploy@3.1.200.152 DEBUG [ce883d62] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-ccc3c1349fc8dabab689.sh ) INFO [ce883d62] Finished in 0.100 seconds with exit status 0 (successful). INFO [3aca1f8d] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [3aca1f8d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ccc3c1349fc8dabab689.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [3aca1f8d] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [3aca1f8d] Finished in 2.958 seconds with exit status 0 (successful). INFO [0b5333cb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [0b5333cb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [0b5333cb] Finished in 0.103 seconds with exit status 0 (successful). INFO [54a04411] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [54a04411] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [54a04411] Finished in 0.097 seconds with exit status 0 (successful). INFO [694934a5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [694934a5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [694934a5] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [c8312dcc] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [c8312dcc] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [c8312dcc] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [85eae1d0] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [85eae1d0] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [85eae1d0] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [9e344103] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [9e344103] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [9e344103] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [3aed6f0e] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [3aed6f0e] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [3aed6f0e] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [676da3fa] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [676da3fa] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [676da3fa] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [676da3fa] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [e667d97e] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [e667d97e] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [e667d97e] Finished in 0.139 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [48ed84ea] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [48ed84ea] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [48ed84ea] Finished in 0.099 seconds with exit status 0 (successful). INFO [4f793b41] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [4f793b41] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ccc3c1349fc8dabab689.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [4f793b41] Finished in 0.154 seconds with exit status 0 (successful). INFO [e1d5e546] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [e1d5e546] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ccc3c1349fc8dabab689.sh" ; /usr/bin/env git remote update --prune ) DEBUG [e1d5e546] Fetching origin INFO [e1d5e546] Finished in 3.029 seconds with exit status 0 (successful). DEBUG [ac845f98] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [ac845f98] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ac845f98] Finished in 0.244 seconds with exit status 0 (successful). INFO [72d4b1bf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230104241 as deploy@3.1.200.152 DEBUG [72d4b1bf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ccc3c1349fc8dabab689.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230104241 ) INFO [72d4b1bf] Finished in 0.111 seconds with exit status 0 (successful). INFO [a3e29df0] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230104241 as deploy@3.1.200.152 DEBUG [a3e29df0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ccc3c1349fc8dabab689.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230104241 ) INFO [a3e29df0] Finished in 0.220 seconds with exit status 0 (successful). DEBUG [9df7c53b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9df7c53b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9df7c53b] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [a50766ff] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [a50766ff] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ccc3c1349fc8dabab689.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [a50766ff] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [a50766ff] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [6c981c5e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [6c981c5e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi DEBUG [6c981c5e] Finished in 0.102 seconds with exit status 0 (successful). INFO [ff9c9df8] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [ff9c9df8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230104241 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [ff9c9df8] Finished in 0.148 seconds with exit status 0 (successful). INFO [059fa95c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230104241 /home/deploy/apps/aoumi_server/releases/20221230104241/config as deploy@3.1.200.152 DEBUG [059fa95c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230104241 /home/deploy/apps/aoumi_server/releases/20221230104241/config ) INFO [059fa95c] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [7b4cf95f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/.env ] as deploy@3.1.200.152 DEBUG [7b4cf95f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/.env ] DEBUG [7b4cf95f] Finished in 0.168 seconds with exit status 1 (failed). DEBUG [f7daef8f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230104241/.env ] as deploy@3.1.200.152 DEBUG [f7daef8f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230104241/.env ] DEBUG [f7daef8f] Finished in 0.103 seconds with exit status 0 (successful). INFO [07a0190e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230104241/.env as deploy@3.1.200.152 DEBUG [07a0190e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230104241/.env ) INFO [07a0190e] Finished in 0.148 seconds with exit status 0 (successful). INFO [7ff8848a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230104241/.env as deploy@3.1.200.152 DEBUG [7ff8848a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230104241/.env ) INFO [7ff8848a] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [af206783] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml ] as deploy@3.1.200.152 DEBUG [af206783] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml ] DEBUG [af206783] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [11c2bc3a] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml ] as deploy@3.1.200.152 DEBUG [11c2bc3a] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml ] DEBUG [11c2bc3a] Finished in 0.103 seconds with exit status 0 (successful). INFO [fd00bef6] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml as deploy@3.1.200.152 DEBUG [fd00bef6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml ) INFO [fd00bef6] Finished in 0.150 seconds with exit status 0 (successful). INFO [2963dc20] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml as deploy@3.1.200.152 DEBUG [2963dc20] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230104241/config/database.yml ) INFO [2963dc20] Finished in 0.125 seconds with exit status 0 (successful). INFO [c87c07ec] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230104241 /home/deploy/apps/aoumi_server/releases/20221230104241/tmp /home/deploy/apps/aoumi_server/releases/20221230104241/vendor /home/deploy/apps/aoumi_server/releases/20221230104241/public as deploy@3.1.200.152 DEBUG [c87c07ec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230104241 /home/deploy/apps/aoumi_server/releases/20221230104241/tmp /home/deploy/apps/aoumi_server/releases/20221230104241/vendor /home/deploy/apps/aoumi_server/releases/20221230104241/public ) INFO [c87c07ec] Finished in 0.155 seconds with exit status 0 (successful). DEBUG [a84f150a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/log ] as deploy@3.1.200.152 DEBUG [a84f150a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/log ] DEBUG [a84f150a] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [967b0af2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/log ] as deploy@3.1.200.152 DEBUG [967b0af2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/log ] DEBUG [967b0af2] Finished in 0.147 seconds with exit status 0 (successful). INFO [f692342a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230104241/log as deploy@3.1.200.152 DEBUG [f692342a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230104241/log ) INFO [f692342a] Finished in 0.110 seconds with exit status 0 (successful). INFO [1e150016] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230104241/log as deploy@3.1.200.152 DEBUG [1e150016] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230104241/log ) INFO [1e150016] Finished in 0.156 seconds with exit status 0 (successful). DEBUG [a31a29c4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids ] as deploy@3.1.200.152 DEBUG [a31a29c4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids ] DEBUG [a31a29c4] Finished in 0.112 seconds with exit status 1 (failed). DEBUG [2979db45] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids ] as deploy@3.1.200.152 DEBUG [2979db45] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids ] DEBUG [2979db45] Finished in 0.145 seconds with exit status 0 (successful). INFO [ea65e65b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids as deploy@3.1.200.152 DEBUG [ea65e65b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids ) INFO [ea65e65b] Finished in 0.107 seconds with exit status 0 (successful). INFO [ff5eccd5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids as deploy@3.1.200.152 DEBUG [ff5eccd5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/pids ) INFO [ff5eccd5] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [87d17d08] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/cache ] as deploy@3.1.200.152 DEBUG [87d17d08] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/cache ] DEBUG [87d17d08] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [86da460f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/cache ] as deploy@3.1.200.152 DEBUG [86da460f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/cache ] DEBUG [86da460f] Finished in 0.145 seconds with exit status 1 (failed). INFO [af098b65] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/cache as deploy@3.1.200.152 DEBUG [af098b65] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/cache ) INFO [af098b65] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [d8547124] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/sockets ] as deploy@3.1.200.152 DEBUG [d8547124] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/sockets ] DEBUG [d8547124] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [5a2d21e7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/sockets ] as deploy@3.1.200.152 DEBUG [5a2d21e7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/sockets ] DEBUG [5a2d21e7] Finished in 0.103 seconds with exit status 1 (failed). INFO [556a39c1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/sockets as deploy@3.1.200.152 DEBUG [556a39c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230104241/tmp/sockets ) INFO [556a39c1] Finished in 0.157 seconds with exit status 0 (successful). DEBUG [61369029] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/vendor/bundle ] as deploy@3.1.200.152 DEBUG [61369029] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/vendor/bundle ] DEBUG [61369029] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [a8137627] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/vendor/bundle ] as deploy@3.1.200.152 DEBUG [a8137627] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/vendor/bundle ] DEBUG [a8137627] Finished in 0.144 seconds with exit status 1 (failed). INFO [ca569d6e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230104241/vendor/bundle as deploy@3.1.200.152 DEBUG [ca569d6e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230104241/vendor/bundle ) INFO [ca569d6e] Finished in 0.113 seconds with exit status 0 (successful). DEBUG [9708e172] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/public/system ] as deploy@3.1.200.152 DEBUG [9708e172] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/public/system ] DEBUG [9708e172] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [48d563e2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/public/system ] as deploy@3.1.200.152 DEBUG [48d563e2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/public/system ] DEBUG [48d563e2] Finished in 0.101 seconds with exit status 1 (failed). INFO [f1be2679] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230104241/public/system as deploy@3.1.200.152 DEBUG [f1be2679] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230104241/public/system ) INFO [f1be2679] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [535608b2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/public/uploads ] as deploy@3.1.200.152 DEBUG [535608b2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230104241/public/uploads ] DEBUG [535608b2] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [ccf717ce] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/public/uploads ] as deploy@3.1.200.152 DEBUG [ccf717ce] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230104241/public/uploads ] DEBUG [ccf717ce] Finished in 0.145 seconds with exit status 1 (failed). INFO [0da80f33] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230104241/public/uploads as deploy@3.1.200.152 DEBUG [0da80f33] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230104241/public/uploads ) INFO [0da80f33] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [823aa38b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [823aa38b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi DEBUG [823aa38b] Finished in 0.146 seconds with exit status 0 (successful). INFO [2944643a] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [2944643a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230104241 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [2944643a] Finished in 0.306 seconds with exit status 0 (successful). INFO [bfd48ac2] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [bfd48ac2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230104241 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [bfd48ac2] Finished in 0.347 seconds with exit status 0 (successful). INFO [27f7670c] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [27f7670c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230104241 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [27f7670c] Finished in 0.308 seconds with exit status 0 (successful). DEBUG [7a19a718] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [7a19a718] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi DEBUG [7a19a718] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [31e61221] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [31e61221] Command: cd /home/deploy/apps/aoumi_server/releases/20221230104241 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [31e61221] The Gemfile's dependencies are satisfied DEBUG [31e61221] Finished in 0.557 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [5994b583] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5994b583] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230104241; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230104241'" 1>&2; false; fi DEBUG [5994b583] Finished in 0.150 seconds with exit status 0 (successful). INFO [14f651a5] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [14f651a5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230104241 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [14f651a5] Finished in 1.379 seconds with exit status 0 (successful). INFO [0c9aadb7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230104241 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [0c9aadb7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230104241 /home/deploy/apps/aoumi_server/releases/current ) INFO [0c9aadb7] Finished in 0.152 seconds with exit status 0 (successful). INFO [e71ca927] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [e71ca927] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [e71ca927] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [e17f3638] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [e17f3638] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [e17f3638] 20221230101654 20221230101831 20221230102020 20221230102437 20221230103629 20221230104241 DEBUG [e17f3638] Finished in 0.144 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [d15528f1] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [d15528f1] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [d15528f1] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [62e66537] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [62e66537] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [62e66537] /home/deploy/apps/aoumi_server/releases/20221230104241 DEBUG [62e66537] Finished in 0.144 seconds with exit status 0 (successful). INFO [c070d00d] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101654 as deploy@3.1.200.152 DEBUG [c070d00d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101654 ) INFO [c070d00d] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [59f834c7] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [59f834c7] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [59f834c7] Finished in 0.144 seconds with exit status 0 (successful). INFO [0cc709bc] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230104241 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [0cc709bc] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230104241 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [0cc709bc] Finished in 0.106 seconds with exit status 0 (successful). INFO [dc397c30] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [dc397c30] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [dc397c30] Finished in 0.720 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:47:46 +0700 cap development puma:start INFO --------------------------------------------------------------------------- DEBUG [3027c267] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [3027c267] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [3027c267] Finished in 0.968 seconds with exit status 0 (successful). INFO [363b3467] Running /usr/bin/env sudo /bin/systemctl start puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [363b3467] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl start puma_aoumi_server_development ) INFO [363b3467] Finished in 0.106 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:48:04 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [d2a6e875] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [d2a6e875] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [d2a6e875] Finished in 1.022 seconds with exit status 0 (successful). INFO [d9db568e] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [d9db568e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [d9db568e] Finished in 0.642 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:50:05 +0700 cap development puma:config INFO --------------------------------------------------------------------------- DEBUG [0dff82a9] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [0dff82a9] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [0dff82a9] Finished in 1.043 seconds with exit status 0 (successful). DEBUG Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 0.0% INFO Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 100.0% INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:51:44 +0700 cap production puma:config INFO --------------------------------------------------------------------------- INFO rbenv: rbenv_ruby is not set; ruby version will be defined by the remote hosts via rbenv INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:51:53 +0700 cap development puma:config INFO --------------------------------------------------------------------------- DEBUG [620b9057] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [620b9057] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [620b9057] Finished in 1.026 seconds with exit status 0 (successful). DEBUG Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 0.0% INFO Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 100.0% INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:52:34 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [130c5418] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [130c5418] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [130c5418] Finished in 1.031 seconds with exit status 0 (successful). INFO [7feec351] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [7feec351] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [7feec351] Finished in 0.099 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-d26f6b95bac470ea0124.sh 0.0% INFO Uploading /tmp/git-ssh-d26f6b95bac470ea0124.sh 100.0% INFO [72a0f022] Running /usr/bin/env chmod 700 /tmp/git-ssh-d26f6b95bac470ea0124.sh as deploy@3.1.200.152 DEBUG [72a0f022] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-d26f6b95bac470ea0124.sh ) INFO [72a0f022] Finished in 0.108 seconds with exit status 0 (successful). INFO [bf90c9ff] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [bf90c9ff] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d26f6b95bac470ea0124.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [bf90c9ff] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [bf90c9ff] Finished in 2.960 seconds with exit status 0 (successful). INFO [ef8f8da5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [ef8f8da5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [ef8f8da5] Finished in 0.106 seconds with exit status 0 (successful). INFO [d2b00ae9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [d2b00ae9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [d2b00ae9] Finished in 0.107 seconds with exit status 0 (successful). INFO [037e51d7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [037e51d7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [037e51d7] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [2f80b9a7] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [2f80b9a7] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [2f80b9a7] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [39032624] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [39032624] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [39032624] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [1540322c] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [1540322c] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [1540322c] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [8cbaca7a] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [8cbaca7a] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [8cbaca7a] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [3d9e5bad] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [3d9e5bad] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [3d9e5bad] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [3d9e5bad] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [d9a2d6b2] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [d9a2d6b2] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [d9a2d6b2] Finished in 0.147 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [6946403d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [6946403d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6946403d] Finished in 0.101 seconds with exit status 0 (successful). INFO [49f19a1e] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [49f19a1e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d26f6b95bac470ea0124.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [49f19a1e] Finished in 0.148 seconds with exit status 0 (successful). INFO [3da32968] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [3da32968] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d26f6b95bac470ea0124.sh" ; /usr/bin/env git remote update --prune ) DEBUG [3da32968] Fetching origin INFO [3da32968] Finished in 3.077 seconds with exit status 0 (successful). DEBUG [53a09fa2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [53a09fa2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [53a09fa2] Finished in 0.214 seconds with exit status 0 (successful). INFO [b7e59822] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105240 as deploy@3.1.200.152 DEBUG [b7e59822] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d26f6b95bac470ea0124.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105240 ) INFO [b7e59822] Finished in 0.396 seconds with exit status 0 (successful). INFO [90f90b88] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230105240 as deploy@3.1.200.152 DEBUG [90f90b88] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d26f6b95bac470ea0124.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230105240 ) INFO [90f90b88] Finished in 0.351 seconds with exit status 0 (successful). DEBUG [4f5d54ed] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4f5d54ed] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [4f5d54ed] Finished in 0.357 seconds with exit status 0 (successful). DEBUG [2ce95bd7] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [2ce95bd7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-d26f6b95bac470ea0124.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [2ce95bd7] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [2ce95bd7] Finished in 0.325 seconds with exit status 0 (successful). DEBUG [0da9528e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [0da9528e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi DEBUG [0da9528e] Finished in 0.171 seconds with exit status 0 (successful). INFO [95a2ef56] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [95a2ef56] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105240 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [95a2ef56] Finished in 0.106 seconds with exit status 0 (successful). INFO [0ddf496a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105240 /home/deploy/apps/aoumi_server/releases/20221230105240/config as deploy@3.1.200.152 DEBUG [0ddf496a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105240 /home/deploy/apps/aoumi_server/releases/20221230105240/config ) INFO [0ddf496a] Finished in 0.166 seconds with exit status 0 (successful). DEBUG [f9142649] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/.env ] as deploy@3.1.200.152 DEBUG [f9142649] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/.env ] DEBUG [f9142649] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [bc012aab] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230105240/.env ] as deploy@3.1.200.152 DEBUG [bc012aab] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230105240/.env ] DEBUG [bc012aab] Finished in 0.158 seconds with exit status 0 (successful). INFO [a2be7e20] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105240/.env as deploy@3.1.200.152 DEBUG [a2be7e20] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105240/.env ) INFO [a2be7e20] Finished in 0.107 seconds with exit status 0 (successful). INFO [3050c340] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230105240/.env as deploy@3.1.200.152 DEBUG [3050c340] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230105240/.env ) INFO [3050c340] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [75ece7b8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml ] as deploy@3.1.200.152 DEBUG [75ece7b8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml ] DEBUG [75ece7b8] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [446ed7d8] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml ] as deploy@3.1.200.152 DEBUG [446ed7d8] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml ] DEBUG [446ed7d8] Finished in 0.149 seconds with exit status 0 (successful). INFO [ba0394f7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml as deploy@3.1.200.152 DEBUG [ba0394f7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml ) INFO [ba0394f7] Finished in 0.110 seconds with exit status 0 (successful). INFO [1b6aa4a3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml as deploy@3.1.200.152 DEBUG [1b6aa4a3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230105240/config/database.yml ) INFO [1b6aa4a3] Finished in 0.151 seconds with exit status 0 (successful). INFO [801da585] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105240 /home/deploy/apps/aoumi_server/releases/20221230105240/tmp /home/deploy/apps/aoumi_server/releases/20221230105240/vendor /home/deploy/apps/aoumi_server/releases/20221230105240/public as deploy@3.1.200.152 DEBUG [801da585] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105240 /home/deploy/apps/aoumi_server/releases/20221230105240/tmp /home/deploy/apps/aoumi_server/releases/20221230105240/vendor /home/deploy/apps/aoumi_server/releases/20221230105240/public ) INFO [801da585] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [c71ac7ea] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/log ] as deploy@3.1.200.152 DEBUG [c71ac7ea] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/log ] DEBUG [c71ac7ea] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [a07ee9de] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/log ] as deploy@3.1.200.152 DEBUG [a07ee9de] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/log ] DEBUG [a07ee9de] Finished in 0.106 seconds with exit status 0 (successful). INFO [5ddef36b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105240/log as deploy@3.1.200.152 DEBUG [5ddef36b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105240/log ) INFO [5ddef36b] Finished in 0.149 seconds with exit status 0 (successful). INFO [c1604552] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230105240/log as deploy@3.1.200.152 DEBUG [c1604552] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230105240/log ) INFO [c1604552] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [ef871c6a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids ] as deploy@3.1.200.152 DEBUG [ef871c6a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids ] DEBUG [ef871c6a] Finished in 0.145 seconds with exit status 1 (failed). DEBUG [eaa71c46] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids ] as deploy@3.1.200.152 DEBUG [eaa71c46] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids ] DEBUG [eaa71c46] Finished in 0.108 seconds with exit status 0 (successful). INFO [8b1abe56] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids as deploy@3.1.200.152 DEBUG [8b1abe56] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids ) INFO [8b1abe56] Finished in 0.156 seconds with exit status 0 (successful). INFO [670343fd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids as deploy@3.1.200.152 DEBUG [670343fd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/pids ) INFO [670343fd] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [9f828ae1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/cache ] as deploy@3.1.200.152 DEBUG [9f828ae1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/cache ] DEBUG [9f828ae1] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [f2880f60] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/cache ] as deploy@3.1.200.152 DEBUG [f2880f60] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/cache ] DEBUG [f2880f60] Finished in 0.105 seconds with exit status 1 (failed). INFO [c450d56a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/cache as deploy@3.1.200.152 DEBUG [c450d56a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/cache ) INFO [c450d56a] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [fcfaf499] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/sockets ] as deploy@3.1.200.152 DEBUG [fcfaf499] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/sockets ] DEBUG [fcfaf499] Finished in 0.112 seconds with exit status 1 (failed). DEBUG [d1d77596] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/sockets ] as deploy@3.1.200.152 DEBUG [d1d77596] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/sockets ] DEBUG [d1d77596] Finished in 0.147 seconds with exit status 1 (failed). INFO [d2b2e198] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/sockets as deploy@3.1.200.152 DEBUG [d2b2e198] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230105240/tmp/sockets ) INFO [d2b2e198] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [4bdb7c6d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/vendor/bundle ] as deploy@3.1.200.152 DEBUG [4bdb7c6d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/vendor/bundle ] DEBUG [4bdb7c6d] Finished in 0.150 seconds with exit status 1 (failed). DEBUG [a536a7ab] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/vendor/bundle ] as deploy@3.1.200.152 DEBUG [a536a7ab] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/vendor/bundle ] DEBUG [a536a7ab] Finished in 0.107 seconds with exit status 1 (failed). INFO [1b032022] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230105240/vendor/bundle as deploy@3.1.200.152 DEBUG [1b032022] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230105240/vendor/bundle ) INFO [1b032022] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [ae04f624] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/public/system ] as deploy@3.1.200.152 DEBUG [ae04f624] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/public/system ] DEBUG [ae04f624] Finished in 0.105 seconds with exit status 1 (failed). DEBUG [5a24baf2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/public/system ] as deploy@3.1.200.152 DEBUG [5a24baf2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/public/system ] DEBUG [5a24baf2] Finished in 0.145 seconds with exit status 1 (failed). INFO [0f005a80] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230105240/public/system as deploy@3.1.200.152 DEBUG [0f005a80] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230105240/public/system ) INFO [0f005a80] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [6b9180fb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/public/uploads ] as deploy@3.1.200.152 DEBUG [6b9180fb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105240/public/uploads ] DEBUG [6b9180fb] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [0dc100e5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/public/uploads ] as deploy@3.1.200.152 DEBUG [0dc100e5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105240/public/uploads ] DEBUG [0dc100e5] Finished in 0.106 seconds with exit status 1 (failed). INFO [4044b986] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230105240/public/uploads as deploy@3.1.200.152 DEBUG [4044b986] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230105240/public/uploads ) INFO [4044b986] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [d109ef8f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d109ef8f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi DEBUG [d109ef8f] Finished in 0.105 seconds with exit status 0 (successful). INFO [6720ebfe] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [6720ebfe] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105240 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [6720ebfe] Finished in 0.349 seconds with exit status 0 (successful). INFO [a6713ea8] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [a6713ea8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105240 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [a6713ea8] Finished in 0.313 seconds with exit status 0 (successful). INFO [e7ff0f69] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [e7ff0f69] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105240 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [e7ff0f69] Finished in 0.350 seconds with exit status 0 (successful). DEBUG [50db4b1a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [50db4b1a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi DEBUG [50db4b1a] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [84db973d] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [84db973d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105240 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [84db973d] The Gemfile's dependencies are satisfied DEBUG [84db973d] Finished in 0.539 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [f1488cb8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f1488cb8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105240; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105240'" 1>&2; false; fi DEBUG [f1488cb8] Finished in 0.103 seconds with exit status 0 (successful). INFO [114aed98] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [114aed98] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105240 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [114aed98] Finished in 1.427 seconds with exit status 0 (successful). INFO [838bf6f6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230105240 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [838bf6f6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230105240 /home/deploy/apps/aoumi_server/releases/current ) INFO [838bf6f6] Finished in 0.107 seconds with exit status 0 (successful). INFO [728b3833] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [728b3833] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [728b3833] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [a8e37ad9] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [a8e37ad9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [a8e37ad9] 20221230101831 20221230102020 20221230102437 20221230103629 20221230104241 20221230105240 DEBUG [a8e37ad9] Finished in 0.110 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [200f2742] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [200f2742] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [200f2742] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [1492d34a] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [1492d34a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [1492d34a] /home/deploy/apps/aoumi_server/releases/20221230105240 DEBUG [1492d34a] Finished in 0.107 seconds with exit status 0 (successful). INFO [2839031d] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101831 as deploy@3.1.200.152 DEBUG [2839031d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230101831 ) INFO [2839031d] Finished in 0.158 seconds with exit status 0 (successful). DEBUG [78172743] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [78172743] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [78172743] Finished in 0.104 seconds with exit status 0 (successful). INFO [fcbd0613] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230105240 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [fcbd0613] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230105240 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [fcbd0613] Finished in 0.148 seconds with exit status 0 (successful). INFO [25050ead] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [25050ead] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [25050ead] Finished in 0.578 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:57:40 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [7ee068ff] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [7ee068ff] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [7ee068ff] Finished in 0.946 seconds with exit status 0 (successful). INFO [83089716] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [83089716] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [83089716] Finished in 0.099 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-61c7ebd35c7c608dbc11.sh 0.0% INFO Uploading /tmp/git-ssh-61c7ebd35c7c608dbc11.sh 100.0% INFO [efcd8b3d] Running /usr/bin/env chmod 700 /tmp/git-ssh-61c7ebd35c7c608dbc11.sh as deploy@3.1.200.152 DEBUG [efcd8b3d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-61c7ebd35c7c608dbc11.sh ) INFO [efcd8b3d] Finished in 0.102 seconds with exit status 0 (successful). INFO [6c3d2dc7] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [6c3d2dc7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-61c7ebd35c7c608dbc11.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [6c3d2dc7] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [6c3d2dc7] Finished in 3.274 seconds with exit status 0 (successful). INFO [277d906e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [277d906e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [277d906e] Finished in 0.337 seconds with exit status 0 (successful). INFO [c17bec71] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [c17bec71] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [c17bec71] Finished in 0.097 seconds with exit status 0 (successful). INFO [4321f8f9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [4321f8f9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [4321f8f9] Finished in 0.169 seconds with exit status 0 (successful). DEBUG [461dbcb6] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [461dbcb6] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [461dbcb6] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [cee5ef80] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [cee5ef80] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [cee5ef80] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [4127d7e4] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [4127d7e4] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [4127d7e4] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [6a9cb183] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [6a9cb183] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [6a9cb183] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [30659e55] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [30659e55] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [30659e55] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [30659e55] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [ed9da221] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [ed9da221] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [ed9da221] Finished in 0.144 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [c5f3bea8] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c5f3bea8] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c5f3bea8] Finished in 0.098 seconds with exit status 0 (successful). INFO [986f9ac5] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [986f9ac5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-61c7ebd35c7c608dbc11.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [986f9ac5] Finished in 0.145 seconds with exit status 0 (successful). INFO [ea8f2b3f] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [ea8f2b3f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-61c7ebd35c7c608dbc11.sh" ; /usr/bin/env git remote update --prune ) DEBUG [ea8f2b3f] Fetching origin INFO [ea8f2b3f] Finished in 2.957 seconds with exit status 0 (successful). DEBUG [a5cb8fba] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [a5cb8fba] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [a5cb8fba] Finished in 0.099 seconds with exit status 0 (successful). INFO [46f913d3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105746 as deploy@3.1.200.152 DEBUG [46f913d3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-61c7ebd35c7c608dbc11.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105746 ) INFO [46f913d3] Finished in 0.108 seconds with exit status 0 (successful). INFO [a314c06d] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230105746 as deploy@3.1.200.152 DEBUG [a314c06d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-61c7ebd35c7c608dbc11.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230105746 ) INFO [a314c06d] Finished in 0.213 seconds with exit status 0 (successful). DEBUG [8501a34e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [8501a34e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8501a34e] Finished in 0.098 seconds with exit status 0 (successful). DEBUG [20b32d8a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [20b32d8a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-61c7ebd35c7c608dbc11.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [20b32d8a] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [20b32d8a] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [9f41c911] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9f41c911] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi DEBUG [9f41c911] Finished in 0.104 seconds with exit status 0 (successful). INFO [3ba946b7] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [3ba946b7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105746 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [3ba946b7] Finished in 0.141 seconds with exit status 0 (successful). INFO [7fa150af] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105746 /home/deploy/apps/aoumi_server/releases/20221230105746/config as deploy@3.1.200.152 DEBUG [7fa150af] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105746 /home/deploy/apps/aoumi_server/releases/20221230105746/config ) INFO [7fa150af] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [f51ed8b3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/.env ] as deploy@3.1.200.152 DEBUG [f51ed8b3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/.env ] DEBUG [f51ed8b3] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [443b2825] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230105746/.env ] as deploy@3.1.200.152 DEBUG [443b2825] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230105746/.env ] DEBUG [443b2825] Finished in 0.100 seconds with exit status 0 (successful). INFO [08345831] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105746/.env as deploy@3.1.200.152 DEBUG [08345831] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105746/.env ) INFO [08345831] Finished in 0.145 seconds with exit status 0 (successful). INFO [ea236aec] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230105746/.env as deploy@3.1.200.152 DEBUG [ea236aec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230105746/.env ) INFO [ea236aec] Finished in 0.121 seconds with exit status 0 (successful). DEBUG [47029ad1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml ] as deploy@3.1.200.152 DEBUG [47029ad1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml ] DEBUG [47029ad1] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [fff4f5cf] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml ] as deploy@3.1.200.152 DEBUG [fff4f5cf] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml ] DEBUG [fff4f5cf] Finished in 0.104 seconds with exit status 0 (successful). INFO [e446cf3b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml as deploy@3.1.200.152 DEBUG [e446cf3b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml ) INFO [e446cf3b] Finished in 0.139 seconds with exit status 0 (successful). INFO [912feaa0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml as deploy@3.1.200.152 DEBUG [912feaa0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230105746/config/database.yml ) INFO [912feaa0] Finished in 0.103 seconds with exit status 0 (successful). INFO [5bdfaaf5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105746 /home/deploy/apps/aoumi_server/releases/20221230105746/tmp /home/deploy/apps/aoumi_server/releases/20221230105746/vendor /home/deploy/apps/aoumi_server/releases/20221230105746/public as deploy@3.1.200.152 DEBUG [5bdfaaf5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230105746 /home/deploy/apps/aoumi_server/releases/20221230105746/tmp /home/deploy/apps/aoumi_server/releases/20221230105746/vendor /home/deploy/apps/aoumi_server/releases/20221230105746/public ) INFO [5bdfaaf5] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [ff97e828] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/log ] as deploy@3.1.200.152 DEBUG [ff97e828] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/log ] DEBUG [ff97e828] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [29712c9b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/log ] as deploy@3.1.200.152 DEBUG [29712c9b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/log ] DEBUG [29712c9b] Finished in 0.144 seconds with exit status 0 (successful). INFO [3ea52dca] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105746/log as deploy@3.1.200.152 DEBUG [3ea52dca] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105746/log ) INFO [3ea52dca] Finished in 0.108 seconds with exit status 0 (successful). INFO [8d9bc28c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230105746/log as deploy@3.1.200.152 DEBUG [8d9bc28c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230105746/log ) INFO [8d9bc28c] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [8efe8def] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids ] as deploy@3.1.200.152 DEBUG [8efe8def] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids ] DEBUG [8efe8def] Finished in 0.100 seconds with exit status 1 (failed). DEBUG [23571bed] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids ] as deploy@3.1.200.152 DEBUG [23571bed] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids ] DEBUG [23571bed] Finished in 0.142 seconds with exit status 0 (successful). INFO [52924d49] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids as deploy@3.1.200.152 DEBUG [52924d49] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids ) INFO [52924d49] Finished in 0.108 seconds with exit status 0 (successful). INFO [c0e234b4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids as deploy@3.1.200.152 DEBUG [c0e234b4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/pids ) INFO [c0e234b4] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [64ab3cdd] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/cache ] as deploy@3.1.200.152 DEBUG [64ab3cdd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/cache ] DEBUG [64ab3cdd] Finished in 0.098 seconds with exit status 1 (failed). DEBUG [8351cfc2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/cache ] as deploy@3.1.200.152 DEBUG [8351cfc2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/cache ] DEBUG [8351cfc2] Finished in 0.143 seconds with exit status 1 (failed). INFO [9aec6fea] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/cache as deploy@3.1.200.152 DEBUG [9aec6fea] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/cache ) INFO [9aec6fea] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [40c5cc61] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/sockets ] as deploy@3.1.200.152 DEBUG [40c5cc61] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/sockets ] DEBUG [40c5cc61] Finished in 0.141 seconds with exit status 1 (failed). DEBUG [9c7b279a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/sockets ] as deploy@3.1.200.152 DEBUG [9c7b279a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/sockets ] DEBUG [9c7b279a] Finished in 0.101 seconds with exit status 1 (failed). INFO [1ca9f72f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/sockets as deploy@3.1.200.152 DEBUG [1ca9f72f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230105746/tmp/sockets ) INFO [1ca9f72f] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [07866a3b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/vendor/bundle ] as deploy@3.1.200.152 DEBUG [07866a3b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/vendor/bundle ] DEBUG [07866a3b] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [ff251780] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/vendor/bundle ] as deploy@3.1.200.152 DEBUG [ff251780] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/vendor/bundle ] DEBUG [ff251780] Finished in 0.147 seconds with exit status 1 (failed). INFO [50289d7a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230105746/vendor/bundle as deploy@3.1.200.152 DEBUG [50289d7a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230105746/vendor/bundle ) INFO [50289d7a] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [ae47aa73] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/public/system ] as deploy@3.1.200.152 DEBUG [ae47aa73] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/public/system ] DEBUG [ae47aa73] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [6e3439b5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/public/system ] as deploy@3.1.200.152 DEBUG [6e3439b5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/public/system ] DEBUG [6e3439b5] Finished in 0.101 seconds with exit status 1 (failed). INFO [b75e3eea] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230105746/public/system as deploy@3.1.200.152 DEBUG [b75e3eea] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230105746/public/system ) INFO [b75e3eea] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [54301878] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/public/uploads ] as deploy@3.1.200.152 DEBUG [54301878] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230105746/public/uploads ] DEBUG [54301878] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [9f4cab73] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/public/uploads ] as deploy@3.1.200.152 DEBUG [9f4cab73] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230105746/public/uploads ] DEBUG [9f4cab73] Finished in 0.142 seconds with exit status 1 (failed). INFO [a29bf485] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230105746/public/uploads as deploy@3.1.200.152 DEBUG [a29bf485] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230105746/public/uploads ) INFO [a29bf485] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [07861b41] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [07861b41] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi DEBUG [07861b41] Finished in 0.139 seconds with exit status 0 (successful). INFO [a6cc0a4b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [a6cc0a4b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105746 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [a6cc0a4b] Finished in 0.301 seconds with exit status 0 (successful). INFO [5ab90a01] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [5ab90a01] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105746 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [5ab90a01] Finished in 0.346 seconds with exit status 0 (successful). INFO [d3e47c4b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [d3e47c4b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105746 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [d3e47c4b] Finished in 0.303 seconds with exit status 0 (successful). DEBUG [db95a7fa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [db95a7fa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi DEBUG [db95a7fa] Finished in 0.141 seconds with exit status 0 (successful). DEBUG [63c8e020] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [63c8e020] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105746 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [63c8e020] The Gemfile's dependencies are satisfied DEBUG [63c8e020] Finished in 0.465 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [d1e922ce] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d1e922ce] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230105746; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230105746'" 1>&2; false; fi DEBUG [d1e922ce] Finished in 0.140 seconds with exit status 0 (successful). INFO [a2b07be5] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [a2b07be5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230105746 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [a2b07be5] Finished in 1.394 seconds with exit status 0 (successful). INFO [b2d71465] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230105746 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [b2d71465] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230105746 /home/deploy/apps/aoumi_server/releases/current ) INFO [b2d71465] Finished in 0.144 seconds with exit status 0 (successful). INFO [4b907227] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [4b907227] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [4b907227] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [106682ac] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [106682ac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [106682ac] 20221230102020 20221230102437 20221230103629 20221230104241 20221230105240 20221230105746 DEBUG [106682ac] Finished in 0.153 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [ea28555b] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [ea28555b] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [ea28555b] Finished in 0.099 seconds with exit status 0 (successful). DEBUG [4dcdec64] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [4dcdec64] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [4dcdec64] /home/deploy/apps/aoumi_server/releases/20221230105746 DEBUG [4dcdec64] Finished in 0.143 seconds with exit status 0 (successful). INFO [91fb5a2e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102020 as deploy@3.1.200.152 DEBUG [91fb5a2e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102020 ) INFO [91fb5a2e] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [c0c8bc63] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c0c8bc63] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [c0c8bc63] Finished in 0.141 seconds with exit status 0 (successful). INFO [88535cc4] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230105746 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [88535cc4] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230105746 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [88535cc4] Finished in 0.101 seconds with exit status 0 (successful). INFO [ba5142e3] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [ba5142e3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [ba5142e3] Warning: The unit file, source configuration file or drop-ins of puma_aoumi_server_development.service changed on disk. Run 'systemctl daemon-reload' to reload units. INFO [ba5142e3] Finished in 0.173 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:58:43 +0700 cap development puma:config INFO --------------------------------------------------------------------------- DEBUG [aee0fcaa] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [aee0fcaa] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [aee0fcaa] Finished in 1.025 seconds with exit status 0 (successful). DEBUG Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 0.0% INFO Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 100.0% INFO --------------------------------------------------------------------------- INFO START 2022-12-30 17:59:57 +0700 cap development puma:config INFO --------------------------------------------------------------------------- DEBUG [ebba1b0b] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [ebba1b0b] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 18:00:00 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [cce6ae53] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [cce6ae53] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [cce6ae53] Finished in 1.036 seconds with exit status 0 (successful). INFO [4f02c22f] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [4f02c22f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [4f02c22f] Finished in 0.103 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-73b73fcc1fe198d592f9.sh 0.0% INFO Uploading /tmp/git-ssh-73b73fcc1fe198d592f9.sh 100.0% INFO [27a252fb] Running /usr/bin/env chmod 700 /tmp/git-ssh-73b73fcc1fe198d592f9.sh as deploy@3.1.200.152 DEBUG [27a252fb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-73b73fcc1fe198d592f9.sh ) INFO [27a252fb] Finished in 0.117 seconds with exit status 0 (successful). INFO [0a090e58] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [0a090e58] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-73b73fcc1fe198d592f9.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [0a090e58] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [0a090e58] Finished in 3.528 seconds with exit status 0 (successful). INFO [e7e586ed] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [e7e586ed] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [e7e586ed] Finished in 0.107 seconds with exit status 0 (successful). INFO [ba390e49] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [ba390e49] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [ba390e49] Finished in 0.102 seconds with exit status 0 (successful). INFO [47069eb3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [47069eb3] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [47069eb3] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [a945a5e5] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [a945a5e5] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [a945a5e5] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [49214753] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [49214753] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [49214753] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [ba3d504a] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [ba3d504a] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ba3d504a] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [66a88766] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [66a88766] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [66a88766] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [947a1a7c] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [947a1a7c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [947a1a7c] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [947a1a7c] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [039cf58e] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [039cf58e] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [039cf58e] Finished in 0.142 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [fc3346e9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [fc3346e9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [fc3346e9] Finished in 0.101 seconds with exit status 0 (successful). INFO [732c4f47] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [732c4f47] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-73b73fcc1fe198d592f9.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [732c4f47] Finished in 0.147 seconds with exit status 0 (successful). INFO [a699ccd2] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [a699ccd2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-73b73fcc1fe198d592f9.sh" ; /usr/bin/env git remote update --prune ) DEBUG [a699ccd2] Fetching origin INFO [a699ccd2] Finished in 3.116 seconds with exit status 0 (successful). DEBUG [b6c26a2b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [b6c26a2b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b6c26a2b] Finished in 0.099 seconds with exit status 0 (successful). INFO [d797128a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110006 as deploy@3.1.200.152 DEBUG [d797128a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-73b73fcc1fe198d592f9.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110006 ) INFO [d797128a] Finished in 0.151 seconds with exit status 0 (successful). INFO [f666a5b4] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230110006 as deploy@3.1.200.152 DEBUG [f666a5b4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-73b73fcc1fe198d592f9.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230110006 ) INFO [f666a5b4] Finished in 0.169 seconds with exit status 0 (successful). DEBUG [44665358] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [44665358] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [44665358] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [b3980540] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [b3980540] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-73b73fcc1fe198d592f9.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [b3980540] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [b3980540] Finished in 0.109 seconds with exit status 0 (successful). DEBUG [9e0f6499] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9e0f6499] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi DEBUG [9e0f6499] Finished in 0.148 seconds with exit status 0 (successful). INFO [5327ddbf] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [5327ddbf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110006 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [5327ddbf] Finished in 0.113 seconds with exit status 0 (successful). INFO [fdf151e2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110006 /home/deploy/apps/aoumi_server/releases/20221230110006/config as deploy@3.1.200.152 DEBUG [fdf151e2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110006 /home/deploy/apps/aoumi_server/releases/20221230110006/config ) INFO [fdf151e2] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [9a5eb7f6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/.env ] as deploy@3.1.200.152 DEBUG [9a5eb7f6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/.env ] DEBUG [9a5eb7f6] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [94721bca] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230110006/.env ] as deploy@3.1.200.152 DEBUG [94721bca] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230110006/.env ] DEBUG [94721bca] Finished in 0.150 seconds with exit status 0 (successful). INFO [6adea884] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110006/.env as deploy@3.1.200.152 DEBUG [6adea884] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110006/.env ) INFO [6adea884] Finished in 0.104 seconds with exit status 0 (successful). INFO [b7e57389] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230110006/.env as deploy@3.1.200.152 DEBUG [b7e57389] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230110006/.env ) INFO [b7e57389] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [7746ec3b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml ] as deploy@3.1.200.152 DEBUG [7746ec3b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml ] DEBUG [7746ec3b] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [a80f0460] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml ] as deploy@3.1.200.152 DEBUG [a80f0460] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml ] DEBUG [a80f0460] Finished in 0.146 seconds with exit status 0 (successful). INFO [9f9c1c67] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml as deploy@3.1.200.152 DEBUG [9f9c1c67] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml ) INFO [9f9c1c67] Finished in 0.130 seconds with exit status 0 (successful). INFO [7d633e5e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml as deploy@3.1.200.152 DEBUG [7d633e5e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230110006/config/database.yml ) INFO [7d633e5e] Finished in 0.148 seconds with exit status 0 (successful). INFO [e1ee95c1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110006 /home/deploy/apps/aoumi_server/releases/20221230110006/tmp /home/deploy/apps/aoumi_server/releases/20221230110006/vendor /home/deploy/apps/aoumi_server/releases/20221230110006/public as deploy@3.1.200.152 DEBUG [e1ee95c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110006 /home/deploy/apps/aoumi_server/releases/20221230110006/tmp /home/deploy/apps/aoumi_server/releases/20221230110006/vendor /home/deploy/apps/aoumi_server/releases/20221230110006/public ) INFO [e1ee95c1] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [18433dd5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/log ] as deploy@3.1.200.152 DEBUG [18433dd5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/log ] DEBUG [18433dd5] Finished in 0.147 seconds with exit status 1 (failed). DEBUG [a1c359c9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/log ] as deploy@3.1.200.152 DEBUG [a1c359c9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/log ] DEBUG [a1c359c9] Finished in 0.102 seconds with exit status 0 (successful). INFO [6e83ec59] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110006/log as deploy@3.1.200.152 DEBUG [6e83ec59] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110006/log ) INFO [6e83ec59] Finished in 0.152 seconds with exit status 0 (successful). INFO [8861b4fe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230110006/log as deploy@3.1.200.152 DEBUG [8861b4fe] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230110006/log ) INFO [8861b4fe] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [202a05a4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids ] as deploy@3.1.200.152 DEBUG [202a05a4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids ] DEBUG [202a05a4] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [be1c2897] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids ] as deploy@3.1.200.152 DEBUG [be1c2897] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids ] DEBUG [be1c2897] Finished in 0.101 seconds with exit status 0 (successful). INFO [e5dd71b0] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids as deploy@3.1.200.152 DEBUG [e5dd71b0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids ) INFO [e5dd71b0] Finished in 0.145 seconds with exit status 0 (successful). INFO [c2044549] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids as deploy@3.1.200.152 DEBUG [c2044549] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/pids ) INFO [c2044549] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [7c801143] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/cache ] as deploy@3.1.200.152 DEBUG [7c801143] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/cache ] DEBUG [7c801143] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [e227e087] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/cache ] as deploy@3.1.200.152 DEBUG [e227e087] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/cache ] DEBUG [e227e087] Finished in 0.129 seconds with exit status 1 (failed). INFO [8a5dfe84] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/cache as deploy@3.1.200.152 DEBUG [8a5dfe84] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/cache ) INFO [8a5dfe84] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [2ece7b41] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/sockets ] as deploy@3.1.200.152 DEBUG [2ece7b41] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/sockets ] DEBUG [2ece7b41] Finished in 0.104 seconds with exit status 1 (failed). DEBUG [5bf96f04] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/sockets ] as deploy@3.1.200.152 DEBUG [5bf96f04] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/sockets ] DEBUG [5bf96f04] Finished in 0.152 seconds with exit status 1 (failed). INFO [4b04daec] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/sockets as deploy@3.1.200.152 DEBUG [4b04daec] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230110006/tmp/sockets ) INFO [4b04daec] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [da45ebfe] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/vendor/bundle ] as deploy@3.1.200.152 DEBUG [da45ebfe] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/vendor/bundle ] DEBUG [da45ebfe] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [aa6013ad] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/vendor/bundle ] as deploy@3.1.200.152 DEBUG [aa6013ad] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/vendor/bundle ] DEBUG [aa6013ad] Finished in 0.104 seconds with exit status 1 (failed). INFO [5c324c0e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230110006/vendor/bundle as deploy@3.1.200.152 DEBUG [5c324c0e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230110006/vendor/bundle ) INFO [5c324c0e] Finished in 0.152 seconds with exit status 0 (successful). DEBUG [ec7f91a7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/public/system ] as deploy@3.1.200.152 DEBUG [ec7f91a7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/public/system ] DEBUG [ec7f91a7] Finished in 0.108 seconds with exit status 1 (failed). DEBUG [c17c848d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/public/system ] as deploy@3.1.200.152 DEBUG [c17c848d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/public/system ] DEBUG [c17c848d] Finished in 0.145 seconds with exit status 1 (failed). INFO [e53ba96b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230110006/public/system as deploy@3.1.200.152 DEBUG [e53ba96b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230110006/public/system ) INFO [e53ba96b] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [1ce3c29a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/public/uploads ] as deploy@3.1.200.152 DEBUG [1ce3c29a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110006/public/uploads ] DEBUG [1ce3c29a] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [04efe627] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/public/uploads ] as deploy@3.1.200.152 DEBUG [04efe627] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110006/public/uploads ] DEBUG [04efe627] Finished in 0.103 seconds with exit status 1 (failed). INFO [aaee7524] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230110006/public/uploads as deploy@3.1.200.152 DEBUG [aaee7524] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230110006/public/uploads ) INFO [aaee7524] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [f41ffae8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f41ffae8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi DEBUG [f41ffae8] Finished in 0.105 seconds with exit status 0 (successful). INFO [944d2e4f] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [944d2e4f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110006 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [944d2e4f] Finished in 0.347 seconds with exit status 0 (successful). INFO [cc6ccf44] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [cc6ccf44] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110006 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [cc6ccf44] Finished in 0.303 seconds with exit status 0 (successful). INFO [d204d87b] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [d204d87b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110006 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [d204d87b] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [5aa34c91] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [5aa34c91] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi DEBUG [5aa34c91] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [2b550b0c] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [2b550b0c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110006 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [2b550b0c] The Gemfile's dependencies are satisfied DEBUG [2b550b0c] Finished in 0.549 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [c5e76586] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c5e76586] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110006; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110006'" 1>&2; false; fi DEBUG [c5e76586] Finished in 0.097 seconds with exit status 0 (successful). INFO [83efe2f8] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [83efe2f8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110006 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [83efe2f8] Finished in 1.434 seconds with exit status 0 (successful). INFO [42b893af] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230110006 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [42b893af] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230110006 /home/deploy/apps/aoumi_server/releases/current ) INFO [42b893af] Finished in 0.105 seconds with exit status 0 (successful). INFO [a462abdb] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [a462abdb] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [a462abdb] Finished in 0.154 seconds with exit status 0 (successful). DEBUG [2d2330a5] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [2d2330a5] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [2d2330a5] 20221230102437 20221230103629 20221230104241 20221230105240 20221230105746 20221230110006 DEBUG [2d2330a5] Finished in 0.105 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [552a632a] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [552a632a] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [552a632a] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [96d0583f] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [96d0583f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [96d0583f] /home/deploy/apps/aoumi_server/releases/20221230110006 DEBUG [96d0583f] Finished in 0.107 seconds with exit status 0 (successful). INFO [8c729979] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102437 as deploy@3.1.200.152 DEBUG [8c729979] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230102437 ) INFO [8c729979] Finished in 0.153 seconds with exit status 0 (successful). DEBUG [175814f9] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [175814f9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [175814f9] Finished in 0.102 seconds with exit status 0 (successful). INFO [4eccd38d] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230110006 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [4eccd38d] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230110006 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [4eccd38d] Finished in 0.144 seconds with exit status 0 (successful). INFO [a36e6019] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [a36e6019] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [a36e6019] Warning: The unit file, source configuration file or drop-ins of puma_aoumi_server_development.service changed on disk. Run 'systemctl daemon-reload' to reload units. INFO [a36e6019] Finished in 0.125 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 18:07:06 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [96e68b38] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [96e68b38] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [96e68b38] Finished in 1.062 seconds with exit status 0 (successful). INFO [efce8e31] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [efce8e31] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [efce8e31] Finished in 0.101 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-8eff8648a025e88df1fb.sh 0.0% INFO Uploading /tmp/git-ssh-8eff8648a025e88df1fb.sh 100.0% INFO [b7d51e26] Running /usr/bin/env chmod 700 /tmp/git-ssh-8eff8648a025e88df1fb.sh as deploy@3.1.200.152 DEBUG [b7d51e26] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-8eff8648a025e88df1fb.sh ) INFO [b7d51e26] Finished in 0.105 seconds with exit status 0 (successful). INFO [ea3f45dd] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [ea3f45dd] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8eff8648a025e88df1fb.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ea3f45dd] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [ea3f45dd] Finished in 3.076 seconds with exit status 0 (successful). INFO [8de5dd2c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [8de5dd2c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [8de5dd2c] Finished in 0.107 seconds with exit status 0 (successful). INFO [9eee8078] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [9eee8078] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [9eee8078] Finished in 0.102 seconds with exit status 0 (successful). INFO [757ba6ce] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [757ba6ce] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [757ba6ce] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [dd0f3ffc] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [dd0f3ffc] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [dd0f3ffc] Finished in 0.104 seconds with exit status 0 (successful). DEBUG [b72539bf] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [b72539bf] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [b72539bf] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [50c0cffe] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [50c0cffe] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [50c0cffe] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [95b248bc] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [95b248bc] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [95b248bc] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [45fa7a42] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [45fa7a42] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [45fa7a42] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [45fa7a42] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [11fb2b40] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [11fb2b40] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [11fb2b40] Finished in 0.143 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [38f0a132] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [38f0a132] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [38f0a132] Finished in 0.101 seconds with exit status 0 (successful). INFO [e618e645] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [e618e645] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8eff8648a025e88df1fb.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e618e645] Finished in 0.150 seconds with exit status 0 (successful). INFO [4216cae8] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [4216cae8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8eff8648a025e88df1fb.sh" ; /usr/bin/env git remote update --prune ) DEBUG [4216cae8] Fetching origin INFO [4216cae8] Finished in 2.908 seconds with exit status 0 (successful). DEBUG [00a9293d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [00a9293d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [00a9293d] Finished in 0.100 seconds with exit status 0 (successful). INFO [659fa1be] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110712 as deploy@3.1.200.152 DEBUG [659fa1be] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8eff8648a025e88df1fb.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110712 ) INFO [659fa1be] Finished in 0.117 seconds with exit status 0 (successful). INFO [b68e9c7c] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230110712 as deploy@3.1.200.152 DEBUG [b68e9c7c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8eff8648a025e88df1fb.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230110712 ) INFO [b68e9c7c] Finished in 0.216 seconds with exit status 0 (successful). DEBUG [f210e95b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [f210e95b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f210e95b] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [97e21e68] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [97e21e68] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-8eff8648a025e88df1fb.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [97e21e68] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [97e21e68] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [e2a56e1d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [e2a56e1d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi DEBUG [e2a56e1d] Finished in 0.103 seconds with exit status 0 (successful). INFO [22b21618] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [22b21618] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110712 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [22b21618] Finished in 0.147 seconds with exit status 0 (successful). INFO [96ed3d1b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110712 /home/deploy/apps/aoumi_server/releases/20221230110712/config as deploy@3.1.200.152 DEBUG [96ed3d1b] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110712 /home/deploy/apps/aoumi_server/releases/20221230110712/config ) INFO [96ed3d1b] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [935aa01d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/.env ] as deploy@3.1.200.152 DEBUG [935aa01d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/.env ] DEBUG [935aa01d] Finished in 0.151 seconds with exit status 1 (failed). DEBUG [2073d37b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230110712/.env ] as deploy@3.1.200.152 DEBUG [2073d37b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230110712/.env ] DEBUG [2073d37b] Finished in 0.103 seconds with exit status 0 (successful). INFO [6ba05c27] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110712/.env as deploy@3.1.200.152 DEBUG [6ba05c27] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110712/.env ) INFO [6ba05c27] Finished in 0.149 seconds with exit status 0 (successful). INFO [ccc0f9c7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230110712/.env as deploy@3.1.200.152 DEBUG [ccc0f9c7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230110712/.env ) INFO [ccc0f9c7] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [463d47c3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml ] as deploy@3.1.200.152 DEBUG [463d47c3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml ] DEBUG [463d47c3] Finished in 0.148 seconds with exit status 1 (failed). DEBUG [e68f8f24] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml ] as deploy@3.1.200.152 DEBUG [e68f8f24] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml ] DEBUG [e68f8f24] Finished in 0.102 seconds with exit status 0 (successful). INFO [26798121] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml as deploy@3.1.200.152 DEBUG [26798121] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml ) INFO [26798121] Finished in 0.145 seconds with exit status 0 (successful). INFO [abdefec9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml as deploy@3.1.200.152 DEBUG [abdefec9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230110712/config/database.yml ) INFO [abdefec9] Finished in 0.105 seconds with exit status 0 (successful). INFO [a01594b8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110712 /home/deploy/apps/aoumi_server/releases/20221230110712/tmp /home/deploy/apps/aoumi_server/releases/20221230110712/vendor /home/deploy/apps/aoumi_server/releases/20221230110712/public as deploy@3.1.200.152 DEBUG [a01594b8] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230110712 /home/deploy/apps/aoumi_server/releases/20221230110712/tmp /home/deploy/apps/aoumi_server/releases/20221230110712/vendor /home/deploy/apps/aoumi_server/releases/20221230110712/public ) INFO [a01594b8] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [f551a384] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/log ] as deploy@3.1.200.152 DEBUG [f551a384] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/log ] DEBUG [f551a384] Finished in 0.107 seconds with exit status 1 (failed). DEBUG [ef549f91] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/log ] as deploy@3.1.200.152 DEBUG [ef549f91] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/log ] DEBUG [ef549f91] Finished in 0.145 seconds with exit status 0 (successful). INFO [128d22ac] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110712/log as deploy@3.1.200.152 DEBUG [128d22ac] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110712/log ) INFO [128d22ac] Finished in 0.108 seconds with exit status 0 (successful). INFO [1657689f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230110712/log as deploy@3.1.200.152 DEBUG [1657689f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230110712/log ) INFO [1657689f] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [f0d580cb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids ] as deploy@3.1.200.152 DEBUG [f0d580cb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids ] DEBUG [f0d580cb] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [ea5f5b15] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids ] as deploy@3.1.200.152 DEBUG [ea5f5b15] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids ] DEBUG [ea5f5b15] Finished in 0.148 seconds with exit status 0 (successful). INFO [39efa1c2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids as deploy@3.1.200.152 DEBUG [39efa1c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids ) INFO [39efa1c2] Finished in 0.105 seconds with exit status 0 (successful). INFO [11607926] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids as deploy@3.1.200.152 DEBUG [11607926] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/pids ) INFO [11607926] Finished in 0.150 seconds with exit status 0 (successful). DEBUG [1d39084e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/cache ] as deploy@3.1.200.152 DEBUG [1d39084e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/cache ] DEBUG [1d39084e] Finished in 0.109 seconds with exit status 1 (failed). DEBUG [293e72af] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/cache ] as deploy@3.1.200.152 DEBUG [293e72af] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/cache ] DEBUG [293e72af] Finished in 0.148 seconds with exit status 1 (failed). INFO [ba488128] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/cache as deploy@3.1.200.152 DEBUG [ba488128] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/cache ) INFO [ba488128] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [44e11208] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/sockets ] as deploy@3.1.200.152 DEBUG [44e11208] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/sockets ] DEBUG [44e11208] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [263386d0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/sockets ] as deploy@3.1.200.152 DEBUG [263386d0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/sockets ] DEBUG [263386d0] Finished in 0.109 seconds with exit status 1 (failed). INFO [a1c1275a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/sockets as deploy@3.1.200.152 DEBUG [a1c1275a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230110712/tmp/sockets ) INFO [a1c1275a] Finished in 0.147 seconds with exit status 0 (successful). DEBUG [f6f25eea] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/vendor/bundle ] as deploy@3.1.200.152 DEBUG [f6f25eea] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/vendor/bundle ] DEBUG [f6f25eea] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [5374d0fc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/vendor/bundle ] as deploy@3.1.200.152 DEBUG [5374d0fc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/vendor/bundle ] DEBUG [5374d0fc] Finished in 0.150 seconds with exit status 1 (failed). INFO [49db63c2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230110712/vendor/bundle as deploy@3.1.200.152 DEBUG [49db63c2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230110712/vendor/bundle ) INFO [49db63c2] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [f86eca70] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/public/system ] as deploy@3.1.200.152 DEBUG [f86eca70] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/public/system ] DEBUG [f86eca70] Finished in 0.144 seconds with exit status 1 (failed). DEBUG [a2169401] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/public/system ] as deploy@3.1.200.152 DEBUG [a2169401] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/public/system ] DEBUG [a2169401] Finished in 0.116 seconds with exit status 1 (failed). INFO [47845994] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230110712/public/system as deploy@3.1.200.152 DEBUG [47845994] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230110712/public/system ) INFO [47845994] Finished in 0.146 seconds with exit status 0 (successful). DEBUG [4afa350f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/public/uploads ] as deploy@3.1.200.152 DEBUG [4afa350f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230110712/public/uploads ] DEBUG [4afa350f] Finished in 0.109 seconds with exit status 1 (failed). DEBUG [a54be481] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/public/uploads ] as deploy@3.1.200.152 DEBUG [a54be481] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230110712/public/uploads ] DEBUG [a54be481] Finished in 0.146 seconds with exit status 1 (failed). INFO [1d7031ee] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230110712/public/uploads as deploy@3.1.200.152 DEBUG [1d7031ee] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230110712/public/uploads ) INFO [1d7031ee] Finished in 0.105 seconds with exit status 0 (successful). DEBUG [1bbb6dee] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1bbb6dee] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi DEBUG [1bbb6dee] Finished in 0.148 seconds with exit status 0 (successful). INFO [7b56e65e] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [7b56e65e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110712 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [7b56e65e] Finished in 0.303 seconds with exit status 0 (successful). INFO [cfb92170] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [cfb92170] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110712 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [cfb92170] Finished in 0.344 seconds with exit status 0 (successful). INFO [09eb74a2] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [09eb74a2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110712 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [09eb74a2] Finished in 0.305 seconds with exit status 0 (successful). DEBUG [570ea612] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [570ea612] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi DEBUG [570ea612] Finished in 0.144 seconds with exit status 0 (successful). DEBUG [ed8bf081] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [ed8bf081] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110712 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [ed8bf081] The Gemfile's dependencies are satisfied DEBUG [ed8bf081] Finished in 0.553 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [6e169142] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [6e169142] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230110712; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230110712'" 1>&2; false; fi DEBUG [6e169142] Finished in 0.152 seconds with exit status 0 (successful). INFO [6f8c99b6] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [6f8c99b6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230110712 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [6f8c99b6] Finished in 1.381 seconds with exit status 0 (successful). INFO [d57c8760] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230110712 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [d57c8760] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230110712 /home/deploy/apps/aoumi_server/releases/current ) INFO [d57c8760] Finished in 0.156 seconds with exit status 0 (successful). INFO [b5f8a946] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [b5f8a946] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [b5f8a946] Finished in 0.107 seconds with exit status 0 (successful). DEBUG [394918f6] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [394918f6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [394918f6] 20221230103629 20221230104241 20221230105240 20221230105746 20221230110006 20221230110712 DEBUG [394918f6] Finished in 0.152 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [553cd3c1] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [553cd3c1] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [553cd3c1] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [1695dda4] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [1695dda4] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [1695dda4] /home/deploy/apps/aoumi_server/releases/20221230110712 DEBUG [1695dda4] Finished in 0.146 seconds with exit status 0 (successful). INFO [e36fd540] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230103629 as deploy@3.1.200.152 DEBUG [e36fd540] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230103629 ) INFO [e36fd540] Finished in 0.112 seconds with exit status 0 (successful). DEBUG [9b3bcd55] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9b3bcd55] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [9b3bcd55] Finished in 0.143 seconds with exit status 0 (successful). INFO [932a8535] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230110712 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [932a8535] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230110712 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [932a8535] Finished in 0.105 seconds with exit status 0 (successful). INFO [83df8923] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [83df8923] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) DEBUG [83df8923] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 18:20:25 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ac526d07] Running [ -d $HOME/.rbenv/versions/3.0.0 ] as deploy@3.1.200.152 DEBUG [ac526d07] Command: [ -d $HOME/.rbenv/versions/3.0.0 ] DEBUG [ac526d07] Finished in 0.999 seconds with exit status 0 (successful). INFO [63a68a01] Running /usr/bin/env mkdir -p /tmp as deploy@3.1.200.152 DEBUG [63a68a01] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /tmp ) INFO [63a68a01] Finished in 0.095 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-a3766302042f44f5ceb3.sh 0.0% INFO Uploading /tmp/git-ssh-a3766302042f44f5ceb3.sh 100.0% INFO [c15583de] Running /usr/bin/env chmod 700 /tmp/git-ssh-a3766302042f44f5ceb3.sh as deploy@3.1.200.152 DEBUG [c15583de] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env chmod 700 /tmp/git-ssh-a3766302042f44f5ceb3.sh ) INFO [c15583de] Finished in 0.101 seconds with exit status 0 (successful). INFO [09e3c278] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@3.1.200.152 DEBUG [09e3c278] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3766302042f44f5ceb3.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [09e3c278] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [09e3c278] Finished in 2.972 seconds with exit status 0 (successful). INFO [8509a970] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [8509a970] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases ) INFO [8509a970] Finished in 0.099 seconds with exit status 0 (successful). INFO [b96050d0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@3.1.200.152 DEBUG [b96050d0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads ) INFO [b96050d0] Finished in 0.100 seconds with exit status 0 (successful). INFO [65d4c156] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@3.1.200.152 DEBUG [65d4c156] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config ) INFO [65d4c156] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [caac42b4] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@3.1.200.152 DEBUG [caac42b4] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [caac42b4] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [1efda554] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@3.1.200.152 DEBUG [1efda554] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [1efda554] Finished in 0.143 seconds with exit status 0 (successful). DEBUG [87534c5c] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@3.1.200.152 DEBUG [87534c5c] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [87534c5c] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [504eb8dd] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@3.1.200.152 DEBUG [504eb8dd] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [504eb8dd] Finished in 0.142 seconds with exit status 0 (successful). DEBUG [cd6271c1] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@3.1.200.152 DEBUG [cd6271c1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null ) DEBUG [cd6271c1] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [cd6271c1] Finished in 0.108 seconds with exit status 0 (successful). DEBUG [b6fdc539] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@3.1.200.152 DEBUG [b6fdc539] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [b6fdc539] Finished in 0.140 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [c7ea2842] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [c7ea2842] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c7ea2842] Finished in 0.110 seconds with exit status 0 (successful). INFO [17c63d1a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@3.1.200.152 DEBUG [17c63d1a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3766302042f44f5ceb3.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [17c63d1a] Finished in 0.147 seconds with exit status 0 (successful). INFO [671d9b04] Running /usr/bin/env git remote update --prune as deploy@3.1.200.152 DEBUG [671d9b04] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3766302042f44f5ceb3.sh" ; /usr/bin/env git remote update --prune ) DEBUG [671d9b04] Fetching origin INFO [671d9b04] Finished in 2.935 seconds with exit status 0 (successful). DEBUG [410358e0] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [410358e0] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [410358e0] Finished in 0.103 seconds with exit status 0 (successful). INFO [65132cdf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230112030 as deploy@3.1.200.152 DEBUG [65132cdf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3766302042f44f5ceb3.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230112030 ) INFO [65132cdf] Finished in 0.103 seconds with exit status 0 (successful). INFO [088727dc] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230112030 as deploy@3.1.200.152 DEBUG [088727dc] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3766302042f44f5ceb3.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230112030 ) INFO [088727dc] Finished in 0.203 seconds with exit status 0 (successful). DEBUG [52258dba] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [52258dba] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [52258dba] Finished in 0.100 seconds with exit status 0 (successful). DEBUG [d6f95960] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@3.1.200.152 DEBUG [d6f95960] Command: cd /home/deploy/apps/aoumi_server/repo && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a3766302042f44f5ceb3.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d6f95960] 87ad102f4f6f94dc776f7298085836f6614a60c8 DEBUG [d6f95960] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [1b27214b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [1b27214b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi DEBUG [1b27214b] Finished in 0.105 seconds with exit status 0 (successful). INFO [1879fb97] Running /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION as deploy@3.1.200.152 DEBUG [1879fb97] Command: cd /home/deploy/apps/aoumi_server/releases/20221230112030 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "87ad102f4f6f94dc776f7298085836f6614a60c8" > REVISION ) INFO [1879fb97] Finished in 0.143 seconds with exit status 0 (successful). INFO [4ecff3e7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230112030 /home/deploy/apps/aoumi_server/releases/20221230112030/config as deploy@3.1.200.152 DEBUG [4ecff3e7] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230112030 /home/deploy/apps/aoumi_server/releases/20221230112030/config ) INFO [4ecff3e7] Finished in 0.102 seconds with exit status 0 (successful). DEBUG [d8f4b94f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/.env ] as deploy@3.1.200.152 DEBUG [d8f4b94f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/.env ] DEBUG [d8f4b94f] Finished in 0.146 seconds with exit status 1 (failed). DEBUG [64c4bb70] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230112030/.env ] as deploy@3.1.200.152 DEBUG [64c4bb70] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230112030/.env ] DEBUG [64c4bb70] Finished in 0.104 seconds with exit status 0 (successful). INFO [bb588d29] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230112030/.env as deploy@3.1.200.152 DEBUG [bb588d29] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230112030/.env ) INFO [bb588d29] Finished in 0.146 seconds with exit status 0 (successful). INFO [beb58ec1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230112030/.env as deploy@3.1.200.152 DEBUG [beb58ec1] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230112030/.env ) INFO [beb58ec1] Finished in 0.101 seconds with exit status 0 (successful). DEBUG [ce1fca72] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml ] as deploy@3.1.200.152 DEBUG [ce1fca72] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml ] DEBUG [ce1fca72] Finished in 0.149 seconds with exit status 1 (failed). DEBUG [b860a7db] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml ] as deploy@3.1.200.152 DEBUG [b860a7db] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml ] DEBUG [b860a7db] Finished in 0.104 seconds with exit status 0 (successful). INFO [8462d08a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml as deploy@3.1.200.152 DEBUG [8462d08a] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml ) INFO [8462d08a] Finished in 0.146 seconds with exit status 0 (successful). INFO [49a13585] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml as deploy@3.1.200.152 DEBUG [49a13585] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230112030/config/database.yml ) INFO [49a13585] Finished in 0.104 seconds with exit status 0 (successful). INFO [176c2610] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230112030 /home/deploy/apps/aoumi_server/releases/20221230112030/tmp /home/deploy/apps/aoumi_server/releases/20221230112030/vendor /home/deploy/apps/aoumi_server/releases/20221230112030/public as deploy@3.1.200.152 DEBUG [176c2610] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230112030 /home/deploy/apps/aoumi_server/releases/20221230112030/tmp /home/deploy/apps/aoumi_server/releases/20221230112030/vendor /home/deploy/apps/aoumi_server/releases/20221230112030/public ) INFO [176c2610] Finished in 0.148 seconds with exit status 0 (successful). DEBUG [d85785f0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/log ] as deploy@3.1.200.152 DEBUG [d85785f0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/log ] DEBUG [d85785f0] Finished in 0.102 seconds with exit status 1 (failed). DEBUG [7508e321] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/log ] as deploy@3.1.200.152 DEBUG [7508e321] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/log ] DEBUG [7508e321] Finished in 0.145 seconds with exit status 0 (successful). INFO [f112a9d9] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230112030/log as deploy@3.1.200.152 DEBUG [f112a9d9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230112030/log ) INFO [f112a9d9] Finished in 0.106 seconds with exit status 0 (successful). INFO [46e904b2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230112030/log as deploy@3.1.200.152 DEBUG [46e904b2] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230112030/log ) INFO [46e904b2] Finished in 0.151 seconds with exit status 0 (successful). DEBUG [588d30d0] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids ] as deploy@3.1.200.152 DEBUG [588d30d0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids ] DEBUG [588d30d0] Finished in 0.103 seconds with exit status 1 (failed). DEBUG [2729f915] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids ] as deploy@3.1.200.152 DEBUG [2729f915] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids ] DEBUG [2729f915] Finished in 0.143 seconds with exit status 0 (successful). INFO [08086ad9] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids as deploy@3.1.200.152 DEBUG [08086ad9] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids ) INFO [08086ad9] Finished in 0.108 seconds with exit status 0 (successful). INFO [fb3b4174] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids as deploy@3.1.200.152 DEBUG [fb3b4174] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/pids ) INFO [fb3b4174] Finished in 0.145 seconds with exit status 0 (successful). DEBUG [aa61926a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/cache ] as deploy@3.1.200.152 DEBUG [aa61926a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/cache ] DEBUG [aa61926a] Finished in 0.101 seconds with exit status 1 (failed). DEBUG [3d66e372] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/cache ] as deploy@3.1.200.152 DEBUG [3d66e372] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/cache ] DEBUG [3d66e372] Finished in 0.146 seconds with exit status 1 (failed). INFO [3c866e1e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/cache as deploy@3.1.200.152 DEBUG [3c866e1e] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/cache ) INFO [3c866e1e] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [d7fc71b4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/sockets ] as deploy@3.1.200.152 DEBUG [d7fc71b4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/sockets ] DEBUG [d7fc71b4] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [635c1a71] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/sockets ] as deploy@3.1.200.152 DEBUG [635c1a71] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/sockets ] DEBUG [635c1a71] Finished in 0.106 seconds with exit status 1 (failed). INFO [542d39c6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/sockets as deploy@3.1.200.152 DEBUG [542d39c6] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230112030/tmp/sockets ) INFO [542d39c6] Finished in 0.149 seconds with exit status 0 (successful). DEBUG [6332d328] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/vendor/bundle ] as deploy@3.1.200.152 DEBUG [6332d328] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/vendor/bundle ] DEBUG [6332d328] Finished in 0.099 seconds with exit status 1 (failed). DEBUG [a95a77db] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/vendor/bundle ] as deploy@3.1.200.152 DEBUG [a95a77db] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/vendor/bundle ] DEBUG [a95a77db] Finished in 0.369 seconds with exit status 1 (failed). INFO [e019475d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230112030/vendor/bundle as deploy@3.1.200.152 DEBUG [e019475d] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230112030/vendor/bundle ) INFO [e019475d] Finished in 0.435 seconds with exit status 0 (successful). DEBUG [f23a01c1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/public/system ] as deploy@3.1.200.152 DEBUG [f23a01c1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/public/system ] DEBUG [f23a01c1] Finished in 0.351 seconds with exit status 1 (failed). DEBUG [b87f982e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/public/system ] as deploy@3.1.200.152 DEBUG [b87f982e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/public/system ] DEBUG [b87f982e] Finished in 0.209 seconds with exit status 1 (failed). INFO [9b6163e0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230112030/public/system as deploy@3.1.200.152 DEBUG [9b6163e0] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230112030/public/system ) INFO [9b6163e0] Finished in 0.280 seconds with exit status 0 (successful). DEBUG [0d598cbe] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/public/uploads ] as deploy@3.1.200.152 DEBUG [0d598cbe] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230112030/public/uploads ] DEBUG [0d598cbe] Finished in 0.346 seconds with exit status 1 (failed). DEBUG [d3d7c20d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/public/uploads ] as deploy@3.1.200.152 DEBUG [d3d7c20d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230112030/public/uploads ] DEBUG [d3d7c20d] Finished in 0.313 seconds with exit status 1 (failed). INFO [de020b1f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230112030/public/uploads as deploy@3.1.200.152 DEBUG [de020b1f] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230112030/public/uploads ) INFO [de020b1f] Finished in 0.343 seconds with exit status 0 (successful). DEBUG [562007aa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [562007aa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi DEBUG [562007aa] Finished in 0.351 seconds with exit status 0 (successful). INFO [d103be44] Running $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true as deploy@3.1.200.152 DEBUG [d103be44] Command: cd /home/deploy/apps/aoumi_server/releases/20221230112030 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true ) INFO [d103be44] Finished in 0.320 seconds with exit status 0 (successful). INFO [f5620512] Running $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@3.1.200.152 DEBUG [f5620512] Command: cd /home/deploy/apps/aoumi_server/releases/20221230112030 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle ) INFO [f5620512] Finished in 0.375 seconds with exit status 0 (successful). INFO [ca4e46bc] Running $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test as deploy@3.1.200.152 DEBUG [ca4e46bc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230112030 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle config --local without development:test ) INFO [ca4e46bc] Finished in 0.442 seconds with exit status 0 (successful). DEBUG [d14d275c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [d14d275c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi DEBUG [d14d275c] Finished in 0.175 seconds with exit status 0 (successful). DEBUG [54c7bda6] Running $HOME/.rbenv/bin/rbenv exec bundle check as deploy@3.1.200.152 DEBUG [54c7bda6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230112030 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; $HOME/.rbenv/bin/rbenv exec bundle check ) DEBUG [54c7bda6] The Gemfile's dependencies are satisfied DEBUG [54c7bda6] Finished in 0.540 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [9c11fe81] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [9c11fe81] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230112030; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230112030'" 1>&2; false; fi DEBUG [9c11fe81] Finished in 0.171 seconds with exit status 0 (successful). INFO [794aa98f] Running $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate as deploy@3.1.200.152 DEBUG [794aa98f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230112030 && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" RAILS_ENV="development" ; $HOME/.rbenv/bin/rbenv exec bundle exec rake db:migrate ) INFO [794aa98f] Finished in 1.342 seconds with exit status 0 (successful). INFO [6415d329] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230112030 /home/deploy/apps/aoumi_server/releases/current as deploy@3.1.200.152 DEBUG [6415d329] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230112030 /home/deploy/apps/aoumi_server/releases/current ) INFO [6415d329] Finished in 0.158 seconds with exit status 0 (successful). INFO [c4402e93] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@3.1.200.152 DEBUG [c4402e93] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server ) INFO [c4402e93] Finished in 0.106 seconds with exit status 0 (successful). DEBUG [c9cb6970] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@3.1.200.152 DEBUG [c9cb6970] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases ) DEBUG [c9cb6970] 20221230104241 20221230105240 20221230105746 20221230110006 20221230110712 20221230112030 DEBUG [c9cb6970] Finished in 0.151 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 3.1.200.152 DEBUG [e01a1dea] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@3.1.200.152 DEBUG [e01a1dea] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [e01a1dea] Finished in 0.103 seconds with exit status 0 (successful). DEBUG [f478794c] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@3.1.200.152 DEBUG [f478794c] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env readlink /home/deploy/apps/aoumi_server/current ) DEBUG [f478794c] /home/deploy/apps/aoumi_server/releases/20221230112030 DEBUG [f478794c] Finished in 0.150 seconds with exit status 0 (successful). INFO [297c1045] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230104241 as deploy@3.1.200.152 DEBUG [297c1045] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230104241 ) INFO [297c1045] Finished in 0.110 seconds with exit status 0 (successful). DEBUG [4b84e6ba] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@3.1.200.152 DEBUG [4b84e6ba] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [4b84e6ba] Finished in 0.144 seconds with exit status 0 (successful). INFO [eb06e015] Running /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230112030 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@3.1.200.152 DEBUG [eb06e015] Command: cd /home/deploy/apps/aoumi_server/releases && ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env echo "Branch develop (at 87ad102f4f6f94dc776f7298085836f6614a60c8) deployed as release 20221230112030 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log ) INFO [eb06e015] Finished in 0.107 seconds with exit status 0 (successful). INFO [abaebd52] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@3.1.200.152 DEBUG [abaebd52] Command: ( export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="3.0.0" ; /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development ) INFO [abaebd52] Finished in 0.165 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 20:49:57 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [aea6b33b] Running ~/.rvm/bin/rvm version as deploy@3.1.200.152 DEBUG [aea6b33b] Command: ~/.rvm/bin/rvm version DEBUG [aea6b33b] bash: /home/deploy/.rvm/bin/rvm: No such file or directory INFO --------------------------------------------------------------------------- INFO START 2022-12-30 20:52:55 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [4e7235b9] Running ~/.rvm/bin/rvm version as deploy@3.1.200.152 DEBUG [4e7235b9] Command: ~/.rvm/bin/rvm version DEBUG [4e7235b9] bash: /home/deploy/.rvm/bin/rvm: No such file or directory INFO --------------------------------------------------------------------------- INFO START 2022-12-30 21:28:53 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [b07df6f8] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [b07df6f8] Command: ~/.rvm/bin/rvm version DEBUG [b07df6f8] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [b07df6f8] Finished in 2.888 seconds with exit status 0 (successful). DEBUG [6b36d771] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [6b36d771] Command: ~/.rvm/bin/rvm current DEBUG [6b36d771] ruby-3.0.0 DEBUG [6b36d771] Finished in 0.535 seconds with exit status 0 (successful). DEBUG [da0bed6a] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [da0bed6a] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [da0bed6a] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [da0bed6a] Finished in 0.831 seconds with exit status 0 (successful). INFO [4885f2a8] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [4885f2a8] Command: /usr/bin/env mkdir -p /tmp INFO [4885f2a8] Finished in 0.383 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-f2005cb9b8e27a18b9b6.sh 0.0% INFO Uploading /tmp/git-ssh-f2005cb9b8e27a18b9b6.sh 100.0% INFO [3a90fe23] Running /usr/bin/env chmod 700 /tmp/git-ssh-f2005cb9b8e27a18b9b6.sh as deploy@54.179.173.86 DEBUG [3a90fe23] Command: /usr/bin/env chmod 700 /tmp/git-ssh-f2005cb9b8e27a18b9b6.sh INFO [3a90fe23] Finished in 0.389 seconds with exit status 0 (successful). INFO [6fbc6220] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [6fbc6220] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-f2005cb9b8e27a18b9b6.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [6fbc6220] Warning: Permanently added 'github.com,20.205.243.166' (ECDSA) to the list of known hosts. DEBUG [6fbc6220] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [6fbc6220] Finished in 3.573 seconds with exit status 0 (successful). INFO [eb5c761f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [eb5c761f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [eb5c761f] Finished in 0.386 seconds with exit status 0 (successful). INFO [cd9bf64a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [cd9bf64a] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/log’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/tmp’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/tmp’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/tmp’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/vendor’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/public’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] DEBUG [cd9bf64a] mkdir: DEBUG [cd9bf64a] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/public’ DEBUG [cd9bf64a] : Permission denied DEBUG [cd9bf64a] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 21:30:38 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [9719f776] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [9719f776] Command: ~/.rvm/bin/rvm version DEBUG [9719f776] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [9719f776] Finished in 2.315 seconds with exit status 0 (successful). DEBUG [de6d5691] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [de6d5691] Command: ~/.rvm/bin/rvm current DEBUG [de6d5691] ruby-3.0.0 DEBUG [de6d5691] Finished in 1.041 seconds with exit status 0 (successful). DEBUG [c2747865] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [c2747865] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [c2747865] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [c2747865] Finished in 1.131 seconds with exit status 0 (successful). INFO [00a4ea28] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [00a4ea28] Command: /usr/bin/env mkdir -p /tmp INFO [00a4ea28] Finished in 0.723 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-be82d9750eacc0a3f13b.sh 0.0% INFO Uploading /tmp/git-ssh-be82d9750eacc0a3f13b.sh 100.0% INFO [561b0e3c] Running /usr/bin/env chmod 700 /tmp/git-ssh-be82d9750eacc0a3f13b.sh as deploy@54.179.173.86 DEBUG [561b0e3c] Command: /usr/bin/env chmod 700 /tmp/git-ssh-be82d9750eacc0a3f13b.sh INFO [561b0e3c] Finished in 0.563 seconds with exit status 0 (successful). INFO [d7cb409e] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [d7cb409e] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-be82d9750eacc0a3f13b.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d7cb409e] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [d7cb409e] Finished in 3.472 seconds with exit status 0 (successful). INFO [6f369d00] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [6f369d00] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [6f369d00] Finished in 0.390 seconds with exit status 0 (successful). INFO [fec8b995] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [fec8b995] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/log’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/tmp’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/tmp’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/tmp’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/vendor’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/public’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] DEBUG [fec8b995] mkdir: DEBUG [fec8b995] cannot create directory ‘/home/deploy/apps/aoumi_server/shared/public’ DEBUG [fec8b995] : Permission denied DEBUG [fec8b995] INFO --------------------------------------------------------------------------- INFO START 2022-12-30 21:32:23 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [98ba1d06] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [98ba1d06] Command: ~/.rvm/bin/rvm version DEBUG [98ba1d06] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [98ba1d06] Finished in 2.258 seconds with exit status 0 (successful). DEBUG [32b89bee] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [32b89bee] Command: ~/.rvm/bin/rvm current DEBUG [32b89bee] ruby-3.0.0 DEBUG [32b89bee] Finished in 0.572 seconds with exit status 0 (successful). DEBUG [5a00e016] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [5a00e016] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [5a00e016] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [5a00e016] Finished in 0.821 seconds with exit status 0 (successful). INFO [c53ac2b7] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [c53ac2b7] Command: /usr/bin/env mkdir -p /tmp INFO [c53ac2b7] Finished in 0.385 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-ac676813ced35e74773e.sh 0.0% INFO Uploading /tmp/git-ssh-ac676813ced35e74773e.sh 100.0% INFO [3c9ca72f] Running /usr/bin/env chmod 700 /tmp/git-ssh-ac676813ced35e74773e.sh as deploy@54.179.173.86 DEBUG [3c9ca72f] Command: /usr/bin/env chmod 700 /tmp/git-ssh-ac676813ced35e74773e.sh INFO [3c9ca72f] Finished in 0.386 seconds with exit status 0 (successful). INFO [e693832f] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [e693832f] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e693832f] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [e693832f] Finished in 3.374 seconds with exit status 0 (successful). INFO [e7542981] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [e7542981] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [e7542981] Finished in 0.387 seconds with exit status 0 (successful). INFO [4aa84fbd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [4aa84fbd] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [4aa84fbd] Finished in 0.351 seconds with exit status 0 (successful). INFO [61d87cd7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [61d87cd7] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [61d87cd7] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [72f221ba] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [72f221ba] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [72f221ba] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [95565176] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [95565176] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [95565176] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [ac223d59] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [ac223d59] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ac223d59] Finished in 0.386 seconds with exit status 1 (failed). WARN puma.rb NOT FOUND! DEBUG Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 0.0% INFO Uploading /home/deploy/apps/aoumi_server/shared/puma.rb 100.0% INFO puma.rb generated DEBUG [26b9a9ea] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [26b9a9ea] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [26b9a9ea] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [860a91ac] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [860a91ac] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [860a91ac] Finished in 0.385 seconds with exit status 1 (failed). DEBUG [7abad9af] Running if test ! -d /home/deploy/apps/aoumi_server; then echo "Directory does not exist '/home/deploy/apps/aoumi_server'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7abad9af] Command: if test ! -d /home/deploy/apps/aoumi_server; then echo "Directory does not exist '/home/deploy/apps/aoumi_server'" 1>&2; false; fi DEBUG [7abad9af] Finished in 0.386 seconds with exit status 0 (successful). INFO [02ad29f4] Running /usr/bin/env git clone --mirror git@github.com:huythanh176/aoumi_server.git /home/deploy/apps/aoumi_server/repo as deploy@54.179.173.86 DEBUG [02ad29f4] Command: cd /home/deploy/apps/aoumi_server && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env git clone --mirror git@github.com:huythanh176/aoumi_server.git /home/deploy/apps/aoumi_server/repo ) DEBUG [02ad29f4] Cloning into bare repository '/home/deploy/apps/aoumi_server/repo'... INFO [02ad29f4] Finished in 5.157 seconds with exit status 0 (successful). DEBUG [9a6c7bdb] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [9a6c7bdb] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9a6c7bdb] Finished in 0.387 seconds with exit status 0 (successful). INFO [a70962da] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [a70962da] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [a70962da] Finished in 0.390 seconds with exit status 0 (successful). INFO [d93bc96e] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [d93bc96e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env git remote update --prune ) DEBUG [d93bc96e] Fetching origin INFO [d93bc96e] Finished in 3.492 seconds with exit status 0 (successful). DEBUG [bb5e2873] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [bb5e2873] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [bb5e2873] Finished in 0.387 seconds with exit status 0 (successful). INFO [2dfa146f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143235 as deploy@54.179.173.86 DEBUG [2dfa146f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143235 ) INFO [2dfa146f] Finished in 0.384 seconds with exit status 0 (successful). INFO [4a4d23ae] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230143235 as deploy@54.179.173.86 DEBUG [4a4d23ae] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230143235 ) INFO [4a4d23ae] Finished in 0.416 seconds with exit status 0 (successful). DEBUG [20a33674] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [20a33674] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [20a33674] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [4602a298] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [4602a298] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-ac676813ced35e74773e.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [4602a298] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [4602a298] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [f4472532] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143235; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143235'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [f4472532] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143235; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143235'" 1>&2; false; fi DEBUG [f4472532] Finished in 0.387 seconds with exit status 0 (successful). INFO [1eb11bb1] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [1eb11bb1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143235 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [1eb11bb1] Finished in 0.387 seconds with exit status 0 (successful). INFO [d9fdfcef] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143235 /home/deploy/apps/aoumi_server/releases/20221230143235/config as deploy@54.179.173.86 DEBUG [d9fdfcef] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143235 /home/deploy/apps/aoumi_server/releases/20221230143235/config INFO [d9fdfcef] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [4dda95c4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/.env ] as deploy@54.179.173.86 DEBUG [4dda95c4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/.env ] DEBUG [4dda95c4] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [d250f4e4] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230143235/.env ] as deploy@54.179.173.86 DEBUG [d250f4e4] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230143235/.env ] DEBUG [d250f4e4] Finished in 0.388 seconds with exit status 0 (successful). INFO [4b07439b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143235/.env as deploy@54.179.173.86 DEBUG [4b07439b] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143235/.env INFO [4b07439b] Finished in 0.389 seconds with exit status 0 (successful). INFO [8de31eba] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230143235/.env as deploy@54.179.173.86 DEBUG [8de31eba] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230143235/.env INFO [8de31eba] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [9e7e6cd2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml ] as deploy@54.179.173.86 DEBUG [9e7e6cd2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml ] DEBUG [9e7e6cd2] Finished in 0.385 seconds with exit status 1 (failed). DEBUG [8b8649cb] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml ] as deploy@54.179.173.86 DEBUG [8b8649cb] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml ] DEBUG [8b8649cb] Finished in 0.392 seconds with exit status 0 (successful). INFO [c13469f3] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml as deploy@54.179.173.86 DEBUG [c13469f3] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml INFO [c13469f3] Finished in 0.387 seconds with exit status 0 (successful). INFO [b867e851] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml as deploy@54.179.173.86 DEBUG [b867e851] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230143235/config/database.yml INFO [b867e851] Finished in 0.385 seconds with exit status 0 (successful). INFO [74477ef6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143235 /home/deploy/apps/aoumi_server/releases/20221230143235/tmp /home/deploy/apps/aoumi_server/releases/20221230143235/vendor /home/deploy/apps/aoumi_server/releases/20221230143235/public as deploy@54.179.173.86 DEBUG [74477ef6] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143235 /home/deploy/apps/aoumi_server/releases/20221230143235/tmp /home/deploy/apps/aoumi_server/releases/20221230143235/vendor /home/deploy/apps/aoumi_server/releases/20221230143235/public INFO [74477ef6] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [aa3b3559] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/log ] as deploy@54.179.173.86 DEBUG [aa3b3559] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/log ] DEBUG [aa3b3559] Finished in 0.415 seconds with exit status 1 (failed). DEBUG [fd5114e9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/log ] as deploy@54.179.173.86 DEBUG [fd5114e9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/log ] DEBUG [fd5114e9] Finished in 0.389 seconds with exit status 0 (successful). INFO [1d8b7b7d] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143235/log as deploy@54.179.173.86 DEBUG [1d8b7b7d] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143235/log INFO [1d8b7b7d] Finished in 0.400 seconds with exit status 0 (successful). INFO [41919e9a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230143235/log as deploy@54.179.173.86 DEBUG [41919e9a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230143235/log INFO [41919e9a] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [6468c6ba] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids ] as deploy@54.179.173.86 DEBUG [6468c6ba] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids ] DEBUG [6468c6ba] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [8a33eea7] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids ] as deploy@54.179.173.86 DEBUG [8a33eea7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids ] DEBUG [8a33eea7] Finished in 0.386 seconds with exit status 0 (successful). INFO [9e130abf] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids as deploy@54.179.173.86 DEBUG [9e130abf] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids INFO [9e130abf] Finished in 0.386 seconds with exit status 0 (successful). INFO [72164770] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids as deploy@54.179.173.86 DEBUG [72164770] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/pids INFO [72164770] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [e7adf44b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/cache ] as deploy@54.179.173.86 DEBUG [e7adf44b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/cache ] DEBUG [e7adf44b] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [9411c331] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/cache ] as deploy@54.179.173.86 DEBUG [9411c331] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/cache ] DEBUG [9411c331] Finished in 0.388 seconds with exit status 1 (failed). INFO [62f17497] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/cache as deploy@54.179.173.86 DEBUG [62f17497] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/cache INFO [62f17497] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [9a3c7b1e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/sockets ] as deploy@54.179.173.86 DEBUG [9a3c7b1e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/sockets ] DEBUG [9a3c7b1e] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [5d5dc634] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/sockets ] as deploy@54.179.173.86 DEBUG [5d5dc634] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/sockets ] DEBUG [5d5dc634] Finished in 0.398 seconds with exit status 1 (failed). INFO [89f79974] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/sockets as deploy@54.179.173.86 DEBUG [89f79974] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230143235/tmp/sockets INFO [89f79974] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [be507100] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/vendor/bundle ] as deploy@54.179.173.86 DEBUG [be507100] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/vendor/bundle ] DEBUG [be507100] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [c8b43ed1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/vendor/bundle ] as deploy@54.179.173.86 DEBUG [c8b43ed1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/vendor/bundle ] DEBUG [c8b43ed1] Finished in 0.387 seconds with exit status 1 (failed). INFO [0dfdcf9f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230143235/vendor/bundle as deploy@54.179.173.86 DEBUG [0dfdcf9f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230143235/vendor/bundle INFO [0dfdcf9f] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [8913d30b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/public/system ] as deploy@54.179.173.86 DEBUG [8913d30b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/public/system ] DEBUG [8913d30b] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [07541a23] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/public/system ] as deploy@54.179.173.86 DEBUG [07541a23] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/public/system ] DEBUG [07541a23] Finished in 0.389 seconds with exit status 1 (failed). INFO [a1f21a5f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230143235/public/system as deploy@54.179.173.86 DEBUG [a1f21a5f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230143235/public/system INFO [a1f21a5f] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [ae05a94e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/public/uploads ] as deploy@54.179.173.86 DEBUG [ae05a94e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143235/public/uploads ] DEBUG [ae05a94e] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [f2ac4549] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/public/uploads ] as deploy@54.179.173.86 DEBUG [f2ac4549] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143235/public/uploads ] DEBUG [f2ac4549] Finished in 0.389 seconds with exit status 1 (failed). INFO [0bc03d2b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230143235/public/uploads as deploy@54.179.173.86 DEBUG [0bc03d2b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230143235/public/uploads INFO [0bc03d2b] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [858cab4e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143235; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143235'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [858cab4e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143235; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143235'" 1>&2; false; fi DEBUG [858cab4e] Finished in 0.385 seconds with exit status 0 (successful). INFO [45185d4e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [45185d4e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143235 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [45185d4e] Finished in 1.103 seconds with exit status 0 (successful). INFO [c35445f1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [c35445f1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143235 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [c35445f1] Finished in 0.957 seconds with exit status 0 (successful). INFO [3dd8860c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [3dd8860c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143235 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [3dd8860c] Finished in 1.024 seconds with exit status 0 (successful). DEBUG [ea0f9c59] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143235; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143235'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ea0f9c59] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143235; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143235'" 1>&2; false; fi DEBUG [ea0f9c59] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [e8181a1a] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [e8181a1a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143235 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [e8181a1a] The following gems are missing DEBUG [e8181a1a] * rails (7.0.3.1) DEBUG [e8181a1a] * mysql2 (0.5.4) DEBUG [e8181a1a] * puma (5.6.4) DEBUG [e8181a1a] * config (4.0.0) DEBUG [e8181a1a] * bootsnap (1.12.0) DEBUG [e8181a1a] * rack-cors (1.1.1) DEBUG [e8181a1a] * devise (4.8.1) DEBUG [e8181a1a] * jwt (2.4.1) DEBUG [e8181a1a] * dotenv-rails (2.7.6) DEBUG [e8181a1a] * actioncable (7.0.3.1) DEBUG [e8181a1a] * actionmailbox (7.0.3.1) DEBUG [e8181a1a] * actionmailer (7.0.3.1) DEBUG [e8181a1a] * actionpack (7.0.3.1) DEBUG [e8181a1a] * actiontext (7.0.3.1) DEBUG [e8181a1a] * actionview (7.0.3.1) DEBUG [e8181a1a] * activejob (7.0.3.1) DEBUG [e8181a1a] * activemodel (7.0.3.1) DEBUG [e8181a1a] * activerecord (7.0.3.1) DEBUG [e8181a1a] * activestorage (7.0.3.1) DEBUG [e8181a1a] * activesupport (7.0.3.1) DEBUG [e8181a1a] * railties (7.0.3.1) DEBUG [e8181a1a] * nio4r (2.5.8) DEBUG [e8181a1a] * deep_merge (1.2.2) DEBUG [e8181a1a] * dry-validation (1.8.1) DEBUG [e8181a1a] * msgpack (1.4.5) DEBUG [e8181a1a] * rack (2.2.4) DEBUG [e8181a1a] * bcrypt (3.1.17) DEBUG [e8181a1a] * orm_adapter (0.5.0) DEBUG [e8181a1a] * responders (3.0.1) DEBUG [e8181a1a] * warden (1.2.9) DEBUG [e8181a1a] * dotenv (2.7.6) DEBUG [e8181a1a] * websocket-driver (0.7.5) DEBUG [e8181a1a] * mail (2.7.1) DEBUG [e8181a1a] * net-imap (0.2.3) DEBUG [e8181a1a] * net-smtp (0.3.1) DEBUG [e8181a1a] * rails-dom-testing (2.0.3) DEBUG [e8181a1a] * rack-test (2.0.2) DEBUG [e8181a1a] * rails-html-sanitizer (1.4.3) DEBUG [e8181a1a] * globalid (1.0.0) DEBUG [e8181a1a] * nokogiri (1.13.7) DEBUG [e8181a1a] * builder (3.2.4) DEBUG [e8181a1a] * erubi (1.10.0) DEBUG [e8181a1a] * marcel (1.0.2) DEBUG [e8181a1a] * mini_mime (1.1.2) DEBUG [e8181a1a] * concurrent-ruby (1.1.10) DEBUG [e8181a1a] * i18n (1.12.0) DEBUG [e8181a1a] * minitest (5.16.2) DEBUG [e8181a1a] * tzinfo (2.0.5) DEBUG [e8181a1a] * method_source (1.0.0) DEBUG [e8181a1a] * rake (13.0.6) DEBUG [e8181a1a] * thor (1.2.1) DEBUG [e8181a1a] * zeitwerk (2.6.0) DEBUG [e8181a1a] * dry-container (0.10.0) DEBUG [e8181a1a] * dry-core (0.8.0) DEBUG [e8181a1a] * dry-initializer (3.1.1) DEBUG [e8181a1a] * dry-schema (1.9.3) DEBUG [e8181a1a] * websocket-extensions (0.1.5) DEBUG [e8181a1a] * digest (3.1.0) DEBUG [e8181a1a] * net-protocol (0.1.3) DEBUG [e8181a1a] * strscan (3.0.3) DEBUG [e8181a1a] * timeout (0.3.0) DEBUG [e8181a1a] * loofah (2.18.0) DEBUG [e8181a1a] * racc (1.6.0) DEBUG [e8181a1a] * dry-configurable (0.15.0) DEBUG [e8181a1a] * dry-logic (1.2.0) DEBUG [e8181a1a] * dry-types (1.5.1) DEBUG [e8181a1a] * crass (1.0.6) DEBUG [e8181a1a] * dry-inflector (0.3.0) DEBUG [e8181a1a] Install missing gems with `bundle install` DEBUG [e8181a1a] Finished in 1.070 seconds with exit status 1 (failed). INFO [6924d8c5] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet as deploy@54.179.173.86 DEBUG [6924d8c5] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143235 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet DEBUG [6924d8c5] Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4/ext/mysql2 /home/deploy/.rvm/rubies/ruby-3.0.0/bin/ruby -I /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0 -r ./siteconf20221230-27348-4oco3k.rb extconf.rb checking for rb_absint_size()... yes checking for rb_absint_singlebit_p()... yes checking for rb_wait_for_single_fd()... yes checking for rb_enc_interned_str() in ruby.h... yes *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/deploy/.rvm/rubies/ruby-3.0.0/bin/$(RUBY_BASE_NAME) --with-mysql-dir --without-mysql-dir --with-mysql-include --without-mysql-include=${mysql-dir}/include --with-mysql-lib --without-mysql-lib=${mysql-dir}/lib --with-mysql-config --without-mysql-config --with-mysqlclient-dir --without-mysqlclient-dir --with-mysqlclient-include --without-mysqlclient-include=${mysqlclient-dir}/include --with-mysqlclient-lib --without-mysqlclient-lib=${mysqlclient-dir}/lib --with-mysqlclientlib --without-mysqlclientlib /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/mkmf.rb:1050:in `block in find_library': undefined method `split' for nil:NilClass (NoMethodError) from /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/mkmf.rb:1050:in `collect' from /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/mkmf.rb:1050:in `find_library' from extconf.rb:103:in `
' To see why this extension failed to compile, please check the mkmf.log which can be found here: /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0/mysql2-0.5.4/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/gems/mysql2-0.5.4 for inspection. Results logged to /home/deploy/apps/aoumi_server/shared/bundle/ruby/3.0.0/extensions/x86_64-linux/3.0.0/mysql2-0.5.4/gem_make.out /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/builder.rb:90:in `run' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:48:in `block in build' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/tempfile.rb:317:in `open' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/ext_conf_builder.rb:28:in `build' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/builder.rb:156:in `build_extension' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/builder.rb:190:in `block in build_extensions' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/builder.rb:187:in `each' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/ext/builder.rb:187:in `build_extensions' /home/deploy/.rvm/rubies/ruby-3.0.0/lib/ruby/3.0.0/rubygems/installer.rb:821:in `build_extensions' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/rubygems_gem_installer.rb:72:in `build_extensions' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/rubygems_gem_installer.rb:28:in `install' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/source/rubygems.rb:200:in `install' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/installer/gem_installer.rb:54:in `install' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/installer/parallel_installer.rb:155:in `do_install' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/installer/parallel_installer.rb:146:in `block in worker_pool' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/worker.rb:62:in `apply_func' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/worker.rb:57:in `block in process_queue' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/worker.rb:54:in `loop' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/worker.rb:54:in `process_queue' /home/deploy/.rvm/gems/ruby-3.0.0/gems/bundler-2.4.1/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads' An error occurred while installing mysql2 (0.5.4), and Bundler cannot continue. In Gemfile: mysql2 INFO --------------------------------------------------------------------------- INFO START 2022-12-30 21:34:43 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [4dfb2a17] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [4dfb2a17] Command: ~/.rvm/bin/rvm version DEBUG [4dfb2a17] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [4dfb2a17] Finished in 2.320 seconds with exit status 0 (successful). DEBUG [641f4666] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [641f4666] Command: ~/.rvm/bin/rvm current DEBUG [641f4666] ruby-3.0.0 DEBUG [641f4666] Finished in 0.572 seconds with exit status 0 (successful). DEBUG [bb722187] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [bb722187] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [bb722187] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [bb722187] Finished in 0.740 seconds with exit status 0 (successful). INFO [dc0b2698] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [dc0b2698] Command: /usr/bin/env mkdir -p /tmp INFO [dc0b2698] Finished in 0.390 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-12b56ca12b2d3dc06c99.sh 0.0% INFO Uploading /tmp/git-ssh-12b56ca12b2d3dc06c99.sh 100.0% INFO [5d495fad] Running /usr/bin/env chmod 700 /tmp/git-ssh-12b56ca12b2d3dc06c99.sh as deploy@54.179.173.86 DEBUG [5d495fad] Command: /usr/bin/env chmod 700 /tmp/git-ssh-12b56ca12b2d3dc06c99.sh INFO [5d495fad] Finished in 0.389 seconds with exit status 0 (successful). INFO [4783f586] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [4783f586] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12b56ca12b2d3dc06c99.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [4783f586] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [4783f586] Finished in 3.391 seconds with exit status 0 (successful). INFO [9edc1068] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [9edc1068] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [9edc1068] Finished in 0.391 seconds with exit status 0 (successful). INFO [067a2a4b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [067a2a4b] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [067a2a4b] Finished in 0.391 seconds with exit status 0 (successful). INFO [dfb2a59c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [dfb2a59c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [dfb2a59c] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [752422cd] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [752422cd] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [752422cd] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [69c8ef26] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [69c8ef26] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [69c8ef26] Finished in 0.394 seconds with exit status 0 (successful). DEBUG [a4f65a63] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [a4f65a63] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [a4f65a63] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [aa8d64bf] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [aa8d64bf] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [aa8d64bf] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [3a64e696] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [3a64e696] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [3a64e696] Finished in 0.388 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [677b3d2c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [677b3d2c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [677b3d2c] Finished in 0.387 seconds with exit status 0 (successful). INFO [5e210714] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [5e210714] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12b56ca12b2d3dc06c99.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [5e210714] Finished in 0.388 seconds with exit status 0 (successful). INFO [7a3acc4d] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [7a3acc4d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12b56ca12b2d3dc06c99.sh" ; /usr/bin/env git remote update --prune ) DEBUG [7a3acc4d] Fetching origin INFO [7a3acc4d] Finished in 3.411 seconds with exit status 0 (successful). DEBUG [623f3751] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [623f3751] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [623f3751] Finished in 0.392 seconds with exit status 0 (successful). INFO [b5b98026] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143454 as deploy@54.179.173.86 DEBUG [b5b98026] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12b56ca12b2d3dc06c99.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143454 ) INFO [b5b98026] Finished in 0.390 seconds with exit status 0 (successful). INFO [45ebedc7] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230143454 as deploy@54.179.173.86 DEBUG [45ebedc7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12b56ca12b2d3dc06c99.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230143454 ) INFO [45ebedc7] Finished in 0.427 seconds with exit status 0 (successful). DEBUG [ec628ded] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ec628ded] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ec628ded] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [ca7512bc] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [ca7512bc] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-12b56ca12b2d3dc06c99.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [ca7512bc] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [ca7512bc] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [8e01130a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8e01130a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi DEBUG [8e01130a] Finished in 0.391 seconds with exit status 0 (successful). INFO [6a1cd05a] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [6a1cd05a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [6a1cd05a] Finished in 0.389 seconds with exit status 0 (successful). INFO [dbd41b85] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143454 /home/deploy/apps/aoumi_server/releases/20221230143454/config as deploy@54.179.173.86 DEBUG [dbd41b85] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143454 /home/deploy/apps/aoumi_server/releases/20221230143454/config INFO [dbd41b85] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [698a8e87] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/.env ] as deploy@54.179.173.86 DEBUG [698a8e87] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/.env ] DEBUG [698a8e87] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [7e397e5e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230143454/.env ] as deploy@54.179.173.86 DEBUG [7e397e5e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230143454/.env ] DEBUG [7e397e5e] Finished in 0.391 seconds with exit status 0 (successful). INFO [91e2858f] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143454/.env as deploy@54.179.173.86 DEBUG [91e2858f] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143454/.env INFO [91e2858f] Finished in 0.392 seconds with exit status 0 (successful). INFO [e5d85dfa] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230143454/.env as deploy@54.179.173.86 DEBUG [e5d85dfa] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230143454/.env INFO [e5d85dfa] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [9cca2fb3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml ] as deploy@54.179.173.86 DEBUG [9cca2fb3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml ] DEBUG [9cca2fb3] Finished in 0.392 seconds with exit status 1 (failed). DEBUG [dc402297] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml ] as deploy@54.179.173.86 DEBUG [dc402297] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml ] DEBUG [dc402297] Finished in 0.396 seconds with exit status 0 (successful). INFO [5c9f0dde] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml as deploy@54.179.173.86 DEBUG [5c9f0dde] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml INFO [5c9f0dde] Finished in 0.390 seconds with exit status 0 (successful). INFO [b5ad2137] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml as deploy@54.179.173.86 DEBUG [b5ad2137] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230143454/config/database.yml INFO [b5ad2137] Finished in 0.402 seconds with exit status 0 (successful). INFO [4c33710c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143454 /home/deploy/apps/aoumi_server/releases/20221230143454/tmp /home/deploy/apps/aoumi_server/releases/20221230143454/vendor /home/deploy/apps/aoumi_server/releases/20221230143454/public as deploy@54.179.173.86 DEBUG [4c33710c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143454 /home/deploy/apps/aoumi_server/releases/20221230143454/tmp /home/deploy/apps/aoumi_server/releases/20221230143454/vendor /home/deploy/apps/aoumi_server/releases/20221230143454/public INFO [4c33710c] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [b2bd4080] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/log ] as deploy@54.179.173.86 DEBUG [b2bd4080] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/log ] DEBUG [b2bd4080] Finished in 0.391 seconds with exit status 1 (failed). DEBUG [ce6741fe] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/log ] as deploy@54.179.173.86 DEBUG [ce6741fe] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/log ] DEBUG [ce6741fe] Finished in 0.389 seconds with exit status 0 (successful). INFO [c42b3ef7] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143454/log as deploy@54.179.173.86 DEBUG [c42b3ef7] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143454/log INFO [c42b3ef7] Finished in 0.393 seconds with exit status 0 (successful). INFO [e5cefd1d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230143454/log as deploy@54.179.173.86 DEBUG [e5cefd1d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230143454/log INFO [e5cefd1d] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [7ac44a91] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids ] as deploy@54.179.173.86 DEBUG [7ac44a91] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids ] DEBUG [7ac44a91] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [09a704da] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids ] as deploy@54.179.173.86 DEBUG [09a704da] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids ] DEBUG [09a704da] Finished in 0.386 seconds with exit status 0 (successful). INFO [c8fd39e5] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids as deploy@54.179.173.86 DEBUG [c8fd39e5] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids INFO [c8fd39e5] Finished in 0.392 seconds with exit status 0 (successful). INFO [2fbfb61b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids as deploy@54.179.173.86 DEBUG [2fbfb61b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/pids INFO [2fbfb61b] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [922e60f7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/cache ] as deploy@54.179.173.86 DEBUG [922e60f7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/cache ] DEBUG [922e60f7] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [ce481a39] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/cache ] as deploy@54.179.173.86 DEBUG [ce481a39] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/cache ] DEBUG [ce481a39] Finished in 0.390 seconds with exit status 1 (failed). INFO [c3593b54] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/cache as deploy@54.179.173.86 DEBUG [c3593b54] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/cache INFO [c3593b54] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [17ae3b21] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/sockets ] as deploy@54.179.173.86 DEBUG [17ae3b21] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/sockets ] DEBUG [17ae3b21] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [823ad8fe] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/sockets ] as deploy@54.179.173.86 DEBUG [823ad8fe] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/sockets ] DEBUG [823ad8fe] Finished in 0.397 seconds with exit status 1 (failed). INFO [ca281664] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/sockets as deploy@54.179.173.86 DEBUG [ca281664] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230143454/tmp/sockets INFO [ca281664] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [e9770c33] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/vendor/bundle ] as deploy@54.179.173.86 DEBUG [e9770c33] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/vendor/bundle ] DEBUG [e9770c33] Finished in 0.391 seconds with exit status 1 (failed). DEBUG [8b4643f4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/vendor/bundle ] as deploy@54.179.173.86 DEBUG [8b4643f4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/vendor/bundle ] DEBUG [8b4643f4] Finished in 0.391 seconds with exit status 1 (failed). INFO [beaabccf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230143454/vendor/bundle as deploy@54.179.173.86 DEBUG [beaabccf] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230143454/vendor/bundle INFO [beaabccf] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [b61fa321] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/public/system ] as deploy@54.179.173.86 DEBUG [b61fa321] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/public/system ] DEBUG [b61fa321] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [1c0343b2] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/public/system ] as deploy@54.179.173.86 DEBUG [1c0343b2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/public/system ] DEBUG [1c0343b2] Finished in 0.392 seconds with exit status 1 (failed). INFO [1dc877d1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230143454/public/system as deploy@54.179.173.86 DEBUG [1dc877d1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230143454/public/system INFO [1dc877d1] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [ef51eb13] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/public/uploads ] as deploy@54.179.173.86 DEBUG [ef51eb13] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143454/public/uploads ] DEBUG [ef51eb13] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [d2863748] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/public/uploads ] as deploy@54.179.173.86 DEBUG [d2863748] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143454/public/uploads ] DEBUG [d2863748] Finished in 0.395 seconds with exit status 1 (failed). INFO [7d18b8bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230143454/public/uploads as deploy@54.179.173.86 DEBUG [7d18b8bc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230143454/public/uploads INFO [7d18b8bc] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [c3111e2f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c3111e2f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi DEBUG [c3111e2f] Finished in 0.388 seconds with exit status 0 (successful). INFO [6ea6c13d] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [6ea6c13d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [6ea6c13d] Finished in 1.139 seconds with exit status 0 (successful). INFO [eb4a6718] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [eb4a6718] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [eb4a6718] Finished in 0.984 seconds with exit status 0 (successful). INFO [ce134b33] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [ce134b33] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [ce134b33] Finished in 0.958 seconds with exit status 0 (successful). DEBUG [872755ff] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [872755ff] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi DEBUG [872755ff] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [030dfb0e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [030dfb0e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [030dfb0e] The following gems are missing DEBUG [030dfb0e] * mysql2 (0.5.4) DEBUG [030dfb0e] Install missing gems with `bundle install` DEBUG [030dfb0e] Finished in 1.147 seconds with exit status 1 (failed). INFO [ff2484cc] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet as deploy@54.179.173.86 DEBUG [ff2484cc] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet INFO [ff2484cc] Finished in 12.146 seconds with exit status 0 (successful). INFO [deploy:migrate] Run `rake db:migrate` DEBUG [4be85636] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [4be85636] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143454; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143454'" 1>&2; false; fi DEBUG [4be85636] Finished in 0.386 seconds with exit status 0 (successful). INFO [21feb065] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [21feb065] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143454 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [21feb065] Finished in 3.909 seconds with exit status 0 (successful). INFO [557151f0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230143454 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [557151f0] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230143454 /home/deploy/apps/aoumi_server/releases/current INFO [557151f0] Finished in 0.389 seconds with exit status 0 (successful). INFO [c33b6d6f] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [c33b6d6f] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [c33b6d6f] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [f2d68754] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [f2d68754] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [f2d68754] 20221230143235 20221230143454 DEBUG [f2d68754] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [e9ca2cd6] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e9ca2cd6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [e9ca2cd6] Finished in 0.390 seconds with exit status 0 (successful). INFO [96d2bd90] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230143454 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [96d2bd90] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230143454 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [96d2bd90] Finished in 0.386 seconds with exit status 0 (successful). INFO [52420fd6] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [52420fd6] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [52420fd6] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 21:37:08 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ddba4120] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [ddba4120] Command: ~/.rvm/bin/rvm version DEBUG [ddba4120] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [ddba4120] Finished in 2.209 seconds with exit status 0 (successful). DEBUG [093886c6] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [093886c6] Command: ~/.rvm/bin/rvm current DEBUG [093886c6] ruby-3.0.0 DEBUG [093886c6] Finished in 0.579 seconds with exit status 0 (successful). DEBUG [c20b8166] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [c20b8166] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [c20b8166] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [c20b8166] Finished in 0.781 seconds with exit status 0 (successful). INFO [77223da3] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [77223da3] Command: /usr/bin/env mkdir -p /tmp INFO [77223da3] Finished in 0.387 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-9963233f00bb67f6edaf.sh 0.0% INFO Uploading /tmp/git-ssh-9963233f00bb67f6edaf.sh 100.0% INFO [95986a46] Running /usr/bin/env chmod 700 /tmp/git-ssh-9963233f00bb67f6edaf.sh as deploy@54.179.173.86 DEBUG [95986a46] Command: /usr/bin/env chmod 700 /tmp/git-ssh-9963233f00bb67f6edaf.sh INFO [95986a46] Finished in 0.393 seconds with exit status 0 (successful). INFO [12d5e1f8] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [12d5e1f8] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9963233f00bb67f6edaf.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [12d5e1f8] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [12d5e1f8] Finished in 3.564 seconds with exit status 0 (successful). INFO [cb993fc9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [cb993fc9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [cb993fc9] Finished in 0.392 seconds with exit status 0 (successful). INFO [fead1155] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [fead1155] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [fead1155] Finished in 0.392 seconds with exit status 0 (successful). INFO [1cb35e6d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [1cb35e6d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [1cb35e6d] Finished in 0.394 seconds with exit status 0 (successful). DEBUG [7799bd57] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [7799bd57] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [7799bd57] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [021d123f] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [021d123f] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [021d123f] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [0fa947ef] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [0fa947ef] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [0fa947ef] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [252b17c3] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [252b17c3] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [252b17c3] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [c798fb12] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [c798fb12] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [c798fb12] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [c798fb12] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [133390bd] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [133390bd] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [133390bd] Finished in 0.389 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [b980339d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b980339d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b980339d] Finished in 0.392 seconds with exit status 0 (successful). INFO [ea600649] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [ea600649] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9963233f00bb67f6edaf.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [ea600649] Finished in 0.394 seconds with exit status 0 (successful). INFO [65b80755] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [65b80755] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9963233f00bb67f6edaf.sh" ; /usr/bin/env git remote update --prune ) DEBUG [65b80755] Fetching origin INFO [65b80755] Finished in 3.435 seconds with exit status 0 (successful). DEBUG [550bb5bb] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [550bb5bb] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [550bb5bb] Finished in 0.432 seconds with exit status 0 (successful). INFO [126d4e2f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143720 as deploy@54.179.173.86 DEBUG [126d4e2f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9963233f00bb67f6edaf.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143720 ) INFO [126d4e2f] Finished in 0.395 seconds with exit status 0 (successful). INFO [76119e5f] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230143720 as deploy@54.179.173.86 DEBUG [76119e5f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9963233f00bb67f6edaf.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230143720 ) INFO [76119e5f] Finished in 0.418 seconds with exit status 0 (successful). DEBUG [38c3f24c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [38c3f24c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [38c3f24c] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [fcc4f48d] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [fcc4f48d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9963233f00bb67f6edaf.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [fcc4f48d] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [fcc4f48d] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [f64b9036] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [f64b9036] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi DEBUG [f64b9036] Finished in 0.397 seconds with exit status 0 (successful). INFO [4e311053] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [4e311053] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143720 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [4e311053] Finished in 0.398 seconds with exit status 0 (successful). INFO [222ceba5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143720 /home/deploy/apps/aoumi_server/releases/20221230143720/config as deploy@54.179.173.86 DEBUG [222ceba5] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143720 /home/deploy/apps/aoumi_server/releases/20221230143720/config INFO [222ceba5] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [d1499005] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/.env ] as deploy@54.179.173.86 DEBUG [d1499005] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/.env ] DEBUG [d1499005] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [3e485371] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230143720/.env ] as deploy@54.179.173.86 DEBUG [3e485371] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230143720/.env ] DEBUG [3e485371] Finished in 0.389 seconds with exit status 0 (successful). INFO [b3a0d9eb] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143720/.env as deploy@54.179.173.86 DEBUG [b3a0d9eb] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143720/.env INFO [b3a0d9eb] Finished in 0.392 seconds with exit status 0 (successful). INFO [ada16806] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230143720/.env as deploy@54.179.173.86 DEBUG [ada16806] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230143720/.env INFO [ada16806] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [deeeadc8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml ] as deploy@54.179.173.86 DEBUG [deeeadc8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml ] DEBUG [deeeadc8] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [da79a335] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml ] as deploy@54.179.173.86 DEBUG [da79a335] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml ] DEBUG [da79a335] Finished in 0.389 seconds with exit status 0 (successful). INFO [24ce6532] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml as deploy@54.179.173.86 DEBUG [24ce6532] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml INFO [24ce6532] Finished in 0.392 seconds with exit status 0 (successful). INFO [d0eee99d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml as deploy@54.179.173.86 DEBUG [d0eee99d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230143720/config/database.yml INFO [d0eee99d] Finished in 0.399 seconds with exit status 0 (successful). INFO [dc105380] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143720 /home/deploy/apps/aoumi_server/releases/20221230143720/tmp /home/deploy/apps/aoumi_server/releases/20221230143720/vendor /home/deploy/apps/aoumi_server/releases/20221230143720/public as deploy@54.179.173.86 DEBUG [dc105380] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230143720 /home/deploy/apps/aoumi_server/releases/20221230143720/tmp /home/deploy/apps/aoumi_server/releases/20221230143720/vendor /home/deploy/apps/aoumi_server/releases/20221230143720/public INFO [dc105380] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [841049fa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/log ] as deploy@54.179.173.86 DEBUG [841049fa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/log ] DEBUG [841049fa] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [e81e0284] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/log ] as deploy@54.179.173.86 DEBUG [e81e0284] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/log ] DEBUG [e81e0284] Finished in 0.394 seconds with exit status 0 (successful). INFO [4d156714] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143720/log as deploy@54.179.173.86 DEBUG [4d156714] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143720/log INFO [4d156714] Finished in 0.390 seconds with exit status 0 (successful). INFO [793f67da] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230143720/log as deploy@54.179.173.86 DEBUG [793f67da] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230143720/log INFO [793f67da] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [9025f870] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids ] as deploy@54.179.173.86 DEBUG [9025f870] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids ] DEBUG [9025f870] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [23cb14c3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids ] as deploy@54.179.173.86 DEBUG [23cb14c3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids ] DEBUG [23cb14c3] Finished in 0.392 seconds with exit status 0 (successful). INFO [17e54aee] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids as deploy@54.179.173.86 DEBUG [17e54aee] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids INFO [17e54aee] Finished in 0.389 seconds with exit status 0 (successful). INFO [0a200b54] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids as deploy@54.179.173.86 DEBUG [0a200b54] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/pids INFO [0a200b54] Finished in 0.545 seconds with exit status 0 (successful). DEBUG [1f001d0f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/cache ] as deploy@54.179.173.86 DEBUG [1f001d0f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/cache ] DEBUG [1f001d0f] Finished in 0.392 seconds with exit status 1 (failed). DEBUG [588aa761] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/cache ] as deploy@54.179.173.86 DEBUG [588aa761] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/cache ] DEBUG [588aa761] Finished in 0.392 seconds with exit status 1 (failed). INFO [3e4de203] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/cache as deploy@54.179.173.86 DEBUG [3e4de203] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/cache INFO [3e4de203] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [25007e8e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/sockets ] as deploy@54.179.173.86 DEBUG [25007e8e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/sockets ] DEBUG [25007e8e] Finished in 0.392 seconds with exit status 1 (failed). DEBUG [a97131c8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/sockets ] as deploy@54.179.173.86 DEBUG [a97131c8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/sockets ] DEBUG [a97131c8] Finished in 0.399 seconds with exit status 1 (failed). INFO [c2d4ae02] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/sockets as deploy@54.179.173.86 DEBUG [c2d4ae02] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230143720/tmp/sockets INFO [c2d4ae02] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [c7ba3836] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/vendor/bundle ] as deploy@54.179.173.86 DEBUG [c7ba3836] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/vendor/bundle ] DEBUG [c7ba3836] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [2a2280e5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/vendor/bundle ] as deploy@54.179.173.86 DEBUG [2a2280e5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/vendor/bundle ] DEBUG [2a2280e5] Finished in 0.395 seconds with exit status 1 (failed). INFO [0a16dfe4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230143720/vendor/bundle as deploy@54.179.173.86 DEBUG [0a16dfe4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230143720/vendor/bundle INFO [0a16dfe4] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [9b6e468a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/public/system ] as deploy@54.179.173.86 DEBUG [9b6e468a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/public/system ] DEBUG [9b6e468a] Finished in 0.391 seconds with exit status 1 (failed). DEBUG [fa1c50a9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/public/system ] as deploy@54.179.173.86 DEBUG [fa1c50a9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/public/system ] DEBUG [fa1c50a9] Finished in 0.390 seconds with exit status 1 (failed). INFO [62df759b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230143720/public/system as deploy@54.179.173.86 DEBUG [62df759b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230143720/public/system INFO [62df759b] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [9b8e841b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/public/uploads ] as deploy@54.179.173.86 DEBUG [9b8e841b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230143720/public/uploads ] DEBUG [9b8e841b] Finished in 0.395 seconds with exit status 1 (failed). DEBUG [41f99f94] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/public/uploads ] as deploy@54.179.173.86 DEBUG [41f99f94] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230143720/public/uploads ] DEBUG [41f99f94] Finished in 0.392 seconds with exit status 1 (failed). INFO [31766e85] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230143720/public/uploads as deploy@54.179.173.86 DEBUG [31766e85] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230143720/public/uploads INFO [31766e85] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [540b2ac5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [540b2ac5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi DEBUG [540b2ac5] Finished in 0.392 seconds with exit status 0 (successful). INFO [7d5a8d88] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [7d5a8d88] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143720 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [7d5a8d88] Finished in 0.923 seconds with exit status 0 (successful). INFO [4c690b5c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [4c690b5c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143720 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [4c690b5c] Finished in 0.919 seconds with exit status 0 (successful). INFO [e5cb9d8f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [e5cb9d8f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143720 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [e5cb9d8f] Finished in 0.918 seconds with exit status 0 (successful). DEBUG [b9b9f927] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b9b9f927] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi DEBUG [b9b9f927] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [aa7e3a9f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [aa7e3a9f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143720 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [aa7e3a9f] The Gemfile's dependencies are satisfied DEBUG [aa7e3a9f] Finished in 1.081 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [d0b7b7b5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [d0b7b7b5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230143720; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230143720'" 1>&2; false; fi DEBUG [d0b7b7b5] Finished in 0.386 seconds with exit status 0 (successful). INFO [1d389326] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [1d389326] Command: cd /home/deploy/apps/aoumi_server/releases/20221230143720 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [1d389326] Finished in 1.925 seconds with exit status 0 (successful). INFO [3eb83863] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230143720 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [3eb83863] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230143720 /home/deploy/apps/aoumi_server/releases/current INFO [3eb83863] Finished in 0.357 seconds with exit status 0 (successful). INFO [69cd1720] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [69cd1720] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [69cd1720] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [5e9466d3] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [5e9466d3] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [5e9466d3] 20221230143235 20221230143454 20221230143720 DEBUG [5e9466d3] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [cebf9304] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [cebf9304] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [cebf9304] Finished in 0.388 seconds with exit status 0 (successful). INFO [1fbf1302] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230143720 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [1fbf1302] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230143720 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [1fbf1302] Finished in 0.389 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:10:33 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [5e4a038f] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [5e4a038f] Command: ~/.rvm/bin/rvm version DEBUG [5e4a038f] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [5e4a038f] Finished in 2.073 seconds with exit status 0 (successful). DEBUG [ef3d61f3] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [ef3d61f3] Command: ~/.rvm/bin/rvm current DEBUG [ef3d61f3] ruby-3.0.0 DEBUG [ef3d61f3] Finished in 0.563 seconds with exit status 0 (successful). DEBUG [9554b40b] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [9554b40b] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [9554b40b] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [9554b40b] Finished in 0.762 seconds with exit status 0 (successful). INFO [a378e5c1] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [a378e5c1] Command: /usr/bin/env mkdir -p /tmp INFO [a378e5c1] Finished in 0.377 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-1e9facf937e8a3d8fd92.sh 0.0% INFO Uploading /tmp/git-ssh-1e9facf937e8a3d8fd92.sh 100.0% INFO [403d5752] Running /usr/bin/env chmod 700 /tmp/git-ssh-1e9facf937e8a3d8fd92.sh as deploy@54.179.173.86 DEBUG [403d5752] Command: /usr/bin/env chmod 700 /tmp/git-ssh-1e9facf937e8a3d8fd92.sh INFO [403d5752] Finished in 0.384 seconds with exit status 0 (successful). INFO [e0a22944] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [e0a22944] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1e9facf937e8a3d8fd92.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e0a22944] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [e0a22944] Finished in 3.398 seconds with exit status 0 (successful). INFO [5edf6dd1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [5edf6dd1] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [5edf6dd1] Finished in 0.388 seconds with exit status 0 (successful). INFO [738c4c41] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [738c4c41] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [738c4c41] Finished in 0.380 seconds with exit status 0 (successful). INFO [30ad4bc8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [30ad4bc8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [30ad4bc8] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [a10e398f] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [a10e398f] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [a10e398f] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [9e9f67d6] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [9e9f67d6] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [9e9f67d6] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [b8ffe27e] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [b8ffe27e] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [b8ffe27e] Finished in 0.381 seconds with exit status 0 (successful). DEBUG [328b806f] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [328b806f] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [328b806f] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [e2effd78] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [e2effd78] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [e2effd78] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [e2effd78] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [33642dc2] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [33642dc2] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [33642dc2] Finished in 0.379 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [b52ad377] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b52ad377] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b52ad377] Finished in 0.382 seconds with exit status 0 (successful). INFO [1de4028b] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [1de4028b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1e9facf937e8a3d8fd92.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [1de4028b] Finished in 0.380 seconds with exit status 0 (successful). INFO [23fba62c] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [23fba62c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1e9facf937e8a3d8fd92.sh" ; /usr/bin/env git remote update --prune ) DEBUG [23fba62c] Fetching origin INFO [23fba62c] Finished in 3.505 seconds with exit status 0 (successful). DEBUG [9eb138bc] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [9eb138bc] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9eb138bc] Finished in 0.382 seconds with exit status 0 (successful). INFO [8202fc57] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151044 as deploy@54.179.173.86 DEBUG [8202fc57] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1e9facf937e8a3d8fd92.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151044 ) INFO [8202fc57] Finished in 0.386 seconds with exit status 0 (successful). INFO [0600a9e0] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230151044 as deploy@54.179.173.86 DEBUG [0600a9e0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1e9facf937e8a3d8fd92.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230151044 ) INFO [0600a9e0] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [0d627f11] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [0d627f11] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [0d627f11] Finished in 0.381 seconds with exit status 0 (successful). DEBUG [0c779ff8] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [0c779ff8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1e9facf937e8a3d8fd92.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [0c779ff8] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [0c779ff8] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [1a13b775] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1a13b775] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi DEBUG [1a13b775] Finished in 0.382 seconds with exit status 0 (successful). INFO [626848ef] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [626848ef] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151044 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [626848ef] Finished in 0.404 seconds with exit status 0 (successful). INFO [61a3c6cf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151044 /home/deploy/apps/aoumi_server/releases/20221230151044/config as deploy@54.179.173.86 DEBUG [61a3c6cf] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151044 /home/deploy/apps/aoumi_server/releases/20221230151044/config INFO [61a3c6cf] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [ccb3e0a6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/.env ] as deploy@54.179.173.86 DEBUG [ccb3e0a6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/.env ] DEBUG [ccb3e0a6] Finished in 0.381 seconds with exit status 1 (failed). DEBUG [27edd73b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230151044/.env ] as deploy@54.179.173.86 DEBUG [27edd73b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230151044/.env ] DEBUG [27edd73b] Finished in 0.393 seconds with exit status 0 (successful). INFO [aa24c820] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151044/.env as deploy@54.179.173.86 DEBUG [aa24c820] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151044/.env INFO [aa24c820] Finished in 0.385 seconds with exit status 0 (successful). INFO [09b7fd20] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230151044/.env as deploy@54.179.173.86 DEBUG [09b7fd20] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230151044/.env INFO [09b7fd20] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [00b32d64] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml ] as deploy@54.179.173.86 DEBUG [00b32d64] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml ] DEBUG [00b32d64] Finished in 0.383 seconds with exit status 1 (failed). DEBUG [3f81d8bf] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml ] as deploy@54.179.173.86 DEBUG [3f81d8bf] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml ] DEBUG [3f81d8bf] Finished in 0.382 seconds with exit status 0 (successful). INFO [8a3d009d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml as deploy@54.179.173.86 DEBUG [8a3d009d] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml INFO [8a3d009d] Finished in 0.383 seconds with exit status 0 (successful). INFO [550b8450] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml as deploy@54.179.173.86 DEBUG [550b8450] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230151044/config/database.yml INFO [550b8450] Finished in 0.384 seconds with exit status 0 (successful). INFO [992855c3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151044 /home/deploy/apps/aoumi_server/releases/20221230151044/tmp /home/deploy/apps/aoumi_server/releases/20221230151044/vendor /home/deploy/apps/aoumi_server/releases/20221230151044/public as deploy@54.179.173.86 DEBUG [992855c3] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151044 /home/deploy/apps/aoumi_server/releases/20221230151044/tmp /home/deploy/apps/aoumi_server/releases/20221230151044/vendor /home/deploy/apps/aoumi_server/releases/20221230151044/public INFO [992855c3] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [f525d465] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/log ] as deploy@54.179.173.86 DEBUG [f525d465] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/log ] DEBUG [f525d465] Finished in 0.381 seconds with exit status 1 (failed). DEBUG [091cd106] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/log ] as deploy@54.179.173.86 DEBUG [091cd106] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/log ] DEBUG [091cd106] Finished in 0.383 seconds with exit status 0 (successful). INFO [b60443a5] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151044/log as deploy@54.179.173.86 DEBUG [b60443a5] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151044/log INFO [b60443a5] Finished in 0.380 seconds with exit status 0 (successful). INFO [80daf69d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230151044/log as deploy@54.179.173.86 DEBUG [80daf69d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230151044/log INFO [80daf69d] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [909dd238] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids ] as deploy@54.179.173.86 DEBUG [909dd238] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids ] DEBUG [909dd238] Finished in 0.380 seconds with exit status 1 (failed). DEBUG [f8e185f0] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids ] as deploy@54.179.173.86 DEBUG [f8e185f0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids ] DEBUG [f8e185f0] Finished in 0.386 seconds with exit status 0 (successful). INFO [04f31f1b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids as deploy@54.179.173.86 DEBUG [04f31f1b] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids INFO [04f31f1b] Finished in 0.383 seconds with exit status 0 (successful). INFO [0a74605b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids as deploy@54.179.173.86 DEBUG [0a74605b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/pids INFO [0a74605b] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [aee354d1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/cache ] as deploy@54.179.173.86 DEBUG [aee354d1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/cache ] DEBUG [aee354d1] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [324952de] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/cache ] as deploy@54.179.173.86 DEBUG [324952de] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/cache ] DEBUG [324952de] Finished in 0.379 seconds with exit status 1 (failed). INFO [ad7d2b59] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/cache as deploy@54.179.173.86 DEBUG [ad7d2b59] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/cache INFO [ad7d2b59] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [bf188927] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/sockets ] as deploy@54.179.173.86 DEBUG [bf188927] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/sockets ] DEBUG [bf188927] Finished in 0.383 seconds with exit status 1 (failed). DEBUG [b7846673] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/sockets ] as deploy@54.179.173.86 DEBUG [b7846673] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/sockets ] DEBUG [b7846673] Finished in 0.382 seconds with exit status 1 (failed). INFO [4b48f1c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/sockets as deploy@54.179.173.86 DEBUG [4b48f1c5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230151044/tmp/sockets INFO [4b48f1c5] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [63d65610] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/vendor/bundle ] as deploy@54.179.173.86 DEBUG [63d65610] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/vendor/bundle ] DEBUG [63d65610] Finished in 0.385 seconds with exit status 1 (failed). DEBUG [76385ee8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/vendor/bundle ] as deploy@54.179.173.86 DEBUG [76385ee8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/vendor/bundle ] DEBUG [76385ee8] Finished in 0.383 seconds with exit status 1 (failed). INFO [3fc3a576] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230151044/vendor/bundle as deploy@54.179.173.86 DEBUG [3fc3a576] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230151044/vendor/bundle INFO [3fc3a576] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [d1712d22] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/public/system ] as deploy@54.179.173.86 DEBUG [d1712d22] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/public/system ] DEBUG [d1712d22] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [2f0935f4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/public/system ] as deploy@54.179.173.86 DEBUG [2f0935f4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/public/system ] DEBUG [2f0935f4] Finished in 0.384 seconds with exit status 1 (failed). INFO [ca5706ae] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230151044/public/system as deploy@54.179.173.86 DEBUG [ca5706ae] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230151044/public/system INFO [ca5706ae] Finished in 0.380 seconds with exit status 0 (successful). DEBUG [9b369a17] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/public/uploads ] as deploy@54.179.173.86 DEBUG [9b369a17] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151044/public/uploads ] DEBUG [9b369a17] Finished in 0.385 seconds with exit status 1 (failed). DEBUG [edb13976] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/public/uploads ] as deploy@54.179.173.86 DEBUG [edb13976] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151044/public/uploads ] DEBUG [edb13976] Finished in 0.395 seconds with exit status 1 (failed). INFO [dd2ef7d4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230151044/public/uploads as deploy@54.179.173.86 DEBUG [dd2ef7d4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230151044/public/uploads INFO [dd2ef7d4] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [18469965] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [18469965] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi DEBUG [18469965] Finished in 0.383 seconds with exit status 0 (successful). INFO [14f00b25] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [14f00b25] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151044 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [14f00b25] Finished in 0.934 seconds with exit status 0 (successful). INFO [dd2ad117] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [dd2ad117] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151044 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [dd2ad117] Finished in 0.920 seconds with exit status 0 (successful). INFO [a041b4fa] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [a041b4fa] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151044 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [a041b4fa] Finished in 0.921 seconds with exit status 0 (successful). DEBUG [97ecf07f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [97ecf07f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi DEBUG [97ecf07f] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [ab08ac09] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [ab08ac09] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151044 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [ab08ac09] The Gemfile's dependencies are satisfied DEBUG [ab08ac09] Finished in 1.087 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [e43611a4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e43611a4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151044; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151044'" 1>&2; false; fi DEBUG [e43611a4] Finished in 0.382 seconds with exit status 0 (successful). INFO [a5ba4b28] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [a5ba4b28] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151044 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [a5ba4b28] Finished in 1.930 seconds with exit status 0 (successful). INFO [37207714] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230151044 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [37207714] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230151044 /home/deploy/apps/aoumi_server/releases/current INFO [37207714] Finished in 0.379 seconds with exit status 0 (successful). INFO [ee1dcb0f] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [ee1dcb0f] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [ee1dcb0f] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [7713ce86] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [7713ce86] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [7713ce86] 20221230143235 20221230143454 20221230143720 20221230151044 DEBUG [7713ce86] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [0f0a365d] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [0f0a365d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [0f0a365d] Finished in 0.384 seconds with exit status 0 (successful). INFO [147cc21d] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230151044 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [147cc21d] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230151044 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [147cc21d] Finished in 0.383 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:11:25 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [4ec80a77] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [4ec80a77] Command: ~/.rvm/bin/rvm version DEBUG [4ec80a77] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [4ec80a77] Finished in 2.045 seconds with exit status 0 (successful). DEBUG [3dc3c07d] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [3dc3c07d] Command: ~/.rvm/bin/rvm current DEBUG [3dc3c07d] ruby-3.0.0 DEBUG [3dc3c07d] Finished in 0.571 seconds with exit status 0 (successful). DEBUG [63abeffd] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [63abeffd] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [63abeffd] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [63abeffd] Finished in 0.745 seconds with exit status 0 (successful). INFO [630389d9] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [630389d9] Command: /usr/bin/env mkdir -p /tmp INFO [630389d9] Finished in 0.380 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-4a6d13c8598b97ff28ce.sh 0.0% INFO Uploading /tmp/git-ssh-4a6d13c8598b97ff28ce.sh 100.0% INFO [d0d5fe45] Running /usr/bin/env chmod 700 /tmp/git-ssh-4a6d13c8598b97ff28ce.sh as deploy@54.179.173.86 DEBUG [d0d5fe45] Command: /usr/bin/env chmod 700 /tmp/git-ssh-4a6d13c8598b97ff28ce.sh INFO [d0d5fe45] Finished in 0.387 seconds with exit status 0 (successful). INFO [12404f1d] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [12404f1d] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4a6d13c8598b97ff28ce.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [12404f1d] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [12404f1d] Finished in 3.474 seconds with exit status 0 (successful). INFO [61fb8f75] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [61fb8f75] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [61fb8f75] Finished in 0.390 seconds with exit status 0 (successful). INFO [e6151ed2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [e6151ed2] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [e6151ed2] Finished in 0.388 seconds with exit status 0 (successful). INFO [4cc76086] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [4cc76086] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [4cc76086] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [a39e03fa] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [a39e03fa] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [a39e03fa] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [d7b4d231] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [d7b4d231] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [d7b4d231] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [b3179de1] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [b3179de1] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [b3179de1] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [9f74f5ab] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [9f74f5ab] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [9f74f5ab] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [89a37483] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [89a37483] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [89a37483] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [89a37483] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [aa2108c4] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [aa2108c4] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [aa2108c4] Finished in 0.382 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [9e72ac1d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [9e72ac1d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9e72ac1d] Finished in 0.386 seconds with exit status 0 (successful). INFO [76b37935] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [76b37935] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4a6d13c8598b97ff28ce.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [76b37935] Finished in 0.391 seconds with exit status 0 (successful). INFO [6a023ded] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [6a023ded] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4a6d13c8598b97ff28ce.sh" ; /usr/bin/env git remote update --prune ) DEBUG [6a023ded] Fetching origin INFO [6a023ded] Finished in 3.467 seconds with exit status 0 (successful). DEBUG [1a18042e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1a18042e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [1a18042e] Finished in 0.387 seconds with exit status 0 (successful). INFO [d45d51d6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151137 as deploy@54.179.173.86 DEBUG [d45d51d6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4a6d13c8598b97ff28ce.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151137 ) INFO [d45d51d6] Finished in 0.385 seconds with exit status 0 (successful). INFO [4a27076c] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230151137 as deploy@54.179.173.86 DEBUG [4a27076c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4a6d13c8598b97ff28ce.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230151137 ) INFO [4a27076c] Finished in 0.415 seconds with exit status 0 (successful). DEBUG [3afdf904] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [3afdf904] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3afdf904] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [fb3b8d23] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [fb3b8d23] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4a6d13c8598b97ff28ce.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [fb3b8d23] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [fb3b8d23] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [177e79f1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [177e79f1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi DEBUG [177e79f1] Finished in 0.388 seconds with exit status 0 (successful). INFO [b16af15a] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [b16af15a] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151137 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [b16af15a] Finished in 0.387 seconds with exit status 0 (successful). INFO [acb1f76f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151137 /home/deploy/apps/aoumi_server/releases/20221230151137/config as deploy@54.179.173.86 DEBUG [acb1f76f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151137 /home/deploy/apps/aoumi_server/releases/20221230151137/config INFO [acb1f76f] Finished in 0.360 seconds with exit status 0 (successful). DEBUG [3b1acfaf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/.env ] as deploy@54.179.173.86 DEBUG [3b1acfaf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/.env ] DEBUG [3b1acfaf] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [f6f26be4] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230151137/.env ] as deploy@54.179.173.86 DEBUG [f6f26be4] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230151137/.env ] DEBUG [f6f26be4] Finished in 0.387 seconds with exit status 0 (successful). INFO [e84da2b9] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151137/.env as deploy@54.179.173.86 DEBUG [e84da2b9] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151137/.env INFO [e84da2b9] Finished in 0.384 seconds with exit status 0 (successful). INFO [8962a890] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230151137/.env as deploy@54.179.173.86 DEBUG [8962a890] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230151137/.env INFO [8962a890] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [c9296fe6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml ] as deploy@54.179.173.86 DEBUG [c9296fe6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml ] DEBUG [c9296fe6] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [82a9616b] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml ] as deploy@54.179.173.86 DEBUG [82a9616b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml ] DEBUG [82a9616b] Finished in 0.388 seconds with exit status 0 (successful). INFO [7eb241c7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml as deploy@54.179.173.86 DEBUG [7eb241c7] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml INFO [7eb241c7] Finished in 0.387 seconds with exit status 0 (successful). INFO [d6cd4c87] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml as deploy@54.179.173.86 DEBUG [d6cd4c87] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230151137/config/database.yml INFO [d6cd4c87] Finished in 0.389 seconds with exit status 0 (successful). INFO [28331aa4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151137 /home/deploy/apps/aoumi_server/releases/20221230151137/tmp /home/deploy/apps/aoumi_server/releases/20221230151137/vendor /home/deploy/apps/aoumi_server/releases/20221230151137/public as deploy@54.179.173.86 DEBUG [28331aa4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151137 /home/deploy/apps/aoumi_server/releases/20221230151137/tmp /home/deploy/apps/aoumi_server/releases/20221230151137/vendor /home/deploy/apps/aoumi_server/releases/20221230151137/public INFO [28331aa4] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [d4d65d7e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/log ] as deploy@54.179.173.86 DEBUG [d4d65d7e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/log ] DEBUG [d4d65d7e] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [f594e063] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/log ] as deploy@54.179.173.86 DEBUG [f594e063] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/log ] DEBUG [f594e063] Finished in 0.392 seconds with exit status 0 (successful). INFO [14950483] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151137/log as deploy@54.179.173.86 DEBUG [14950483] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151137/log INFO [14950483] Finished in 0.391 seconds with exit status 0 (successful). INFO [fbfcf310] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230151137/log as deploy@54.179.173.86 DEBUG [fbfcf310] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230151137/log INFO [fbfcf310] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [42e9d4c6] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids ] as deploy@54.179.173.86 DEBUG [42e9d4c6] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids ] DEBUG [42e9d4c6] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [906bd62b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids ] as deploy@54.179.173.86 DEBUG [906bd62b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids ] DEBUG [906bd62b] Finished in 0.319 seconds with exit status 0 (successful). INFO [d06288c8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids as deploy@54.179.173.86 DEBUG [d06288c8] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids INFO [d06288c8] Finished in 0.386 seconds with exit status 0 (successful). INFO [e8fe8944] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids as deploy@54.179.173.86 DEBUG [e8fe8944] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/pids INFO [e8fe8944] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [80ef176a] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/cache ] as deploy@54.179.173.86 DEBUG [80ef176a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/cache ] DEBUG [80ef176a] Finished in 0.350 seconds with exit status 1 (failed). DEBUG [33ca3c6c] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/cache ] as deploy@54.179.173.86 DEBUG [33ca3c6c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/cache ] DEBUG [33ca3c6c] Finished in 0.420 seconds with exit status 1 (failed). INFO [98c08fb5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/cache as deploy@54.179.173.86 DEBUG [98c08fb5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/cache INFO [98c08fb5] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [10909c20] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/sockets ] as deploy@54.179.173.86 DEBUG [10909c20] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/sockets ] DEBUG [10909c20] Finished in 0.392 seconds with exit status 1 (failed). DEBUG [6d812177] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/sockets ] as deploy@54.179.173.86 DEBUG [6d812177] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/sockets ] DEBUG [6d812177] Finished in 0.391 seconds with exit status 1 (failed). INFO [9ac1f9b8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/sockets as deploy@54.179.173.86 DEBUG [9ac1f9b8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230151137/tmp/sockets INFO [9ac1f9b8] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [d8bd42fa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/vendor/bundle ] as deploy@54.179.173.86 DEBUG [d8bd42fa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/vendor/bundle ] DEBUG [d8bd42fa] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [6aa34112] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/vendor/bundle ] as deploy@54.179.173.86 DEBUG [6aa34112] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/vendor/bundle ] DEBUG [6aa34112] Finished in 0.393 seconds with exit status 1 (failed). INFO [395dc6fd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230151137/vendor/bundle as deploy@54.179.173.86 DEBUG [395dc6fd] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230151137/vendor/bundle INFO [395dc6fd] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [496cf240] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/public/system ] as deploy@54.179.173.86 DEBUG [496cf240] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/public/system ] DEBUG [496cf240] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [78d31f31] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/public/system ] as deploy@54.179.173.86 DEBUG [78d31f31] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/public/system ] DEBUG [78d31f31] Finished in 0.390 seconds with exit status 1 (failed). INFO [1ce38edc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230151137/public/system as deploy@54.179.173.86 DEBUG [1ce38edc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230151137/public/system INFO [1ce38edc] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [bb370afa] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/public/uploads ] as deploy@54.179.173.86 DEBUG [bb370afa] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151137/public/uploads ] DEBUG [bb370afa] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [aa22bfb3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/public/uploads ] as deploy@54.179.173.86 DEBUG [aa22bfb3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151137/public/uploads ] DEBUG [aa22bfb3] Finished in 0.388 seconds with exit status 1 (failed). INFO [13ba6c64] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230151137/public/uploads as deploy@54.179.173.86 DEBUG [13ba6c64] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230151137/public/uploads INFO [13ba6c64] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [766afbc0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [766afbc0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi DEBUG [766afbc0] Finished in 0.401 seconds with exit status 0 (successful). INFO [1b3b184e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [1b3b184e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151137 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [1b3b184e] Finished in 0.977 seconds with exit status 0 (successful). INFO [2560864f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [2560864f] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151137 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [2560864f] Finished in 0.917 seconds with exit status 0 (successful). INFO [f73e9d87] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [f73e9d87] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151137 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [f73e9d87] Finished in 0.960 seconds with exit status 0 (successful). DEBUG [75937158] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [75937158] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi DEBUG [75937158] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [3ec14fd1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [3ec14fd1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151137 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [3ec14fd1] The Gemfile's dependencies are satisfied DEBUG [3ec14fd1] Finished in 1.044 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [8998f5de] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8998f5de] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151137; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151137'" 1>&2; false; fi DEBUG [8998f5de] Finished in 0.386 seconds with exit status 0 (successful). INFO [f08bbe50] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [f08bbe50] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151137 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [f08bbe50] Finished in 1.928 seconds with exit status 0 (successful). INFO [84eab6a4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230151137 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [84eab6a4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230151137 /home/deploy/apps/aoumi_server/releases/current INFO [84eab6a4] Finished in 0.388 seconds with exit status 0 (successful). INFO [a0975431] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [a0975431] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [a0975431] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [e00e8ab0] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [e00e8ab0] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [e00e8ab0] 20221230143235 20221230143454 20221230143720 20221230151044 20221230151137 DEBUG [e00e8ab0] Finished in 0.389 seconds with exit status 0 (successful). INFO Keeping 5 of 5 deployed releases on 54.179.173.86 DEBUG [02a00def] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [02a00def] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [02a00def] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [5ead2244] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [5ead2244] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [5ead2244] /home/deploy/apps/aoumi_server/releases/20221230151137 DEBUG [5ead2244] Finished in 0.390 seconds with exit status 0 (successful). INFO No old releases (keeping newest 5) on 54.179.173.86 DEBUG [58b171e3] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [58b171e3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [58b171e3] Finished in 0.385 seconds with exit status 0 (successful). INFO [8ee47ccd] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230151137 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [8ee47ccd] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230151137 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [8ee47ccd] Finished in 0.389 seconds with exit status 0 (successful). INFO [04a3c3d9] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [04a3c3d9] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [04a3c3d9] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:14:16 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e663a3d2] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [e663a3d2] Command: ~/.rvm/bin/rvm version DEBUG [e663a3d2] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [e663a3d2] Finished in 2.087 seconds with exit status 0 (successful). DEBUG [a16ac417] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [a16ac417] Command: ~/.rvm/bin/rvm current DEBUG [a16ac417] ruby-3.0.0 DEBUG [a16ac417] Finished in 0.538 seconds with exit status 0 (successful). DEBUG [344e94ed] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [344e94ed] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [344e94ed] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [344e94ed] Finished in 0.709 seconds with exit status 0 (successful). INFO [28ea09cb] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [28ea09cb] Command: /usr/bin/env mkdir -p /tmp INFO [28ea09cb] Finished in 0.383 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-411a2f0039d46ea3aa31.sh 0.0% INFO Uploading /tmp/git-ssh-411a2f0039d46ea3aa31.sh 100.0% INFO [1165247b] Running /usr/bin/env chmod 700 /tmp/git-ssh-411a2f0039d46ea3aa31.sh as deploy@54.179.173.86 DEBUG [1165247b] Command: /usr/bin/env chmod 700 /tmp/git-ssh-411a2f0039d46ea3aa31.sh INFO [1165247b] Finished in 0.389 seconds with exit status 0 (successful). INFO [b1c904d1] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [b1c904d1] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-411a2f0039d46ea3aa31.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [b1c904d1] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [b1c904d1] Finished in 3.274 seconds with exit status 0 (successful). INFO [7495cf48] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [7495cf48] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [7495cf48] Finished in 0.388 seconds with exit status 0 (successful). INFO [9fcb2d52] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [9fcb2d52] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [9fcb2d52] Finished in 0.388 seconds with exit status 0 (successful). INFO [767689bb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [767689bb] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [767689bb] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [195f3db0] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [195f3db0] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [195f3db0] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [401c1b7e] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [401c1b7e] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [401c1b7e] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [8564fcd7] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [8564fcd7] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [8564fcd7] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [3214b7da] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [3214b7da] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [3214b7da] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [8736979f] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [8736979f] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [8736979f] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [8736979f] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [3dd5b0c9] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [3dd5b0c9] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [3dd5b0c9] Finished in 0.388 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5ccd0953] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5ccd0953] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5ccd0953] Finished in 0.386 seconds with exit status 0 (successful). INFO [3dbb15a3] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [3dbb15a3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-411a2f0039d46ea3aa31.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [3dbb15a3] Finished in 0.391 seconds with exit status 0 (successful). INFO [c39fc002] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [c39fc002] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-411a2f0039d46ea3aa31.sh" ; /usr/bin/env git remote update --prune ) DEBUG [c39fc002] Fetching origin INFO [c39fc002] Finished in 3.339 seconds with exit status 0 (successful). DEBUG [c8086fda] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c8086fda] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c8086fda] Finished in 0.386 seconds with exit status 0 (successful). INFO [37415bfd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151427 as deploy@54.179.173.86 DEBUG [37415bfd] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-411a2f0039d46ea3aa31.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151427 ) INFO [37415bfd] Finished in 0.386 seconds with exit status 0 (successful). INFO [ea2a8107] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230151427 as deploy@54.179.173.86 DEBUG [ea2a8107] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-411a2f0039d46ea3aa31.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230151427 ) INFO [ea2a8107] Finished in 0.418 seconds with exit status 0 (successful). DEBUG [372cd08a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [372cd08a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [372cd08a] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [f2937c1f] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [f2937c1f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-411a2f0039d46ea3aa31.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f2937c1f] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [f2937c1f] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [7a228e61] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7a228e61] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi DEBUG [7a228e61] Finished in 0.385 seconds with exit status 0 (successful). INFO [c3ca83e6] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [c3ca83e6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151427 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [c3ca83e6] Finished in 0.387 seconds with exit status 0 (successful). INFO [16a9ee26] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151427 /home/deploy/apps/aoumi_server/releases/20221230151427/config as deploy@54.179.173.86 DEBUG [16a9ee26] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151427 /home/deploy/apps/aoumi_server/releases/20221230151427/config INFO [16a9ee26] Finished in 0.431 seconds with exit status 0 (successful). DEBUG [7a30c52c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/.env ] as deploy@54.179.173.86 DEBUG [7a30c52c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/.env ] DEBUG [7a30c52c] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [61aa68ce] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230151427/.env ] as deploy@54.179.173.86 DEBUG [61aa68ce] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230151427/.env ] DEBUG [61aa68ce] Finished in 0.386 seconds with exit status 0 (successful). INFO [80871cbd] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151427/.env as deploy@54.179.173.86 DEBUG [80871cbd] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151427/.env INFO [80871cbd] Finished in 0.389 seconds with exit status 0 (successful). INFO [c94ce0c2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230151427/.env as deploy@54.179.173.86 DEBUG [c94ce0c2] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230151427/.env INFO [c94ce0c2] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [032fd5b8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml ] as deploy@54.179.173.86 DEBUG [032fd5b8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml ] DEBUG [032fd5b8] Finished in 0.385 seconds with exit status 1 (failed). DEBUG [bb84f35f] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml ] as deploy@54.179.173.86 DEBUG [bb84f35f] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml ] DEBUG [bb84f35f] Finished in 0.388 seconds with exit status 0 (successful). INFO [7a8af9d1] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml as deploy@54.179.173.86 DEBUG [7a8af9d1] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml INFO [7a8af9d1] Finished in 0.390 seconds with exit status 0 (successful). INFO [5be3449f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml as deploy@54.179.173.86 DEBUG [5be3449f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230151427/config/database.yml INFO [5be3449f] Finished in 0.388 seconds with exit status 0 (successful). INFO [736bd67e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151427 /home/deploy/apps/aoumi_server/releases/20221230151427/tmp /home/deploy/apps/aoumi_server/releases/20221230151427/vendor /home/deploy/apps/aoumi_server/releases/20221230151427/public as deploy@54.179.173.86 DEBUG [736bd67e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230151427 /home/deploy/apps/aoumi_server/releases/20221230151427/tmp /home/deploy/apps/aoumi_server/releases/20221230151427/vendor /home/deploy/apps/aoumi_server/releases/20221230151427/public INFO [736bd67e] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [b449288b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/log ] as deploy@54.179.173.86 DEBUG [b449288b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/log ] DEBUG [b449288b] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [b5ef8e4f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/log ] as deploy@54.179.173.86 DEBUG [b5ef8e4f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/log ] DEBUG [b5ef8e4f] Finished in 0.391 seconds with exit status 0 (successful). INFO [88cfb799] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151427/log as deploy@54.179.173.86 DEBUG [88cfb799] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151427/log INFO [88cfb799] Finished in 0.394 seconds with exit status 0 (successful). INFO [003392ac] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230151427/log as deploy@54.179.173.86 DEBUG [003392ac] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230151427/log INFO [003392ac] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [5a15d23d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids ] as deploy@54.179.173.86 DEBUG [5a15d23d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids ] DEBUG [5a15d23d] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [1f548a95] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids ] as deploy@54.179.173.86 DEBUG [1f548a95] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids ] DEBUG [1f548a95] Finished in 0.391 seconds with exit status 0 (successful). INFO [49d7a43a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids as deploy@54.179.173.86 DEBUG [49d7a43a] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids INFO [49d7a43a] Finished in 0.388 seconds with exit status 0 (successful). INFO [2c0f7522] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids as deploy@54.179.173.86 DEBUG [2c0f7522] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/pids INFO [2c0f7522] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [05bebc14] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/cache ] as deploy@54.179.173.86 DEBUG [05bebc14] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/cache ] DEBUG [05bebc14] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [eeceaf46] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/cache ] as deploy@54.179.173.86 DEBUG [eeceaf46] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/cache ] DEBUG [eeceaf46] Finished in 0.387 seconds with exit status 1 (failed). INFO [af9c4ca7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/cache as deploy@54.179.173.86 DEBUG [af9c4ca7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/cache INFO [af9c4ca7] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [96ff35d4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/sockets ] as deploy@54.179.173.86 DEBUG [96ff35d4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/sockets ] DEBUG [96ff35d4] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [4bfbb50f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/sockets ] as deploy@54.179.173.86 DEBUG [4bfbb50f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/sockets ] DEBUG [4bfbb50f] Finished in 0.392 seconds with exit status 1 (failed). INFO [36ea9f14] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/sockets as deploy@54.179.173.86 DEBUG [36ea9f14] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230151427/tmp/sockets INFO [36ea9f14] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [9a177b62] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/vendor/bundle ] as deploy@54.179.173.86 DEBUG [9a177b62] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/vendor/bundle ] DEBUG [9a177b62] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [bf9b17b4] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/vendor/bundle ] as deploy@54.179.173.86 DEBUG [bf9b17b4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/vendor/bundle ] DEBUG [bf9b17b4] Finished in 0.387 seconds with exit status 1 (failed). INFO [caf8eea9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230151427/vendor/bundle as deploy@54.179.173.86 DEBUG [caf8eea9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230151427/vendor/bundle INFO [caf8eea9] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [08b70fdb] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/public/system ] as deploy@54.179.173.86 DEBUG [08b70fdb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/public/system ] DEBUG [08b70fdb] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [dafb0ab8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/public/system ] as deploy@54.179.173.86 DEBUG [dafb0ab8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/public/system ] DEBUG [dafb0ab8] Finished in 0.386 seconds with exit status 1 (failed). INFO [59dd3a21] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230151427/public/system as deploy@54.179.173.86 DEBUG [59dd3a21] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230151427/public/system INFO [59dd3a21] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [8f6d6f51] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/public/uploads ] as deploy@54.179.173.86 DEBUG [8f6d6f51] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230151427/public/uploads ] DEBUG [8f6d6f51] Finished in 0.391 seconds with exit status 1 (failed). DEBUG [f6f01ad3] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/public/uploads ] as deploy@54.179.173.86 DEBUG [f6f01ad3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230151427/public/uploads ] DEBUG [f6f01ad3] Finished in 0.389 seconds with exit status 1 (failed). INFO [be683667] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230151427/public/uploads as deploy@54.179.173.86 DEBUG [be683667] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230151427/public/uploads INFO [be683667] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [143509ae] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [143509ae] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi DEBUG [143509ae] Finished in 0.388 seconds with exit status 0 (successful). INFO [6355d825] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [6355d825] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151427 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [6355d825] Finished in 0.958 seconds with exit status 0 (successful). INFO [8d68e3b1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [8d68e3b1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151427 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [8d68e3b1] Finished in 0.984 seconds with exit status 0 (successful). INFO [bdb350f9] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [bdb350f9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151427 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [bdb350f9] Finished in 0.919 seconds with exit status 0 (successful). DEBUG [86c373bb] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [86c373bb] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi DEBUG [86c373bb] Finished in 0.394 seconds with exit status 0 (successful). DEBUG [adba3dcf] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [adba3dcf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151427 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [adba3dcf] The Gemfile's dependencies are satisfied DEBUG [adba3dcf] Finished in 1.074 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [ddf8cbfc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ddf8cbfc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230151427; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230151427'" 1>&2; false; fi DEBUG [ddf8cbfc] Finished in 0.387 seconds with exit status 0 (successful). INFO [0ac720b3] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [0ac720b3] Command: cd /home/deploy/apps/aoumi_server/releases/20221230151427 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [0ac720b3] Finished in 1.926 seconds with exit status 0 (successful). INFO [8c742b97] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230151427 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [8c742b97] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230151427 /home/deploy/apps/aoumi_server/releases/current INFO [8c742b97] Finished in 0.393 seconds with exit status 0 (successful). INFO [cb1ee0de] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [cb1ee0de] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [cb1ee0de] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [9a5e0cfc] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [9a5e0cfc] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [9a5e0cfc] 20221230143235 20221230143454 20221230143720 20221230151044 20221230151137 20221230151427 DEBUG [9a5e0cfc] Finished in 0.387 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [0ca7e947] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [0ca7e947] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [0ca7e947] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [33dccd99] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [33dccd99] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [33dccd99] /home/deploy/apps/aoumi_server/releases/20221230151427 DEBUG [33dccd99] Finished in 0.388 seconds with exit status 0 (successful). INFO [4b838e8f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143235 as deploy@54.179.173.86 DEBUG [4b838e8f] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143235 INFO [4b838e8f] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [2b2504e5] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2b2504e5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [2b2504e5] Finished in 0.387 seconds with exit status 0 (successful). INFO [5f6e1daa] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230151427 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [5f6e1daa] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230151427 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [5f6e1daa] Finished in 0.387 seconds with exit status 0 (successful). INFO [3067cf50] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [3067cf50] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [3067cf50] Job for puma_aoumi_server_development.service failed because a timeout was exceeded. See "systemctl status puma_aoumi_server_development.service" and "journalctl -xe" for details. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:29:53 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [57012a51] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [57012a51] Command: ~/.rvm/bin/rvm version DEBUG [57012a51] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [57012a51] Finished in 2.024 seconds with exit status 0 (successful). DEBUG [a1ab837b] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [a1ab837b] Command: ~/.rvm/bin/rvm current DEBUG [a1ab837b] ruby-3.0.0 DEBUG [a1ab837b] Finished in 0.540 seconds with exit status 0 (successful). DEBUG [380615f5] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [380615f5] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [380615f5] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [380615f5] Finished in 0.790 seconds with exit status 0 (successful). INFO [56a8ddc6] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [56a8ddc6] Command: /usr/bin/env mkdir -p /tmp INFO [56a8ddc6] Finished in 0.384 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-aadc5577435698252022.sh 0.0% INFO Uploading /tmp/git-ssh-aadc5577435698252022.sh 100.0% INFO [99f7fac3] Running /usr/bin/env chmod 700 /tmp/git-ssh-aadc5577435698252022.sh as deploy@54.179.173.86 DEBUG [99f7fac3] Command: /usr/bin/env chmod 700 /tmp/git-ssh-aadc5577435698252022.sh INFO [99f7fac3] Finished in 0.397 seconds with exit status 0 (successful). INFO [8df7e2c6] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [8df7e2c6] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aadc5577435698252022.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [8df7e2c6] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [8df7e2c6] Finished in 3.426 seconds with exit status 0 (successful). INFO [f88e992d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [f88e992d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [f88e992d] Finished in 0.389 seconds with exit status 0 (successful). INFO [7c216c31] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [7c216c31] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [7c216c31] Finished in 0.385 seconds with exit status 0 (successful). INFO [cdfea35e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [cdfea35e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [cdfea35e] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [486942b0] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [486942b0] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [486942b0] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [6173da83] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [6173da83] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [6173da83] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [5531d106] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [5531d106] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [5531d106] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [0e1e5c69] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [0e1e5c69] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [0e1e5c69] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [14056441] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [14056441] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [14056441] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [14056441] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [26affd95] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [26affd95] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [26affd95] Finished in 0.387 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5bb3587c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5bb3587c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5bb3587c] Finished in 0.390 seconds with exit status 0 (successful). INFO [cc3676ff] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [cc3676ff] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aadc5577435698252022.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [cc3676ff] Finished in 0.395 seconds with exit status 0 (successful). INFO [f8a4802d] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [f8a4802d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aadc5577435698252022.sh" ; /usr/bin/env git remote update --prune ) DEBUG [f8a4802d] Fetching origin INFO [f8a4802d] Finished in 3.513 seconds with exit status 0 (successful). DEBUG [ef27daee] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ef27daee] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ef27daee] Finished in 0.389 seconds with exit status 0 (successful). INFO [e93b066b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153004 as deploy@54.179.173.86 DEBUG [e93b066b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aadc5577435698252022.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153004 ) INFO [e93b066b] Finished in 0.391 seconds with exit status 0 (successful). INFO [f9cfabfa] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230153004 as deploy@54.179.173.86 DEBUG [f9cfabfa] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aadc5577435698252022.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230153004 ) INFO [f9cfabfa] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [8264ed77] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8264ed77] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8264ed77] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [d3a3ae97] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [d3a3ae97] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aadc5577435698252022.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [d3a3ae97] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [d3a3ae97] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [9209e8ca] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [9209e8ca] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi DEBUG [9209e8ca] Finished in 0.391 seconds with exit status 0 (successful). INFO [e30fabdd] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [e30fabdd] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153004 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [e30fabdd] Finished in 0.392 seconds with exit status 0 (successful). INFO [68b45e44] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153004 /home/deploy/apps/aoumi_server/releases/20221230153004/config as deploy@54.179.173.86 DEBUG [68b45e44] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153004 /home/deploy/apps/aoumi_server/releases/20221230153004/config INFO [68b45e44] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [982964af] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/.env ] as deploy@54.179.173.86 DEBUG [982964af] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/.env ] DEBUG [982964af] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [886a241d] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230153004/.env ] as deploy@54.179.173.86 DEBUG [886a241d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230153004/.env ] DEBUG [886a241d] Finished in 0.389 seconds with exit status 0 (successful). INFO [6804d0e5] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153004/.env as deploy@54.179.173.86 DEBUG [6804d0e5] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153004/.env INFO [6804d0e5] Finished in 0.390 seconds with exit status 0 (successful). INFO [efcdc6be] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230153004/.env as deploy@54.179.173.86 DEBUG [efcdc6be] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230153004/.env INFO [efcdc6be] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [9f0b42d3] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml ] as deploy@54.179.173.86 DEBUG [9f0b42d3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml ] DEBUG [9f0b42d3] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [94ce333e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml ] as deploy@54.179.173.86 DEBUG [94ce333e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml ] DEBUG [94ce333e] Finished in 0.392 seconds with exit status 0 (successful). INFO [e6ba74b8] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml as deploy@54.179.173.86 DEBUG [e6ba74b8] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml INFO [e6ba74b8] Finished in 0.389 seconds with exit status 0 (successful). INFO [2c1b1b9d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml as deploy@54.179.173.86 DEBUG [2c1b1b9d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230153004/config/database.yml INFO [2c1b1b9d] Finished in 0.388 seconds with exit status 0 (successful). INFO [21b277c9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153004 /home/deploy/apps/aoumi_server/releases/20221230153004/tmp /home/deploy/apps/aoumi_server/releases/20221230153004/vendor /home/deploy/apps/aoumi_server/releases/20221230153004/public as deploy@54.179.173.86 DEBUG [21b277c9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153004 /home/deploy/apps/aoumi_server/releases/20221230153004/tmp /home/deploy/apps/aoumi_server/releases/20221230153004/vendor /home/deploy/apps/aoumi_server/releases/20221230153004/public INFO [21b277c9] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [264815c2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/log ] as deploy@54.179.173.86 DEBUG [264815c2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/log ] DEBUG [264815c2] Finished in 0.391 seconds with exit status 1 (failed). DEBUG [505b6963] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/log ] as deploy@54.179.173.86 DEBUG [505b6963] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/log ] DEBUG [505b6963] Finished in 0.393 seconds with exit status 0 (successful). INFO [b5980aab] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153004/log as deploy@54.179.173.86 DEBUG [b5980aab] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153004/log INFO [b5980aab] Finished in 0.388 seconds with exit status 0 (successful). INFO [1dd8eeb7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230153004/log as deploy@54.179.173.86 DEBUG [1dd8eeb7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230153004/log INFO [1dd8eeb7] Finished in 0.537 seconds with exit status 0 (successful). DEBUG [d444f0d8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids ] as deploy@54.179.173.86 DEBUG [d444f0d8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids ] DEBUG [d444f0d8] Finished in 0.395 seconds with exit status 1 (failed). DEBUG [fb344d2d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids ] as deploy@54.179.173.86 DEBUG [fb344d2d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids ] DEBUG [fb344d2d] Finished in 0.390 seconds with exit status 0 (successful). INFO [4625b755] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids as deploy@54.179.173.86 DEBUG [4625b755] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids INFO [4625b755] Finished in 0.393 seconds with exit status 0 (successful). INFO [4de6014c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids as deploy@54.179.173.86 DEBUG [4de6014c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/pids INFO [4de6014c] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [b8cd2cd5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/cache ] as deploy@54.179.173.86 DEBUG [b8cd2cd5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/cache ] DEBUG [b8cd2cd5] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [497d4d75] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/cache ] as deploy@54.179.173.86 DEBUG [497d4d75] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/cache ] DEBUG [497d4d75] Finished in 0.391 seconds with exit status 1 (failed). INFO [d1056ebc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/cache as deploy@54.179.173.86 DEBUG [d1056ebc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/cache INFO [d1056ebc] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [9a79449f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/sockets ] as deploy@54.179.173.86 DEBUG [9a79449f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/sockets ] DEBUG [9a79449f] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [5ed1807a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/sockets ] as deploy@54.179.173.86 DEBUG [5ed1807a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/sockets ] DEBUG [5ed1807a] Finished in 0.389 seconds with exit status 1 (failed). INFO [1f48ebde] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/sockets as deploy@54.179.173.86 DEBUG [1f48ebde] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230153004/tmp/sockets INFO [1f48ebde] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [5f50a44d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/vendor/bundle ] as deploy@54.179.173.86 DEBUG [5f50a44d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/vendor/bundle ] DEBUG [5f50a44d] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [09f052d6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/vendor/bundle ] as deploy@54.179.173.86 DEBUG [09f052d6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/vendor/bundle ] DEBUG [09f052d6] Finished in 0.392 seconds with exit status 1 (failed). INFO [75328c4e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230153004/vendor/bundle as deploy@54.179.173.86 DEBUG [75328c4e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230153004/vendor/bundle INFO [75328c4e] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [24a49d88] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/public/system ] as deploy@54.179.173.86 DEBUG [24a49d88] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/public/system ] DEBUG [24a49d88] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [79230f1b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/public/system ] as deploy@54.179.173.86 DEBUG [79230f1b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/public/system ] DEBUG [79230f1b] Finished in 0.404 seconds with exit status 1 (failed). INFO [19cda8f8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230153004/public/system as deploy@54.179.173.86 DEBUG [19cda8f8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230153004/public/system INFO [19cda8f8] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [771c5713] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/public/uploads ] as deploy@54.179.173.86 DEBUG [771c5713] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153004/public/uploads ] DEBUG [771c5713] Finished in 0.401 seconds with exit status 1 (failed). DEBUG [8966369a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/public/uploads ] as deploy@54.179.173.86 DEBUG [8966369a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153004/public/uploads ] DEBUG [8966369a] Finished in 0.400 seconds with exit status 1 (failed). INFO [825e25db] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230153004/public/uploads as deploy@54.179.173.86 DEBUG [825e25db] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230153004/public/uploads INFO [825e25db] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [7c62d648] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7c62d648] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi DEBUG [7c62d648] Finished in 0.387 seconds with exit status 0 (successful). INFO [bdffd8a7] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [bdffd8a7] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153004 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [bdffd8a7] Finished in 0.973 seconds with exit status 0 (successful). INFO [286c296c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [286c296c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153004 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [286c296c] Finished in 0.919 seconds with exit status 0 (successful). INFO [5639d9fe] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [5639d9fe] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153004 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [5639d9fe] Finished in 0.929 seconds with exit status 0 (successful). DEBUG [987cfc6d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [987cfc6d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi DEBUG [987cfc6d] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [f0da395e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [f0da395e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153004 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [f0da395e] The Gemfile's dependencies are satisfied DEBUG [f0da395e] Finished in 1.070 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [d43078b7] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [d43078b7] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153004; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153004'" 1>&2; false; fi DEBUG [d43078b7] Finished in 0.391 seconds with exit status 0 (successful). INFO [a592d3e1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [a592d3e1] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153004 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [a592d3e1] Finished in 1.817 seconds with exit status 0 (successful). INFO [35a43ebc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230153004 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [35a43ebc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230153004 /home/deploy/apps/aoumi_server/releases/current INFO [35a43ebc] Finished in 0.388 seconds with exit status 0 (successful). INFO [3366cd45] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [3366cd45] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [3366cd45] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [d6c5d7c6] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [d6c5d7c6] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [d6c5d7c6] 20221230143454 20221230143720 20221230151044 20221230151137 20221230151427 20221230153004 DEBUG [d6c5d7c6] Finished in 0.388 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [f25dd3c3] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [f25dd3c3] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [f25dd3c3] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [a097c4ad] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [a097c4ad] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [a097c4ad] /home/deploy/apps/aoumi_server/releases/20221230153004 DEBUG [a097c4ad] Finished in 0.392 seconds with exit status 0 (successful). INFO [ddce9817] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143454 as deploy@54.179.173.86 DEBUG [ddce9817] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143454 INFO [ddce9817] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [95e676d9] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [95e676d9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [95e676d9] Finished in 0.389 seconds with exit status 0 (successful). INFO [629cd984] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230153004 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [629cd984] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230153004 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [629cd984] Finished in 0.385 seconds with exit status 0 (successful). INFO [d5d7bbb1] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [d5d7bbb1] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [d5d7bbb1] Job for puma_aoumi_server_development.service failed because the control process exited with error code. DEBUG [d5d7bbb1] See "systemctl status puma_aoumi_server_development.service" and "journalctl -xe" for details. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:32:58 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [5520c688] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [5520c688] Command: ~/.rvm/bin/rvm version DEBUG [5520c688] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [5520c688] Finished in 2.162 seconds with exit status 0 (successful). DEBUG [8146f6d1] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [8146f6d1] Command: ~/.rvm/bin/rvm current DEBUG [8146f6d1] ruby-3.0.0 DEBUG [8146f6d1] Finished in 0.588 seconds with exit status 0 (successful). DEBUG [6fb98240] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [6fb98240] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [6fb98240] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [6fb98240] Finished in 0.801 seconds with exit status 0 (successful). INFO [4e863568] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [4e863568] Command: /usr/bin/env mkdir -p /tmp INFO [4e863568] Finished in 0.403 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-96d1a25720f4c54c9646.sh 0.0% INFO Uploading /tmp/git-ssh-96d1a25720f4c54c9646.sh 100.0% INFO [3dc10b84] Running /usr/bin/env chmod 700 /tmp/git-ssh-96d1a25720f4c54c9646.sh as deploy@54.179.173.86 DEBUG [3dc10b84] Command: /usr/bin/env chmod 700 /tmp/git-ssh-96d1a25720f4c54c9646.sh INFO [3dc10b84] Finished in 0.404 seconds with exit status 0 (successful). INFO [e24612b7] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [e24612b7] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-96d1a25720f4c54c9646.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e24612b7] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [e24612b7] Finished in 3.571 seconds with exit status 0 (successful). INFO [c0540825] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [c0540825] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [c0540825] Finished in 0.403 seconds with exit status 0 (successful). INFO [ef9e4019] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [ef9e4019] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [ef9e4019] Finished in 0.400 seconds with exit status 0 (successful). INFO [ab2bda98] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [ab2bda98] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [ab2bda98] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [31ce332d] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [31ce332d] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [31ce332d] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [82cb2052] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [82cb2052] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [82cb2052] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [d357f05c] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [d357f05c] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [d357f05c] Finished in 0.401 seconds with exit status 0 (successful). DEBUG [153dab13] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [153dab13] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [153dab13] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [c79e17ab] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [c79e17ab] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [c79e17ab] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [c79e17ab] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [9bbeecf3] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [9bbeecf3] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [9bbeecf3] Finished in 0.400 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [ce7594a0] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ce7594a0] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ce7594a0] Finished in 0.401 seconds with exit status 0 (successful). INFO [c37029b3] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [c37029b3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-96d1a25720f4c54c9646.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [c37029b3] Finished in 0.402 seconds with exit status 0 (successful). INFO [c98f9f11] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [c98f9f11] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-96d1a25720f4c54c9646.sh" ; /usr/bin/env git remote update --prune ) DEBUG [c98f9f11] Fetching origin INFO [c98f9f11] Finished in 3.494 seconds with exit status 0 (successful). DEBUG [31ba08df] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [31ba08df] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [31ba08df] Finished in 0.386 seconds with exit status 0 (successful). INFO [96494107] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153310 as deploy@54.179.173.86 DEBUG [96494107] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-96d1a25720f4c54c9646.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153310 ) INFO [96494107] Finished in 0.405 seconds with exit status 0 (successful). INFO [749d5d41] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230153310 as deploy@54.179.173.86 DEBUG [749d5d41] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-96d1a25720f4c54c9646.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230153310 ) INFO [749d5d41] Finished in 0.429 seconds with exit status 0 (successful). DEBUG [26b86398] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [26b86398] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [26b86398] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [20e2df56] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [20e2df56] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-96d1a25720f4c54c9646.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [20e2df56] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [20e2df56] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [1b5ec33f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1b5ec33f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi DEBUG [1b5ec33f] Finished in 0.404 seconds with exit status 0 (successful). INFO [57de3432] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [57de3432] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153310 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [57de3432] Finished in 0.405 seconds with exit status 0 (successful). INFO [1eb3288f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153310 /home/deploy/apps/aoumi_server/releases/20221230153310/config as deploy@54.179.173.86 DEBUG [1eb3288f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153310 /home/deploy/apps/aoumi_server/releases/20221230153310/config INFO [1eb3288f] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [d9dc03c8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/.env ] as deploy@54.179.173.86 DEBUG [d9dc03c8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/.env ] DEBUG [d9dc03c8] Finished in 0.404 seconds with exit status 1 (failed). DEBUG [01464416] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230153310/.env ] as deploy@54.179.173.86 DEBUG [01464416] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230153310/.env ] DEBUG [01464416] Finished in 0.406 seconds with exit status 0 (successful). INFO [842c3fea] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153310/.env as deploy@54.179.173.86 DEBUG [842c3fea] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153310/.env INFO [842c3fea] Finished in 0.403 seconds with exit status 0 (successful). INFO [7263fe72] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230153310/.env as deploy@54.179.173.86 DEBUG [7263fe72] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230153310/.env INFO [7263fe72] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [d77e90ed] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml ] as deploy@54.179.173.86 DEBUG [d77e90ed] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml ] DEBUG [d77e90ed] Finished in 0.402 seconds with exit status 1 (failed). DEBUG [61cd04aa] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml ] as deploy@54.179.173.86 DEBUG [61cd04aa] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml ] DEBUG [61cd04aa] Finished in 0.408 seconds with exit status 0 (successful). INFO [764db49b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml as deploy@54.179.173.86 DEBUG [764db49b] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml INFO [764db49b] Finished in 0.407 seconds with exit status 0 (successful). INFO [647bbb21] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml as deploy@54.179.173.86 DEBUG [647bbb21] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230153310/config/database.yml INFO [647bbb21] Finished in 0.405 seconds with exit status 0 (successful). INFO [bf1de139] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153310 /home/deploy/apps/aoumi_server/releases/20221230153310/tmp /home/deploy/apps/aoumi_server/releases/20221230153310/vendor /home/deploy/apps/aoumi_server/releases/20221230153310/public as deploy@54.179.173.86 DEBUG [bf1de139] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230153310 /home/deploy/apps/aoumi_server/releases/20221230153310/tmp /home/deploy/apps/aoumi_server/releases/20221230153310/vendor /home/deploy/apps/aoumi_server/releases/20221230153310/public INFO [bf1de139] Finished in 0.397 seconds with exit status 0 (successful). DEBUG [6f656914] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/log ] as deploy@54.179.173.86 DEBUG [6f656914] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/log ] DEBUG [6f656914] Finished in 0.404 seconds with exit status 1 (failed). DEBUG [d724c005] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/log ] as deploy@54.179.173.86 DEBUG [d724c005] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/log ] DEBUG [d724c005] Finished in 0.403 seconds with exit status 0 (successful). INFO [8c2ffef7] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153310/log as deploy@54.179.173.86 DEBUG [8c2ffef7] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153310/log INFO [8c2ffef7] Finished in 0.406 seconds with exit status 0 (successful). INFO [91f2b026] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230153310/log as deploy@54.179.173.86 DEBUG [91f2b026] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230153310/log INFO [91f2b026] Finished in 0.521 seconds with exit status 0 (successful). DEBUG [c9558554] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids ] as deploy@54.179.173.86 DEBUG [c9558554] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids ] DEBUG [c9558554] Finished in 0.408 seconds with exit status 1 (failed). DEBUG [fbfaa8dd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids ] as deploy@54.179.173.86 DEBUG [fbfaa8dd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids ] DEBUG [fbfaa8dd] Finished in 0.407 seconds with exit status 0 (successful). INFO [9339e518] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids as deploy@54.179.173.86 DEBUG [9339e518] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids INFO [9339e518] Finished in 0.407 seconds with exit status 0 (successful). INFO [92456edb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids as deploy@54.179.173.86 DEBUG [92456edb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/pids INFO [92456edb] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [f88117ca] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/cache ] as deploy@54.179.173.86 DEBUG [f88117ca] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/cache ] DEBUG [f88117ca] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [17292e4b] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/cache ] as deploy@54.179.173.86 DEBUG [17292e4b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/cache ] DEBUG [17292e4b] Finished in 0.403 seconds with exit status 1 (failed). INFO [2cf9525f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/cache as deploy@54.179.173.86 DEBUG [2cf9525f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/cache INFO [2cf9525f] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [ba5dda95] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/sockets ] as deploy@54.179.173.86 DEBUG [ba5dda95] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/sockets ] DEBUG [ba5dda95] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [c6bff64f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/sockets ] as deploy@54.179.173.86 DEBUG [c6bff64f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/sockets ] DEBUG [c6bff64f] Finished in 0.402 seconds with exit status 1 (failed). INFO [e1bb1a01] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/sockets as deploy@54.179.173.86 DEBUG [e1bb1a01] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230153310/tmp/sockets INFO [e1bb1a01] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [6efe4d9f] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/vendor/bundle ] as deploy@54.179.173.86 DEBUG [6efe4d9f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/vendor/bundle ] DEBUG [6efe4d9f] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [49bcd96d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/vendor/bundle ] as deploy@54.179.173.86 DEBUG [49bcd96d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/vendor/bundle ] DEBUG [49bcd96d] Finished in 0.407 seconds with exit status 1 (failed). INFO [1439b950] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230153310/vendor/bundle as deploy@54.179.173.86 DEBUG [1439b950] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230153310/vendor/bundle INFO [1439b950] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [c567c579] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/public/system ] as deploy@54.179.173.86 DEBUG [c567c579] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/public/system ] DEBUG [c567c579] Finished in 0.404 seconds with exit status 1 (failed). DEBUG [827a45fb] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/public/system ] as deploy@54.179.173.86 DEBUG [827a45fb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/public/system ] DEBUG [827a45fb] Finished in 0.406 seconds with exit status 1 (failed). INFO [749bbc17] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230153310/public/system as deploy@54.179.173.86 DEBUG [749bbc17] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230153310/public/system INFO [749bbc17] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [24eeb7c4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/public/uploads ] as deploy@54.179.173.86 DEBUG [24eeb7c4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230153310/public/uploads ] DEBUG [24eeb7c4] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [22b4d0ea] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/public/uploads ] as deploy@54.179.173.86 DEBUG [22b4d0ea] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230153310/public/uploads ] DEBUG [22b4d0ea] Finished in 0.406 seconds with exit status 1 (failed). INFO [388f46ac] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230153310/public/uploads as deploy@54.179.173.86 DEBUG [388f46ac] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230153310/public/uploads INFO [388f46ac] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [a47bf788] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [a47bf788] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi DEBUG [a47bf788] Finished in 0.404 seconds with exit status 0 (successful). INFO [bc8fabe2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [bc8fabe2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153310 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [bc8fabe2] Finished in 1.049 seconds with exit status 0 (successful). INFO [1d7c5ad2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [1d7c5ad2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153310 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [1d7c5ad2] Finished in 0.984 seconds with exit status 0 (successful). INFO [61777278] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [61777278] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153310 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [61777278] Finished in 1.059 seconds with exit status 0 (successful). DEBUG [d99701ac] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [d99701ac] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi DEBUG [d99701ac] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [7d9f482c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [7d9f482c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153310 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [7d9f482c] The Gemfile's dependencies are satisfied DEBUG [7d9f482c] Finished in 1.026 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [5dd1e02b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5dd1e02b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230153310; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230153310'" 1>&2; false; fi DEBUG [5dd1e02b] Finished in 0.403 seconds with exit status 0 (successful). INFO [6e212ca8] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [6e212ca8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230153310 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [6e212ca8] Finished in 1.908 seconds with exit status 0 (successful). INFO [2eb2e6aa] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230153310 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [2eb2e6aa] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230153310 /home/deploy/apps/aoumi_server/releases/current INFO [2eb2e6aa] Finished in 0.403 seconds with exit status 0 (successful). INFO [482ad290] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [482ad290] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [482ad290] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [e32017d1] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [e32017d1] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [e32017d1] 20221230143720 20221230151044 20221230151137 20221230151427 20221230153004 20221230153310 DEBUG [e32017d1] Finished in 0.407 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [8564fc47] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [8564fc47] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [8564fc47] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [5369c570] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [5369c570] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [5369c570] /home/deploy/apps/aoumi_server/releases/20221230153310 DEBUG [5369c570] Finished in 0.405 seconds with exit status 0 (successful). INFO [d0d7c3fa] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143720 as deploy@54.179.173.86 DEBUG [d0d7c3fa] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230143720 INFO [d0d7c3fa] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [074cd1f9] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [074cd1f9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [074cd1f9] Finished in 0.404 seconds with exit status 0 (successful). INFO [9d4bc0aa] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230153310 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [9d4bc0aa] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230153310 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [9d4bc0aa] Finished in 0.408 seconds with exit status 0 (successful). INFO [c71c77b3] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [c71c77b3] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [c71c77b3] Job for puma_aoumi_server_development.service failed because the control process exited with error code. DEBUG [c71c77b3] See "systemctl status puma_aoumi_server_development.service" and "journalctl -xe" for details. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:40:59 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [2caca53b] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [2caca53b] Command: ~/.rvm/bin/rvm version DEBUG [2caca53b] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [2caca53b] Finished in 1.995 seconds with exit status 0 (successful). DEBUG [5362356c] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [5362356c] Command: ~/.rvm/bin/rvm current DEBUG [5362356c] ruby-3.0.0 DEBUG [5362356c] Finished in 0.568 seconds with exit status 0 (successful). DEBUG [692cad6f] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [692cad6f] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [692cad6f] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [692cad6f] Finished in 0.763 seconds with exit status 0 (successful). INFO [28bd2d5f] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [28bd2d5f] Command: /usr/bin/env mkdir -p /tmp INFO [28bd2d5f] Finished in 0.378 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-c44a9a538eaf848b3525.sh 0.0% INFO Uploading /tmp/git-ssh-c44a9a538eaf848b3525.sh 100.0% INFO [2fec5e3e] Running /usr/bin/env chmod 700 /tmp/git-ssh-c44a9a538eaf848b3525.sh as deploy@54.179.173.86 DEBUG [2fec5e3e] Command: /usr/bin/env chmod 700 /tmp/git-ssh-c44a9a538eaf848b3525.sh INFO [2fec5e3e] Finished in 0.384 seconds with exit status 0 (successful). INFO [fb74d52c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [fb74d52c] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c44a9a538eaf848b3525.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [fb74d52c] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [fb74d52c] Finished in 3.502 seconds with exit status 0 (successful). INFO [8055a2ba] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [8055a2ba] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [8055a2ba] Finished in 0.384 seconds with exit status 0 (successful). INFO [8884d5e1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [8884d5e1] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [8884d5e1] Finished in 0.384 seconds with exit status 0 (successful). INFO [7f176e36] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [7f176e36] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [7f176e36] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [887f6318] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [887f6318] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [887f6318] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [b2237a88] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [b2237a88] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [b2237a88] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [e4677003] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [e4677003] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [e4677003] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [1f89d26c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [1f89d26c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [1f89d26c] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [0bd34d47] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [0bd34d47] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [0bd34d47] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [0bd34d47] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [fb47c51b] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [fb47c51b] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [fb47c51b] Finished in 0.386 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [761bd339] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [761bd339] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [761bd339] Finished in 0.395 seconds with exit status 0 (successful). INFO [7b31589a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [7b31589a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c44a9a538eaf848b3525.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [7b31589a] Finished in 0.386 seconds with exit status 0 (successful). INFO [f3b3c18a] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [f3b3c18a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c44a9a538eaf848b3525.sh" ; /usr/bin/env git remote update --prune ) DEBUG [f3b3c18a] Fetching origin INFO [f3b3c18a] Finished in 3.570 seconds with exit status 0 (successful). DEBUG [1e0a2026] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1e0a2026] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [1e0a2026] Finished in 0.382 seconds with exit status 0 (successful). INFO [816041bd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230154110 as deploy@54.179.173.86 DEBUG [816041bd] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c44a9a538eaf848b3525.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230154110 ) INFO [816041bd] Finished in 0.384 seconds with exit status 0 (successful). INFO [7f16c709] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230154110 as deploy@54.179.173.86 DEBUG [7f16c709] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c44a9a538eaf848b3525.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230154110 ) INFO [7f16c709] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [5f762b98] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5f762b98] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5f762b98] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [970a8204] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [970a8204] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c44a9a538eaf848b3525.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [970a8204] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [970a8204] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [3b8d2ca1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [3b8d2ca1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi DEBUG [3b8d2ca1] Finished in 0.385 seconds with exit status 0 (successful). INFO [65490fd9] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [65490fd9] Command: cd /home/deploy/apps/aoumi_server/releases/20221230154110 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [65490fd9] Finished in 0.383 seconds with exit status 0 (successful). INFO [b7f32ce4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230154110 /home/deploy/apps/aoumi_server/releases/20221230154110/config as deploy@54.179.173.86 DEBUG [b7f32ce4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230154110 /home/deploy/apps/aoumi_server/releases/20221230154110/config INFO [b7f32ce4] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [6f148bb9] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/.env ] as deploy@54.179.173.86 DEBUG [6f148bb9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/.env ] DEBUG [6f148bb9] Finished in 0.387 seconds with exit status 1 (failed). DEBUG [ba430d6e] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230154110/.env ] as deploy@54.179.173.86 DEBUG [ba430d6e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230154110/.env ] DEBUG [ba430d6e] Finished in 0.383 seconds with exit status 0 (successful). INFO [58f242af] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230154110/.env as deploy@54.179.173.86 DEBUG [58f242af] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230154110/.env INFO [58f242af] Finished in 0.385 seconds with exit status 0 (successful). INFO [689b0730] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230154110/.env as deploy@54.179.173.86 DEBUG [689b0730] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230154110/.env INFO [689b0730] Finished in 0.353 seconds with exit status 0 (successful). DEBUG [1889d53d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml ] as deploy@54.179.173.86 DEBUG [1889d53d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml ] DEBUG [1889d53d] Finished in 0.384 seconds with exit status 1 (failed). DEBUG [1f3845e8] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml ] as deploy@54.179.173.86 DEBUG [1f3845e8] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml ] DEBUG [1f3845e8] Finished in 0.387 seconds with exit status 0 (successful). INFO [b74903a7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml as deploy@54.179.173.86 DEBUG [b74903a7] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml INFO [b74903a7] Finished in 0.384 seconds with exit status 0 (successful). INFO [fadb015b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml as deploy@54.179.173.86 DEBUG [fadb015b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230154110/config/database.yml INFO [fadb015b] Finished in 0.381 seconds with exit status 0 (successful). INFO [92412e3a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230154110 /home/deploy/apps/aoumi_server/releases/20221230154110/tmp /home/deploy/apps/aoumi_server/releases/20221230154110/vendor /home/deploy/apps/aoumi_server/releases/20221230154110/public as deploy@54.179.173.86 DEBUG [92412e3a] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230154110 /home/deploy/apps/aoumi_server/releases/20221230154110/tmp /home/deploy/apps/aoumi_server/releases/20221230154110/vendor /home/deploy/apps/aoumi_server/releases/20221230154110/public INFO [92412e3a] Finished in 0.380 seconds with exit status 0 (successful). DEBUG [2d16e674] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/log ] as deploy@54.179.173.86 DEBUG [2d16e674] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/log ] DEBUG [2d16e674] Finished in 0.381 seconds with exit status 1 (failed). DEBUG [a116198e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/log ] as deploy@54.179.173.86 DEBUG [a116198e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/log ] DEBUG [a116198e] Finished in 0.384 seconds with exit status 0 (successful). INFO [6341d5b6] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230154110/log as deploy@54.179.173.86 DEBUG [6341d5b6] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230154110/log INFO [6341d5b6] Finished in 0.384 seconds with exit status 0 (successful). INFO [aa8b702b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230154110/log as deploy@54.179.173.86 DEBUG [aa8b702b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230154110/log INFO [aa8b702b] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [8bd93e9e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids ] as deploy@54.179.173.86 DEBUG [8bd93e9e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids ] DEBUG [8bd93e9e] Finished in 0.385 seconds with exit status 1 (failed). DEBUG [64217054] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids ] as deploy@54.179.173.86 DEBUG [64217054] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids ] DEBUG [64217054] Finished in 0.386 seconds with exit status 0 (successful). INFO [2082d7d1] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids as deploy@54.179.173.86 DEBUG [2082d7d1] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids INFO [2082d7d1] Finished in 0.396 seconds with exit status 0 (successful). INFO [35b6f402] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids as deploy@54.179.173.86 DEBUG [35b6f402] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/pids INFO [35b6f402] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [e3769189] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/cache ] as deploy@54.179.173.86 DEBUG [e3769189] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/cache ] DEBUG [e3769189] Finished in 0.382 seconds with exit status 1 (failed). DEBUG [f204ac68] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/cache ] as deploy@54.179.173.86 DEBUG [f204ac68] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/cache ] DEBUG [f204ac68] Finished in 0.384 seconds with exit status 1 (failed). INFO [8c19f2f6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/cache as deploy@54.179.173.86 DEBUG [8c19f2f6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/cache INFO [8c19f2f6] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [cc9c109e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/sockets ] as deploy@54.179.173.86 DEBUG [cc9c109e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/sockets ] DEBUG [cc9c109e] Finished in 0.383 seconds with exit status 1 (failed). DEBUG [df4b50d6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/sockets ] as deploy@54.179.173.86 DEBUG [df4b50d6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/sockets ] DEBUG [df4b50d6] Finished in 0.385 seconds with exit status 1 (failed). INFO [cbaedea6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/sockets as deploy@54.179.173.86 DEBUG [cbaedea6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230154110/tmp/sockets INFO [cbaedea6] Finished in 0.384 seconds with exit status 0 (successful). DEBUG [7d698fac] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/vendor/bundle ] as deploy@54.179.173.86 DEBUG [7d698fac] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/vendor/bundle ] DEBUG [7d698fac] Finished in 0.362 seconds with exit status 1 (failed). DEBUG [56b906bd] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/vendor/bundle ] as deploy@54.179.173.86 DEBUG [56b906bd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/vendor/bundle ] DEBUG [56b906bd] Finished in 0.387 seconds with exit status 1 (failed). INFO [37605e74] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230154110/vendor/bundle as deploy@54.179.173.86 DEBUG [37605e74] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230154110/vendor/bundle INFO [37605e74] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [f097ff1b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/public/system ] as deploy@54.179.173.86 DEBUG [f097ff1b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/public/system ] DEBUG [f097ff1b] Finished in 0.381 seconds with exit status 1 (failed). DEBUG [108b1070] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/public/system ] as deploy@54.179.173.86 DEBUG [108b1070] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/public/system ] DEBUG [108b1070] Finished in 0.383 seconds with exit status 1 (failed). INFO [c4817f8e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230154110/public/system as deploy@54.179.173.86 DEBUG [c4817f8e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230154110/public/system INFO [c4817f8e] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [516791e2] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/public/uploads ] as deploy@54.179.173.86 DEBUG [516791e2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230154110/public/uploads ] DEBUG [516791e2] Finished in 0.386 seconds with exit status 1 (failed). DEBUG [ec35368f] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/public/uploads ] as deploy@54.179.173.86 DEBUG [ec35368f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230154110/public/uploads ] DEBUG [ec35368f] Finished in 0.385 seconds with exit status 1 (failed). INFO [e3de2e64] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230154110/public/uploads as deploy@54.179.173.86 DEBUG [e3de2e64] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230154110/public/uploads INFO [e3de2e64] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [119668e3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [119668e3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi DEBUG [119668e3] Finished in 0.384 seconds with exit status 0 (successful). INFO [8c3a5c42] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [8c3a5c42] Command: cd /home/deploy/apps/aoumi_server/releases/20221230154110 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [8c3a5c42] Finished in 0.976 seconds with exit status 0 (successful). INFO [bdd7a6a6] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [bdd7a6a6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230154110 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [bdd7a6a6] Finished in 0.921 seconds with exit status 0 (successful). INFO [223cccd2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [223cccd2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230154110 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [223cccd2] Finished in 0.957 seconds with exit status 0 (successful). DEBUG [e79e5c2a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e79e5c2a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi DEBUG [e79e5c2a] Finished in 0.385 seconds with exit status 0 (successful). DEBUG [dabb9a30] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [dabb9a30] Command: cd /home/deploy/apps/aoumi_server/releases/20221230154110 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [dabb9a30] The Gemfile's dependencies are satisfied DEBUG [dabb9a30] Finished in 1.047 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [9b87a6df] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [9b87a6df] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230154110; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230154110'" 1>&2; false; fi DEBUG [9b87a6df] Finished in 0.383 seconds with exit status 0 (successful). INFO [aba0bd62] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [aba0bd62] Command: cd /home/deploy/apps/aoumi_server/releases/20221230154110 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [aba0bd62] Finished in 1.926 seconds with exit status 0 (successful). INFO [210e992b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230154110 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [210e992b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230154110 /home/deploy/apps/aoumi_server/releases/current INFO [210e992b] Finished in 0.386 seconds with exit status 0 (successful). INFO [aff48b57] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [aff48b57] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [aff48b57] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [3d1b5244] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [3d1b5244] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [3d1b5244] 20221230151044 20221230151137 20221230151427 20221230153004 20221230153310 20221230154110 DEBUG [3d1b5244] Finished in 0.392 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [99948440] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [99948440] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [99948440] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [a4234b3b] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [a4234b3b] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [a4234b3b] /home/deploy/apps/aoumi_server/releases/20221230154110 DEBUG [a4234b3b] Finished in 0.384 seconds with exit status 0 (successful). INFO [8c259095] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151044 as deploy@54.179.173.86 DEBUG [8c259095] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151044 INFO [8c259095] Finished in 0.386 seconds with exit status 0 (successful). DEBUG [20da97ff] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [20da97ff] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [20da97ff] Finished in 0.386 seconds with exit status 0 (successful). INFO [24c8b4bb] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230154110 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [24c8b4bb] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230154110 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [24c8b4bb] Finished in 0.384 seconds with exit status 0 (successful). INFO [9154b717] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [9154b717] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [9154b717] Job for puma_aoumi_server_development.service failed because a timeout was exceeded. DEBUG [9154b717] See "systemctl status puma_aoumi_server_development.service" and "journalctl -xe" for details. INFO --------------------------------------------------------------------------- INFO START 2022-12-30 22:52:22 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ff30b9a0] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [ff30b9a0] Command: ~/.rvm/bin/rvm version DEBUG [ff30b9a0] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [ff30b9a0] Finished in 2.550 seconds with exit status 0 (successful). DEBUG [2dd651e4] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [2dd651e4] Command: ~/.rvm/bin/rvm current DEBUG [2dd651e4] ruby-3.0.0 DEBUG [2dd651e4] Finished in 0.574 seconds with exit status 0 (successful). DEBUG [d8bf21a1] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [d8bf21a1] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [d8bf21a1] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [d8bf21a1] Finished in 1.724 seconds with exit status 0 (successful). INFO [9bed78a5] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [9bed78a5] Command: /usr/bin/env mkdir -p /tmp INFO [9bed78a5] Finished in 0.386 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-35a93f2c12aa24e03602.sh 0.0% INFO Uploading /tmp/git-ssh-35a93f2c12aa24e03602.sh 100.0% INFO [dadde937] Running /usr/bin/env chmod 700 /tmp/git-ssh-35a93f2c12aa24e03602.sh as deploy@54.179.173.86 DEBUG [dadde937] Command: /usr/bin/env chmod 700 /tmp/git-ssh-35a93f2c12aa24e03602.sh INFO [dadde937] Finished in 0.683 seconds with exit status 0 (successful). INFO [06ea4d28] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [06ea4d28] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-35a93f2c12aa24e03602.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [06ea4d28] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [06ea4d28] Finished in 4.058 seconds with exit status 0 (successful). INFO [c1e265f9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [c1e265f9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [c1e265f9] Finished in 0.389 seconds with exit status 0 (successful). INFO [0a7d7768] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [0a7d7768] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [0a7d7768] Finished in 0.386 seconds with exit status 0 (successful). INFO [329fc219] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [329fc219] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [329fc219] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [1d33cf90] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [1d33cf90] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [1d33cf90] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [ab2c03c1] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [ab2c03c1] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [ab2c03c1] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [39b99f77] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [39b99f77] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [39b99f77] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [4abb790a] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [4abb790a] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [4abb790a] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [8dcd6ae3] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [8dcd6ae3] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [8dcd6ae3] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [8dcd6ae3] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [8e035e92] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [8e035e92] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [8e035e92] Finished in 0.390 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5e59478b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5e59478b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5e59478b] Finished in 0.387 seconds with exit status 0 (successful). INFO [5db2301a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [5db2301a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-35a93f2c12aa24e03602.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [5db2301a] Finished in 0.394 seconds with exit status 0 (successful). INFO [e71ec897] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [e71ec897] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-35a93f2c12aa24e03602.sh" ; /usr/bin/env git remote update --prune ) DEBUG [e71ec897] Fetching origin INFO [e71ec897] Finished in 3.526 seconds with exit status 0 (successful). DEBUG [ac02f67c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ac02f67c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ac02f67c] Finished in 0.388 seconds with exit status 0 (successful). INFO [1b230fb2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230155237 as deploy@54.179.173.86 DEBUG [1b230fb2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-35a93f2c12aa24e03602.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230155237 ) INFO [1b230fb2] Finished in 0.390 seconds with exit status 0 (successful). INFO [f456b05b] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230155237 as deploy@54.179.173.86 DEBUG [f456b05b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-35a93f2c12aa24e03602.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230155237 ) INFO [f456b05b] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [99cd004f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [99cd004f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [99cd004f] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [5a4c23e7] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [5a4c23e7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-35a93f2c12aa24e03602.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [5a4c23e7] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [5a4c23e7] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [5f26ac49] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5f26ac49] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi DEBUG [5f26ac49] Finished in 0.390 seconds with exit status 0 (successful). INFO [946f6540] Running /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION as deploy@54.179.173.86 DEBUG [946f6540] Command: cd /home/deploy/apps/aoumi_server/releases/20221230155237 && /usr/bin/env echo "4efc598a6c82d0743915240d655b8991d2c51858" > REVISION INFO [946f6540] Finished in 0.392 seconds with exit status 0 (successful). INFO [d3d2cacc] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230155237 /home/deploy/apps/aoumi_server/releases/20221230155237/config as deploy@54.179.173.86 DEBUG [d3d2cacc] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230155237 /home/deploy/apps/aoumi_server/releases/20221230155237/config INFO [d3d2cacc] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [0fe88daf] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/.env ] as deploy@54.179.173.86 DEBUG [0fe88daf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/.env ] DEBUG [0fe88daf] Finished in 0.391 seconds with exit status 1 (failed). DEBUG [c68ab2fe] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230155237/.env ] as deploy@54.179.173.86 DEBUG [c68ab2fe] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230155237/.env ] DEBUG [c68ab2fe] Finished in 0.393 seconds with exit status 0 (successful). INFO [cbaed0f2] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230155237/.env as deploy@54.179.173.86 DEBUG [cbaed0f2] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230155237/.env INFO [cbaed0f2] Finished in 0.391 seconds with exit status 0 (successful). INFO [6146c915] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230155237/.env as deploy@54.179.173.86 DEBUG [6146c915] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230155237/.env INFO [6146c915] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [a9abebed] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml ] as deploy@54.179.173.86 DEBUG [a9abebed] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml ] DEBUG [a9abebed] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [9a799a3c] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml ] as deploy@54.179.173.86 DEBUG [9a799a3c] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml ] DEBUG [9a799a3c] Finished in 0.391 seconds with exit status 0 (successful). INFO [443e94a7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml as deploy@54.179.173.86 DEBUG [443e94a7] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml INFO [443e94a7] Finished in 0.391 seconds with exit status 0 (successful). INFO [313aee6a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml as deploy@54.179.173.86 DEBUG [313aee6a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230155237/config/database.yml INFO [313aee6a] Finished in 0.388 seconds with exit status 0 (successful). INFO [e64b5073] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230155237 /home/deploy/apps/aoumi_server/releases/20221230155237/tmp /home/deploy/apps/aoumi_server/releases/20221230155237/vendor /home/deploy/apps/aoumi_server/releases/20221230155237/public as deploy@54.179.173.86 DEBUG [e64b5073] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230155237 /home/deploy/apps/aoumi_server/releases/20221230155237/tmp /home/deploy/apps/aoumi_server/releases/20221230155237/vendor /home/deploy/apps/aoumi_server/releases/20221230155237/public INFO [e64b5073] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [d2fb5233] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/log ] as deploy@54.179.173.86 DEBUG [d2fb5233] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/log ] DEBUG [d2fb5233] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [6f639e7a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/log ] as deploy@54.179.173.86 DEBUG [6f639e7a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/log ] DEBUG [6f639e7a] Finished in 0.391 seconds with exit status 0 (successful). INFO [d84e6779] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230155237/log as deploy@54.179.173.86 DEBUG [d84e6779] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230155237/log INFO [d84e6779] Finished in 0.387 seconds with exit status 0 (successful). INFO [e6a54abe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230155237/log as deploy@54.179.173.86 DEBUG [e6a54abe] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230155237/log INFO [e6a54abe] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [b89616da] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids ] as deploy@54.179.173.86 DEBUG [b89616da] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids ] DEBUG [b89616da] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [f99cd107] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids ] as deploy@54.179.173.86 DEBUG [f99cd107] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids ] DEBUG [f99cd107] Finished in 0.392 seconds with exit status 0 (successful). INFO [ee667a20] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids as deploy@54.179.173.86 DEBUG [ee667a20] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids INFO [ee667a20] Finished in 0.391 seconds with exit status 0 (successful). INFO [0af8aa66] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids as deploy@54.179.173.86 DEBUG [0af8aa66] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/pids INFO [0af8aa66] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [6cc91d6b] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/cache ] as deploy@54.179.173.86 DEBUG [6cc91d6b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/cache ] DEBUG [6cc91d6b] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [9b51e8d6] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/cache ] as deploy@54.179.173.86 DEBUG [9b51e8d6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/cache ] DEBUG [9b51e8d6] Finished in 0.392 seconds with exit status 1 (failed). INFO [e7c17c1c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/cache as deploy@54.179.173.86 DEBUG [e7c17c1c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/cache INFO [e7c17c1c] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [42fefc87] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/sockets ] as deploy@54.179.173.86 DEBUG [42fefc87] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/sockets ] DEBUG [42fefc87] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [9063a605] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/sockets ] as deploy@54.179.173.86 DEBUG [9063a605] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/sockets ] DEBUG [9063a605] Finished in 0.391 seconds with exit status 1 (failed). INFO [9e834cba] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/sockets as deploy@54.179.173.86 DEBUG [9e834cba] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230155237/tmp/sockets INFO [9e834cba] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [dbc9ad2d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/vendor/bundle ] as deploy@54.179.173.86 DEBUG [dbc9ad2d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/vendor/bundle ] DEBUG [dbc9ad2d] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [a9f219ec] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/vendor/bundle ] as deploy@54.179.173.86 DEBUG [a9f219ec] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/vendor/bundle ] DEBUG [a9f219ec] Finished in 0.394 seconds with exit status 1 (failed). INFO [2dafb3ae] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230155237/vendor/bundle as deploy@54.179.173.86 DEBUG [2dafb3ae] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230155237/vendor/bundle INFO [2dafb3ae] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [da8ce77d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/public/system ] as deploy@54.179.173.86 DEBUG [da8ce77d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/public/system ] DEBUG [da8ce77d] Finished in 0.392 seconds with exit status 1 (failed). DEBUG [51135060] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/public/system ] as deploy@54.179.173.86 DEBUG [51135060] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/public/system ] DEBUG [51135060] Finished in 0.389 seconds with exit status 1 (failed). INFO [9d605b64] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230155237/public/system as deploy@54.179.173.86 DEBUG [9d605b64] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230155237/public/system INFO [9d605b64] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [2c1d4a8c] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/public/uploads ] as deploy@54.179.173.86 DEBUG [2c1d4a8c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230155237/public/uploads ] DEBUG [2c1d4a8c] Finished in 0.368 seconds with exit status 1 (failed). DEBUG [6ad44393] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/public/uploads ] as deploy@54.179.173.86 DEBUG [6ad44393] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230155237/public/uploads ] DEBUG [6ad44393] Finished in 0.390 seconds with exit status 1 (failed). INFO [4d6b78ed] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230155237/public/uploads as deploy@54.179.173.86 DEBUG [4d6b78ed] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230155237/public/uploads INFO [4d6b78ed] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [153e67de] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [153e67de] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi DEBUG [153e67de] Finished in 0.390 seconds with exit status 0 (successful). INFO [92846bf0] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [92846bf0] Command: cd /home/deploy/apps/aoumi_server/releases/20221230155237 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [92846bf0] Finished in 0.901 seconds with exit status 0 (successful). INFO [59921aa2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [59921aa2] Command: cd /home/deploy/apps/aoumi_server/releases/20221230155237 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [59921aa2] Finished in 0.919 seconds with exit status 0 (successful). INFO [fa799183] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [fa799183] Command: cd /home/deploy/apps/aoumi_server/releases/20221230155237 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [fa799183] Finished in 0.920 seconds with exit status 0 (successful). DEBUG [60133695] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [60133695] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi DEBUG [60133695] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [d257b50d] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [d257b50d] Command: cd /home/deploy/apps/aoumi_server/releases/20221230155237 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [d257b50d] The Gemfile's dependencies are satisfied DEBUG [d257b50d] Finished in 1.079 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [2bec42c6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2bec42c6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230155237; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230155237'" 1>&2; false; fi DEBUG [2bec42c6] Finished in 0.392 seconds with exit status 0 (successful). INFO [89e5bf84] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [89e5bf84] Command: cd /home/deploy/apps/aoumi_server/releases/20221230155237 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [89e5bf84] Finished in 1.921 seconds with exit status 0 (successful). INFO [13d30f65] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230155237 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [13d30f65] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230155237 /home/deploy/apps/aoumi_server/releases/current INFO [13d30f65] Finished in 0.389 seconds with exit status 0 (successful). INFO [52698d81] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [52698d81] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [52698d81] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [b9417b15] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [b9417b15] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [b9417b15] 20221230151137 20221230151427 20221230153004 20221230153310 20221230154110 20221230155237 DEBUG [b9417b15] Finished in 0.394 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [d470ad48] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [d470ad48] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [d470ad48] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [12da8631] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [12da8631] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [12da8631] /home/deploy/apps/aoumi_server/releases/20221230155237 DEBUG [12da8631] Finished in 0.391 seconds with exit status 0 (successful). INFO [aae7dccc] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151137 as deploy@54.179.173.86 DEBUG [aae7dccc] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151137 INFO [aae7dccc] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [ad1618d6] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ad1618d6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [ad1618d6] Finished in 0.389 seconds with exit status 0 (successful). INFO [921b7ebd] Running /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230155237 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [921b7ebd] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 4efc598a6c82d0743915240d655b8991d2c51858) deployed as release 20221230155237 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [921b7ebd] Finished in 0.393 seconds with exit status 0 (successful). INFO [1e6a5ddb] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [1e6a5ddb] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [1e6a5ddb] Finished in 0.389 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:04:52 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [b4acc5d1] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [b4acc5d1] Command: ~/.rvm/bin/rvm version DEBUG [b4acc5d1] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [b4acc5d1] Finished in 2.085 seconds with exit status 0 (successful). DEBUG [e50ae8f6] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [e50ae8f6] Command: ~/.rvm/bin/rvm current DEBUG [e50ae8f6] ruby-3.0.0 DEBUG [e50ae8f6] Finished in 0.543 seconds with exit status 0 (successful). DEBUG [0c09b927] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [0c09b927] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [0c09b927] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [0c09b927] Finished in 0.749 seconds with exit status 0 (successful). INFO [6a864708] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [6a864708] Command: /usr/bin/env mkdir -p /tmp INFO [6a864708] Finished in 0.387 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-a55bc66ad403842af868.sh 0.0% INFO Uploading /tmp/git-ssh-a55bc66ad403842af868.sh 100.0% INFO [f5d6e029] Running /usr/bin/env chmod 700 /tmp/git-ssh-a55bc66ad403842af868.sh as deploy@54.179.173.86 DEBUG [f5d6e029] Command: /usr/bin/env chmod 700 /tmp/git-ssh-a55bc66ad403842af868.sh INFO [f5d6e029] Finished in 0.393 seconds with exit status 0 (successful). INFO [a98d6af3] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [a98d6af3] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a55bc66ad403842af868.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a98d6af3] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [a98d6af3] Finished in 3.530 seconds with exit status 0 (successful). INFO [e6762a1f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [e6762a1f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [e6762a1f] Finished in 0.389 seconds with exit status 0 (successful). INFO [d3b5c96d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [d3b5c96d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [d3b5c96d] Finished in 0.388 seconds with exit status 0 (successful). INFO [c287a91c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [c287a91c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [c287a91c] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [2a10f41a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [2a10f41a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [2a10f41a] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [6786d8a4] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [6786d8a4] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [6786d8a4] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [92f1860c] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [92f1860c] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [92f1860c] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [90f44177] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [90f44177] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [90f44177] Finished in 0.401 seconds with exit status 0 (successful). DEBUG [71f64334] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [71f64334] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [71f64334] 4efc598a6c82d0743915240d655b8991d2c51858 DEBUG [71f64334] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [af404622] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [af404622] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [af404622] Finished in 0.389 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [2c642c02] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2c642c02] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2c642c02] Finished in 0.388 seconds with exit status 0 (successful). INFO [73d80f59] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [73d80f59] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a55bc66ad403842af868.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [73d80f59] Finished in 0.389 seconds with exit status 0 (successful). INFO [0ba352e8] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [0ba352e8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a55bc66ad403842af868.sh" ; /usr/bin/env git remote update --prune ) DEBUG [0ba352e8] Fetching origin DEBUG [0ba352e8] From github.com:huythanh176/aoumi_server + 4efc598...c454957 develop -> develop (forced update) INFO [0ba352e8] Finished in 3.871 seconds with exit status 0 (successful). DEBUG [8214b2bb] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8214b2bb] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8214b2bb] Finished in 0.396 seconds with exit status 0 (successful). INFO [ae7d1d12] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230160503 as deploy@54.179.173.86 DEBUG [ae7d1d12] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a55bc66ad403842af868.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230160503 ) INFO [ae7d1d12] Finished in 0.388 seconds with exit status 0 (successful). INFO [1a986bd1] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230160503 as deploy@54.179.173.86 DEBUG [1a986bd1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a55bc66ad403842af868.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230160503 ) INFO [1a986bd1] Finished in 0.415 seconds with exit status 0 (successful). DEBUG [8b08fd12] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8b08fd12] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8b08fd12] Finished in 0.388 seconds with exit status 0 (successful). DEBUG [7ca69db7] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [7ca69db7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a55bc66ad403842af868.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [7ca69db7] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [7ca69db7] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [051bdc1b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [051bdc1b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi DEBUG [051bdc1b] Finished in 0.391 seconds with exit status 0 (successful). INFO [1ba8a1f6] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [1ba8a1f6] Command: cd /home/deploy/apps/aoumi_server/releases/20221230160503 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [1ba8a1f6] Finished in 0.391 seconds with exit status 0 (successful). INFO [e2314f2b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230160503 /home/deploy/apps/aoumi_server/releases/20221230160503/config as deploy@54.179.173.86 DEBUG [e2314f2b] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230160503 /home/deploy/apps/aoumi_server/releases/20221230160503/config INFO [e2314f2b] Finished in 0.552 seconds with exit status 0 (successful). DEBUG [e996738e] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/.env ] as deploy@54.179.173.86 DEBUG [e996738e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/.env ] DEBUG [e996738e] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [64cbe238] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230160503/.env ] as deploy@54.179.173.86 DEBUG [64cbe238] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230160503/.env ] DEBUG [64cbe238] Finished in 0.393 seconds with exit status 0 (successful). INFO [b0a1a41a] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230160503/.env as deploy@54.179.173.86 DEBUG [b0a1a41a] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230160503/.env INFO [b0a1a41a] Finished in 0.394 seconds with exit status 0 (successful). INFO [3dbf26e7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230160503/.env as deploy@54.179.173.86 DEBUG [3dbf26e7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230160503/.env INFO [3dbf26e7] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [349791b5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml ] as deploy@54.179.173.86 DEBUG [349791b5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml ] DEBUG [349791b5] Finished in 0.353 seconds with exit status 1 (failed). DEBUG [7fa34f90] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml ] as deploy@54.179.173.86 DEBUG [7fa34f90] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml ] DEBUG [7fa34f90] Finished in 0.394 seconds with exit status 0 (successful). INFO [3a576a99] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml as deploy@54.179.173.86 DEBUG [3a576a99] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml INFO [3a576a99] Finished in 0.389 seconds with exit status 0 (successful). INFO [9299918b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml as deploy@54.179.173.86 DEBUG [9299918b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230160503/config/database.yml INFO [9299918b] Finished in 0.386 seconds with exit status 0 (successful). INFO [206374c7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230160503 /home/deploy/apps/aoumi_server/releases/20221230160503/tmp /home/deploy/apps/aoumi_server/releases/20221230160503/vendor /home/deploy/apps/aoumi_server/releases/20221230160503/public as deploy@54.179.173.86 DEBUG [206374c7] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230160503 /home/deploy/apps/aoumi_server/releases/20221230160503/tmp /home/deploy/apps/aoumi_server/releases/20221230160503/vendor /home/deploy/apps/aoumi_server/releases/20221230160503/public INFO [206374c7] Finished in 0.389 seconds with exit status 0 (successful). DEBUG [ff6606c1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/log ] as deploy@54.179.173.86 DEBUG [ff6606c1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/log ] DEBUG [ff6606c1] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [2a76ead9] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/log ] as deploy@54.179.173.86 DEBUG [2a76ead9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/log ] DEBUG [2a76ead9] Finished in 0.389 seconds with exit status 0 (successful). INFO [c6a5581b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230160503/log as deploy@54.179.173.86 DEBUG [c6a5581b] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230160503/log INFO [c6a5581b] Finished in 0.395 seconds with exit status 0 (successful). INFO [13813e47] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230160503/log as deploy@54.179.173.86 DEBUG [13813e47] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230160503/log INFO [13813e47] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [fe62f049] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids ] as deploy@54.179.173.86 DEBUG [fe62f049] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids ] DEBUG [fe62f049] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [f4d83b35] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids ] as deploy@54.179.173.86 DEBUG [f4d83b35] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids ] DEBUG [f4d83b35] Finished in 0.390 seconds with exit status 0 (successful). INFO [ab15418f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids as deploy@54.179.173.86 DEBUG [ab15418f] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids INFO [ab15418f] Finished in 0.389 seconds with exit status 0 (successful). INFO [e9d653c1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids as deploy@54.179.173.86 DEBUG [e9d653c1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/pids INFO [e9d653c1] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [004eecb8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/cache ] as deploy@54.179.173.86 DEBUG [004eecb8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/cache ] DEBUG [004eecb8] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [cdc4b277] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/cache ] as deploy@54.179.173.86 DEBUG [cdc4b277] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/cache ] DEBUG [cdc4b277] Finished in 0.392 seconds with exit status 1 (failed). INFO [a2afe0e3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/cache as deploy@54.179.173.86 DEBUG [a2afe0e3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/cache INFO [a2afe0e3] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [2a3ccec1] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/sockets ] as deploy@54.179.173.86 DEBUG [2a3ccec1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/sockets ] DEBUG [2a3ccec1] Finished in 0.393 seconds with exit status 1 (failed). DEBUG [7eb5ab19] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/sockets ] as deploy@54.179.173.86 DEBUG [7eb5ab19] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/sockets ] DEBUG [7eb5ab19] Finished in 0.390 seconds with exit status 1 (failed). INFO [202af316] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/sockets as deploy@54.179.173.86 DEBUG [202af316] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230160503/tmp/sockets INFO [202af316] Finished in 0.431 seconds with exit status 0 (successful). DEBUG [d23e6006] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/vendor/bundle ] as deploy@54.179.173.86 DEBUG [d23e6006] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/vendor/bundle ] DEBUG [d23e6006] Finished in 0.390 seconds with exit status 1 (failed). DEBUG [7094929d] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/vendor/bundle ] as deploy@54.179.173.86 DEBUG [7094929d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/vendor/bundle ] DEBUG [7094929d] Finished in 0.396 seconds with exit status 1 (failed). INFO [b395e02c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230160503/vendor/bundle as deploy@54.179.173.86 DEBUG [b395e02c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230160503/vendor/bundle INFO [b395e02c] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [542a4ee5] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/public/system ] as deploy@54.179.173.86 DEBUG [542a4ee5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/public/system ] DEBUG [542a4ee5] Finished in 0.389 seconds with exit status 1 (failed). DEBUG [691ffbb5] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/public/system ] as deploy@54.179.173.86 DEBUG [691ffbb5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/public/system ] DEBUG [691ffbb5] Finished in 0.391 seconds with exit status 1 (failed). INFO [40812052] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230160503/public/system as deploy@54.179.173.86 DEBUG [40812052] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230160503/public/system INFO [40812052] Finished in 0.392 seconds with exit status 0 (successful). DEBUG [109cbb62] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/public/uploads ] as deploy@54.179.173.86 DEBUG [109cbb62] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230160503/public/uploads ] DEBUG [109cbb62] Finished in 0.388 seconds with exit status 1 (failed). DEBUG [da143b42] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/public/uploads ] as deploy@54.179.173.86 DEBUG [da143b42] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230160503/public/uploads ] DEBUG [da143b42] Finished in 0.390 seconds with exit status 1 (failed). INFO [ac2883d1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230160503/public/uploads as deploy@54.179.173.86 DEBUG [ac2883d1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230160503/public/uploads INFO [ac2883d1] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [8b3bcfe9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8b3bcfe9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi DEBUG [8b3bcfe9] Finished in 0.389 seconds with exit status 0 (successful). INFO [da16b86e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [da16b86e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230160503 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [da16b86e] Finished in 1.008 seconds with exit status 0 (successful). INFO [f8be9ca8] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [f8be9ca8] Command: cd /home/deploy/apps/aoumi_server/releases/20221230160503 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [f8be9ca8] Finished in 0.921 seconds with exit status 0 (successful). INFO [25443526] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [25443526] Command: cd /home/deploy/apps/aoumi_server/releases/20221230160503 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [25443526] Finished in 0.920 seconds with exit status 0 (successful). DEBUG [08962bf0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [08962bf0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi DEBUG [08962bf0] Finished in 0.393 seconds with exit status 0 (successful). DEBUG [2c64efce] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [2c64efce] Command: cd /home/deploy/apps/aoumi_server/releases/20221230160503 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [2c64efce] The Gemfile's dependencies are satisfied DEBUG [2c64efce] Finished in 1.073 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [f303e54a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [f303e54a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230160503; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230160503'" 1>&2; false; fi DEBUG [f303e54a] Finished in 0.390 seconds with exit status 0 (successful). INFO [57561e1e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [57561e1e] Command: cd /home/deploy/apps/aoumi_server/releases/20221230160503 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [57561e1e] Finished in 1.920 seconds with exit status 0 (successful). INFO [2a6e0e2b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230160503 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [2a6e0e2b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230160503 /home/deploy/apps/aoumi_server/releases/current INFO [2a6e0e2b] Finished in 0.388 seconds with exit status 0 (successful). INFO [efb9be91] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [efb9be91] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [efb9be91] Finished in 0.427 seconds with exit status 0 (successful). DEBUG [01eb12db] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [01eb12db] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [01eb12db] 20221230151427 20221230153004 20221230153310 20221230154110 20221230155237 20221230160503 DEBUG [01eb12db] Finished in 0.403 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [f0760899] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [f0760899] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [f0760899] Finished in 0.390 seconds with exit status 0 (successful). DEBUG [8470eea7] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [8470eea7] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [8470eea7] /home/deploy/apps/aoumi_server/releases/20221230160503 DEBUG [8470eea7] Finished in 0.390 seconds with exit status 0 (successful). INFO [fe0ecc77] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151427 as deploy@54.179.173.86 DEBUG [fe0ecc77] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230151427 INFO [fe0ecc77] Finished in 0.391 seconds with exit status 0 (successful). DEBUG [a4c57abc] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [a4c57abc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [a4c57abc] Finished in 0.389 seconds with exit status 0 (successful). INFO [70406b4c] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20221230160503 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [70406b4c] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20221230160503 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [70406b4c] Finished in 0.392 seconds with exit status 0 (successful). INFO [edfa0da1] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [edfa0da1] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [edfa0da1] Finished in 0.391 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:18:44 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [c09ff982] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [c09ff982] Command: ~/.rvm/bin/rvm version DEBUG [c09ff982] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [c09ff982] Finished in 2.272 seconds with exit status 0 (successful). DEBUG [96ccf0dd] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [96ccf0dd] Command: ~/.rvm/bin/rvm current DEBUG [96ccf0dd] ruby-3.0.0 DEBUG [96ccf0dd] Finished in 0.591 seconds with exit status 0 (successful). DEBUG [9081eb06] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [9081eb06] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [9081eb06] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [9081eb06] Finished in 0.793 seconds with exit status 0 (successful). INFO [175ded1d] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [175ded1d] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [175ded1d] Warning: The unit file, source configuration file or drop-ins of puma_aoumi_server_development.service changed on disk. Run 'systemctl daemon-reload' to reload units. INFO [175ded1d] Finished in 0.412 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:18:59 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [c6c56a11] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [c6c56a11] Command: ~/.rvm/bin/rvm version DEBUG [c6c56a11] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [c6c56a11] Finished in 2.111 seconds with exit status 0 (successful). DEBUG [59527701] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [59527701] Command: ~/.rvm/bin/rvm current DEBUG [59527701] ruby-3.0.0 DEBUG [59527701] Finished in 0.590 seconds with exit status 0 (successful). DEBUG [9ab307a5] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [9ab307a5] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [9ab307a5] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [9ab307a5] Finished in 0.830 seconds with exit status 0 (successful). INFO [a244614e] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [a244614e] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [a244614e] Finished in 0.403 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:20:23 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [2df3ae22] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [2df3ae22] Command: ~/.rvm/bin/rvm version DEBUG [2df3ae22] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [2df3ae22] Finished in 2.108 seconds with exit status 0 (successful). DEBUG [c8f2bd78] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [c8f2bd78] Command: ~/.rvm/bin/rvm current DEBUG [c8f2bd78] ruby-3.0.0 DEBUG [c8f2bd78] Finished in 0.591 seconds with exit status 0 (successful). DEBUG [424d11b8] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [424d11b8] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [424d11b8] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [424d11b8] Finished in 0.785 seconds with exit status 0 (successful). INFO [9183b954] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [9183b954] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [9183b954] Finished in 0.401 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:21:33 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [0c15cc53] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [0c15cc53] Command: ~/.rvm/bin/rvm version DEBUG [0c15cc53] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [0c15cc53] Finished in 2.114 seconds with exit status 0 (successful). DEBUG [815728e2] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [815728e2] Command: ~/.rvm/bin/rvm current DEBUG [815728e2] ruby-3.0.0 DEBUG [815728e2] Finished in 0.989 seconds with exit status 0 (successful). DEBUG [d9bc7b0c] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [d9bc7b0c] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [d9bc7b0c] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [d9bc7b0c] Finished in 0.787 seconds with exit status 0 (successful). INFO [873a55d4] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [873a55d4] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [873a55d4] Warning: The unit file, source configuration file or drop-ins of puma_aoumi_server_development.service changed on disk. Run 'systemctl daemon-reload' to reload units. INFO [873a55d4] Finished in 0.419 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:22:08 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [3511ef25] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [3511ef25] Command: ~/.rvm/bin/rvm version DEBUG [3511ef25] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [3511ef25] Finished in 2.039 seconds with exit status 0 (successful). DEBUG [d0c55110] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [d0c55110] Command: ~/.rvm/bin/rvm current DEBUG [d0c55110] ruby-3.0.0 DEBUG [d0c55110] Finished in 0.578 seconds with exit status 0 (successful). DEBUG [90488a85] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [90488a85] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [90488a85] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [90488a85] Finished in 0.744 seconds with exit status 0 (successful). INFO [b88d92f0] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [b88d92f0] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [b88d92f0] Finished in 0.396 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:24:11 +0700 cap development puma:status INFO --------------------------------------------------------------------------- DEBUG [5a8feac0] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [5a8feac0] Command: ~/.rvm/bin/rvm version DEBUG [5a8feac0] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [5a8feac0] Finished in 2.129 seconds with exit status 0 (successful). DEBUG [a7b37daa] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [a7b37daa] Command: ~/.rvm/bin/rvm current DEBUG [a7b37daa] ruby-3.0.0 DEBUG [a7b37daa] Finished in 0.594 seconds with exit status 0 (successful). DEBUG [659b0acb] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [659b0acb] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [659b0acb] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [659b0acb] Finished in 0.726 seconds with exit status 0 (successful). INFO [24347119] Running /usr/bin/env sudo /bin/systemctl status puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [24347119] Command: /usr/bin/env sudo /bin/systemctl status puma_aoumi_server_development DEBUG [24347119] ● puma_aoumi_server_development.service - Puma HTTP Server Loaded: loaded (/etc/systemd/system/puma_aoumi_server_development.service; disabled; vendor preset: enabled) Active: active (running) since Fri 2022-12-30 16:22:12 UTC; 2min 3s ago Main PID: 76801 (bundle) Tasks: 6 (limit: 1143) Memory: 74.5M CGroup: /system.slice/puma_aoumi_server_development.service └─76801 puma 5.6.4 (unix:///home/deploy/apps/aoumi_server/shared/tmp/sockets/puma.sock) Dec 30 16:22:12 ip-10-0-0-70 systemd[1]: Started Puma HTTP Server. Dec 30 16:22:12 ip-10-0-0-70 rvm[76801]: Puma starting in single mode... Dec 30 16:22:12 ip-10-0-0-70 rvm[76801]: * Puma version: 5.6.4 (ruby 3.0.0-p0) ("Birdie's Version") Dec 30 16:22:12 ip-10-0-0-70 rvm[76801]: * Min threads: 0 Dec 30 16:22:12 ip-10-0-0-70 rvm[76801]: * Max threads: 8 Dec 30 16:22:12 ip-10-0-0-70 rvm[76801]: * Environment: development Dec 30 16:22:12 ip-10-0-0-70 rvm[76801]: * PID: 76801 Dec 30 16:22:13 ip-10-0-0-70 rvm[76801]: * Listening on unix:///home/deploy/apps/aoumi_server/shared/tmp/sockets/puma.sock Dec 30 16:22:13 ip-10-0-0-70 rvm[76801]: Use Ctrl-C to stop INFO [24347119] Finished in 0.413 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:25:55 +0700 cap development puma:restart INFO --------------------------------------------------------------------------- DEBUG [f88d72d1] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [f88d72d1] Command: ~/.rvm/bin/rvm version DEBUG [f88d72d1] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [f88d72d1] Finished in 2.047 seconds with exit status 0 (successful). DEBUG [4abd1a01] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [4abd1a01] Command: ~/.rvm/bin/rvm current DEBUG [4abd1a01] ruby-3.0.0 DEBUG [4abd1a01] Finished in 0.585 seconds with exit status 0 (successful). DEBUG [e96cdcaf] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [e96cdcaf] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [e96cdcaf] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [e96cdcaf] Finished in 0.839 seconds with exit status 0 (successful). INFO [0664487d] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [0664487d] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [0664487d] Finished in 1.179 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2022-12-30 23:27:05 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [3b2404bd] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [3b2404bd] Command: ~/.rvm/bin/rvm version DEBUG [3b2404bd] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [3b2404bd] Finished in 2.045 seconds with exit status 0 (successful). DEBUG [813c0613] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [813c0613] Command: ~/.rvm/bin/rvm current DEBUG [813c0613] ruby-3.0.0 DEBUG [813c0613] Finished in 0.593 seconds with exit status 0 (successful). DEBUG [6d47ce24] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [6d47ce24] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [6d47ce24] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [6d47ce24] Finished in 0.846 seconds with exit status 0 (successful). INFO [53d7f009] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [53d7f009] Command: /usr/bin/env mkdir -p /tmp INFO [53d7f009] Finished in 0.405 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-88280be09dca45d40f5d.sh 0.0% INFO Uploading /tmp/git-ssh-88280be09dca45d40f5d.sh 100.0% INFO [a894044a] Running /usr/bin/env chmod 700 /tmp/git-ssh-88280be09dca45d40f5d.sh as deploy@54.179.173.86 DEBUG [a894044a] Command: /usr/bin/env chmod 700 /tmp/git-ssh-88280be09dca45d40f5d.sh INFO [a894044a] Finished in 0.406 seconds with exit status 0 (successful). INFO [c6c79fb1] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [c6c79fb1] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-88280be09dca45d40f5d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [c6c79fb1] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [c6c79fb1] Finished in 3.660 seconds with exit status 0 (successful). INFO [c4e472d0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [c4e472d0] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [c4e472d0] Finished in 0.405 seconds with exit status 0 (successful). INFO [20b92fe4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [20b92fe4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [20b92fe4] Finished in 0.397 seconds with exit status 0 (successful). INFO [142f8298] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [142f8298] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [142f8298] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [c845461a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [c845461a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [c845461a] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [3375578c] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [3375578c] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [3375578c] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [a5210ec2] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [a5210ec2] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [a5210ec2] Finished in 0.429 seconds with exit status 0 (successful). DEBUG [c6585c23] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [c6585c23] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [c6585c23] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [aa2b77cc] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [aa2b77cc] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [aa2b77cc] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [aa2b77cc] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [52574902] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [52574902] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [52574902] Finished in 0.408 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [034b71aa] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [034b71aa] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [034b71aa] Finished in 0.408 seconds with exit status 0 (successful). INFO [c1258635] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [c1258635] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-88280be09dca45d40f5d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [c1258635] Finished in 0.410 seconds with exit status 0 (successful). INFO [47b9488e] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [47b9488e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-88280be09dca45d40f5d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [47b9488e] Fetching origin INFO [47b9488e] Finished in 3.505 seconds with exit status 0 (successful). DEBUG [69c3cc8a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [69c3cc8a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [69c3cc8a] Finished in 0.409 seconds with exit status 0 (successful). INFO [f85c51b4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230162717 as deploy@54.179.173.86 DEBUG [f85c51b4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-88280be09dca45d40f5d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230162717 ) INFO [f85c51b4] Finished in 0.409 seconds with exit status 0 (successful). INFO [b0862726] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230162717 as deploy@54.179.173.86 DEBUG [b0862726] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-88280be09dca45d40f5d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20221230162717 ) INFO [b0862726] Finished in 0.427 seconds with exit status 0 (successful). DEBUG [12b8b7f8] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [12b8b7f8] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [12b8b7f8] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [fff876a9] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [fff876a9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-88280be09dca45d40f5d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [fff876a9] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [fff876a9] Finished in 0.413 seconds with exit status 0 (successful). DEBUG [4aef8784] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [4aef8784] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi DEBUG [4aef8784] Finished in 0.409 seconds with exit status 0 (successful). INFO [86321294] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [86321294] Command: cd /home/deploy/apps/aoumi_server/releases/20221230162717 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [86321294] Finished in 0.407 seconds with exit status 0 (successful). INFO [85891d7c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230162717 /home/deploy/apps/aoumi_server/releases/20221230162717/config as deploy@54.179.173.86 DEBUG [85891d7c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230162717 /home/deploy/apps/aoumi_server/releases/20221230162717/config INFO [85891d7c] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [df0537e4] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/.env ] as deploy@54.179.173.86 DEBUG [df0537e4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/.env ] DEBUG [df0537e4] Finished in 0.407 seconds with exit status 1 (failed). DEBUG [6efd38e7] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230162717/.env ] as deploy@54.179.173.86 DEBUG [6efd38e7] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230162717/.env ] DEBUG [6efd38e7] Finished in 0.410 seconds with exit status 0 (successful). INFO [52cec779] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230162717/.env as deploy@54.179.173.86 DEBUG [52cec779] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230162717/.env INFO [52cec779] Finished in 0.411 seconds with exit status 0 (successful). INFO [f338b213] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230162717/.env as deploy@54.179.173.86 DEBUG [f338b213] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20221230162717/.env INFO [f338b213] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [ba8e7075] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml ] as deploy@54.179.173.86 DEBUG [ba8e7075] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml ] DEBUG [ba8e7075] Finished in 0.411 seconds with exit status 1 (failed). DEBUG [da4d0216] Running [ -f /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml ] as deploy@54.179.173.86 DEBUG [da4d0216] Command: [ -f /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml ] DEBUG [da4d0216] Finished in 0.409 seconds with exit status 0 (successful). INFO [05697a05] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml as deploy@54.179.173.86 DEBUG [05697a05] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml INFO [05697a05] Finished in 0.416 seconds with exit status 0 (successful). INFO [3abbd964] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml as deploy@54.179.173.86 DEBUG [3abbd964] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20221230162717/config/database.yml INFO [3abbd964] Finished in 0.412 seconds with exit status 0 (successful). INFO [4b5bfe4f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230162717 /home/deploy/apps/aoumi_server/releases/20221230162717/tmp /home/deploy/apps/aoumi_server/releases/20221230162717/vendor /home/deploy/apps/aoumi_server/releases/20221230162717/public as deploy@54.179.173.86 DEBUG [4b5bfe4f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20221230162717 /home/deploy/apps/aoumi_server/releases/20221230162717/tmp /home/deploy/apps/aoumi_server/releases/20221230162717/vendor /home/deploy/apps/aoumi_server/releases/20221230162717/public INFO [4b5bfe4f] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [86f05eb7] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/log ] as deploy@54.179.173.86 DEBUG [86f05eb7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/log ] DEBUG [86f05eb7] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [c8fb71c1] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/log ] as deploy@54.179.173.86 DEBUG [c8fb71c1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/log ] DEBUG [c8fb71c1] Finished in 0.411 seconds with exit status 0 (successful). INFO [15862ec2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230162717/log as deploy@54.179.173.86 DEBUG [15862ec2] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230162717/log INFO [15862ec2] Finished in 0.410 seconds with exit status 0 (successful). INFO [755b5d16] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230162717/log as deploy@54.179.173.86 DEBUG [755b5d16] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20221230162717/log INFO [755b5d16] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [ab279e8d] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids ] as deploy@54.179.173.86 DEBUG [ab279e8d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids ] DEBUG [ab279e8d] Finished in 0.530 seconds with exit status 1 (failed). DEBUG [3f2cf44a] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids ] as deploy@54.179.173.86 DEBUG [3f2cf44a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids ] DEBUG [3f2cf44a] Finished in 0.409 seconds with exit status 0 (successful). INFO [4d8cd330] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids as deploy@54.179.173.86 DEBUG [4d8cd330] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids INFO [4d8cd330] Finished in 0.407 seconds with exit status 0 (successful). INFO [142185c3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids as deploy@54.179.173.86 DEBUG [142185c3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/pids INFO [142185c3] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [2f521a97] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/cache ] as deploy@54.179.173.86 DEBUG [2f521a97] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/cache ] DEBUG [2f521a97] Finished in 0.409 seconds with exit status 1 (failed). DEBUG [af3645cc] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/cache ] as deploy@54.179.173.86 DEBUG [af3645cc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/cache ] DEBUG [af3645cc] Finished in 0.409 seconds with exit status 1 (failed). INFO [5e9686c0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/cache as deploy@54.179.173.86 DEBUG [5e9686c0] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/cache INFO [5e9686c0] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [37f7ccb8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/sockets ] as deploy@54.179.173.86 DEBUG [37f7ccb8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/sockets ] DEBUG [37f7ccb8] Finished in 0.415 seconds with exit status 1 (failed). DEBUG [4fa6c8e8] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/sockets ] as deploy@54.179.173.86 DEBUG [4fa6c8e8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/sockets ] DEBUG [4fa6c8e8] Finished in 0.413 seconds with exit status 1 (failed). INFO [e2d88302] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/sockets as deploy@54.179.173.86 DEBUG [e2d88302] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20221230162717/tmp/sockets INFO [e2d88302] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [da6f8bb8] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/vendor/bundle ] as deploy@54.179.173.86 DEBUG [da6f8bb8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/vendor/bundle ] DEBUG [da6f8bb8] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [b8ee43db] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/vendor/bundle ] as deploy@54.179.173.86 DEBUG [b8ee43db] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/vendor/bundle ] DEBUG [b8ee43db] Finished in 0.412 seconds with exit status 1 (failed). INFO [1f61edbf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230162717/vendor/bundle as deploy@54.179.173.86 DEBUG [1f61edbf] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20221230162717/vendor/bundle INFO [1f61edbf] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [b6cfb361] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/public/system ] as deploy@54.179.173.86 DEBUG [b6cfb361] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/public/system ] DEBUG [b6cfb361] Finished in 0.408 seconds with exit status 1 (failed). DEBUG [27177917] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/public/system ] as deploy@54.179.173.86 DEBUG [27177917] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/public/system ] DEBUG [27177917] Finished in 0.410 seconds with exit status 1 (failed). INFO [ca5d35e8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230162717/public/system as deploy@54.179.173.86 DEBUG [ca5d35e8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20221230162717/public/system INFO [ca5d35e8] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [b5ae9533] Running [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/public/uploads ] as deploy@54.179.173.86 DEBUG [b5ae9533] Command: [ -L /home/deploy/apps/aoumi_server/releases/20221230162717/public/uploads ] DEBUG [b5ae9533] Finished in 0.420 seconds with exit status 1 (failed). DEBUG [5b25113e] Running [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/public/uploads ] as deploy@54.179.173.86 DEBUG [5b25113e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20221230162717/public/uploads ] DEBUG [5b25113e] Finished in 0.407 seconds with exit status 1 (failed). INFO [dae965b7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230162717/public/uploads as deploy@54.179.173.86 DEBUG [dae965b7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20221230162717/public/uploads INFO [dae965b7] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [7ecb9272] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7ecb9272] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi DEBUG [7ecb9272] Finished in 0.410 seconds with exit status 0 (successful). INFO [c4b2b70c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [c4b2b70c] Command: cd /home/deploy/apps/aoumi_server/releases/20221230162717 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [c4b2b70c] Finished in 1.055 seconds with exit status 0 (successful). INFO [b28d5dec] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [b28d5dec] Command: cd /home/deploy/apps/aoumi_server/releases/20221230162717 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [b28d5dec] Finished in 0.956 seconds with exit status 0 (successful). INFO [79e1f7cf] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [79e1f7cf] Command: cd /home/deploy/apps/aoumi_server/releases/20221230162717 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [79e1f7cf] Finished in 0.988 seconds with exit status 0 (successful). DEBUG [88b815df] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [88b815df] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi DEBUG [88b815df] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [cfe35d1b] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [cfe35d1b] Command: cd /home/deploy/apps/aoumi_server/releases/20221230162717 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [cfe35d1b] The Gemfile's dependencies are satisfied DEBUG [cfe35d1b] Finished in 1.125 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [c2a8142a] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c2a8142a] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20221230162717; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20221230162717'" 1>&2; false; fi DEBUG [c2a8142a] Finished in 0.409 seconds with exit status 0 (successful). INFO [065e5099] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [065e5099] Command: cd /home/deploy/apps/aoumi_server/releases/20221230162717 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [065e5099] Finished in 1.997 seconds with exit status 0 (successful). INFO [594f9dc5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230162717 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [594f9dc5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20221230162717 /home/deploy/apps/aoumi_server/releases/current INFO [594f9dc5] Finished in 0.408 seconds with exit status 0 (successful). INFO [4b914d06] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [4b914d06] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [4b914d06] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [c020eaee] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [c020eaee] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [c020eaee] 20221230153004 20221230153310 20221230154110 20221230155237 20221230160503 20221230162717 DEBUG [c020eaee] Finished in 0.408 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [eba1e8cd] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [eba1e8cd] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [eba1e8cd] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [db88052a] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [db88052a] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [db88052a] /home/deploy/apps/aoumi_server/releases/20221230162717 DEBUG [db88052a] Finished in 0.408 seconds with exit status 0 (successful). INFO [c212fc28] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153004 as deploy@54.179.173.86 DEBUG [c212fc28] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153004 INFO [c212fc28] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [ff353fff] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ff353fff] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [ff353fff] Finished in 0.406 seconds with exit status 0 (successful). INFO [6a1c24ae] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20221230162717 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [6a1c24ae] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20221230162717 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [6a1c24ae] Finished in 0.410 seconds with exit status 0 (successful). INFO [0e072efd] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [0e072efd] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [0e072efd] Finished in 1.106 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:40:55 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [16bb302d] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [16bb302d] Command: ~/.rvm/bin/rvm version DEBUG [16bb302d] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [16bb302d] Finished in 2.168 seconds with exit status 0 (successful). DEBUG [35657169] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [35657169] Command: ~/.rvm/bin/rvm current DEBUG [35657169] ruby-3.0.0 DEBUG [35657169] Finished in 0.600 seconds with exit status 0 (successful). DEBUG [6f99cbec] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [6f99cbec] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [6f99cbec] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [6f99cbec] Finished in 1.883 seconds with exit status 0 (successful). INFO [d4fab80f] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [d4fab80f] Command: /usr/bin/env mkdir -p /tmp INFO [d4fab80f] Finished in 0.419 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-7da8f5422c8441a49f74.sh 0.0% INFO Uploading /tmp/git-ssh-7da8f5422c8441a49f74.sh 100.0% INFO [f8931584] Running /usr/bin/env chmod 700 /tmp/git-ssh-7da8f5422c8441a49f74.sh as deploy@54.179.173.86 DEBUG [f8931584] Command: /usr/bin/env chmod 700 /tmp/git-ssh-7da8f5422c8441a49f74.sh INFO [f8931584] Finished in 0.427 seconds with exit status 0 (successful). INFO [15bc1244] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [15bc1244] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7da8f5422c8441a49f74.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [15bc1244] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [15bc1244] Finished in 3.568 seconds with exit status 0 (successful). INFO [7d905cc6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [7d905cc6] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [7d905cc6] Finished in 0.412 seconds with exit status 0 (successful). INFO [0b5abbf9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [0b5abbf9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [0b5abbf9] Finished in 0.406 seconds with exit status 0 (successful). INFO [03da94d7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [03da94d7] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [03da94d7] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [d1258871] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [d1258871] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [d1258871] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [555311fa] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [555311fa] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [555311fa] Finished in 0.416 seconds with exit status 0 (successful). DEBUG [cacb2640] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [cacb2640] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [cacb2640] Finished in 0.414 seconds with exit status 0 (successful). DEBUG [b7e684e1] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [b7e684e1] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [b7e684e1] Finished in 0.398 seconds with exit status 0 (successful). DEBUG [7f381515] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [7f381515] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [7f381515] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [7f381515] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [8d1769cc] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [8d1769cc] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [8d1769cc] Finished in 0.405 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [2ce950ff] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2ce950ff] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2ce950ff] Finished in 0.402 seconds with exit status 0 (successful). INFO [5988179f] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [5988179f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7da8f5422c8441a49f74.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [5988179f] Finished in 0.407 seconds with exit status 0 (successful). INFO [6f3fcc7c] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [6f3fcc7c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7da8f5422c8441a49f74.sh" ; /usr/bin/env git remote update --prune ) DEBUG [6f3fcc7c] Fetching origin INFO [6f3fcc7c] Finished in 3.389 seconds with exit status 0 (successful). DEBUG [8388eeb1] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8388eeb1] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8388eeb1] Finished in 0.402 seconds with exit status 0 (successful). INFO [ea78ce93] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064108 as deploy@54.179.173.86 DEBUG [ea78ce93] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7da8f5422c8441a49f74.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064108 ) INFO [ea78ce93] Finished in 0.402 seconds with exit status 0 (successful). INFO [1af1213b] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101064108 as deploy@54.179.173.86 DEBUG [1af1213b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7da8f5422c8441a49f74.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101064108 ) INFO [1af1213b] Finished in 0.449 seconds with exit status 0 (successful). DEBUG [672916f2] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [672916f2] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [672916f2] Finished in 0.421 seconds with exit status 0 (successful). DEBUG [5340445d] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [5340445d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7da8f5422c8441a49f74.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [5340445d] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [5340445d] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [bdd87237] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [bdd87237] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi DEBUG [bdd87237] Finished in 0.402 seconds with exit status 0 (successful). INFO [ccf96b36] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [ccf96b36] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064108 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [ccf96b36] Finished in 0.414 seconds with exit status 0 (successful). INFO [292d2f3f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064108 /home/deploy/apps/aoumi_server/releases/20230101064108/config as deploy@54.179.173.86 DEBUG [292d2f3f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064108 /home/deploy/apps/aoumi_server/releases/20230101064108/config INFO [292d2f3f] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [edc679db] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/.env ] as deploy@54.179.173.86 DEBUG [edc679db] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/.env ] DEBUG [edc679db] Finished in 0.420 seconds with exit status 1 (failed). DEBUG [4ff636c5] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101064108/.env ] as deploy@54.179.173.86 DEBUG [4ff636c5] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101064108/.env ] DEBUG [4ff636c5] Finished in 0.405 seconds with exit status 0 (successful). INFO [412f0e40] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064108/.env as deploy@54.179.173.86 DEBUG [412f0e40] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064108/.env INFO [412f0e40] Finished in 0.429 seconds with exit status 0 (successful). INFO [1b483936] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101064108/.env as deploy@54.179.173.86 DEBUG [1b483936] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101064108/.env INFO [1b483936] Finished in 0.418 seconds with exit status 0 (successful). DEBUG [a2f4949f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml ] as deploy@54.179.173.86 DEBUG [a2f4949f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml ] DEBUG [a2f4949f] Finished in 0.429 seconds with exit status 1 (failed). DEBUG [6384b433] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml ] as deploy@54.179.173.86 DEBUG [6384b433] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml ] DEBUG [6384b433] Finished in 0.411 seconds with exit status 0 (successful). INFO [1a0b934c] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml as deploy@54.179.173.86 DEBUG [1a0b934c] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml INFO [1a0b934c] Finished in 0.412 seconds with exit status 0 (successful). INFO [53005101] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml as deploy@54.179.173.86 DEBUG [53005101] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101064108/config/database.yml INFO [53005101] Finished in 0.426 seconds with exit status 0 (successful). INFO [255b0b47] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064108 /home/deploy/apps/aoumi_server/releases/20230101064108/tmp /home/deploy/apps/aoumi_server/releases/20230101064108/vendor /home/deploy/apps/aoumi_server/releases/20230101064108/public as deploy@54.179.173.86 DEBUG [255b0b47] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064108 /home/deploy/apps/aoumi_server/releases/20230101064108/tmp /home/deploy/apps/aoumi_server/releases/20230101064108/vendor /home/deploy/apps/aoumi_server/releases/20230101064108/public INFO [255b0b47] Finished in 0.439 seconds with exit status 0 (successful). DEBUG [7303b3b5] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/log ] as deploy@54.179.173.86 DEBUG [7303b3b5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/log ] DEBUG [7303b3b5] Finished in 0.434 seconds with exit status 1 (failed). DEBUG [8069678d] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/log ] as deploy@54.179.173.86 DEBUG [8069678d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/log ] DEBUG [8069678d] Finished in 0.943 seconds with exit status 0 (successful). INFO [bdbd6792] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064108/log as deploy@54.179.173.86 DEBUG [bdbd6792] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064108/log INFO [bdbd6792] Finished in 0.412 seconds with exit status 0 (successful). INFO [3713edc9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101064108/log as deploy@54.179.173.86 DEBUG [3713edc9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101064108/log INFO [3713edc9] Finished in 0.431 seconds with exit status 0 (successful). DEBUG [a929b53e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids ] as deploy@54.179.173.86 DEBUG [a929b53e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids ] DEBUG [a929b53e] Finished in 0.417 seconds with exit status 1 (failed). DEBUG [b29d8b9a] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids ] as deploy@54.179.173.86 DEBUG [b29d8b9a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids ] DEBUG [b29d8b9a] Finished in 0.405 seconds with exit status 0 (successful). INFO [0423f843] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids as deploy@54.179.173.86 DEBUG [0423f843] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids INFO [0423f843] Finished in 0.423 seconds with exit status 0 (successful). INFO [ef1d41da] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids as deploy@54.179.173.86 DEBUG [ef1d41da] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/pids INFO [ef1d41da] Finished in 0.427 seconds with exit status 0 (successful). DEBUG [7d4ccadc] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/cache ] as deploy@54.179.173.86 DEBUG [7d4ccadc] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/cache ] DEBUG [7d4ccadc] Finished in 0.404 seconds with exit status 1 (failed). DEBUG [ae84168b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/cache ] as deploy@54.179.173.86 DEBUG [ae84168b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/cache ] DEBUG [ae84168b] Finished in 0.403 seconds with exit status 1 (failed). INFO [10d4a74f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/cache as deploy@54.179.173.86 DEBUG [10d4a74f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/cache INFO [10d4a74f] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [cc01c701] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/sockets ] as deploy@54.179.173.86 DEBUG [cc01c701] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/sockets ] DEBUG [cc01c701] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [7dcc457a] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/sockets ] as deploy@54.179.173.86 DEBUG [7dcc457a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/sockets ] DEBUG [7dcc457a] Finished in 0.408 seconds with exit status 1 (failed). INFO [6eba4dbb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/sockets as deploy@54.179.173.86 DEBUG [6eba4dbb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101064108/tmp/sockets INFO [6eba4dbb] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [0d04375c] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/vendor/bundle ] as deploy@54.179.173.86 DEBUG [0d04375c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/vendor/bundle ] DEBUG [0d04375c] Finished in 0.407 seconds with exit status 1 (failed). DEBUG [71305769] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/vendor/bundle ] as deploy@54.179.173.86 DEBUG [71305769] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/vendor/bundle ] DEBUG [71305769] Finished in 0.401 seconds with exit status 1 (failed). INFO [7110baae] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101064108/vendor/bundle as deploy@54.179.173.86 DEBUG [7110baae] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101064108/vendor/bundle INFO [7110baae] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [e45473b7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/public/system ] as deploy@54.179.173.86 DEBUG [e45473b7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/public/system ] DEBUG [e45473b7] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [72e58598] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/public/system ] as deploy@54.179.173.86 DEBUG [72e58598] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/public/system ] DEBUG [72e58598] Finished in 0.403 seconds with exit status 1 (failed). INFO [239b73c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101064108/public/system as deploy@54.179.173.86 DEBUG [239b73c9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101064108/public/system INFO [239b73c9] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [007616c3] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/public/uploads ] as deploy@54.179.173.86 DEBUG [007616c3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064108/public/uploads ] DEBUG [007616c3] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [a5e7869b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/public/uploads ] as deploy@54.179.173.86 DEBUG [a5e7869b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064108/public/uploads ] DEBUG [a5e7869b] Finished in 0.406 seconds with exit status 1 (failed). INFO [72b4ccc6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101064108/public/uploads as deploy@54.179.173.86 DEBUG [72b4ccc6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101064108/public/uploads INFO [72b4ccc6] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [1c3a70ab] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1c3a70ab] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi DEBUG [1c3a70ab] Finished in 0.401 seconds with exit status 0 (successful). INFO [18f11ca6] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [18f11ca6] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064108 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [18f11ca6] Finished in 1.197 seconds with exit status 0 (successful). INFO [3cd44dd4] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [3cd44dd4] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064108 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [3cd44dd4] Finished in 0.922 seconds with exit status 0 (successful). INFO [8c74a612] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [8c74a612] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064108 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [8c74a612] Finished in 1.069 seconds with exit status 0 (successful). DEBUG [ee806469] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ee806469] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi DEBUG [ee806469] Finished in 0.417 seconds with exit status 0 (successful). DEBUG [510bbf33] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [510bbf33] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064108 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [510bbf33] The Gemfile's dependencies are satisfied DEBUG [510bbf33] Finished in 1.209 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [a2ab8ff6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [a2ab8ff6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064108; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064108'" 1>&2; false; fi DEBUG [a2ab8ff6] Finished in 0.401 seconds with exit status 0 (successful). INFO [602606b3] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [602606b3] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064108 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [602606b3] Finished in 3.757 seconds with exit status 0 (successful). INFO [7b76aab4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101064108 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [7b76aab4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101064108 /home/deploy/apps/aoumi_server/releases/current INFO [7b76aab4] Finished in 0.404 seconds with exit status 0 (successful). INFO [39e12526] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [39e12526] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [39e12526] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [9752ce63] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [9752ce63] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [9752ce63] 20221230153310 20221230154110 20221230155237 20221230160503 20221230162717 20230101064108 DEBUG [9752ce63] Finished in 0.410 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [1d99becb] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [1d99becb] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [1d99becb] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [38401142] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [38401142] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [38401142] /home/deploy/apps/aoumi_server/releases/20230101064108 DEBUG [38401142] Finished in 0.406 seconds with exit status 0 (successful). INFO [efb6424e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153310 as deploy@54.179.173.86 DEBUG [efb6424e] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230153310 INFO [efb6424e] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [de2b8e76] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [de2b8e76] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [de2b8e76] Finished in 0.400 seconds with exit status 0 (successful). INFO [b063086d] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101064108 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [b063086d] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101064108 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [b063086d] Finished in 0.410 seconds with exit status 0 (successful). INFO [85f8342b] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [85f8342b] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [85f8342b] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:48:43 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f5659af0] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [f5659af0] Command: ~/.rvm/bin/rvm version DEBUG [f5659af0] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [f5659af0] Finished in 2.244 seconds with exit status 0 (successful). DEBUG [212f25b5] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [212f25b5] Command: ~/.rvm/bin/rvm current DEBUG [212f25b5] ruby-3.0.0 DEBUG [212f25b5] Finished in 0.592 seconds with exit status 0 (successful). DEBUG [c448dc13] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [c448dc13] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [c448dc13] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [c448dc13] Finished in 0.743 seconds with exit status 0 (successful). INFO [43e7c109] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [43e7c109] Command: /usr/bin/env mkdir -p /tmp INFO [43e7c109] Finished in 0.406 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-aa21912827bfbde1ef97.sh 0.0% INFO Uploading /tmp/git-ssh-aa21912827bfbde1ef97.sh 100.0% INFO [56aacbb0] Running /usr/bin/env chmod 700 /tmp/git-ssh-aa21912827bfbde1ef97.sh as deploy@54.179.173.86 DEBUG [56aacbb0] Command: /usr/bin/env chmod 700 /tmp/git-ssh-aa21912827bfbde1ef97.sh INFO [56aacbb0] Finished in 0.400 seconds with exit status 0 (successful). INFO [65f44513] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [65f44513] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aa21912827bfbde1ef97.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [65f44513] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [65f44513] Finished in 3.609 seconds with exit status 0 (successful). INFO [8bfbfe45] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [8bfbfe45] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [8bfbfe45] Finished in 0.417 seconds with exit status 0 (successful). INFO [2c3e19b8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [2c3e19b8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [2c3e19b8] Finished in 0.411 seconds with exit status 0 (successful). INFO [eac269b3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [eac269b3] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [eac269b3] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [f301bb2c] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [f301bb2c] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [f301bb2c] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [dd0522b4] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [dd0522b4] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [dd0522b4] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [04c9227f] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [04c9227f] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [04c9227f] Finished in 0.422 seconds with exit status 0 (successful). DEBUG [08dc03bd] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [08dc03bd] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [08dc03bd] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [08dc03bd] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [7195c019] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [7195c019] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [7195c019] Finished in 0.405 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [0d933d75] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [0d933d75] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [0d933d75] Finished in 0.413 seconds with exit status 0 (successful). INFO [8e1f0c20] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [8e1f0c20] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aa21912827bfbde1ef97.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [8e1f0c20] Finished in 0.415 seconds with exit status 0 (successful). INFO [2ebfcd3f] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [2ebfcd3f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aa21912827bfbde1ef97.sh" ; /usr/bin/env git remote update --prune ) DEBUG [2ebfcd3f] Fetching origin INFO [2ebfcd3f] Finished in 3.417 seconds with exit status 0 (successful). DEBUG [7806c647] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7806c647] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7806c647] Finished in 0.404 seconds with exit status 0 (successful). INFO [eba99797] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064855 as deploy@54.179.173.86 DEBUG [eba99797] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aa21912827bfbde1ef97.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064855 ) INFO [eba99797] Finished in 0.404 seconds with exit status 0 (successful). INFO [c897185e] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101064855 as deploy@54.179.173.86 DEBUG [c897185e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aa21912827bfbde1ef97.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101064855 ) INFO [c897185e] Finished in 0.434 seconds with exit status 0 (successful). DEBUG [763bb715] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [763bb715] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [763bb715] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [7b81925b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [7b81925b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-aa21912827bfbde1ef97.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [7b81925b] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [7b81925b] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [b699cd8b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b699cd8b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi DEBUG [b699cd8b] Finished in 0.403 seconds with exit status 0 (successful). INFO [86ab9adc] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [86ab9adc] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064855 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [86ab9adc] Finished in 0.408 seconds with exit status 0 (successful). INFO [2197fe8d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064855 /home/deploy/apps/aoumi_server/releases/20230101064855/config as deploy@54.179.173.86 DEBUG [2197fe8d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064855 /home/deploy/apps/aoumi_server/releases/20230101064855/config INFO [2197fe8d] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [3d11a31a] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/.env ] as deploy@54.179.173.86 DEBUG [3d11a31a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/.env ] DEBUG [3d11a31a] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [1f8e819b] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101064855/.env ] as deploy@54.179.173.86 DEBUG [1f8e819b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101064855/.env ] DEBUG [1f8e819b] Finished in 0.403 seconds with exit status 0 (successful). INFO [cde2ec66] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064855/.env as deploy@54.179.173.86 DEBUG [cde2ec66] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064855/.env INFO [cde2ec66] Finished in 0.405 seconds with exit status 0 (successful). INFO [dcb6c771] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101064855/.env as deploy@54.179.173.86 DEBUG [dcb6c771] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101064855/.env INFO [dcb6c771] Finished in 0.415 seconds with exit status 0 (successful). DEBUG [0bb9d213] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml ] as deploy@54.179.173.86 DEBUG [0bb9d213] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml ] DEBUG [0bb9d213] Finished in 0.412 seconds with exit status 1 (failed). DEBUG [99513489] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml ] as deploy@54.179.173.86 DEBUG [99513489] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml ] DEBUG [99513489] Finished in 0.421 seconds with exit status 0 (successful). INFO [5403a8af] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml as deploy@54.179.173.86 DEBUG [5403a8af] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml INFO [5403a8af] Finished in 0.419 seconds with exit status 0 (successful). INFO [527cdeea] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml as deploy@54.179.173.86 DEBUG [527cdeea] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101064855/config/database.yml INFO [527cdeea] Finished in 0.413 seconds with exit status 0 (successful). INFO [7f4a2f42] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064855 /home/deploy/apps/aoumi_server/releases/20230101064855/tmp /home/deploy/apps/aoumi_server/releases/20230101064855/vendor /home/deploy/apps/aoumi_server/releases/20230101064855/public as deploy@54.179.173.86 DEBUG [7f4a2f42] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101064855 /home/deploy/apps/aoumi_server/releases/20230101064855/tmp /home/deploy/apps/aoumi_server/releases/20230101064855/vendor /home/deploy/apps/aoumi_server/releases/20230101064855/public INFO [7f4a2f42] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [ba48b2a3] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/log ] as deploy@54.179.173.86 DEBUG [ba48b2a3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/log ] DEBUG [ba48b2a3] Finished in 0.409 seconds with exit status 1 (failed). DEBUG [5b233a1d] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/log ] as deploy@54.179.173.86 DEBUG [5b233a1d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/log ] DEBUG [5b233a1d] Finished in 0.417 seconds with exit status 0 (successful). INFO [35eb7165] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064855/log as deploy@54.179.173.86 DEBUG [35eb7165] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064855/log INFO [35eb7165] Finished in 0.429 seconds with exit status 0 (successful). INFO [4a941eef] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101064855/log as deploy@54.179.173.86 DEBUG [4a941eef] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101064855/log INFO [4a941eef] Finished in 0.422 seconds with exit status 0 (successful). DEBUG [59b1ecd0] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids ] as deploy@54.179.173.86 DEBUG [59b1ecd0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids ] DEBUG [59b1ecd0] Finished in 0.425 seconds with exit status 1 (failed). DEBUG [772627dc] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids ] as deploy@54.179.173.86 DEBUG [772627dc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids ] DEBUG [772627dc] Finished in 0.403 seconds with exit status 0 (successful). INFO [e549792c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids as deploy@54.179.173.86 DEBUG [e549792c] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids INFO [e549792c] Finished in 0.423 seconds with exit status 0 (successful). INFO [98296dc8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids as deploy@54.179.173.86 DEBUG [98296dc8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/pids INFO [98296dc8] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [8946cff3] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/cache ] as deploy@54.179.173.86 DEBUG [8946cff3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/cache ] DEBUG [8946cff3] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [4b31e5dc] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/cache ] as deploy@54.179.173.86 DEBUG [4b31e5dc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/cache ] DEBUG [4b31e5dc] Finished in 0.408 seconds with exit status 1 (failed). INFO [f45993b8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/cache as deploy@54.179.173.86 DEBUG [f45993b8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/cache INFO [f45993b8] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [2d19426e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/sockets ] as deploy@54.179.173.86 DEBUG [2d19426e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/sockets ] DEBUG [2d19426e] Finished in 0.408 seconds with exit status 1 (failed). DEBUG [768aceaa] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/sockets ] as deploy@54.179.173.86 DEBUG [768aceaa] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/sockets ] DEBUG [768aceaa] Finished in 0.404 seconds with exit status 1 (failed). INFO [94cb3d46] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/sockets as deploy@54.179.173.86 DEBUG [94cb3d46] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101064855/tmp/sockets INFO [94cb3d46] Finished in 0.426 seconds with exit status 0 (successful). DEBUG [8860a4fd] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/vendor/bundle ] as deploy@54.179.173.86 DEBUG [8860a4fd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/vendor/bundle ] DEBUG [8860a4fd] Finished in 0.408 seconds with exit status 1 (failed). DEBUG [e6f29bd3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/vendor/bundle ] as deploy@54.179.173.86 DEBUG [e6f29bd3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/vendor/bundle ] DEBUG [e6f29bd3] Finished in 0.405 seconds with exit status 1 (failed). INFO [e64da29e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101064855/vendor/bundle as deploy@54.179.173.86 DEBUG [e64da29e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101064855/vendor/bundle INFO [e64da29e] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [7962f04e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/public/system ] as deploy@54.179.173.86 DEBUG [7962f04e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/public/system ] DEBUG [7962f04e] Finished in 0.414 seconds with exit status 1 (failed). DEBUG [0e28b72f] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/public/system ] as deploy@54.179.173.86 DEBUG [0e28b72f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/public/system ] DEBUG [0e28b72f] Finished in 0.406 seconds with exit status 1 (failed). INFO [2a20bd90] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101064855/public/system as deploy@54.179.173.86 DEBUG [2a20bd90] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101064855/public/system INFO [2a20bd90] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [f0de5969] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/public/uploads ] as deploy@54.179.173.86 DEBUG [f0de5969] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101064855/public/uploads ] DEBUG [f0de5969] Finished in 0.406 seconds with exit status 1 (failed). DEBUG [59270224] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/public/uploads ] as deploy@54.179.173.86 DEBUG [59270224] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101064855/public/uploads ] DEBUG [59270224] Finished in 0.375 seconds with exit status 1 (failed). INFO [a81604c7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101064855/public/uploads as deploy@54.179.173.86 DEBUG [a81604c7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101064855/public/uploads INFO [a81604c7] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [378a8d43] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [378a8d43] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi DEBUG [378a8d43] Finished in 0.402 seconds with exit status 0 (successful). INFO [0e8b40ef] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [0e8b40ef] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064855 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [0e8b40ef] Finished in 0.976 seconds with exit status 0 (successful). INFO [31dc2643] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [31dc2643] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064855 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [31dc2643] Finished in 0.989 seconds with exit status 0 (successful). INFO [f53ffdc0] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [f53ffdc0] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064855 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [f53ffdc0] Finished in 1.058 seconds with exit status 0 (successful). DEBUG [951d6e18] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [951d6e18] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi DEBUG [951d6e18] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [918c5d9f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [918c5d9f] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064855 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [918c5d9f] The Gemfile's dependencies are satisfied DEBUG [918c5d9f] Finished in 1.126 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [b89ccf8c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b89ccf8c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101064855; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101064855'" 1>&2; false; fi DEBUG [b89ccf8c] Finished in 0.415 seconds with exit status 0 (successful). INFO [44591b3b] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [44591b3b] Command: cd /home/deploy/apps/aoumi_server/releases/20230101064855 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [44591b3b] Finished in 1.901 seconds with exit status 0 (successful). INFO [8d28e1db] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101064855 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [8d28e1db] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101064855 /home/deploy/apps/aoumi_server/releases/current INFO [8d28e1db] Finished in 0.402 seconds with exit status 0 (successful). INFO [3dc900f4] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [3dc900f4] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [3dc900f4] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [52ed3c67] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [52ed3c67] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [52ed3c67] 20221230154110 20221230155237 20221230160503 20221230162717 20230101064108 20230101064855 DEBUG [52ed3c67] Finished in 0.394 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [6e392509] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [6e392509] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [6e392509] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [036827d8] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [036827d8] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [036827d8] /home/deploy/apps/aoumi_server/releases/20230101064855 DEBUG [036827d8] Finished in 0.403 seconds with exit status 0 (successful). INFO [a9d5999c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230154110 as deploy@54.179.173.86 DEBUG [a9d5999c] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230154110 INFO [a9d5999c] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [7816d049] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7816d049] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [7816d049] Finished in 0.403 seconds with exit status 0 (successful). INFO [1b14d000] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101064855 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [1b14d000] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101064855 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [1b14d000] Finished in 0.406 seconds with exit status 0 (successful). INFO [4efd01c0] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [4efd01c0] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [4efd01c0] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:55:58 +0700 cap development deploy:start INFO --------------------------------------------------------------------------- DEBUG [7f48e252] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [7f48e252] Command: ~/.rvm/bin/rvm version DEBUG [7f48e252] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [7f48e252] Finished in 2.198 seconds with exit status 0 (successful). DEBUG [e0e86b31] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [e0e86b31] Command: ~/.rvm/bin/rvm current DEBUG [e0e86b31] ruby-3.0.0 DEBUG [e0e86b31] Finished in 0.627 seconds with exit status 0 (successful). DEBUG [2d40a717] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [2d40a717] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [2d40a717] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [2d40a717] Finished in 0.802 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:56:07 +0700 cap development deploy:started INFO --------------------------------------------------------------------------- DEBUG [2b9f4fc8] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [2b9f4fc8] Command: ~/.rvm/bin/rvm version DEBUG [2b9f4fc8] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [2b9f4fc8] Finished in 1.574 seconds with exit status 0 (successful). DEBUG [8a091a82] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [8a091a82] Command: ~/.rvm/bin/rvm current DEBUG [8a091a82] ruby-3.0.0 DEBUG [8a091a82] Finished in 0.431 seconds with exit status 0 (successful). DEBUG [a9debf58] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [a9debf58] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [a9debf58] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [a9debf58] Finished in 0.667 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:56:36 +0700 cap development deploy:restart INFO --------------------------------------------------------------------------- DEBUG [28ff1d36] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [28ff1d36] Command: ~/.rvm/bin/rvm version DEBUG [28ff1d36] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [28ff1d36] Finished in 1.613 seconds with exit status 0 (successful). DEBUG [074fece3] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [074fece3] Command: ~/.rvm/bin/rvm current DEBUG [074fece3] ruby-3.0.0 DEBUG [074fece3] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [0af8c4de] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [0af8c4de] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [0af8c4de] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [0af8c4de] Finished in 0.635 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:57:41 +0700 cap development puma:start INFO --------------------------------------------------------------------------- DEBUG [e321f02c] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [e321f02c] Command: ~/.rvm/bin/rvm version DEBUG [e321f02c] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [e321f02c] Finished in 2.251 seconds with exit status 0 (successful). DEBUG [3f3d6bb7] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [3f3d6bb7] Command: ~/.rvm/bin/rvm current DEBUG [3f3d6bb7] ruby-3.0.0 DEBUG [3f3d6bb7] Finished in 0.590 seconds with exit status 0 (successful). DEBUG [29e775af] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [29e775af] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [29e775af] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [29e775af] Finished in 0.836 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 13:57:52 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [6d9404c6] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [6d9404c6] Command: ~/.rvm/bin/rvm version DEBUG [6d9404c6] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [6d9404c6] Finished in 1.587 seconds with exit status 0 (successful). DEBUG [482c368c] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [482c368c] Command: ~/.rvm/bin/rvm current DEBUG [482c368c] ruby-3.0.0 DEBUG [482c368c] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [8954b87c] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [8954b87c] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [8954b87c] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [8954b87c] Finished in 0.625 seconds with exit status 0 (successful). INFO [5adf9074] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [5adf9074] Command: /usr/bin/env mkdir -p /tmp INFO [5adf9074] Finished in 0.252 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-a0f1ff0a08996588c0cc.sh 0.0% INFO Uploading /tmp/git-ssh-a0f1ff0a08996588c0cc.sh 100.0% INFO [a408f4e7] Running /usr/bin/env chmod 700 /tmp/git-ssh-a0f1ff0a08996588c0cc.sh as deploy@54.179.173.86 DEBUG [a408f4e7] Command: /usr/bin/env chmod 700 /tmp/git-ssh-a0f1ff0a08996588c0cc.sh INFO [a408f4e7] Finished in 0.258 seconds with exit status 0 (successful). INFO [ecc969bc] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [ecc969bc] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a0f1ff0a08996588c0cc.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [ecc969bc] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [ecc969bc] Finished in 3.445 seconds with exit status 0 (successful). INFO [dce031a8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [dce031a8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [dce031a8] Finished in 0.267 seconds with exit status 0 (successful). INFO [4b91b956] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [4b91b956] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [4b91b956] Finished in 0.259 seconds with exit status 0 (successful). INFO [1dcce33c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [1dcce33c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [1dcce33c] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [6e75fb94] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [6e75fb94] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [6e75fb94] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [866824ef] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [866824ef] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [866824ef] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [7066076e] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [7066076e] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [7066076e] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [cff8f319] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [cff8f319] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [cff8f319] Finished in 0.258 seconds with exit status 0 (successful). DEBUG [603076c1] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [603076c1] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [603076c1] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [603076c1] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [f27e4d25] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [f27e4d25] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [f27e4d25] Finished in 0.256 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [eb3518c9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [eb3518c9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [eb3518c9] Finished in 0.253 seconds with exit status 0 (successful). INFO [d4a36e42] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [d4a36e42] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a0f1ff0a08996588c0cc.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [d4a36e42] Finished in 0.254 seconds with exit status 0 (successful). INFO [c374e924] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [c374e924] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a0f1ff0a08996588c0cc.sh" ; /usr/bin/env git remote update --prune ) DEBUG [c374e924] Fetching origin INFO [c374e924] Finished in 3.271 seconds with exit status 0 (successful). DEBUG [699e16ea] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [699e16ea] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [699e16ea] Finished in 0.257 seconds with exit status 0 (successful). INFO [88a7296e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101065801 as deploy@54.179.173.86 DEBUG [88a7296e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a0f1ff0a08996588c0cc.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101065801 ) INFO [88a7296e] Finished in 0.259 seconds with exit status 0 (successful). INFO [faa926cf] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101065801 as deploy@54.179.173.86 DEBUG [faa926cf] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a0f1ff0a08996588c0cc.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101065801 ) INFO [faa926cf] Finished in 0.285 seconds with exit status 0 (successful). DEBUG [90142b00] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [90142b00] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [90142b00] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [4e92e89b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [4e92e89b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-a0f1ff0a08996588c0cc.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [4e92e89b] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [4e92e89b] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [46c59b19] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [46c59b19] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi DEBUG [46c59b19] Finished in 0.258 seconds with exit status 0 (successful). INFO [9427ba4b] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [9427ba4b] Command: cd /home/deploy/apps/aoumi_server/releases/20230101065801 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [9427ba4b] Finished in 0.256 seconds with exit status 0 (successful). INFO [6e5a94d5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101065801 /home/deploy/apps/aoumi_server/releases/20230101065801/config as deploy@54.179.173.86 DEBUG [6e5a94d5] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101065801 /home/deploy/apps/aoumi_server/releases/20230101065801/config INFO [6e5a94d5] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [ee1f616d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/.env ] as deploy@54.179.173.86 DEBUG [ee1f616d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/.env ] DEBUG [ee1f616d] Finished in 0.254 seconds with exit status 1 (failed). DEBUG [21101998] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101065801/.env ] as deploy@54.179.173.86 DEBUG [21101998] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101065801/.env ] DEBUG [21101998] Finished in 0.258 seconds with exit status 0 (successful). INFO [7f0e03bf] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101065801/.env as deploy@54.179.173.86 DEBUG [7f0e03bf] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101065801/.env INFO [7f0e03bf] Finished in 0.253 seconds with exit status 0 (successful). INFO [964a1d4f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101065801/.env as deploy@54.179.173.86 DEBUG [964a1d4f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101065801/.env INFO [964a1d4f] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [ca7aad8e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml ] as deploy@54.179.173.86 DEBUG [ca7aad8e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml ] DEBUG [ca7aad8e] Finished in 0.259 seconds with exit status 1 (failed). DEBUG [63e326ee] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml ] as deploy@54.179.173.86 DEBUG [63e326ee] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml ] DEBUG [63e326ee] Finished in 0.258 seconds with exit status 0 (successful). INFO [2b556484] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml as deploy@54.179.173.86 DEBUG [2b556484] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml INFO [2b556484] Finished in 0.255 seconds with exit status 0 (successful). INFO [1417e49d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml as deploy@54.179.173.86 DEBUG [1417e49d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101065801/config/database.yml INFO [1417e49d] Finished in 0.259 seconds with exit status 0 (successful). INFO [f0f1c883] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101065801 /home/deploy/apps/aoumi_server/releases/20230101065801/tmp /home/deploy/apps/aoumi_server/releases/20230101065801/vendor /home/deploy/apps/aoumi_server/releases/20230101065801/public as deploy@54.179.173.86 DEBUG [f0f1c883] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101065801 /home/deploy/apps/aoumi_server/releases/20230101065801/tmp /home/deploy/apps/aoumi_server/releases/20230101065801/vendor /home/deploy/apps/aoumi_server/releases/20230101065801/public INFO [f0f1c883] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [fe2e5508] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/log ] as deploy@54.179.173.86 DEBUG [fe2e5508] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/log ] DEBUG [fe2e5508] Finished in 0.259 seconds with exit status 1 (failed). DEBUG [601f50b9] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/log ] as deploy@54.179.173.86 DEBUG [601f50b9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/log ] DEBUG [601f50b9] Finished in 0.254 seconds with exit status 0 (successful). INFO [7a2f380c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101065801/log as deploy@54.179.173.86 DEBUG [7a2f380c] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101065801/log INFO [7a2f380c] Finished in 0.257 seconds with exit status 0 (successful). INFO [10f58bc6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101065801/log as deploy@54.179.173.86 DEBUG [10f58bc6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101065801/log INFO [10f58bc6] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [f8e28ebd] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids ] as deploy@54.179.173.86 DEBUG [f8e28ebd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids ] DEBUG [f8e28ebd] Finished in 0.256 seconds with exit status 1 (failed). DEBUG [ca8317c1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids ] as deploy@54.179.173.86 DEBUG [ca8317c1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids ] DEBUG [ca8317c1] Finished in 0.258 seconds with exit status 0 (successful). INFO [249dba57] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids as deploy@54.179.173.86 DEBUG [249dba57] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids INFO [249dba57] Finished in 0.258 seconds with exit status 0 (successful). INFO [b77fcc84] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids as deploy@54.179.173.86 DEBUG [b77fcc84] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/pids INFO [b77fcc84] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [b3893c31] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/cache ] as deploy@54.179.173.86 DEBUG [b3893c31] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/cache ] DEBUG [b3893c31] Finished in 0.254 seconds with exit status 1 (failed). DEBUG [322e4b46] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/cache ] as deploy@54.179.173.86 DEBUG [322e4b46] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/cache ] DEBUG [322e4b46] Finished in 0.253 seconds with exit status 1 (failed). INFO [c342ecc0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/cache as deploy@54.179.173.86 DEBUG [c342ecc0] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/cache INFO [c342ecc0] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [7eeffada] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/sockets ] as deploy@54.179.173.86 DEBUG [7eeffada] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/sockets ] DEBUG [7eeffada] Finished in 0.253 seconds with exit status 1 (failed). DEBUG [d7987143] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/sockets ] as deploy@54.179.173.86 DEBUG [d7987143] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/sockets ] DEBUG [d7987143] Finished in 0.257 seconds with exit status 1 (failed). INFO [59af554b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/sockets as deploy@54.179.173.86 DEBUG [59af554b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101065801/tmp/sockets INFO [59af554b] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [49ff829c] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/vendor/bundle ] as deploy@54.179.173.86 DEBUG [49ff829c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/vendor/bundle ] DEBUG [49ff829c] Finished in 0.256 seconds with exit status 1 (failed). DEBUG [61f95444] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/vendor/bundle ] as deploy@54.179.173.86 DEBUG [61f95444] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/vendor/bundle ] DEBUG [61f95444] Finished in 0.256 seconds with exit status 1 (failed). INFO [c91e04dc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101065801/vendor/bundle as deploy@54.179.173.86 DEBUG [c91e04dc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101065801/vendor/bundle INFO [c91e04dc] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [f783fc88] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/public/system ] as deploy@54.179.173.86 DEBUG [f783fc88] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/public/system ] DEBUG [f783fc88] Finished in 0.258 seconds with exit status 1 (failed). DEBUG [39d23e49] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/public/system ] as deploy@54.179.173.86 DEBUG [39d23e49] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/public/system ] DEBUG [39d23e49] Finished in 0.256 seconds with exit status 1 (failed). INFO [bb92f72f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101065801/public/system as deploy@54.179.173.86 DEBUG [bb92f72f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101065801/public/system INFO [bb92f72f] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [169994bd] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/public/uploads ] as deploy@54.179.173.86 DEBUG [169994bd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101065801/public/uploads ] DEBUG [169994bd] Finished in 0.254 seconds with exit status 1 (failed). DEBUG [6f4b7502] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/public/uploads ] as deploy@54.179.173.86 DEBUG [6f4b7502] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101065801/public/uploads ] DEBUG [6f4b7502] Finished in 0.255 seconds with exit status 1 (failed). INFO [966a3180] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101065801/public/uploads as deploy@54.179.173.86 DEBUG [966a3180] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101065801/public/uploads INFO [966a3180] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [94fe6130] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [94fe6130] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi DEBUG [94fe6130] Finished in 0.253 seconds with exit status 0 (successful). INFO [b0871da0] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [b0871da0] Command: cd /home/deploy/apps/aoumi_server/releases/20230101065801 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [b0871da0] Finished in 0.781 seconds with exit status 0 (successful). INFO [691397c1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [691397c1] Command: cd /home/deploy/apps/aoumi_server/releases/20230101065801 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [691397c1] Finished in 0.813 seconds with exit status 0 (successful). INFO [23c3f7b4] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [23c3f7b4] Command: cd /home/deploy/apps/aoumi_server/releases/20230101065801 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [23c3f7b4] Finished in 0.819 seconds with exit status 0 (successful). DEBUG [1782cfb3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1782cfb3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi DEBUG [1782cfb3] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [ed997437] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [ed997437] Command: cd /home/deploy/apps/aoumi_server/releases/20230101065801 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [ed997437] The Gemfile's dependencies are satisfied DEBUG [ed997437] Finished in 0.900 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [dfeafdbd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [dfeafdbd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101065801; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101065801'" 1>&2; false; fi DEBUG [dfeafdbd] Finished in 0.251 seconds with exit status 0 (successful). INFO [09d4fc1e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [09d4fc1e] Command: cd /home/deploy/apps/aoumi_server/releases/20230101065801 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [09d4fc1e] Finished in 1.759 seconds with exit status 0 (successful). INFO [c1f122d3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101065801 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [c1f122d3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101065801 /home/deploy/apps/aoumi_server/releases/current INFO [c1f122d3] Finished in 0.254 seconds with exit status 0 (successful). INFO [0281d618] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [0281d618] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [0281d618] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [b8dc6909] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [b8dc6909] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [b8dc6909] 20221230155237 20221230160503 20221230162717 20230101064108 20230101064855 20230101065801 DEBUG [b8dc6909] Finished in 0.252 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [9715736e] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [9715736e] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [9715736e] Finished in 0.253 seconds with exit status 0 (successful). DEBUG [3d1c27e5] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [3d1c27e5] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [3d1c27e5] /home/deploy/apps/aoumi_server/releases/20230101065801 DEBUG [3d1c27e5] Finished in 0.254 seconds with exit status 0 (successful). INFO [a7f5b7ee] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230155237 as deploy@54.179.173.86 DEBUG [a7f5b7ee] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230155237 INFO [a7f5b7ee] Finished in 0.293 seconds with exit status 0 (successful). DEBUG [b7e9c201] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b7e9c201] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [b7e9c201] Finished in 0.254 seconds with exit status 0 (successful). INFO [c360413c] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101065801 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [c360413c] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101065801 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [c360413c] Finished in 0.255 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 14:02:48 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [5179d4f0] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [5179d4f0] Command: ~/.rvm/bin/rvm version DEBUG [5179d4f0] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [5179d4f0] Finished in 3.397 seconds with exit status 0 (successful). DEBUG [3a134047] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [3a134047] Command: ~/.rvm/bin/rvm current DEBUG [3a134047] ruby-3.0.0 DEBUG [3a134047] Finished in 0.438 seconds with exit status 0 (successful). DEBUG [bf5d0db3] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [bf5d0db3] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [bf5d0db3] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [bf5d0db3] Finished in 1.340 seconds with exit status 0 (successful). INFO [a70f6c41] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [a70f6c41] Command: /usr/bin/env mkdir -p /tmp INFO [a70f6c41] Finished in 1.360 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-7157e8d6781680df7fa0.sh 0.0% INFO Uploading /tmp/git-ssh-7157e8d6781680df7fa0.sh 100.0% INFO [0c66fb1e] Running /usr/bin/env chmod 700 /tmp/git-ssh-7157e8d6781680df7fa0.sh as deploy@54.179.173.86 DEBUG [0c66fb1e] Command: /usr/bin/env chmod 700 /tmp/git-ssh-7157e8d6781680df7fa0.sh INFO [0c66fb1e] Finished in 0.256 seconds with exit status 0 (successful). INFO [d8e73258] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [d8e73258] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7157e8d6781680df7fa0.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d8e73258] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [d8e73258] Finished in 4.111 seconds with exit status 0 (successful). INFO [0a54fae9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [0a54fae9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [0a54fae9] Finished in 0.258 seconds with exit status 0 (successful). INFO [4b046206] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [4b046206] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [4b046206] Finished in 0.254 seconds with exit status 0 (successful). INFO [0d732767] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [0d732767] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [0d732767] Finished in 1.202 seconds with exit status 0 (successful). DEBUG [4a4ad40b] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [4a4ad40b] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [4a4ad40b] Finished in 0.466 seconds with exit status 0 (successful). DEBUG [1eb2bb76] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [1eb2bb76] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [1eb2bb76] Finished in 0.466 seconds with exit status 0 (successful). DEBUG [4ba36be3] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [4ba36be3] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [4ba36be3] Finished in 1.439 seconds with exit status 0 (successful). DEBUG [9fc2a197] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [9fc2a197] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [9fc2a197] Finished in 0.483 seconds with exit status 0 (successful). DEBUG [5a40872b] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [5a40872b] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [5a40872b] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [5a40872b] Finished in 0.258 seconds with exit status 0 (successful). DEBUG [366f119f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [366f119f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [366f119f] Finished in 0.257 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [2c28c624] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2c28c624] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [2c28c624] Finished in 0.968 seconds with exit status 0 (successful). INFO [4bb84d52] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [4bb84d52] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7157e8d6781680df7fa0.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [4bb84d52] Finished in 0.549 seconds with exit status 0 (successful). INFO [97cecaef] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [97cecaef] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7157e8d6781680df7fa0.sh" ; /usr/bin/env git remote update --prune ) DEBUG [97cecaef] Fetching origin INFO [97cecaef] Finished in 3.501 seconds with exit status 0 (successful). DEBUG [41f43504] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [41f43504] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [41f43504] Finished in 0.256 seconds with exit status 0 (successful). INFO [045fe668] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070306 as deploy@54.179.173.86 DEBUG [045fe668] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7157e8d6781680df7fa0.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070306 ) INFO [045fe668] Finished in 0.259 seconds with exit status 0 (successful). INFO [aa0a3181] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101070306 as deploy@54.179.173.86 DEBUG [aa0a3181] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7157e8d6781680df7fa0.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101070306 ) INFO [aa0a3181] Finished in 0.290 seconds with exit status 0 (successful). DEBUG [901289d0] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [901289d0] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [901289d0] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [08a9ed9b] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [08a9ed9b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-7157e8d6781680df7fa0.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [08a9ed9b] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [08a9ed9b] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [8b83a1bb] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8b83a1bb] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi DEBUG [8b83a1bb] Finished in 0.256 seconds with exit status 0 (successful). INFO [c96210bd] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [c96210bd] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070306 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [c96210bd] Finished in 0.253 seconds with exit status 0 (successful). INFO [8e82833e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070306 /home/deploy/apps/aoumi_server/releases/20230101070306/config as deploy@54.179.173.86 DEBUG [8e82833e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070306 /home/deploy/apps/aoumi_server/releases/20230101070306/config INFO [8e82833e] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [229c2b94] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/.env ] as deploy@54.179.173.86 DEBUG [229c2b94] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/.env ] DEBUG [229c2b94] Finished in 0.257 seconds with exit status 1 (failed). DEBUG [8cd94dbf] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101070306/.env ] as deploy@54.179.173.86 DEBUG [8cd94dbf] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101070306/.env ] DEBUG [8cd94dbf] Finished in 0.257 seconds with exit status 0 (successful). INFO [812a5372] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070306/.env as deploy@54.179.173.86 DEBUG [812a5372] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070306/.env INFO [812a5372] Finished in 0.266 seconds with exit status 0 (successful). INFO [b8b83fb8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101070306/.env as deploy@54.179.173.86 DEBUG [b8b83fb8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101070306/.env INFO [b8b83fb8] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [a8a3cd75] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml ] as deploy@54.179.173.86 DEBUG [a8a3cd75] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml ] DEBUG [a8a3cd75] Finished in 0.262 seconds with exit status 1 (failed). DEBUG [be47e233] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml ] as deploy@54.179.173.86 DEBUG [be47e233] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml ] DEBUG [be47e233] Finished in 0.261 seconds with exit status 0 (successful). INFO [460e0164] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml as deploy@54.179.173.86 DEBUG [460e0164] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml INFO [460e0164] Finished in 0.256 seconds with exit status 0 (successful). INFO [18041b72] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml as deploy@54.179.173.86 DEBUG [18041b72] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101070306/config/database.yml INFO [18041b72] Finished in 0.258 seconds with exit status 0 (successful). INFO [c7c52471] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070306 /home/deploy/apps/aoumi_server/releases/20230101070306/tmp /home/deploy/apps/aoumi_server/releases/20230101070306/vendor /home/deploy/apps/aoumi_server/releases/20230101070306/public as deploy@54.179.173.86 DEBUG [c7c52471] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070306 /home/deploy/apps/aoumi_server/releases/20230101070306/tmp /home/deploy/apps/aoumi_server/releases/20230101070306/vendor /home/deploy/apps/aoumi_server/releases/20230101070306/public INFO [c7c52471] Finished in 0.251 seconds with exit status 0 (successful). DEBUG [edd8cd94] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/log ] as deploy@54.179.173.86 DEBUG [edd8cd94] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/log ] DEBUG [edd8cd94] Finished in 0.255 seconds with exit status 1 (failed). DEBUG [a2ac6eae] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/log ] as deploy@54.179.173.86 DEBUG [a2ac6eae] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/log ] DEBUG [a2ac6eae] Finished in 0.256 seconds with exit status 0 (successful). INFO [5c7b1d30] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070306/log as deploy@54.179.173.86 DEBUG [5c7b1d30] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070306/log INFO [5c7b1d30] Finished in 0.253 seconds with exit status 0 (successful). INFO [88c3bb15] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101070306/log as deploy@54.179.173.86 DEBUG [88c3bb15] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101070306/log INFO [88c3bb15] Finished in 0.253 seconds with exit status 0 (successful). DEBUG [9e28b480] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids ] as deploy@54.179.173.86 DEBUG [9e28b480] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids ] DEBUG [9e28b480] Finished in 0.258 seconds with exit status 1 (failed). DEBUG [d184cbc0] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids ] as deploy@54.179.173.86 DEBUG [d184cbc0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids ] DEBUG [d184cbc0] Finished in 0.267 seconds with exit status 0 (successful). INFO [af47f7a2] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids as deploy@54.179.173.86 DEBUG [af47f7a2] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids INFO [af47f7a2] Finished in 0.257 seconds with exit status 0 (successful). INFO [7f7ebee7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids as deploy@54.179.173.86 DEBUG [7f7ebee7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/pids INFO [7f7ebee7] Finished in 0.268 seconds with exit status 0 (successful). DEBUG [34a6327b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/cache ] as deploy@54.179.173.86 DEBUG [34a6327b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/cache ] DEBUG [34a6327b] Finished in 0.259 seconds with exit status 1 (failed). DEBUG [fa97d7b3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/cache ] as deploy@54.179.173.86 DEBUG [fa97d7b3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/cache ] DEBUG [fa97d7b3] Finished in 0.269 seconds with exit status 1 (failed). INFO [d600cd02] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/cache as deploy@54.179.173.86 DEBUG [d600cd02] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/cache INFO [d600cd02] Finished in 0.727 seconds with exit status 0 (successful). DEBUG [5a5baa0c] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/sockets ] as deploy@54.179.173.86 DEBUG [5a5baa0c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/sockets ] DEBUG [5a5baa0c] Finished in 0.257 seconds with exit status 1 (failed). DEBUG [95bde10c] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/sockets ] as deploy@54.179.173.86 DEBUG [95bde10c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/sockets ] DEBUG [95bde10c] Finished in 0.257 seconds with exit status 1 (failed). INFO [c775d08f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/sockets as deploy@54.179.173.86 DEBUG [c775d08f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101070306/tmp/sockets INFO [c775d08f] Finished in 0.663 seconds with exit status 0 (successful). DEBUG [d349dc7e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/vendor/bundle ] as deploy@54.179.173.86 DEBUG [d349dc7e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/vendor/bundle ] DEBUG [d349dc7e] Finished in 0.935 seconds with exit status 1 (failed). DEBUG [f1e5f0a3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/vendor/bundle ] as deploy@54.179.173.86 DEBUG [f1e5f0a3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/vendor/bundle ] DEBUG [f1e5f0a3] Finished in 0.481 seconds with exit status 1 (failed). INFO [756907d9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101070306/vendor/bundle as deploy@54.179.173.86 DEBUG [756907d9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101070306/vendor/bundle INFO [756907d9] Finished in 0.477 seconds with exit status 0 (successful). DEBUG [453541e4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/public/system ] as deploy@54.179.173.86 DEBUG [453541e4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/public/system ] DEBUG [453541e4] Finished in 0.472 seconds with exit status 1 (failed). DEBUG [9ce3496c] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/public/system ] as deploy@54.179.173.86 DEBUG [9ce3496c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/public/system ] DEBUG [9ce3496c] Finished in 0.255 seconds with exit status 1 (failed). INFO [f1047bd5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101070306/public/system as deploy@54.179.173.86 DEBUG [f1047bd5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101070306/public/system INFO [f1047bd5] Finished in 0.479 seconds with exit status 0 (successful). DEBUG [80f48063] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/public/uploads ] as deploy@54.179.173.86 DEBUG [80f48063] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070306/public/uploads ] DEBUG [80f48063] Finished in 0.259 seconds with exit status 1 (failed). DEBUG [c06dad66] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/public/uploads ] as deploy@54.179.173.86 DEBUG [c06dad66] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070306/public/uploads ] DEBUG [c06dad66] Finished in 1.219 seconds with exit status 1 (failed). INFO [34ec92c7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101070306/public/uploads as deploy@54.179.173.86 DEBUG [34ec92c7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101070306/public/uploads INFO [34ec92c7] Finished in 0.800 seconds with exit status 0 (successful). DEBUG [92e16294] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [92e16294] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi DEBUG [92e16294] Finished in 0.987 seconds with exit status 0 (successful). INFO [adb7acb3] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [adb7acb3] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070306 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [adb7acb3] Finished in 1.279 seconds with exit status 0 (successful). INFO [6cd0c767] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [6cd0c767] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070306 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [6cd0c767] Finished in 1.744 seconds with exit status 0 (successful). INFO [8db09dc7] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [8db09dc7] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070306 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [8db09dc7] Finished in 1.020 seconds with exit status 0 (successful). DEBUG [ecef21ad] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ecef21ad] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi DEBUG [ecef21ad] Finished in 0.723 seconds with exit status 0 (successful). DEBUG [1845c9a2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [1845c9a2] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070306 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [1845c9a2] The Gemfile's dependencies are satisfied DEBUG [1845c9a2] Finished in 0.870 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [c333ccd4] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c333ccd4] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070306; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070306'" 1>&2; false; fi DEBUG [c333ccd4] Finished in 0.260 seconds with exit status 0 (successful). INFO [23d42785] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [23d42785] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070306 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [23d42785] Finished in 1.770 seconds with exit status 0 (successful). INFO [6dcce35a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101070306 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [6dcce35a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101070306 /home/deploy/apps/aoumi_server/releases/current INFO [6dcce35a] Finished in 0.470 seconds with exit status 0 (successful). INFO [afdd03d3] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [afdd03d3] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [afdd03d3] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [ab03e2de] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [ab03e2de] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [ab03e2de] 20221230160503 20221230162717 20230101064108 20230101064855 20230101065801 20230101070306 DEBUG [ab03e2de] Finished in 0.255 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [b93e3046] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [b93e3046] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [b93e3046] Finished in 1.219 seconds with exit status 0 (successful). DEBUG [b3a861a6] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [b3a861a6] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [b3a861a6] /home/deploy/apps/aoumi_server/releases/20230101070306 DEBUG [b3a861a6] Finished in 0.396 seconds with exit status 0 (successful). INFO [c99d7546] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230160503 as deploy@54.179.173.86 DEBUG [c99d7546] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230160503 INFO [c99d7546] Finished in 0.596 seconds with exit status 0 (successful). DEBUG [53a50b6d] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [53a50b6d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [53a50b6d] Finished in 0.944 seconds with exit status 0 (successful). INFO [09e8ce82] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101070306 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [09e8ce82] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101070306 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [09e8ce82] Finished in 0.738 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 14:08:27 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a640aa29] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [a640aa29] Command: ~/.rvm/bin/rvm version DEBUG [a640aa29] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [a640aa29] Finished in 2.062 seconds with exit status 0 (successful). DEBUG [a34ee4ab] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [a34ee4ab] Command: ~/.rvm/bin/rvm current DEBUG [a34ee4ab] ruby-3.0.0 DEBUG [a34ee4ab] Finished in 0.459 seconds with exit status 0 (successful). DEBUG [a6a30408] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [a6a30408] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [a6a30408] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [a6a30408] Finished in 0.612 seconds with exit status 0 (successful). INFO [47e72841] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [47e72841] Command: /usr/bin/env mkdir -p /tmp INFO [47e72841] Finished in 0.684 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-9d7738b4d136d73dcd64.sh 0.0% INFO Uploading /tmp/git-ssh-9d7738b4d136d73dcd64.sh 100.0% INFO [02904cef] Running /usr/bin/env chmod 700 /tmp/git-ssh-9d7738b4d136d73dcd64.sh as deploy@54.179.173.86 DEBUG [02904cef] Command: /usr/bin/env chmod 700 /tmp/git-ssh-9d7738b4d136d73dcd64.sh INFO [02904cef] Finished in 0.747 seconds with exit status 0 (successful). INFO [e24c6e7c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [e24c6e7c] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9d7738b4d136d73dcd64.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [e24c6e7c] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [e24c6e7c] Finished in 3.366 seconds with exit status 0 (successful). INFO [ffc4f6b7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [ffc4f6b7] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [ffc4f6b7] Finished in 0.885 seconds with exit status 0 (successful). INFO [d8ba4b89] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [d8ba4b89] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [d8ba4b89] Finished in 1.224 seconds with exit status 0 (successful). INFO [5541eaca] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [5541eaca] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [5541eaca] Finished in 0.739 seconds with exit status 0 (successful). DEBUG [480b5f3a] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [480b5f3a] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [480b5f3a] Finished in 0.262 seconds with exit status 0 (successful). DEBUG [bd71788a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [bd71788a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [bd71788a] Finished in 0.262 seconds with exit status 0 (successful). DEBUG [d687df9e] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [d687df9e] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [d687df9e] Finished in 0.737 seconds with exit status 0 (successful). DEBUG [7ffeb82c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [7ffeb82c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [7ffeb82c] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [db1f4900] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [db1f4900] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [db1f4900] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [db1f4900] Finished in 0.270 seconds with exit status 0 (successful). DEBUG [ccb38e44] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [ccb38e44] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [ccb38e44] Finished in 0.259 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [297d2ba0] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [297d2ba0] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [297d2ba0] Finished in 0.259 seconds with exit status 0 (successful). INFO [f78e33d7] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [f78e33d7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9d7738b4d136d73dcd64.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [f78e33d7] Finished in 0.478 seconds with exit status 0 (successful). INFO [f5c54f20] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [f5c54f20] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9d7738b4d136d73dcd64.sh" ; /usr/bin/env git remote update --prune ) DEBUG [f5c54f20] Fetching origin INFO [f5c54f20] Finished in 3.601 seconds with exit status 0 (successful). DEBUG [ae9d17f7] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ae9d17f7] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ae9d17f7] Finished in 0.262 seconds with exit status 0 (successful). INFO [44c914ea] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070841 as deploy@54.179.173.86 DEBUG [44c914ea] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9d7738b4d136d73dcd64.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070841 ) INFO [44c914ea] Finished in 0.263 seconds with exit status 0 (successful). INFO [f62d7ff7] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101070841 as deploy@54.179.173.86 DEBUG [f62d7ff7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9d7738b4d136d73dcd64.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101070841 ) INFO [f62d7ff7] Finished in 0.293 seconds with exit status 0 (successful). DEBUG [34ad80e8] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [34ad80e8] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [34ad80e8] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [7b76548a] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [7b76548a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-9d7738b4d136d73dcd64.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [7b76548a] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [7b76548a] Finished in 0.562 seconds with exit status 0 (successful). DEBUG [9df2e2f1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [9df2e2f1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi DEBUG [9df2e2f1] Finished in 0.273 seconds with exit status 0 (successful). INFO [5e567263] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [5e567263] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070841 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [5e567263] Finished in 0.465 seconds with exit status 0 (successful). INFO [a0a8fc01] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/20230101070841/config as deploy@54.179.173.86 DEBUG [a0a8fc01] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/20230101070841/config INFO [a0a8fc01] Finished in 0.263 seconds with exit status 0 (successful). DEBUG [5f053f19] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/.env ] as deploy@54.179.173.86 DEBUG [5f053f19] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/.env ] DEBUG [5f053f19] Finished in 0.526 seconds with exit status 1 (failed). DEBUG [ce9ae407] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101070841/.env ] as deploy@54.179.173.86 DEBUG [ce9ae407] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101070841/.env ] DEBUG [ce9ae407] Finished in 0.461 seconds with exit status 0 (successful). INFO [37c2c752] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070841/.env as deploy@54.179.173.86 DEBUG [37c2c752] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070841/.env INFO [37c2c752] Finished in 0.461 seconds with exit status 0 (successful). INFO [04787480] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101070841/.env as deploy@54.179.173.86 DEBUG [04787480] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101070841/.env INFO [04787480] Finished in 0.715 seconds with exit status 0 (successful). DEBUG [11b66ee0] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml ] as deploy@54.179.173.86 DEBUG [11b66ee0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml ] DEBUG [11b66ee0] Finished in 0.476 seconds with exit status 1 (failed). DEBUG [aa64c8fd] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml ] as deploy@54.179.173.86 DEBUG [aa64c8fd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml ] DEBUG [aa64c8fd] Finished in 0.260 seconds with exit status 0 (successful). INFO [8f4472fd] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml as deploy@54.179.173.86 DEBUG [8f4472fd] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml INFO [8f4472fd] Finished in 0.467 seconds with exit status 0 (successful). INFO [fdf903cd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml as deploy@54.179.173.86 DEBUG [fdf903cd] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101070841/config/database.yml INFO [fdf903cd] Finished in 0.730 seconds with exit status 0 (successful). INFO [39cdb689] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/20230101070841/tmp /home/deploy/apps/aoumi_server/releases/20230101070841/vendor /home/deploy/apps/aoumi_server/releases/20230101070841/public as deploy@54.179.173.86 DEBUG [39cdb689] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/20230101070841/tmp /home/deploy/apps/aoumi_server/releases/20230101070841/vendor /home/deploy/apps/aoumi_server/releases/20230101070841/public INFO [39cdb689] Finished in 0.501 seconds with exit status 0 (successful). DEBUG [b8c6671b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/log ] as deploy@54.179.173.86 DEBUG [b8c6671b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/log ] DEBUG [b8c6671b] Finished in 0.469 seconds with exit status 1 (failed). DEBUG [3be2a583] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/log ] as deploy@54.179.173.86 DEBUG [3be2a583] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/log ] DEBUG [3be2a583] Finished in 0.944 seconds with exit status 0 (successful). INFO [00ddeeda] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070841/log as deploy@54.179.173.86 DEBUG [00ddeeda] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070841/log INFO [00ddeeda] Finished in 0.551 seconds with exit status 0 (successful). INFO [486b9d7c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101070841/log as deploy@54.179.173.86 DEBUG [486b9d7c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101070841/log INFO [486b9d7c] Finished in 0.520 seconds with exit status 0 (successful). DEBUG [e1a8599d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids ] as deploy@54.179.173.86 DEBUG [e1a8599d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids ] DEBUG [e1a8599d] Finished in 1.234 seconds with exit status 1 (failed). DEBUG [31dabe25] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids ] as deploy@54.179.173.86 DEBUG [31dabe25] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids ] DEBUG [31dabe25] Finished in 0.655 seconds with exit status 0 (successful). INFO [8101ca40] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids as deploy@54.179.173.86 DEBUG [8101ca40] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids INFO [8101ca40] Finished in 0.849 seconds with exit status 0 (successful). INFO [fe988829] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids as deploy@54.179.173.86 DEBUG [fe988829] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/pids INFO [fe988829] Finished in 0.714 seconds with exit status 0 (successful). DEBUG [543d8d1f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/cache ] as deploy@54.179.173.86 DEBUG [543d8d1f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/cache ] DEBUG [543d8d1f] Finished in 0.723 seconds with exit status 1 (failed). DEBUG [9b1cdcd6] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/cache ] as deploy@54.179.173.86 DEBUG [9b1cdcd6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/cache ] DEBUG [9b1cdcd6] Finished in 0.737 seconds with exit status 1 (failed). INFO [31dbffc5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/cache as deploy@54.179.173.86 DEBUG [31dbffc5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/cache INFO [31dbffc5] Finished in 0.274 seconds with exit status 0 (successful). DEBUG [056cd065] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/sockets ] as deploy@54.179.173.86 DEBUG [056cd065] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/sockets ] DEBUG [056cd065] Finished in 0.281 seconds with exit status 1 (failed). DEBUG [2cfc38e7] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/sockets ] as deploy@54.179.173.86 DEBUG [2cfc38e7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/sockets ] DEBUG [2cfc38e7] Finished in 0.264 seconds with exit status 1 (failed). INFO [4f94549b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/sockets as deploy@54.179.173.86 DEBUG [4f94549b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101070841/tmp/sockets INFO [4f94549b] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [e03584b7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/vendor/bundle ] as deploy@54.179.173.86 DEBUG [e03584b7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/vendor/bundle ] DEBUG [e03584b7] Finished in 0.264 seconds with exit status 1 (failed). DEBUG [049370c0] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/vendor/bundle ] as deploy@54.179.173.86 DEBUG [049370c0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/vendor/bundle ] DEBUG [049370c0] Finished in 0.260 seconds with exit status 1 (failed). INFO [c17e4679] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101070841/vendor/bundle as deploy@54.179.173.86 DEBUG [c17e4679] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101070841/vendor/bundle INFO [c17e4679] Finished in 0.263 seconds with exit status 0 (successful). DEBUG [e264a5f9] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/public/system ] as deploy@54.179.173.86 DEBUG [e264a5f9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/public/system ] DEBUG [e264a5f9] Finished in 0.268 seconds with exit status 1 (failed). DEBUG [24a6cc49] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/public/system ] as deploy@54.179.173.86 DEBUG [24a6cc49] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/public/system ] DEBUG [24a6cc49] Finished in 0.262 seconds with exit status 1 (failed). INFO [a7eb0c0b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101070841/public/system as deploy@54.179.173.86 DEBUG [a7eb0c0b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101070841/public/system INFO [a7eb0c0b] Finished in 0.262 seconds with exit status 0 (successful). DEBUG [86743f1b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/public/uploads ] as deploy@54.179.173.86 DEBUG [86743f1b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101070841/public/uploads ] DEBUG [86743f1b] Finished in 0.258 seconds with exit status 1 (failed). DEBUG [87090f8b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/public/uploads ] as deploy@54.179.173.86 DEBUG [87090f8b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101070841/public/uploads ] DEBUG [87090f8b] Finished in 0.231 seconds with exit status 1 (failed). INFO [1d657a7a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101070841/public/uploads as deploy@54.179.173.86 DEBUG [1d657a7a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101070841/public/uploads INFO [1d657a7a] Finished in 0.267 seconds with exit status 0 (successful). DEBUG [c2e1cc34] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c2e1cc34] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi DEBUG [c2e1cc34] Finished in 0.265 seconds with exit status 0 (successful). INFO [d3b222c2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [d3b222c2] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070841 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [d3b222c2] Finished in 0.881 seconds with exit status 0 (successful). INFO [e1c60102] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [e1c60102] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070841 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [e1c60102] Finished in 0.824 seconds with exit status 0 (successful). INFO [e32424ba] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [e32424ba] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070841 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [e32424ba] Finished in 0.845 seconds with exit status 0 (successful). DEBUG [2f23b46e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2f23b46e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi DEBUG [2f23b46e] Finished in 0.264 seconds with exit status 0 (successful). DEBUG [647e7e23] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [647e7e23] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070841 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [647e7e23] The Gemfile's dependencies are satisfied DEBUG [647e7e23] Finished in 0.971 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [bff69a35] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [bff69a35] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101070841; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101070841'" 1>&2; false; fi DEBUG [bff69a35] Finished in 0.269 seconds with exit status 0 (successful). INFO [bc9bae84] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [bc9bae84] Command: cd /home/deploy/apps/aoumi_server/releases/20230101070841 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [bc9bae84] Finished in 1.835 seconds with exit status 0 (successful). INFO [31252c40] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [31252c40] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/current INFO [31252c40] Finished in 0.258 seconds with exit status 0 (successful). INFO [13a487f9] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [13a487f9] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [13a487f9] Finished in 0.280 seconds with exit status 0 (successful). DEBUG [70621c04] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [70621c04] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [70621c04] 20221230162717 20230101064108 20230101064855 20230101065801 20230101070306 20230101070841 DEBUG [70621c04] Finished in 0.264 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [3983b4b6] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [3983b4b6] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [3983b4b6] Finished in 0.264 seconds with exit status 0 (successful). DEBUG [1c536929] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [1c536929] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [1c536929] /home/deploy/apps/aoumi_server/releases/20230101070841 DEBUG [1c536929] Finished in 0.263 seconds with exit status 0 (successful). INFO [91f462e7] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230162717 as deploy@54.179.173.86 DEBUG [91f462e7] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20221230162717 INFO [91f462e7] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [02b1fa39] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [02b1fa39] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [02b1fa39] Finished in 0.267 seconds with exit status 0 (successful). INFO [03e2533b] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101070841 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [03e2533b] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101070841 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [03e2533b] Finished in 0.312 seconds with exit status 0 (successful). INFO [ffad5de9] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [ffad5de9] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development DEBUG [ffad5de9] Failed to restart puma_aoumi_server_development.service: Unit puma_aoumi_server_development.service not found. INFO --------------------------------------------------------------------------- INFO START 2023-01-01 14:13:27 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [87dcc8c9] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [87dcc8c9] Command: ~/.rvm/bin/rvm version DEBUG [87dcc8c9] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [87dcc8c9] Finished in 1.610 seconds with exit status 0 (successful). DEBUG [1df3a3c2] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [1df3a3c2] Command: ~/.rvm/bin/rvm current DEBUG [1df3a3c2] ruby-3.0.0 DEBUG [1df3a3c2] Finished in 0.452 seconds with exit status 0 (successful). DEBUG [54de4378] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [54de4378] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [54de4378] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [54de4378] Finished in 0.678 seconds with exit status 0 (successful). INFO [abe8358c] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [abe8358c] Command: /usr/bin/env mkdir -p /tmp INFO [abe8358c] Finished in 0.249 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh 0.0% INFO Uploading /tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh 100.0% INFO [8c78b977] Running /usr/bin/env chmod 700 /tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh as deploy@54.179.173.86 DEBUG [8c78b977] Command: /usr/bin/env chmod 700 /tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh INFO [8c78b977] Finished in 0.257 seconds with exit status 0 (successful). INFO [5a0c7250] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [5a0c7250] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [5a0c7250] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [5a0c7250] Finished in 3.092 seconds with exit status 0 (successful). INFO [94592a2a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [94592a2a] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [94592a2a] Finished in 0.258 seconds with exit status 0 (successful). INFO [2d914cdf] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [2d914cdf] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [2d914cdf] Finished in 0.251 seconds with exit status 0 (successful). INFO [819d8585] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [819d8585] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [819d8585] Finished in 0.730 seconds with exit status 0 (successful). DEBUG [e28c71f3] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [e28c71f3] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [e28c71f3] Finished in 0.276 seconds with exit status 0 (successful). DEBUG [b3f030dd] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [b3f030dd] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [b3f030dd] Finished in 0.277 seconds with exit status 0 (successful). DEBUG [e18d7a48] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [e18d7a48] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [e18d7a48] Finished in 0.310 seconds with exit status 0 (successful). DEBUG [15be519d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [15be519d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [15be519d] Finished in 0.317 seconds with exit status 0 (successful). DEBUG [0fd3dcdf] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [0fd3dcdf] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [0fd3dcdf] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [0fd3dcdf] Finished in 0.793 seconds with exit status 0 (successful). DEBUG [50a42dbe] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [50a42dbe] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [50a42dbe] Finished in 0.331 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5bcc860e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5bcc860e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5bcc860e] Finished in 0.294 seconds with exit status 0 (successful). INFO [93562e2e] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [93562e2e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [93562e2e] Finished in 0.479 seconds with exit status 0 (successful). INFO [f01048de] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [f01048de] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh" ; /usr/bin/env git remote update --prune ) DEBUG [f01048de] Fetching origin INFO [f01048de] Finished in 3.227 seconds with exit status 0 (successful). DEBUG [fadbf95e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [fadbf95e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [fadbf95e] Finished in 0.491 seconds with exit status 0 (successful). INFO [5bb65a15] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101071337 as deploy@54.179.173.86 DEBUG [5bb65a15] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101071337 ) INFO [5bb65a15] Finished in 0.409 seconds with exit status 0 (successful). INFO [94d61624] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101071337 as deploy@54.179.173.86 DEBUG [94d61624] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101071337 ) INFO [94d61624] Finished in 0.331 seconds with exit status 0 (successful). DEBUG [587f6ea6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [587f6ea6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [587f6ea6] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [309342b1] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [309342b1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1c5dec5ec3b0fcbb17b1.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [309342b1] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [309342b1] Finished in 0.311 seconds with exit status 0 (successful). DEBUG [28ebcacd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [28ebcacd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi DEBUG [28ebcacd] Finished in 0.416 seconds with exit status 0 (successful). INFO [73521ab6] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [73521ab6] Command: cd /home/deploy/apps/aoumi_server/releases/20230101071337 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [73521ab6] Finished in 0.278 seconds with exit status 0 (successful). INFO [24118119] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101071337 /home/deploy/apps/aoumi_server/releases/20230101071337/config as deploy@54.179.173.86 DEBUG [24118119] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101071337 /home/deploy/apps/aoumi_server/releases/20230101071337/config INFO [24118119] Finished in 0.306 seconds with exit status 0 (successful). DEBUG [82c9569b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/.env ] as deploy@54.179.173.86 DEBUG [82c9569b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/.env ] DEBUG [82c9569b] Finished in 0.278 seconds with exit status 1 (failed). DEBUG [2ff4a4e3] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101071337/.env ] as deploy@54.179.173.86 DEBUG [2ff4a4e3] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101071337/.env ] DEBUG [2ff4a4e3] Finished in 0.380 seconds with exit status 0 (successful). INFO [7d17ecec] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101071337/.env as deploy@54.179.173.86 DEBUG [7d17ecec] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101071337/.env INFO [7d17ecec] Finished in 0.322 seconds with exit status 0 (successful). INFO [2e2046be] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101071337/.env as deploy@54.179.173.86 DEBUG [2e2046be] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101071337/.env INFO [2e2046be] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [4abfbef2] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml ] as deploy@54.179.173.86 DEBUG [4abfbef2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml ] DEBUG [4abfbef2] Finished in 0.281 seconds with exit status 1 (failed). DEBUG [47cd2f14] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml ] as deploy@54.179.173.86 DEBUG [47cd2f14] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml ] DEBUG [47cd2f14] Finished in 0.258 seconds with exit status 0 (successful). INFO [62e7ce26] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml as deploy@54.179.173.86 DEBUG [62e7ce26] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml INFO [62e7ce26] Finished in 0.300 seconds with exit status 0 (successful). INFO [4a66f45e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml as deploy@54.179.173.86 DEBUG [4a66f45e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101071337/config/database.yml INFO [4a66f45e] Finished in 0.341 seconds with exit status 0 (successful). INFO [e5a95c7b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101071337 /home/deploy/apps/aoumi_server/releases/20230101071337/tmp /home/deploy/apps/aoumi_server/releases/20230101071337/vendor /home/deploy/apps/aoumi_server/releases/20230101071337/public as deploy@54.179.173.86 DEBUG [e5a95c7b] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101071337 /home/deploy/apps/aoumi_server/releases/20230101071337/tmp /home/deploy/apps/aoumi_server/releases/20230101071337/vendor /home/deploy/apps/aoumi_server/releases/20230101071337/public INFO [e5a95c7b] Finished in 0.284 seconds with exit status 0 (successful). DEBUG [0ce741ad] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/log ] as deploy@54.179.173.86 DEBUG [0ce741ad] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/log ] DEBUG [0ce741ad] Finished in 0.306 seconds with exit status 1 (failed). DEBUG [7676b338] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/log ] as deploy@54.179.173.86 DEBUG [7676b338] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/log ] DEBUG [7676b338] Finished in 0.262 seconds with exit status 0 (successful). INFO [63bb26bb] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101071337/log as deploy@54.179.173.86 DEBUG [63bb26bb] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101071337/log INFO [63bb26bb] Finished in 0.269 seconds with exit status 0 (successful). INFO [ee17829b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101071337/log as deploy@54.179.173.86 DEBUG [ee17829b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101071337/log INFO [ee17829b] Finished in 0.311 seconds with exit status 0 (successful). DEBUG [8d7f05e9] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids ] as deploy@54.179.173.86 DEBUG [8d7f05e9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids ] DEBUG [8d7f05e9] Finished in 0.370 seconds with exit status 1 (failed). DEBUG [7dce34f1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids ] as deploy@54.179.173.86 DEBUG [7dce34f1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids ] DEBUG [7dce34f1] Finished in 0.349 seconds with exit status 0 (successful). INFO [36a4b10c] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids as deploy@54.179.173.86 DEBUG [36a4b10c] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids INFO [36a4b10c] Finished in 0.384 seconds with exit status 0 (successful). INFO [9bbb333e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids as deploy@54.179.173.86 DEBUG [9bbb333e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/pids INFO [9bbb333e] Finished in 0.437 seconds with exit status 0 (successful). DEBUG [8f51c1c4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/cache ] as deploy@54.179.173.86 DEBUG [8f51c1c4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/cache ] DEBUG [8f51c1c4] Finished in 0.461 seconds with exit status 1 (failed). DEBUG [6b3759d3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/cache ] as deploy@54.179.173.86 DEBUG [6b3759d3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/cache ] DEBUG [6b3759d3] Finished in 0.318 seconds with exit status 1 (failed). INFO [04e4be76] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/cache as deploy@54.179.173.86 DEBUG [04e4be76] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/cache INFO [04e4be76] Finished in 0.308 seconds with exit status 0 (successful). DEBUG [64fee032] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/sockets ] as deploy@54.179.173.86 DEBUG [64fee032] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/sockets ] DEBUG [64fee032] Finished in 0.298 seconds with exit status 1 (failed). DEBUG [78974741] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/sockets ] as deploy@54.179.173.86 DEBUG [78974741] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/sockets ] DEBUG [78974741] Finished in 0.258 seconds with exit status 1 (failed). INFO [17a6c67b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/sockets as deploy@54.179.173.86 DEBUG [17a6c67b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101071337/tmp/sockets INFO [17a6c67b] Finished in 0.255 seconds with exit status 0 (successful). DEBUG [4a719f94] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/vendor/bundle ] as deploy@54.179.173.86 DEBUG [4a719f94] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/vendor/bundle ] DEBUG [4a719f94] Finished in 0.256 seconds with exit status 1 (failed). DEBUG [027354cf] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/vendor/bundle ] as deploy@54.179.173.86 DEBUG [027354cf] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/vendor/bundle ] DEBUG [027354cf] Finished in 0.262 seconds with exit status 1 (failed). INFO [0ed42f57] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101071337/vendor/bundle as deploy@54.179.173.86 DEBUG [0ed42f57] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101071337/vendor/bundle INFO [0ed42f57] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [01659b0d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/public/system ] as deploy@54.179.173.86 DEBUG [01659b0d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/public/system ] DEBUG [01659b0d] Finished in 0.263 seconds with exit status 1 (failed). DEBUG [12ce80e1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/public/system ] as deploy@54.179.173.86 DEBUG [12ce80e1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/public/system ] DEBUG [12ce80e1] Finished in 0.257 seconds with exit status 1 (failed). INFO [adeb11c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101071337/public/system as deploy@54.179.173.86 DEBUG [adeb11c5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101071337/public/system INFO [adeb11c5] Finished in 0.256 seconds with exit status 0 (successful). DEBUG [3d502e52] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/public/uploads ] as deploy@54.179.173.86 DEBUG [3d502e52] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101071337/public/uploads ] DEBUG [3d502e52] Finished in 0.269 seconds with exit status 1 (failed). DEBUG [f87bea30] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/public/uploads ] as deploy@54.179.173.86 DEBUG [f87bea30] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101071337/public/uploads ] DEBUG [f87bea30] Finished in 0.263 seconds with exit status 1 (failed). INFO [94e6a23e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101071337/public/uploads as deploy@54.179.173.86 DEBUG [94e6a23e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101071337/public/uploads INFO [94e6a23e] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [f0e493a8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [f0e493a8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi DEBUG [f0e493a8] Finished in 0.392 seconds with exit status 0 (successful). INFO [70f929ab] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [70f929ab] Command: cd /home/deploy/apps/aoumi_server/releases/20230101071337 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [70f929ab] Finished in 0.876 seconds with exit status 0 (successful). INFO [9b1a7815] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [9b1a7815] Command: cd /home/deploy/apps/aoumi_server/releases/20230101071337 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [9b1a7815] Finished in 0.939 seconds with exit status 0 (successful). INFO [88d57b28] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [88d57b28] Command: cd /home/deploy/apps/aoumi_server/releases/20230101071337 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [88d57b28] Finished in 0.805 seconds with exit status 0 (successful). DEBUG [8a2b7156] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [8a2b7156] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi DEBUG [8a2b7156] Finished in 0.269 seconds with exit status 0 (successful). DEBUG [59637ff5] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [59637ff5] Command: cd /home/deploy/apps/aoumi_server/releases/20230101071337 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [59637ff5] The Gemfile's dependencies are satisfied DEBUG [59637ff5] Finished in 0.985 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [c65d2983] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c65d2983] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101071337; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101071337'" 1>&2; false; fi DEBUG [c65d2983] Finished in 0.321 seconds with exit status 0 (successful). INFO [1a37fba2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [1a37fba2] Command: cd /home/deploy/apps/aoumi_server/releases/20230101071337 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [1a37fba2] Finished in 1.856 seconds with exit status 0 (successful). INFO [8ea09686] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101071337 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [8ea09686] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101071337 /home/deploy/apps/aoumi_server/releases/current INFO [8ea09686] Finished in 0.291 seconds with exit status 0 (successful). INFO [b5f7bb53] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [b5f7bb53] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [b5f7bb53] Finished in 0.260 seconds with exit status 0 (successful). DEBUG [944f4727] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [944f4727] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [944f4727] 20230101064108 20230101064855 20230101065801 20230101070306 20230101070841 20230101071337 DEBUG [944f4727] Finished in 0.255 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [c777488a] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [c777488a] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [c777488a] Finished in 0.383 seconds with exit status 0 (successful). DEBUG [595716c6] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [595716c6] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [595716c6] /home/deploy/apps/aoumi_server/releases/20230101071337 DEBUG [595716c6] Finished in 0.340 seconds with exit status 0 (successful). INFO [ab413516] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064108 as deploy@54.179.173.86 DEBUG [ab413516] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064108 INFO [ab413516] Finished in 0.396 seconds with exit status 0 (successful). DEBUG [619e6cfe] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [619e6cfe] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [619e6cfe] Finished in 0.443 seconds with exit status 0 (successful). INFO [1e984892] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101071337 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [1e984892] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101071337 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [1e984892] Finished in 0.341 seconds with exit status 0 (successful). INFO [8111c519] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [8111c519] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [8111c519] Finished in 0.435 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 14:41:45 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a755f799] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [a755f799] Command: ~/.rvm/bin/rvm version DEBUG [a755f799] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [a755f799] Finished in 1.802 seconds with exit status 0 (successful). DEBUG [59cbfcd8] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [59cbfcd8] Command: ~/.rvm/bin/rvm current DEBUG [59cbfcd8] ruby-3.0.0 DEBUG [59cbfcd8] Finished in 0.433 seconds with exit status 0 (successful). DEBUG [c018fbc1] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [c018fbc1] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [c018fbc1] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [c018fbc1] Finished in 0.621 seconds with exit status 0 (successful). INFO [2acffa80] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [2acffa80] Command: /usr/bin/env mkdir -p /tmp INFO [2acffa80] Finished in 0.258 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-949e0e90ea006b658eb1.sh 0.0% INFO Uploading /tmp/git-ssh-949e0e90ea006b658eb1.sh 100.0% INFO [13bf4fe9] Running /usr/bin/env chmod 700 /tmp/git-ssh-949e0e90ea006b658eb1.sh as deploy@54.179.173.86 DEBUG [13bf4fe9] Command: /usr/bin/env chmod 700 /tmp/git-ssh-949e0e90ea006b658eb1.sh INFO [13bf4fe9] Finished in 0.259 seconds with exit status 0 (successful). INFO [40142214] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [40142214] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-949e0e90ea006b658eb1.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [40142214] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [40142214] Finished in 3.183 seconds with exit status 0 (successful). INFO [a818f1e4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [a818f1e4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [a818f1e4] Finished in 0.264 seconds with exit status 0 (successful). INFO [94242aa4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [94242aa4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [94242aa4] Finished in 0.266 seconds with exit status 0 (successful). INFO [47ed2042] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [47ed2042] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [47ed2042] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [6c480e00] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [6c480e00] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [6c480e00] Finished in 0.270 seconds with exit status 0 (successful). DEBUG [cddf7449] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [cddf7449] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [cddf7449] Finished in 0.264 seconds with exit status 0 (successful). DEBUG [01708ac5] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [01708ac5] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [01708ac5] Finished in 0.258 seconds with exit status 0 (successful). DEBUG [3106264d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [3106264d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [3106264d] Finished in 0.267 seconds with exit status 0 (successful). DEBUG [61a75426] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [61a75426] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [61a75426] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [61a75426] Finished in 0.265 seconds with exit status 0 (successful). DEBUG [95d22c25] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [95d22c25] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [95d22c25] Finished in 0.276 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [5a0960d8] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5a0960d8] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5a0960d8] Finished in 0.270 seconds with exit status 0 (successful). INFO [28e908e3] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [28e908e3] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-949e0e90ea006b658eb1.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [28e908e3] Finished in 0.266 seconds with exit status 0 (successful). INFO [8ff02e2a] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [8ff02e2a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-949e0e90ea006b658eb1.sh" ; /usr/bin/env git remote update --prune ) DEBUG [8ff02e2a] Fetching origin INFO [8ff02e2a] Finished in 2.965 seconds with exit status 0 (successful). DEBUG [682ba0e3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [682ba0e3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [682ba0e3] Finished in 0.257 seconds with exit status 0 (successful). INFO [72e3b4b4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074155 as deploy@54.179.173.86 DEBUG [72e3b4b4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-949e0e90ea006b658eb1.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074155 ) INFO [72e3b4b4] Finished in 0.262 seconds with exit status 0 (successful). INFO [63876dfa] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101074155 as deploy@54.179.173.86 DEBUG [63876dfa] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-949e0e90ea006b658eb1.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101074155 ) INFO [63876dfa] Finished in 0.293 seconds with exit status 0 (successful). DEBUG [6e0c7d7e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [6e0c7d7e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6e0c7d7e] Finished in 0.262 seconds with exit status 0 (successful). DEBUG [ca87217f] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [ca87217f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-949e0e90ea006b658eb1.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [ca87217f] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [ca87217f] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [a634caaf] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [a634caaf] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi DEBUG [a634caaf] Finished in 0.260 seconds with exit status 0 (successful). INFO [0c5a19ec] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [0c5a19ec] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074155 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [0c5a19ec] Finished in 0.262 seconds with exit status 0 (successful). INFO [a2bc057c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074155 /home/deploy/apps/aoumi_server/releases/20230101074155/config as deploy@54.179.173.86 DEBUG [a2bc057c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074155 /home/deploy/apps/aoumi_server/releases/20230101074155/config INFO [a2bc057c] Finished in 0.257 seconds with exit status 0 (successful). DEBUG [adcd3f68] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/.env ] as deploy@54.179.173.86 DEBUG [adcd3f68] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/.env ] DEBUG [adcd3f68] Finished in 0.263 seconds with exit status 1 (failed). DEBUG [b81ec8df] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101074155/.env ] as deploy@54.179.173.86 DEBUG [b81ec8df] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101074155/.env ] DEBUG [b81ec8df] Finished in 0.275 seconds with exit status 0 (successful). INFO [1c52c0ff] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074155/.env as deploy@54.179.173.86 DEBUG [1c52c0ff] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074155/.env INFO [1c52c0ff] Finished in 0.264 seconds with exit status 0 (successful). INFO [12155246] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101074155/.env as deploy@54.179.173.86 DEBUG [12155246] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101074155/.env INFO [12155246] Finished in 0.233 seconds with exit status 0 (successful). DEBUG [07ef644d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml ] as deploy@54.179.173.86 DEBUG [07ef644d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml ] DEBUG [07ef644d] Finished in 0.262 seconds with exit status 1 (failed). DEBUG [392b5dbe] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml ] as deploy@54.179.173.86 DEBUG [392b5dbe] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml ] DEBUG [392b5dbe] Finished in 0.264 seconds with exit status 0 (successful). INFO [f7f4c0fe] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml as deploy@54.179.173.86 DEBUG [f7f4c0fe] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml INFO [f7f4c0fe] Finished in 0.275 seconds with exit status 0 (successful). INFO [444654b3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml as deploy@54.179.173.86 DEBUG [444654b3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101074155/config/database.yml INFO [444654b3] Finished in 0.261 seconds with exit status 0 (successful). INFO [e26b3f13] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074155 /home/deploy/apps/aoumi_server/releases/20230101074155/tmp /home/deploy/apps/aoumi_server/releases/20230101074155/vendor /home/deploy/apps/aoumi_server/releases/20230101074155/public as deploy@54.179.173.86 DEBUG [e26b3f13] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074155 /home/deploy/apps/aoumi_server/releases/20230101074155/tmp /home/deploy/apps/aoumi_server/releases/20230101074155/vendor /home/deploy/apps/aoumi_server/releases/20230101074155/public INFO [e26b3f13] Finished in 0.268 seconds with exit status 0 (successful). DEBUG [881a7b47] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/log ] as deploy@54.179.173.86 DEBUG [881a7b47] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/log ] DEBUG [881a7b47] Finished in 0.276 seconds with exit status 1 (failed). DEBUG [05155ed7] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/log ] as deploy@54.179.173.86 DEBUG [05155ed7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/log ] DEBUG [05155ed7] Finished in 0.260 seconds with exit status 0 (successful). INFO [b5422f08] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074155/log as deploy@54.179.173.86 DEBUG [b5422f08] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074155/log INFO [b5422f08] Finished in 0.261 seconds with exit status 0 (successful). INFO [981a43e0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101074155/log as deploy@54.179.173.86 DEBUG [981a43e0] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101074155/log INFO [981a43e0] Finished in 0.676 seconds with exit status 0 (successful). DEBUG [35a261a7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids ] as deploy@54.179.173.86 DEBUG [35a261a7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids ] DEBUG [35a261a7] Finished in 0.266 seconds with exit status 1 (failed). DEBUG [a73ed10f] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids ] as deploy@54.179.173.86 DEBUG [a73ed10f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids ] DEBUG [a73ed10f] Finished in 0.749 seconds with exit status 0 (successful). INFO [23238639] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids as deploy@54.179.173.86 DEBUG [23238639] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids INFO [23238639] Finished in 0.836 seconds with exit status 0 (successful). INFO [0e652376] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids as deploy@54.179.173.86 DEBUG [0e652376] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/pids INFO [0e652376] Finished in 1.285 seconds with exit status 0 (successful). DEBUG [25d91d13] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/cache ] as deploy@54.179.173.86 DEBUG [25d91d13] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/cache ] DEBUG [25d91d13] Finished in 0.751 seconds with exit status 1 (failed). DEBUG [9f0dcc90] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/cache ] as deploy@54.179.173.86 DEBUG [9f0dcc90] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/cache ] DEBUG [9f0dcc90] Finished in 0.859 seconds with exit status 1 (failed). INFO [4424940a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/cache as deploy@54.179.173.86 DEBUG [4424940a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/cache INFO [4424940a] Finished in 0.956 seconds with exit status 0 (successful). DEBUG [f24755a7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/sockets ] as deploy@54.179.173.86 DEBUG [f24755a7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/sockets ] DEBUG [f24755a7] Finished in 0.261 seconds with exit status 1 (failed). DEBUG [83e6b38e] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/sockets ] as deploy@54.179.173.86 DEBUG [83e6b38e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/sockets ] DEBUG [83e6b38e] Finished in 0.262 seconds with exit status 1 (failed). INFO [efc575a9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/sockets as deploy@54.179.173.86 DEBUG [efc575a9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101074155/tmp/sockets INFO [efc575a9] Finished in 0.260 seconds with exit status 0 (successful). DEBUG [37476e27] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/vendor/bundle ] as deploy@54.179.173.86 DEBUG [37476e27] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/vendor/bundle ] DEBUG [37476e27] Finished in 0.273 seconds with exit status 1 (failed). DEBUG [e69537ce] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/vendor/bundle ] as deploy@54.179.173.86 DEBUG [e69537ce] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/vendor/bundle ] DEBUG [e69537ce] Finished in 0.471 seconds with exit status 1 (failed). INFO [a2d9f1fc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101074155/vendor/bundle as deploy@54.179.173.86 DEBUG [a2d9f1fc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101074155/vendor/bundle INFO [a2d9f1fc] Finished in 0.262 seconds with exit status 0 (successful). DEBUG [2bfb3156] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/public/system ] as deploy@54.179.173.86 DEBUG [2bfb3156] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/public/system ] DEBUG [2bfb3156] Finished in 0.263 seconds with exit status 1 (failed). DEBUG [347aa7b2] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/public/system ] as deploy@54.179.173.86 DEBUG [347aa7b2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/public/system ] DEBUG [347aa7b2] Finished in 0.269 seconds with exit status 1 (failed). INFO [ad6df251] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101074155/public/system as deploy@54.179.173.86 DEBUG [ad6df251] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101074155/public/system INFO [ad6df251] Finished in 0.260 seconds with exit status 0 (successful). DEBUG [0f6b23d0] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/public/uploads ] as deploy@54.179.173.86 DEBUG [0f6b23d0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074155/public/uploads ] DEBUG [0f6b23d0] Finished in 0.701 seconds with exit status 1 (failed). DEBUG [1998792b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/public/uploads ] as deploy@54.179.173.86 DEBUG [1998792b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074155/public/uploads ] DEBUG [1998792b] Finished in 0.246 seconds with exit status 1 (failed). INFO [b2cd40ea] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101074155/public/uploads as deploy@54.179.173.86 DEBUG [b2cd40ea] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101074155/public/uploads INFO [b2cd40ea] Finished in 0.608 seconds with exit status 0 (successful). DEBUG [a6a49856] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [a6a49856] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi DEBUG [a6a49856] Finished in 0.264 seconds with exit status 0 (successful). INFO [6f8c78a1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [6f8c78a1] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074155 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [6f8c78a1] Finished in 2.182 seconds with exit status 0 (successful). INFO [4ac2a9dd] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [4ac2a9dd] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074155 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [4ac2a9dd] Finished in 1.283 seconds with exit status 0 (successful). INFO [81e5c0d9] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [81e5c0d9] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074155 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [81e5c0d9] Finished in 0.986 seconds with exit status 0 (successful). DEBUG [554222e5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [554222e5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi DEBUG [554222e5] Finished in 0.310 seconds with exit status 0 (successful). DEBUG [c7eb0ff1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [c7eb0ff1] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074155 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [c7eb0ff1] The Gemfile's dependencies are satisfied DEBUG [c7eb0ff1] Finished in 1.442 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [ff532563] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ff532563] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074155; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074155'" 1>&2; false; fi DEBUG [ff532563] Finished in 0.501 seconds with exit status 0 (successful). INFO [87cc1307] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [87cc1307] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074155 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [87cc1307] Finished in 1.819 seconds with exit status 0 (successful). INFO [8e70d3b4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101074155 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [8e70d3b4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101074155 /home/deploy/apps/aoumi_server/releases/current INFO [8e70d3b4] Finished in 0.744 seconds with exit status 0 (successful). INFO [1a0c7db7] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [1a0c7db7] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [1a0c7db7] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [e4855933] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [e4855933] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [e4855933] 20230101064855 20230101065801 20230101070306 20230101070841 20230101071337 20230101074155 DEBUG [e4855933] Finished in 0.260 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [09622a74] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [09622a74] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [09622a74] Finished in 0.277 seconds with exit status 0 (successful). DEBUG [456246a6] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [456246a6] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [456246a6] /home/deploy/apps/aoumi_server/releases/20230101074155 DEBUG [456246a6] Finished in 0.261 seconds with exit status 0 (successful). INFO [5030264e] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064855 as deploy@54.179.173.86 DEBUG [5030264e] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101064855 INFO [5030264e] Finished in 0.270 seconds with exit status 0 (successful). DEBUG [421ed647] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [421ed647] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [421ed647] Finished in 0.231 seconds with exit status 0 (successful). INFO [c6c178e9] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101074155 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [c6c178e9] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101074155 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [c6c178e9] Finished in 0.539 seconds with exit status 0 (successful). INFO [a3c0218b] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [a3c0218b] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [a3c0218b] Finished in 0.284 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 14:44:28 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ae2cd92c] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [ae2cd92c] Command: ~/.rvm/bin/rvm version DEBUG [ae2cd92c] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [ae2cd92c] Finished in 2.169 seconds with exit status 0 (successful). DEBUG [8daa0913] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [8daa0913] Command: ~/.rvm/bin/rvm current DEBUG [8daa0913] ruby-3.0.0 DEBUG [8daa0913] Finished in 0.589 seconds with exit status 0 (successful). DEBUG [ffb25bce] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [ffb25bce] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [ffb25bce] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [ffb25bce] Finished in 0.825 seconds with exit status 0 (successful). INFO [7aadd552] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [7aadd552] Command: /usr/bin/env mkdir -p /tmp INFO [7aadd552] Finished in 0.408 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-3e83ce54ea6e5d449bdb.sh 0.0% INFO Uploading /tmp/git-ssh-3e83ce54ea6e5d449bdb.sh 100.0% INFO [95a25a2c] Running /usr/bin/env chmod 700 /tmp/git-ssh-3e83ce54ea6e5d449bdb.sh as deploy@54.179.173.86 DEBUG [95a25a2c] Command: /usr/bin/env chmod 700 /tmp/git-ssh-3e83ce54ea6e5d449bdb.sh INFO [95a25a2c] Finished in 0.404 seconds with exit status 0 (successful). INFO [4de8bf79] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [4de8bf79] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3e83ce54ea6e5d449bdb.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [4de8bf79] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [4de8bf79] Finished in 3.408 seconds with exit status 0 (successful). INFO [0f4499aa] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [0f4499aa] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [0f4499aa] Finished in 0.404 seconds with exit status 0 (successful). INFO [db95d4bb] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [db95d4bb] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [db95d4bb] Finished in 0.398 seconds with exit status 0 (successful). INFO [ce4ba33f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [ce4ba33f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [ce4ba33f] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [82521613] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [82521613] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [82521613] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [3fbaf709] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [3fbaf709] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [3fbaf709] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [b274e8fb] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [b274e8fb] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [b274e8fb] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [83d3b463] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [83d3b463] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [83d3b463] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [a34c9471] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [a34c9471] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [a34c9471] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [a34c9471] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [0592d37f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [0592d37f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [0592d37f] Finished in 0.403 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [d1f50e53] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [d1f50e53] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [d1f50e53] Finished in 0.405 seconds with exit status 0 (successful). INFO [c897a190] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [c897a190] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3e83ce54ea6e5d449bdb.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [c897a190] Finished in 0.403 seconds with exit status 0 (successful). INFO [201f35bd] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [201f35bd] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3e83ce54ea6e5d449bdb.sh" ; /usr/bin/env git remote update --prune ) DEBUG [201f35bd] Fetching origin INFO [201f35bd] Finished in 3.349 seconds with exit status 0 (successful). DEBUG [e908c72b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e908c72b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e908c72b] Finished in 0.400 seconds with exit status 0 (successful). INFO [8a8672b1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074441 as deploy@54.179.173.86 DEBUG [8a8672b1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3e83ce54ea6e5d449bdb.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074441 ) INFO [8a8672b1] Finished in 0.412 seconds with exit status 0 (successful). INFO [a68b8bc5] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101074441 as deploy@54.179.173.86 DEBUG [a68b8bc5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3e83ce54ea6e5d449bdb.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101074441 ) INFO [a68b8bc5] Finished in 0.430 seconds with exit status 0 (successful). DEBUG [aa3fd1af] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [aa3fd1af] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [aa3fd1af] Finished in 0.407 seconds with exit status 0 (successful). DEBUG [ffad613f] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [ffad613f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3e83ce54ea6e5d449bdb.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [ffad613f] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [ffad613f] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [af141f7c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [af141f7c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi DEBUG [af141f7c] Finished in 0.408 seconds with exit status 0 (successful). INFO [7bec178f] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [7bec178f] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074441 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [7bec178f] Finished in 0.411 seconds with exit status 0 (successful). INFO [4cddf261] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074441 /home/deploy/apps/aoumi_server/releases/20230101074441/config as deploy@54.179.173.86 DEBUG [4cddf261] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074441 /home/deploy/apps/aoumi_server/releases/20230101074441/config INFO [4cddf261] Finished in 0.532 seconds with exit status 0 (successful). DEBUG [ae9f74e2] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/.env ] as deploy@54.179.173.86 DEBUG [ae9f74e2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/.env ] DEBUG [ae9f74e2] Finished in 0.414 seconds with exit status 1 (failed). DEBUG [ef6e8681] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101074441/.env ] as deploy@54.179.173.86 DEBUG [ef6e8681] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101074441/.env ] DEBUG [ef6e8681] Finished in 0.404 seconds with exit status 0 (successful). INFO [c10cdf55] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074441/.env as deploy@54.179.173.86 DEBUG [c10cdf55] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074441/.env INFO [c10cdf55] Finished in 0.401 seconds with exit status 0 (successful). INFO [256f75ec] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101074441/.env as deploy@54.179.173.86 DEBUG [256f75ec] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101074441/.env INFO [256f75ec] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [e875eef7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml ] as deploy@54.179.173.86 DEBUG [e875eef7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml ] DEBUG [e875eef7] Finished in 0.415 seconds with exit status 1 (failed). DEBUG [6ae0d574] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml ] as deploy@54.179.173.86 DEBUG [6ae0d574] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml ] DEBUG [6ae0d574] Finished in 0.426 seconds with exit status 0 (successful). INFO [8eefab42] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml as deploy@54.179.173.86 DEBUG [8eefab42] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml INFO [8eefab42] Finished in 0.408 seconds with exit status 0 (successful). INFO [31735cc3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml as deploy@54.179.173.86 DEBUG [31735cc3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101074441/config/database.yml INFO [31735cc3] Finished in 0.401 seconds with exit status 0 (successful). INFO [e72cc7d6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074441 /home/deploy/apps/aoumi_server/releases/20230101074441/tmp /home/deploy/apps/aoumi_server/releases/20230101074441/vendor /home/deploy/apps/aoumi_server/releases/20230101074441/public as deploy@54.179.173.86 DEBUG [e72cc7d6] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101074441 /home/deploy/apps/aoumi_server/releases/20230101074441/tmp /home/deploy/apps/aoumi_server/releases/20230101074441/vendor /home/deploy/apps/aoumi_server/releases/20230101074441/public INFO [e72cc7d6] Finished in 0.399 seconds with exit status 0 (successful). DEBUG [dcbe4bf1] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/log ] as deploy@54.179.173.86 DEBUG [dcbe4bf1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/log ] DEBUG [dcbe4bf1] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [18b8c3ff] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/log ] as deploy@54.179.173.86 DEBUG [18b8c3ff] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/log ] DEBUG [18b8c3ff] Finished in 0.409 seconds with exit status 0 (successful). INFO [19cc0025] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074441/log as deploy@54.179.173.86 DEBUG [19cc0025] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074441/log INFO [19cc0025] Finished in 0.862 seconds with exit status 0 (successful). INFO [5736ab86] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101074441/log as deploy@54.179.173.86 DEBUG [5736ab86] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101074441/log INFO [5736ab86] Finished in 1.184 seconds with exit status 0 (successful). DEBUG [413ef8b0] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids ] as deploy@54.179.173.86 DEBUG [413ef8b0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids ] DEBUG [413ef8b0] Finished in 0.434 seconds with exit status 1 (failed). DEBUG [3708057a] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids ] as deploy@54.179.173.86 DEBUG [3708057a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids ] DEBUG [3708057a] Finished in 0.998 seconds with exit status 0 (successful). INFO [61f693e3] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids as deploy@54.179.173.86 DEBUG [61f693e3] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids INFO [61f693e3] Finished in 0.759 seconds with exit status 0 (successful). INFO [489c22fc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids as deploy@54.179.173.86 DEBUG [489c22fc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/pids INFO [489c22fc] Finished in 0.512 seconds with exit status 0 (successful). DEBUG [07e489e2] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/cache ] as deploy@54.179.173.86 DEBUG [07e489e2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/cache ] DEBUG [07e489e2] Finished in 0.420 seconds with exit status 1 (failed). DEBUG [cbe0f2c1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/cache ] as deploy@54.179.173.86 DEBUG [cbe0f2c1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/cache ] DEBUG [cbe0f2c1] Finished in 0.409 seconds with exit status 1 (failed). INFO [de2235a1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/cache as deploy@54.179.173.86 DEBUG [de2235a1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/cache INFO [de2235a1] Finished in 0.731 seconds with exit status 0 (successful). DEBUG [3803280c] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/sockets ] as deploy@54.179.173.86 DEBUG [3803280c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/sockets ] DEBUG [3803280c] Finished in 0.678 seconds with exit status 1 (failed). DEBUG [07e42a0a] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/sockets ] as deploy@54.179.173.86 DEBUG [07e42a0a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/sockets ] DEBUG [07e42a0a] Finished in 1.028 seconds with exit status 1 (failed). INFO [b3a0b45d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/sockets as deploy@54.179.173.86 DEBUG [b3a0b45d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101074441/tmp/sockets INFO [b3a0b45d] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [4dd85bf2] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/vendor/bundle ] as deploy@54.179.173.86 DEBUG [4dd85bf2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/vendor/bundle ] DEBUG [4dd85bf2] Finished in 0.416 seconds with exit status 1 (failed). DEBUG [cc3103d8] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/vendor/bundle ] as deploy@54.179.173.86 DEBUG [cc3103d8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/vendor/bundle ] DEBUG [cc3103d8] Finished in 0.407 seconds with exit status 1 (failed). INFO [3fd6c3f7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101074441/vendor/bundle as deploy@54.179.173.86 DEBUG [3fd6c3f7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101074441/vendor/bundle INFO [3fd6c3f7] Finished in 0.699 seconds with exit status 0 (successful). DEBUG [4f4f76b7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/public/system ] as deploy@54.179.173.86 DEBUG [4f4f76b7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/public/system ] DEBUG [4f4f76b7] Finished in 0.401 seconds with exit status 1 (failed). DEBUG [c1c2a932] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/public/system ] as deploy@54.179.173.86 DEBUG [c1c2a932] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/public/system ] DEBUG [c1c2a932] Finished in 0.409 seconds with exit status 1 (failed). INFO [1f4c954c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101074441/public/system as deploy@54.179.173.86 DEBUG [1f4c954c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101074441/public/system INFO [1f4c954c] Finished in 0.697 seconds with exit status 0 (successful). DEBUG [a27522d7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/public/uploads ] as deploy@54.179.173.86 DEBUG [a27522d7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101074441/public/uploads ] DEBUG [a27522d7] Finished in 0.707 seconds with exit status 1 (failed). DEBUG [f4131f4e] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/public/uploads ] as deploy@54.179.173.86 DEBUG [f4131f4e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101074441/public/uploads ] DEBUG [f4131f4e] Finished in 0.406 seconds with exit status 1 (failed). INFO [b0b9bd6d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101074441/public/uploads as deploy@54.179.173.86 DEBUG [b0b9bd6d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101074441/public/uploads INFO [b0b9bd6d] Finished in 0.755 seconds with exit status 0 (successful). DEBUG [ea9f7340] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ea9f7340] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi DEBUG [ea9f7340] Finished in 0.410 seconds with exit status 0 (successful). INFO [4d33fb21] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [4d33fb21] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074441 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [4d33fb21] Finished in 0.916 seconds with exit status 0 (successful). INFO [fe9d6568] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [fe9d6568] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074441 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [fe9d6568] Finished in 0.965 seconds with exit status 0 (successful). INFO [86d37ee2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [86d37ee2] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074441 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [86d37ee2] Finished in 0.987 seconds with exit status 0 (successful). DEBUG [4c0b1e65] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [4c0b1e65] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi DEBUG [4c0b1e65] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [468b9c4f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [468b9c4f] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074441 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [468b9c4f] The Gemfile's dependencies are satisfied DEBUG [468b9c4f] Finished in 1.529 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [4b7eb47c] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [4b7eb47c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101074441; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101074441'" 1>&2; false; fi DEBUG [4b7eb47c] Finished in 0.722 seconds with exit status 0 (successful). INFO [319a3034] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [319a3034] Command: cd /home/deploy/apps/aoumi_server/releases/20230101074441 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [319a3034] Finished in 2.252 seconds with exit status 0 (successful). INFO [af1bf356] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101074441 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [af1bf356] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101074441 /home/deploy/apps/aoumi_server/releases/current INFO [af1bf356] Finished in 0.982 seconds with exit status 0 (successful). INFO [4ae08031] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [4ae08031] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [4ae08031] Finished in 1.161 seconds with exit status 0 (successful). DEBUG [08cd2fb6] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [08cd2fb6] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [08cd2fb6] 20230101065801 20230101070306 20230101070841 20230101071337 20230101074155 20230101074441 DEBUG [08cd2fb6] Finished in 1.842 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [27944e51] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [27944e51] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [27944e51] Finished in 1.159 seconds with exit status 0 (successful). DEBUG [1d926990] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [1d926990] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [1d926990] /home/deploy/apps/aoumi_server/releases/20230101074441 DEBUG [1d926990] Finished in 0.751 seconds with exit status 0 (successful). INFO [82fb81da] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101065801 as deploy@54.179.173.86 DEBUG [82fb81da] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101065801 INFO [82fb81da] Finished in 0.487 seconds with exit status 0 (successful). DEBUG [602163dc] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [602163dc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [602163dc] Finished in 0.422 seconds with exit status 0 (successful). INFO [72ac1ec3] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101074441 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [72ac1ec3] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101074441 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [72ac1ec3] Finished in 0.400 seconds with exit status 0 (successful). INFO [6f596c44] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [6f596c44] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [6f596c44] Finished in 0.640 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 14:59:59 +0700 cap development puma:start INFO --------------------------------------------------------------------------- DEBUG [2d7e47c9] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [2d7e47c9] Command: ~/.rvm/bin/rvm version DEBUG [9482fb34] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [9482fb34] Command: ~/.rvm/bin/rvm current DEBUG [31ce4e7c] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [31ce4e7c] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version INFO [765ef01f] Running /usr/bin/env sudo /bin/systemctl start puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [765ef01f] Command: /usr/bin/env sudo /bin/systemctl start puma_aoumi_server_development INFO --------------------------------------------------------------------------- INFO START 2023-01-01 15:37:40 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f725948a] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [f725948a] Command: ~/.rvm/bin/rvm version DEBUG [f725948a] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [f725948a] Finished in 3.903 seconds with exit status 0 (successful). DEBUG [638d11c4] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [638d11c4] Command: ~/.rvm/bin/rvm current DEBUG [638d11c4] ruby-3.0.0 DEBUG [638d11c4] Finished in 1.078 seconds with exit status 0 (successful). DEBUG [681f0999] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [681f0999] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [681f0999] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [681f0999] Finished in 1.213 seconds with exit status 0 (successful). INFO [ec632a76] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [ec632a76] Command: /usr/bin/env mkdir -p /tmp INFO [ec632a76] Finished in 0.470 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-c3e14cea467950f7cbc1.sh 0.0% INFO Uploading /tmp/git-ssh-c3e14cea467950f7cbc1.sh 100.0% INFO [e9b022e5] Running /usr/bin/env chmod 700 /tmp/git-ssh-c3e14cea467950f7cbc1.sh as deploy@54.179.173.86 DEBUG [e9b022e5] Command: /usr/bin/env chmod 700 /tmp/git-ssh-c3e14cea467950f7cbc1.sh INFO [e9b022e5] Finished in 0.847 seconds with exit status 0 (successful). INFO [d283a1d8] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [d283a1d8] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c3e14cea467950f7cbc1.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d283a1d8] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [d283a1d8] Finished in 5.121 seconds with exit status 0 (successful). INFO [3af4c33f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [3af4c33f] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [3af4c33f] Finished in 0.262 seconds with exit status 0 (successful). INFO [32ea5be4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [32ea5be4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [32ea5be4] Finished in 0.535 seconds with exit status 0 (successful). INFO [0d72985e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [0d72985e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [0d72985e] Finished in 0.284 seconds with exit status 0 (successful). DEBUG [59d31988] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [59d31988] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [59d31988] Finished in 0.482 seconds with exit status 0 (successful). DEBUG [1abcf38a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [1abcf38a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [1abcf38a] Finished in 1.128 seconds with exit status 0 (successful). DEBUG [5a9e9fda] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [5a9e9fda] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [5a9e9fda] Finished in 1.284 seconds with exit status 0 (successful). DEBUG [b559eda4] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [b559eda4] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [b559eda4] Finished in 1.318 seconds with exit status 0 (successful). DEBUG [595eeb87] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [595eeb87] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [595eeb87] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [595eeb87] Finished in 1.191 seconds with exit status 0 (successful). DEBUG [fdb35158] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [fdb35158] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [fdb35158] Finished in 1.076 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [e545cb9c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e545cb9c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e545cb9c] Finished in 1.263 seconds with exit status 0 (successful). INFO [31a79934] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [31a79934] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c3e14cea467950f7cbc1.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [31a79934] Finished in 1.034 seconds with exit status 0 (successful). INFO [9de61828] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [9de61828] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c3e14cea467950f7cbc1.sh" ; /usr/bin/env git remote update --prune ) DEBUG [9de61828] Fetching origin INFO [9de61828] Finished in 3.143 seconds with exit status 0 (successful). DEBUG [938a21bd] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [938a21bd] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [938a21bd] Finished in 0.652 seconds with exit status 0 (successful). INFO [d193e191] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101083805 as deploy@54.179.173.86 DEBUG [d193e191] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c3e14cea467950f7cbc1.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101083805 ) INFO [d193e191] Finished in 0.813 seconds with exit status 0 (successful). INFO [d2528d00] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101083805 as deploy@54.179.173.86 DEBUG [d2528d00] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c3e14cea467950f7cbc1.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101083805 ) INFO [d2528d00] Finished in 1.980 seconds with exit status 0 (successful). DEBUG [94359bd9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [94359bd9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [94359bd9] Finished in 0.691 seconds with exit status 0 (successful). DEBUG [f1321f5f] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [f1321f5f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c3e14cea467950f7cbc1.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [f1321f5f] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [f1321f5f] Finished in 1.074 seconds with exit status 0 (successful). DEBUG [151ce9b3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [151ce9b3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi DEBUG [151ce9b3] Finished in 0.819 seconds with exit status 0 (successful). INFO [bee5fcc7] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [bee5fcc7] Command: cd /home/deploy/apps/aoumi_server/releases/20230101083805 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [bee5fcc7] Finished in 0.547 seconds with exit status 0 (successful). INFO [cea77ab0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101083805 /home/deploy/apps/aoumi_server/releases/20230101083805/config as deploy@54.179.173.86 DEBUG [cea77ab0] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101083805 /home/deploy/apps/aoumi_server/releases/20230101083805/config INFO [cea77ab0] Finished in 0.700 seconds with exit status 0 (successful). DEBUG [2f07534f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/.env ] as deploy@54.179.173.86 DEBUG [2f07534f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/.env ] DEBUG [2f07534f] Finished in 0.495 seconds with exit status 1 (failed). DEBUG [cf6f2ec6] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101083805/.env ] as deploy@54.179.173.86 DEBUG [cf6f2ec6] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101083805/.env ] DEBUG [cf6f2ec6] Finished in 2.542 seconds with exit status 0 (successful). INFO [51a46c5e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101083805/.env as deploy@54.179.173.86 DEBUG [51a46c5e] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101083805/.env INFO [51a46c5e] Finished in 2.387 seconds with exit status 0 (successful). INFO [e71abcdf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101083805/.env as deploy@54.179.173.86 DEBUG [e71abcdf] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101083805/.env INFO [e71abcdf] Finished in 0.263 seconds with exit status 0 (successful). DEBUG [d8d80edd] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml ] as deploy@54.179.173.86 DEBUG [d8d80edd] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml ] DEBUG [d8d80edd] Finished in 1.735 seconds with exit status 1 (failed). DEBUG [d2bfdb39] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml ] as deploy@54.179.173.86 DEBUG [d2bfdb39] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml ] DEBUG [d2bfdb39] Finished in 0.874 seconds with exit status 0 (successful). INFO [5f476f8b] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml as deploy@54.179.173.86 DEBUG [5f476f8b] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml INFO [5f476f8b] Finished in 0.306 seconds with exit status 0 (successful). INFO [20bb71a1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml as deploy@54.179.173.86 DEBUG [20bb71a1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101083805/config/database.yml INFO [20bb71a1] Finished in 0.278 seconds with exit status 0 (successful). INFO [73f82ad2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101083805 /home/deploy/apps/aoumi_server/releases/20230101083805/tmp /home/deploy/apps/aoumi_server/releases/20230101083805/vendor /home/deploy/apps/aoumi_server/releases/20230101083805/public as deploy@54.179.173.86 DEBUG [73f82ad2] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101083805 /home/deploy/apps/aoumi_server/releases/20230101083805/tmp /home/deploy/apps/aoumi_server/releases/20230101083805/vendor /home/deploy/apps/aoumi_server/releases/20230101083805/public INFO [73f82ad2] Finished in 0.849 seconds with exit status 0 (successful). DEBUG [a52e2ee0] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/log ] as deploy@54.179.173.86 DEBUG [a52e2ee0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/log ] DEBUG [a52e2ee0] Finished in 0.271 seconds with exit status 1 (failed). DEBUG [fc4f2aec] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/log ] as deploy@54.179.173.86 DEBUG [fc4f2aec] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/log ] DEBUG [fc4f2aec] Finished in 0.569 seconds with exit status 0 (successful). INFO [f136e247] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101083805/log as deploy@54.179.173.86 DEBUG [f136e247] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101083805/log INFO [f136e247] Finished in 0.660 seconds with exit status 0 (successful). INFO [3a23af09] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101083805/log as deploy@54.179.173.86 DEBUG [3a23af09] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101083805/log INFO [3a23af09] Finished in 1.657 seconds with exit status 0 (successful). DEBUG [c3fa235d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids ] as deploy@54.179.173.86 DEBUG [c3fa235d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids ] DEBUG [c3fa235d] Finished in 0.897 seconds with exit status 1 (failed). DEBUG [04784b46] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids ] as deploy@54.179.173.86 DEBUG [04784b46] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids ] DEBUG [04784b46] Finished in 1.470 seconds with exit status 0 (successful). INFO [17c2f5a1] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids as deploy@54.179.173.86 DEBUG [17c2f5a1] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids INFO [17c2f5a1] Finished in 0.819 seconds with exit status 0 (successful). INFO [cb3fee12] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids as deploy@54.179.173.86 DEBUG [cb3fee12] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/pids INFO [cb3fee12] Finished in 0.270 seconds with exit status 0 (successful). DEBUG [5e53a1ef] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/cache ] as deploy@54.179.173.86 DEBUG [5e53a1ef] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/cache ] DEBUG [5e53a1ef] Finished in 0.292 seconds with exit status 1 (failed). DEBUG [28e05320] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/cache ] as deploy@54.179.173.86 DEBUG [28e05320] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/cache ] DEBUG [28e05320] Finished in 0.276 seconds with exit status 1 (failed). INFO [84764480] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/cache as deploy@54.179.173.86 DEBUG [84764480] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/cache INFO [84764480] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [063c60b4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/sockets ] as deploy@54.179.173.86 DEBUG [063c60b4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/sockets ] DEBUG [063c60b4] Finished in 0.400 seconds with exit status 1 (failed). DEBUG [87a7b6f2] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/sockets ] as deploy@54.179.173.86 DEBUG [87a7b6f2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/sockets ] DEBUG [87a7b6f2] Finished in 0.380 seconds with exit status 1 (failed). INFO [e0024b27] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/sockets as deploy@54.179.173.86 DEBUG [e0024b27] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101083805/tmp/sockets INFO [e0024b27] Finished in 0.306 seconds with exit status 0 (successful). DEBUG [40e88cf7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/vendor/bundle ] as deploy@54.179.173.86 DEBUG [40e88cf7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/vendor/bundle ] DEBUG [40e88cf7] Finished in 0.295 seconds with exit status 1 (failed). DEBUG [d2410191] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/vendor/bundle ] as deploy@54.179.173.86 DEBUG [d2410191] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/vendor/bundle ] DEBUG [d2410191] Finished in 0.302 seconds with exit status 1 (failed). INFO [a281e442] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101083805/vendor/bundle as deploy@54.179.173.86 DEBUG [a281e442] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101083805/vendor/bundle INFO [a281e442] Finished in 0.334 seconds with exit status 0 (successful). DEBUG [841b3a80] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/public/system ] as deploy@54.179.173.86 DEBUG [841b3a80] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/public/system ] DEBUG [841b3a80] Finished in 0.289 seconds with exit status 1 (failed). DEBUG [3b10fae5] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/public/system ] as deploy@54.179.173.86 DEBUG [3b10fae5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/public/system ] DEBUG [3b10fae5] Finished in 0.287 seconds with exit status 1 (failed). INFO [36902a79] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101083805/public/system as deploy@54.179.173.86 DEBUG [36902a79] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101083805/public/system INFO [36902a79] Finished in 0.294 seconds with exit status 0 (successful). DEBUG [dd86fdc1] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/public/uploads ] as deploy@54.179.173.86 DEBUG [dd86fdc1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101083805/public/uploads ] DEBUG [dd86fdc1] Finished in 0.878 seconds with exit status 1 (failed). DEBUG [46e88841] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/public/uploads ] as deploy@54.179.173.86 DEBUG [46e88841] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101083805/public/uploads ] DEBUG [46e88841] Finished in 0.358 seconds with exit status 1 (failed). INFO [f7c774f8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101083805/public/uploads as deploy@54.179.173.86 DEBUG [f7c774f8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101083805/public/uploads INFO [f7c774f8] Finished in 0.347 seconds with exit status 0 (successful). DEBUG [b9805f79] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b9805f79] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi DEBUG [b9805f79] Finished in 0.397 seconds with exit status 0 (successful). INFO [c9b30109] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [c9b30109] Command: cd /home/deploy/apps/aoumi_server/releases/20230101083805 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [c9b30109] Finished in 0.815 seconds with exit status 0 (successful). INFO [da8d49de] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [da8d49de] Command: cd /home/deploy/apps/aoumi_server/releases/20230101083805 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [da8d49de] Finished in 0.876 seconds with exit status 0 (successful). INFO [b1f7353e] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [b1f7353e] Command: cd /home/deploy/apps/aoumi_server/releases/20230101083805 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [b1f7353e] Finished in 0.917 seconds with exit status 0 (successful). DEBUG [2594bee5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2594bee5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi DEBUG [2594bee5] Finished in 0.267 seconds with exit status 0 (successful). DEBUG [9acbeb13] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [9acbeb13] Command: cd /home/deploy/apps/aoumi_server/releases/20230101083805 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [9acbeb13] The Gemfile's dependencies are satisfied DEBUG [9acbeb13] Finished in 1.706 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [deeac21d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [deeac21d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101083805; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101083805'" 1>&2; false; fi DEBUG [deeac21d] Finished in 0.316 seconds with exit status 0 (successful). INFO [a1c4a9f9] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [a1c4a9f9] Command: cd /home/deploy/apps/aoumi_server/releases/20230101083805 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [a1c4a9f9] Finished in 1.966 seconds with exit status 0 (successful). INFO [c56081ac] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101083805 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [c56081ac] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101083805 /home/deploy/apps/aoumi_server/releases/current INFO [c56081ac] Finished in 0.309 seconds with exit status 0 (successful). INFO [5bcd12d1] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [5bcd12d1] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [5bcd12d1] Finished in 0.278 seconds with exit status 0 (successful). DEBUG [c1748340] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [c1748340] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [c1748340] 20230101070306 20230101070841 20230101071337 20230101074155 20230101074441 20230101083805 DEBUG [c1748340] Finished in 0.395 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [58d76b26] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [58d76b26] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [58d76b26] Finished in 0.387 seconds with exit status 0 (successful). DEBUG [069824eb] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [069824eb] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [069824eb] /home/deploy/apps/aoumi_server/releases/20230101083805 DEBUG [069824eb] Finished in 0.311 seconds with exit status 0 (successful). INFO [4dfcf0e0] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070306 as deploy@54.179.173.86 DEBUG [4dfcf0e0] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070306 INFO [4dfcf0e0] Finished in 0.266 seconds with exit status 0 (successful). DEBUG [ab3a187c] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ab3a187c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [ab3a187c] Finished in 0.272 seconds with exit status 0 (successful). INFO [75cf7893] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101083805 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [75cf7893] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101083805 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [75cf7893] Finished in 0.277 seconds with exit status 0 (successful). INFO [d1ea7a8d] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [d1ea7a8d] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [d1ea7a8d] Finished in 0.763 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 15:40:11 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [ea192ede] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [ea192ede] Command: ~/.rvm/bin/rvm version DEBUG [ea192ede] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [ea192ede] Finished in 2.005 seconds with exit status 0 (successful). DEBUG [f29b69c0] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [f29b69c0] Command: ~/.rvm/bin/rvm current DEBUG [f29b69c0] ruby-3.0.0 DEBUG [f29b69c0] Finished in 0.489 seconds with exit status 0 (successful). DEBUG [48963876] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [48963876] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [48963876] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [48963876] Finished in 0.725 seconds with exit status 0 (successful). DEBUG [4669a8a8] Running /usr/bin/env echo ~/.rvm/bin/rvm ruby-3.0.0 do bundle as deploy@54.179.173.86 DEBUG [4669a8a8] Command: /usr/bin/env echo ~/.rvm/bin/rvm ruby-3.0.0 do bundle DEBUG [4669a8a8] /home/deploy/.rvm/bin/rvm ruby-3.0.0 do bundle DEBUG [4669a8a8] Finished in 0.486 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [7db6069c] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@54.179.173.86 DEBUG [7db6069c] Command: /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ INFO [7db6069c] Finished in 0.555 seconds with exit status 0 (successful). INFO [db372c5b] Running /usr/bin/env sudo /bin/systemctl daemon-reload as deploy@54.179.173.86 DEBUG [db372c5b] Command: /usr/bin/env sudo /bin/systemctl daemon-reload INFO [db372c5b] Finished in 0.927 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 15:40:50 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [dcd2c6fb] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [dcd2c6fb] Command: ~/.rvm/bin/rvm version DEBUG [dcd2c6fb] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [dcd2c6fb] Finished in 1.622 seconds with exit status 0 (successful). DEBUG [ce0c6ed9] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [ce0c6ed9] Command: ~/.rvm/bin/rvm current DEBUG [ce0c6ed9] ruby-3.0.0 DEBUG [ce0c6ed9] Finished in 0.443 seconds with exit status 0 (successful). DEBUG [2df815bb] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [2df815bb] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [2df815bb] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [2df815bb] Finished in 0.778 seconds with exit status 0 (successful). INFO [df88a6f3] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [df88a6f3] Command: /usr/bin/env mkdir -p /tmp INFO [df88a6f3] Finished in 0.255 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-bb4d748f34ae528497cb.sh 0.0% INFO Uploading /tmp/git-ssh-bb4d748f34ae528497cb.sh 100.0% INFO [4730c897] Running /usr/bin/env chmod 700 /tmp/git-ssh-bb4d748f34ae528497cb.sh as deploy@54.179.173.86 DEBUG [4730c897] Command: /usr/bin/env chmod 700 /tmp/git-ssh-bb4d748f34ae528497cb.sh INFO [4730c897] Finished in 0.306 seconds with exit status 0 (successful). INFO [d2f4d032] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [d2f4d032] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-bb4d748f34ae528497cb.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [d2f4d032] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [d2f4d032] Finished in 3.221 seconds with exit status 0 (successful). INFO [95ba6e04] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [95ba6e04] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [95ba6e04] Finished in 0.259 seconds with exit status 0 (successful). INFO [42569ce8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [42569ce8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [42569ce8] Finished in 0.282 seconds with exit status 0 (successful). INFO [72db089e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [72db089e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [72db089e] Finished in 0.314 seconds with exit status 0 (successful). DEBUG [366043cb] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [366043cb] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [366043cb] Finished in 0.271 seconds with exit status 0 (successful). DEBUG [bd5906c7] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [bd5906c7] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [bd5906c7] Finished in 0.269 seconds with exit status 0 (successful). DEBUG [ed30d357] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [ed30d357] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ed30d357] Finished in 0.263 seconds with exit status 0 (successful). DEBUG [1f03979c] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [1f03979c] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [1f03979c] Finished in 0.258 seconds with exit status 0 (successful). DEBUG [760cff5b] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [760cff5b] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [760cff5b] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [760cff5b] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [22f8035e] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [22f8035e] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [22f8035e] Finished in 0.261 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [3f70a7e4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [3f70a7e4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3f70a7e4] Finished in 0.269 seconds with exit status 0 (successful). INFO [972d97d8] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [972d97d8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-bb4d748f34ae528497cb.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [972d97d8] Finished in 0.264 seconds with exit status 0 (successful). INFO [9917fdf0] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [9917fdf0] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-bb4d748f34ae528497cb.sh" ; /usr/bin/env git remote update --prune ) DEBUG [9917fdf0] Fetching origin INFO [9917fdf0] Finished in 3.151 seconds with exit status 0 (successful). DEBUG [37a821b0] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [37a821b0] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [37a821b0] Finished in 0.259 seconds with exit status 0 (successful). INFO [9974e51a] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084059 as deploy@54.179.173.86 DEBUG [9974e51a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-bb4d748f34ae528497cb.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084059 ) INFO [9974e51a] Finished in 0.299 seconds with exit status 0 (successful). INFO [04754403] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101084059 as deploy@54.179.173.86 DEBUG [04754403] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-bb4d748f34ae528497cb.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101084059 ) INFO [04754403] Finished in 0.310 seconds with exit status 0 (successful). DEBUG [1ff00f29] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1ff00f29] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [1ff00f29] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [6c79948e] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [6c79948e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-bb4d748f34ae528497cb.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [6c79948e] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [6c79948e] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [0e5ddf08] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084059; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084059'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [0e5ddf08] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084059; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084059'" 1>&2; false; fi DEBUG [0e5ddf08] Finished in 0.262 seconds with exit status 0 (successful). INFO [27b5a2db] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [27b5a2db] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084059 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [27b5a2db] Finished in 0.268 seconds with exit status 0 (successful). INFO [7743aab0] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084059 /home/deploy/apps/aoumi_server/releases/20230101084059/config as deploy@54.179.173.86 DEBUG [7743aab0] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084059 /home/deploy/apps/aoumi_server/releases/20230101084059/config INFO [7743aab0] Finished in 0.296 seconds with exit status 0 (successful). DEBUG [323656c8] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/.env ] as deploy@54.179.173.86 DEBUG [323656c8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/.env ] DEBUG [323656c8] Finished in 0.358 seconds with exit status 1 (failed). DEBUG [0abeedf3] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101084059/.env ] as deploy@54.179.173.86 DEBUG [0abeedf3] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101084059/.env ] DEBUG [0abeedf3] Finished in 0.267 seconds with exit status 0 (successful). INFO [7d57bae2] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084059/.env as deploy@54.179.173.86 DEBUG [7d57bae2] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084059/.env INFO [7d57bae2] Finished in 0.263 seconds with exit status 0 (successful). INFO [44910dc7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101084059/.env as deploy@54.179.173.86 DEBUG [44910dc7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101084059/.env INFO [44910dc7] Finished in 0.265 seconds with exit status 0 (successful). DEBUG [03261e69] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml ] as deploy@54.179.173.86 DEBUG [03261e69] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml ] DEBUG [03261e69] Finished in 0.265 seconds with exit status 1 (failed). DEBUG [5d7c9bab] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml ] as deploy@54.179.173.86 DEBUG [5d7c9bab] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml ] DEBUG [5d7c9bab] Finished in 0.261 seconds with exit status 0 (successful). INFO [bcfd01d8] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml as deploy@54.179.173.86 DEBUG [bcfd01d8] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml INFO [bcfd01d8] Finished in 0.273 seconds with exit status 0 (successful). INFO [258310c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml as deploy@54.179.173.86 DEBUG [258310c9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101084059/config/database.yml INFO [258310c9] Finished in 0.262 seconds with exit status 0 (successful). INFO [786e360e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084059 /home/deploy/apps/aoumi_server/releases/20230101084059/tmp /home/deploy/apps/aoumi_server/releases/20230101084059/vendor /home/deploy/apps/aoumi_server/releases/20230101084059/public as deploy@54.179.173.86 DEBUG [786e360e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084059 /home/deploy/apps/aoumi_server/releases/20230101084059/tmp /home/deploy/apps/aoumi_server/releases/20230101084059/vendor /home/deploy/apps/aoumi_server/releases/20230101084059/public INFO [786e360e] Finished in 0.254 seconds with exit status 0 (successful). DEBUG [f48c7c1c] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/log ] as deploy@54.179.173.86 DEBUG [f48c7c1c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/log ] DEBUG [f48c7c1c] Finished in 0.282 seconds with exit status 1 (failed). DEBUG [4ab373e4] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/log ] as deploy@54.179.173.86 DEBUG [4ab373e4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/log ] DEBUG [4ab373e4] Finished in 0.280 seconds with exit status 0 (successful). INFO [dcbf13f3] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084059/log as deploy@54.179.173.86 DEBUG [dcbf13f3] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084059/log INFO [dcbf13f3] Finished in 0.280 seconds with exit status 0 (successful). INFO [35bc1058] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101084059/log as deploy@54.179.173.86 DEBUG [35bc1058] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101084059/log INFO [35bc1058] Finished in 0.269 seconds with exit status 0 (successful). DEBUG [85304de4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids ] as deploy@54.179.173.86 DEBUG [85304de4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids ] DEBUG [85304de4] Finished in 0.338 seconds with exit status 1 (failed). DEBUG [aa8f4c76] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids ] as deploy@54.179.173.86 DEBUG [aa8f4c76] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids ] DEBUG [aa8f4c76] Finished in 0.383 seconds with exit status 0 (successful). INFO [e4a564a4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids as deploy@54.179.173.86 DEBUG [e4a564a4] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids INFO [e4a564a4] Finished in 0.326 seconds with exit status 0 (successful). INFO [1b657c75] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids as deploy@54.179.173.86 DEBUG [1b657c75] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/pids INFO [1b657c75] Finished in 0.340 seconds with exit status 0 (successful). DEBUG [d8525220] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/cache ] as deploy@54.179.173.86 DEBUG [d8525220] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/cache ] DEBUG [d8525220] Finished in 0.348 seconds with exit status 1 (failed). DEBUG [dc678cd0] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/cache ] as deploy@54.179.173.86 DEBUG [dc678cd0] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/cache ] DEBUG [dc678cd0] Finished in 0.376 seconds with exit status 1 (failed). INFO [5b04d1f4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/cache as deploy@54.179.173.86 DEBUG [5b04d1f4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/cache INFO [5b04d1f4] Finished in 0.348 seconds with exit status 0 (successful). DEBUG [8a8a9825] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/sockets ] as deploy@54.179.173.86 DEBUG [8a8a9825] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/sockets ] DEBUG [8a8a9825] Finished in 0.304 seconds with exit status 1 (failed). DEBUG [0e3e1b79] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/sockets ] as deploy@54.179.173.86 DEBUG [0e3e1b79] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/sockets ] DEBUG [0e3e1b79] Finished in 0.349 seconds with exit status 1 (failed). INFO [4c1383c6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/sockets as deploy@54.179.173.86 DEBUG [4c1383c6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101084059/tmp/sockets INFO [4c1383c6] Finished in 0.315 seconds with exit status 0 (successful). DEBUG [1bdfd1a1] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/vendor/bundle ] as deploy@54.179.173.86 DEBUG [1bdfd1a1] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/vendor/bundle ] DEBUG [1bdfd1a1] Finished in 0.288 seconds with exit status 1 (failed). DEBUG [cf10fc2d] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/vendor/bundle ] as deploy@54.179.173.86 DEBUG [cf10fc2d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/vendor/bundle ] DEBUG [cf10fc2d] Finished in 0.317 seconds with exit status 1 (failed). INFO [5fd6b147] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101084059/vendor/bundle as deploy@54.179.173.86 DEBUG [5fd6b147] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101084059/vendor/bundle INFO [5fd6b147] Finished in 0.329 seconds with exit status 0 (successful). DEBUG [7e350eef] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/public/system ] as deploy@54.179.173.86 DEBUG [7e350eef] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/public/system ] DEBUG [7e350eef] Finished in 0.312 seconds with exit status 1 (failed). DEBUG [be9288b5] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/public/system ] as deploy@54.179.173.86 DEBUG [be9288b5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/public/system ] DEBUG [be9288b5] Finished in 0.316 seconds with exit status 1 (failed). INFO [2be0fcc5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101084059/public/system as deploy@54.179.173.86 DEBUG [2be0fcc5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101084059/public/system INFO [2be0fcc5] Finished in 0.344 seconds with exit status 0 (successful). DEBUG [661d0b03] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/public/uploads ] as deploy@54.179.173.86 DEBUG [661d0b03] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084059/public/uploads ] DEBUG [661d0b03] Finished in 0.324 seconds with exit status 1 (failed). DEBUG [6d7b34ee] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/public/uploads ] as deploy@54.179.173.86 DEBUG [6d7b34ee] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084059/public/uploads ] INFO --------------------------------------------------------------------------- INFO START 2023-01-01 15:42:02 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [a4b4dba4] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [a4b4dba4] Command: ~/.rvm/bin/rvm version DEBUG [a4b4dba4] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [a4b4dba4] Finished in 2.166 seconds with exit status 0 (successful). DEBUG [c14f01ef] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [c14f01ef] Command: ~/.rvm/bin/rvm current DEBUG [c14f01ef] ruby-3.0.0 DEBUG [c14f01ef] Finished in 0.590 seconds with exit status 0 (successful). DEBUG [7d4858a3] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [7d4858a3] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [7d4858a3] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [7d4858a3] Finished in 0.844 seconds with exit status 0 (successful). INFO [3c4f4b43] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [3c4f4b43] Command: /usr/bin/env mkdir -p /tmp INFO [3c4f4b43] Finished in 0.403 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-718b0e0dd177caefbfde.sh 0.0% INFO Uploading /tmp/git-ssh-718b0e0dd177caefbfde.sh 100.0% INFO [051ded7e] Running /usr/bin/env chmod 700 /tmp/git-ssh-718b0e0dd177caefbfde.sh as deploy@54.179.173.86 DEBUG [051ded7e] Command: /usr/bin/env chmod 700 /tmp/git-ssh-718b0e0dd177caefbfde.sh INFO [051ded7e] Finished in 0.403 seconds with exit status 0 (successful). INFO [a2d7e628] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [a2d7e628] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-718b0e0dd177caefbfde.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a2d7e628] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [a2d7e628] Finished in 4.526 seconds with exit status 0 (successful). INFO [794976f2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [794976f2] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [794976f2] Finished in 0.820 seconds with exit status 0 (successful). INFO [bb10889d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [bb10889d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [bb10889d] Finished in 0.407 seconds with exit status 0 (successful). INFO [553bb851] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [553bb851] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [553bb851] Finished in 0.954 seconds with exit status 0 (successful). DEBUG [c6b20435] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [c6b20435] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [c6b20435] Finished in 0.970 seconds with exit status 0 (successful). DEBUG [91c2762a] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [91c2762a] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [91c2762a] Finished in 0.768 seconds with exit status 0 (successful). DEBUG [c8c9cf53] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [c8c9cf53] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [c8c9cf53] Finished in 2.045 seconds with exit status 0 (successful). DEBUG [4e5febe8] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [4e5febe8] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [4e5febe8] Finished in 1.737 seconds with exit status 0 (successful). DEBUG [4ded4739] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [4ded4739] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [4ded4739] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [4ded4739] Finished in 1.024 seconds with exit status 0 (successful). DEBUG [39ad60bc] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [39ad60bc] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [39ad60bc] Finished in 0.408 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [7da64207] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [7da64207] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7da64207] Finished in 1.118 seconds with exit status 0 (successful). INFO [1ba35cfe] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [1ba35cfe] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-718b0e0dd177caefbfde.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [1ba35cfe] Finished in 0.410 seconds with exit status 0 (successful). INFO [d67c92fc] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [d67c92fc] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-718b0e0dd177caefbfde.sh" ; /usr/bin/env git remote update --prune ) DEBUG [d67c92fc] Fetching origin INFO [d67c92fc] Finished in 3.684 seconds with exit status 0 (successful). DEBUG [672f9563] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [672f9563] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [672f9563] Finished in 1.590 seconds with exit status 0 (successful). INFO [64768682] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084221 as deploy@54.179.173.86 DEBUG [64768682] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-718b0e0dd177caefbfde.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084221 ) INFO [64768682] Finished in 1.763 seconds with exit status 0 (successful). INFO [25dad519] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101084221 as deploy@54.179.173.86 DEBUG [25dad519] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-718b0e0dd177caefbfde.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101084221 ) INFO [25dad519] Finished in 0.604 seconds with exit status 0 (successful). DEBUG [70fd296b] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [70fd296b] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [70fd296b] Finished in 0.402 seconds with exit status 0 (successful). DEBUG [b3fcc544] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [b3fcc544] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-718b0e0dd177caefbfde.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [b3fcc544] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [b3fcc544] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [c80d86db] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c80d86db] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi DEBUG [c80d86db] Finished in 0.412 seconds with exit status 0 (successful). INFO [3044a9f6] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [3044a9f6] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084221 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [3044a9f6] Finished in 0.410 seconds with exit status 0 (successful). INFO [a860e688] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084221 /home/deploy/apps/aoumi_server/releases/20230101084221/config as deploy@54.179.173.86 DEBUG [a860e688] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084221 /home/deploy/apps/aoumi_server/releases/20230101084221/config INFO [a860e688] Finished in 0.567 seconds with exit status 0 (successful). DEBUG [84fa046a] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/.env ] as deploy@54.179.173.86 DEBUG [84fa046a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/.env ] DEBUG [84fa046a] Finished in 0.862 seconds with exit status 1 (failed). DEBUG [75d41251] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101084221/.env ] as deploy@54.179.173.86 DEBUG [75d41251] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101084221/.env ] DEBUG [75d41251] Finished in 0.409 seconds with exit status 0 (successful). INFO [eed09de2] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084221/.env as deploy@54.179.173.86 DEBUG [eed09de2] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084221/.env INFO [eed09de2] Finished in 0.403 seconds with exit status 0 (successful). INFO [aaa5f9ea] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101084221/.env as deploy@54.179.173.86 DEBUG [aaa5f9ea] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101084221/.env INFO [aaa5f9ea] Finished in 0.810 seconds with exit status 0 (successful). DEBUG [1d38c52e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml ] as deploy@54.179.173.86 DEBUG [1d38c52e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml ] DEBUG [1d38c52e] Finished in 1.274 seconds with exit status 1 (failed). DEBUG [23b0dcee] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml ] as deploy@54.179.173.86 DEBUG [23b0dcee] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml ] DEBUG [23b0dcee] Finished in 1.027 seconds with exit status 0 (successful). INFO [289295af] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml as deploy@54.179.173.86 DEBUG [289295af] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml INFO [289295af] Finished in 0.897 seconds with exit status 0 (successful). INFO [cb40e3e8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml as deploy@54.179.173.86 DEBUG [cb40e3e8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101084221/config/database.yml INFO [cb40e3e8] Finished in 1.631 seconds with exit status 0 (successful). INFO [3840c5c4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084221 /home/deploy/apps/aoumi_server/releases/20230101084221/tmp /home/deploy/apps/aoumi_server/releases/20230101084221/vendor /home/deploy/apps/aoumi_server/releases/20230101084221/public as deploy@54.179.173.86 DEBUG [3840c5c4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101084221 /home/deploy/apps/aoumi_server/releases/20230101084221/tmp /home/deploy/apps/aoumi_server/releases/20230101084221/vendor /home/deploy/apps/aoumi_server/releases/20230101084221/public INFO [3840c5c4] Finished in 0.846 seconds with exit status 0 (successful). DEBUG [a9f32a96] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/log ] as deploy@54.179.173.86 DEBUG [a9f32a96] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/log ] DEBUG [a9f32a96] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [2d0bc277] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/log ] as deploy@54.179.173.86 DEBUG [2d0bc277] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/log ] DEBUG [2d0bc277] Finished in 1.413 seconds with exit status 0 (successful). INFO [bb2e825b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084221/log as deploy@54.179.173.86 DEBUG [bb2e825b] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084221/log INFO [bb2e825b] Finished in 1.017 seconds with exit status 0 (successful). INFO [ac55ce29] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101084221/log as deploy@54.179.173.86 DEBUG [ac55ce29] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101084221/log INFO [ac55ce29] Finished in 1.003 seconds with exit status 0 (successful). DEBUG [c760127e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids ] as deploy@54.179.173.86 DEBUG [c760127e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids ] DEBUG [c760127e] Finished in 1.397 seconds with exit status 1 (failed). DEBUG [2bbab7b7] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids ] as deploy@54.179.173.86 DEBUG [2bbab7b7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids ] DEBUG [2bbab7b7] Finished in 0.403 seconds with exit status 0 (successful). INFO [9f26e133] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids as deploy@54.179.173.86 DEBUG [9f26e133] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids INFO [9f26e133] Finished in 0.405 seconds with exit status 0 (successful). INFO [0387ec7a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids as deploy@54.179.173.86 DEBUG [0387ec7a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/pids INFO [0387ec7a] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [c4bca54b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/cache ] as deploy@54.179.173.86 DEBUG [c4bca54b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/cache ] DEBUG [c4bca54b] Finished in 1.002 seconds with exit status 1 (failed). DEBUG [41a08f22] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/cache ] as deploy@54.179.173.86 DEBUG [41a08f22] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/cache ] DEBUG [41a08f22] Finished in 0.407 seconds with exit status 1 (failed). INFO [cf9b2ff5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/cache as deploy@54.179.173.86 DEBUG [cf9b2ff5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/cache INFO [cf9b2ff5] Finished in 0.735 seconds with exit status 0 (successful). DEBUG [fe949220] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/sockets ] as deploy@54.179.173.86 DEBUG [fe949220] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/sockets ] DEBUG [fe949220] Finished in 0.416 seconds with exit status 1 (failed). DEBUG [631be927] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/sockets ] as deploy@54.179.173.86 DEBUG [631be927] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/sockets ] DEBUG [631be927] Finished in 0.738 seconds with exit status 1 (failed). INFO [4ea240cb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/sockets as deploy@54.179.173.86 DEBUG [4ea240cb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101084221/tmp/sockets INFO [4ea240cb] Finished in 0.477 seconds with exit status 0 (successful). DEBUG [9fb9578a] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/vendor/bundle ] as deploy@54.179.173.86 DEBUG [9fb9578a] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/vendor/bundle ] DEBUG [9fb9578a] Finished in 0.458 seconds with exit status 1 (failed). DEBUG [e73ff7ea] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/vendor/bundle ] as deploy@54.179.173.86 DEBUG [e73ff7ea] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/vendor/bundle ] DEBUG [e73ff7ea] Finished in 0.464 seconds with exit status 1 (failed). INFO [97fdc35f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101084221/vendor/bundle as deploy@54.179.173.86 DEBUG [97fdc35f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101084221/vendor/bundle INFO [97fdc35f] Finished in 0.445 seconds with exit status 0 (successful). DEBUG [31b22edc] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/public/system ] as deploy@54.179.173.86 DEBUG [31b22edc] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/public/system ] DEBUG [31b22edc] Finished in 0.806 seconds with exit status 1 (failed). DEBUG [5e0147c3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/public/system ] as deploy@54.179.173.86 DEBUG [5e0147c3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/public/system ] DEBUG [5e0147c3] Finished in 0.408 seconds with exit status 1 (failed). INFO [558d8564] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101084221/public/system as deploy@54.179.173.86 DEBUG [558d8564] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101084221/public/system INFO [558d8564] Finished in 0.587 seconds with exit status 0 (successful). DEBUG [ac68b7da] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/public/uploads ] as deploy@54.179.173.86 DEBUG [ac68b7da] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101084221/public/uploads ] DEBUG [ac68b7da] Finished in 0.584 seconds with exit status 1 (failed). DEBUG [40c71913] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/public/uploads ] as deploy@54.179.173.86 DEBUG [40c71913] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101084221/public/uploads ] DEBUG [40c71913] Finished in 0.414 seconds with exit status 1 (failed). INFO [2ee2d1e6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101084221/public/uploads as deploy@54.179.173.86 DEBUG [2ee2d1e6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101084221/public/uploads INFO [2ee2d1e6] Finished in 0.710 seconds with exit status 0 (successful). DEBUG [b6f530be] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b6f530be] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi DEBUG [b6f530be] Finished in 0.640 seconds with exit status 0 (successful). INFO [6b012ef1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [6b012ef1] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084221 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [6b012ef1] Finished in 1.315 seconds with exit status 0 (successful). INFO [c9b6f548] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [c9b6f548] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084221 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [c9b6f548] Finished in 1.024 seconds with exit status 0 (successful). INFO [4b160f76] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [4b160f76] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084221 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [4b160f76] Finished in 1.122 seconds with exit status 0 (successful). DEBUG [e802c46e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e802c46e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi DEBUG [e802c46e] Finished in 0.792 seconds with exit status 0 (successful). DEBUG [aec33bae] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [aec33bae] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084221 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [aec33bae] The Gemfile's dependencies are satisfied DEBUG [aec33bae] Finished in 1.130 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [43c8894b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [43c8894b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101084221; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101084221'" 1>&2; false; fi DEBUG [43c8894b] Finished in 0.422 seconds with exit status 0 (successful). INFO [ce290370] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [ce290370] Command: cd /home/deploy/apps/aoumi_server/releases/20230101084221 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [ce290370] Finished in 2.232 seconds with exit status 0 (successful). INFO [133253d0] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101084221 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [133253d0] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101084221 /home/deploy/apps/aoumi_server/releases/current INFO [133253d0] Finished in 0.402 seconds with exit status 0 (successful). INFO [4226c599] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [4226c599] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [4226c599] Finished in 0.617 seconds with exit status 0 (successful). DEBUG [efdab69b] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [efdab69b] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [efdab69b] 20230101070841 20230101071337 20230101074155 20230101074441 20230101083805 20230101084059 20230101084221 DEBUG [efdab69b] Finished in 0.410 seconds with exit status 0 (successful). INFO Keeping 5 of 7 deployed releases on 54.179.173.86 DEBUG [d62b63ad] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [d62b63ad] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [d62b63ad] Finished in 1.422 seconds with exit status 0 (successful). DEBUG [aa629408] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [aa629408] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [aa629408] /home/deploy/apps/aoumi_server/releases/20230101084221 DEBUG [aa629408] Finished in 1.127 seconds with exit status 0 (successful). INFO [db1306ce] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/20230101071337 as deploy@54.179.173.86 DEBUG [db1306ce] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101070841 /home/deploy/apps/aoumi_server/releases/20230101071337 INFO [db1306ce] Finished in 0.565 seconds with exit status 0 (successful). DEBUG [2278f514] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2278f514] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [2278f514] Finished in 0.494 seconds with exit status 0 (successful). INFO [99700c0a] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101084221 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [99700c0a] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101084221 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [99700c0a] Finished in 1.190 seconds with exit status 0 (successful). INFO [7f797bf5] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [7f797bf5] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [7f797bf5] Finished in 0.496 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 16:53:00 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [34f35a57] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [34f35a57] Command: ~/.rvm/bin/rvm version DEBUG [34f35a57] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [34f35a57] Finished in 5.870 seconds with exit status 0 (successful). DEBUG [516f0d90] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [516f0d90] Command: ~/.rvm/bin/rvm current DEBUG [516f0d90] ruby-3.0.0 DEBUG [516f0d90] Finished in 0.820 seconds with exit status 0 (successful). DEBUG [f3c2b442] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [f3c2b442] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [f3c2b442] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [f3c2b442] Finished in 0.777 seconds with exit status 0 (successful). DEBUG [bbd84829] Running /usr/bin/env echo ~/.rvm/bin/rvm ruby-3.0.0 do bundle as deploy@54.179.173.86 DEBUG [bbd84829] Command: /usr/bin/env echo ~/.rvm/bin/rvm ruby-3.0.0 do bundle DEBUG [bbd84829] /home/deploy/.rvm/bin/rvm ruby-3.0.0 do bundle DEBUG [bbd84829] Finished in 0.387 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [70a5e2b3] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@54.179.173.86 DEBUG [70a5e2b3] Command: /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ INFO [70a5e2b3] Finished in 0.405 seconds with exit status 0 (successful). INFO [42207208] Running /usr/bin/env sudo /bin/systemctl daemon-reload as deploy@54.179.173.86 DEBUG [42207208] Command: /usr/bin/env sudo /bin/systemctl daemon-reload INFO [42207208] Finished in 0.832 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 16:53:17 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e8723a30] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [e8723a30] Command: ~/.rvm/bin/rvm version DEBUG [e8723a30] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [e8723a30] Finished in 1.810 seconds with exit status 0 (successful). DEBUG [5fa60b4c] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [5fa60b4c] Command: ~/.rvm/bin/rvm current DEBUG [5fa60b4c] ruby-3.0.0 DEBUG [5fa60b4c] Finished in 0.712 seconds with exit status 0 (successful). DEBUG [4b0c3c12] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [4b0c3c12] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [4b0c3c12] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [4b0c3c12] Finished in 0.938 seconds with exit status 0 (successful). INFO [23885305] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [23885305] Command: /usr/bin/env mkdir -p /tmp INFO [23885305] Finished in 0.256 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-3a44698d6e8e339d0e0d.sh 0.0% INFO Uploading /tmp/git-ssh-3a44698d6e8e339d0e0d.sh 100.0% INFO [72931b70] Running /usr/bin/env chmod 700 /tmp/git-ssh-3a44698d6e8e339d0e0d.sh as deploy@54.179.173.86 DEBUG [72931b70] Command: /usr/bin/env chmod 700 /tmp/git-ssh-3a44698d6e8e339d0e0d.sh INFO [72931b70] Finished in 0.266 seconds with exit status 0 (successful). INFO [a6d7fda3] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [a6d7fda3] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a44698d6e8e339d0e0d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a6d7fda3] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [a6d7fda3] Finished in 3.158 seconds with exit status 0 (successful). INFO [d19ee677] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [d19ee677] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [d19ee677] Finished in 0.279 seconds with exit status 0 (successful). INFO [35c15104] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [35c15104] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [35c15104] Finished in 0.291 seconds with exit status 0 (successful). INFO [b19c2cc5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [b19c2cc5] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [b19c2cc5] Finished in 0.327 seconds with exit status 0 (successful). DEBUG [82dc36f5] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [82dc36f5] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [82dc36f5] Finished in 0.351 seconds with exit status 0 (successful). DEBUG [8a2600f3] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [8a2600f3] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [8a2600f3] Finished in 0.280 seconds with exit status 0 (successful). DEBUG [65a6f39a] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [65a6f39a] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [65a6f39a] Finished in 0.273 seconds with exit status 0 (successful). DEBUG [fc8183eb] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [fc8183eb] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [fc8183eb] Finished in 0.344 seconds with exit status 0 (successful). DEBUG [656a40df] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [656a40df] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [656a40df] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [656a40df] Finished in 0.514 seconds with exit status 0 (successful). DEBUG [a4040ee7] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [a4040ee7] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [a4040ee7] Finished in 0.368 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [47ac170e] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [47ac170e] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [47ac170e] Finished in 0.286 seconds with exit status 0 (successful). INFO [10480596] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [10480596] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a44698d6e8e339d0e0d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [10480596] Finished in 0.273 seconds with exit status 0 (successful). INFO [7010ced2] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [7010ced2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a44698d6e8e339d0e0d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [7010ced2] Fetching origin INFO [7010ced2] Finished in 3.098 seconds with exit status 0 (successful). DEBUG [c540ba11] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [c540ba11] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [c540ba11] Finished in 0.268 seconds with exit status 0 (successful). INFO [f5309cb9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101095327 as deploy@54.179.173.86 DEBUG [f5309cb9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a44698d6e8e339d0e0d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101095327 ) INFO [f5309cb9] Finished in 0.259 seconds with exit status 0 (successful). INFO [0e9d48d9] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101095327 as deploy@54.179.173.86 DEBUG [0e9d48d9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a44698d6e8e339d0e0d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101095327 ) INFO [0e9d48d9] Finished in 0.359 seconds with exit status 0 (successful). DEBUG [90c294b5] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [90c294b5] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [90c294b5] Finished in 0.260 seconds with exit status 0 (successful). DEBUG [b2d64ae4] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [b2d64ae4] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3a44698d6e8e339d0e0d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [b2d64ae4] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [b2d64ae4] Finished in 0.272 seconds with exit status 0 (successful). DEBUG [e1efd3f9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [e1efd3f9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi DEBUG [e1efd3f9] Finished in 0.263 seconds with exit status 0 (successful). INFO [17f30514] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [17f30514] Command: cd /home/deploy/apps/aoumi_server/releases/20230101095327 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [17f30514] Finished in 0.260 seconds with exit status 0 (successful). INFO [a5413bd9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101095327 /home/deploy/apps/aoumi_server/releases/20230101095327/config as deploy@54.179.173.86 DEBUG [a5413bd9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101095327 /home/deploy/apps/aoumi_server/releases/20230101095327/config INFO [a5413bd9] Finished in 0.267 seconds with exit status 0 (successful). DEBUG [06e527fe] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/.env ] as deploy@54.179.173.86 DEBUG [06e527fe] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/.env ] DEBUG [06e527fe] Finished in 0.289 seconds with exit status 1 (failed). DEBUG [26741d17] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101095327/.env ] as deploy@54.179.173.86 DEBUG [26741d17] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101095327/.env ] DEBUG [26741d17] Finished in 0.281 seconds with exit status 0 (successful). INFO [0dd14892] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101095327/.env as deploy@54.179.173.86 DEBUG [0dd14892] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101095327/.env INFO [0dd14892] Finished in 0.261 seconds with exit status 0 (successful). INFO [1532f0c7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101095327/.env as deploy@54.179.173.86 DEBUG [1532f0c7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101095327/.env INFO [1532f0c7] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [6e788c89] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml ] as deploy@54.179.173.86 DEBUG [6e788c89] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml ] DEBUG [6e788c89] Finished in 0.261 seconds with exit status 1 (failed). DEBUG [ec806bfd] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml ] as deploy@54.179.173.86 DEBUG [ec806bfd] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml ] DEBUG [ec806bfd] Finished in 0.269 seconds with exit status 0 (successful). INFO [ef43a99d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml as deploy@54.179.173.86 DEBUG [ef43a99d] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml INFO [ef43a99d] Finished in 0.707 seconds with exit status 0 (successful). INFO [ff0ec101] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml as deploy@54.179.173.86 DEBUG [ff0ec101] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101095327/config/database.yml INFO [ff0ec101] Finished in 0.279 seconds with exit status 0 (successful). INFO [ef7f0c0e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101095327 /home/deploy/apps/aoumi_server/releases/20230101095327/tmp /home/deploy/apps/aoumi_server/releases/20230101095327/vendor /home/deploy/apps/aoumi_server/releases/20230101095327/public as deploy@54.179.173.86 DEBUG [ef7f0c0e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101095327 /home/deploy/apps/aoumi_server/releases/20230101095327/tmp /home/deploy/apps/aoumi_server/releases/20230101095327/vendor /home/deploy/apps/aoumi_server/releases/20230101095327/public INFO [ef7f0c0e] Finished in 0.293 seconds with exit status 0 (successful). DEBUG [1e83d33f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/log ] as deploy@54.179.173.86 DEBUG [1e83d33f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/log ] DEBUG [1e83d33f] Finished in 0.275 seconds with exit status 1 (failed). DEBUG [686740a5] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/log ] as deploy@54.179.173.86 DEBUG [686740a5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/log ] DEBUG [686740a5] Finished in 0.271 seconds with exit status 0 (successful). INFO [e3b56f81] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101095327/log as deploy@54.179.173.86 DEBUG [e3b56f81] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101095327/log INFO [e3b56f81] Finished in 0.264 seconds with exit status 0 (successful). INFO [1323bd5c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101095327/log as deploy@54.179.173.86 DEBUG [1323bd5c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101095327/log INFO [1323bd5c] Finished in 0.282 seconds with exit status 0 (successful). DEBUG [9ebc2dea] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids ] as deploy@54.179.173.86 DEBUG [9ebc2dea] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids ] DEBUG [9ebc2dea] Finished in 0.329 seconds with exit status 1 (failed). DEBUG [f34d25a7] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids ] as deploy@54.179.173.86 DEBUG [f34d25a7] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids ] DEBUG [f34d25a7] Finished in 0.290 seconds with exit status 0 (successful). INFO [c0e61476] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids as deploy@54.179.173.86 DEBUG [c0e61476] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids INFO [c0e61476] Finished in 0.307 seconds with exit status 0 (successful). INFO [9391d75b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids as deploy@54.179.173.86 DEBUG [9391d75b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/pids INFO [9391d75b] Finished in 0.320 seconds with exit status 0 (successful). DEBUG [d1264443] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/cache ] as deploy@54.179.173.86 DEBUG [d1264443] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/cache ] DEBUG [d1264443] Finished in 0.268 seconds with exit status 1 (failed). DEBUG [c42d3ff3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/cache ] as deploy@54.179.173.86 DEBUG [c42d3ff3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/cache ] DEBUG [c42d3ff3] Finished in 0.288 seconds with exit status 1 (failed). INFO [a0dc67d9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/cache as deploy@54.179.173.86 DEBUG [a0dc67d9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/cache INFO [a0dc67d9] Finished in 0.349 seconds with exit status 0 (successful). DEBUG [e2a77383] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/sockets ] as deploy@54.179.173.86 DEBUG [e2a77383] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/sockets ] DEBUG [e2a77383] Finished in 0.292 seconds with exit status 1 (failed). DEBUG [2152cbc2] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/sockets ] as deploy@54.179.173.86 DEBUG [2152cbc2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/sockets ] DEBUG [2152cbc2] Finished in 0.306 seconds with exit status 1 (failed). INFO [39622e9f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/sockets as deploy@54.179.173.86 DEBUG [39622e9f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101095327/tmp/sockets INFO [39622e9f] Finished in 0.275 seconds with exit status 0 (successful). DEBUG [d6405ac8] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/vendor/bundle ] as deploy@54.179.173.86 DEBUG [d6405ac8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/vendor/bundle ] DEBUG [d6405ac8] Finished in 0.260 seconds with exit status 1 (failed). DEBUG [2bb40059] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/vendor/bundle ] as deploy@54.179.173.86 DEBUG [2bb40059] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/vendor/bundle ] DEBUG [2bb40059] Finished in 0.261 seconds with exit status 1 (failed). INFO [bb5bed7b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101095327/vendor/bundle as deploy@54.179.173.86 DEBUG [bb5bed7b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101095327/vendor/bundle INFO [bb5bed7b] Finished in 0.263 seconds with exit status 0 (successful). DEBUG [c76af2c5] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/public/system ] as deploy@54.179.173.86 DEBUG [c76af2c5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/public/system ] DEBUG [c76af2c5] Finished in 0.271 seconds with exit status 1 (failed). DEBUG [6082b0c3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/public/system ] as deploy@54.179.173.86 DEBUG [6082b0c3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/public/system ] DEBUG [6082b0c3] Finished in 0.268 seconds with exit status 1 (failed). INFO [b3bdfc4e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101095327/public/system as deploy@54.179.173.86 DEBUG [b3bdfc4e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101095327/public/system INFO [b3bdfc4e] Finished in 0.267 seconds with exit status 0 (successful). DEBUG [ff5b9563] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/public/uploads ] as deploy@54.179.173.86 DEBUG [ff5b9563] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101095327/public/uploads ] DEBUG [ff5b9563] Finished in 0.263 seconds with exit status 1 (failed). DEBUG [f3f3e833] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/public/uploads ] as deploy@54.179.173.86 DEBUG [f3f3e833] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101095327/public/uploads ] DEBUG [f3f3e833] Finished in 0.263 seconds with exit status 1 (failed). INFO [2703367d] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101095327/public/uploads as deploy@54.179.173.86 DEBUG [2703367d] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101095327/public/uploads INFO [2703367d] Finished in 0.265 seconds with exit status 0 (successful). DEBUG [b4b64acb] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [b4b64acb] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi DEBUG [b4b64acb] Finished in 0.265 seconds with exit status 0 (successful). INFO [e5a75bd1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [e5a75bd1] Command: cd /home/deploy/apps/aoumi_server/releases/20230101095327 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [e5a75bd1] Finished in 1.080 seconds with exit status 0 (successful). INFO [05843bcb] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [05843bcb] Command: cd /home/deploy/apps/aoumi_server/releases/20230101095327 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [05843bcb] Finished in 1.407 seconds with exit status 0 (successful). INFO [a902f638] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [a902f638] Command: cd /home/deploy/apps/aoumi_server/releases/20230101095327 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [a902f638] Finished in 0.953 seconds with exit status 0 (successful). DEBUG [0f004620] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [0f004620] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi DEBUG [0f004620] Finished in 0.233 seconds with exit status 0 (successful). DEBUG [517a9e59] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [517a9e59] Command: cd /home/deploy/apps/aoumi_server/releases/20230101095327 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [517a9e59] The Gemfile's dependencies are satisfied DEBUG [517a9e59] Finished in 1.610 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [1b1908e9] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1b1908e9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101095327; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101095327'" 1>&2; false; fi DEBUG [1b1908e9] Finished in 0.267 seconds with exit status 0 (successful). INFO [a2f996ab] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [a2f996ab] Command: cd /home/deploy/apps/aoumi_server/releases/20230101095327 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [a2f996ab] Finished in 2.150 seconds with exit status 0 (successful). INFO [67545c92] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101095327 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [67545c92] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101095327 /home/deploy/apps/aoumi_server/releases/current INFO [67545c92] Finished in 0.261 seconds with exit status 0 (successful). INFO [22edd6fc] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [22edd6fc] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [22edd6fc] Finished in 0.261 seconds with exit status 0 (successful). DEBUG [20442ebd] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [20442ebd] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [20442ebd] 20230101074155 20230101074441 20230101083805 20230101084059 20230101084221 20230101095327 DEBUG [20442ebd] Finished in 0.311 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [6c5e0773] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [6c5e0773] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [6c5e0773] Finished in 0.262 seconds with exit status 0 (successful). DEBUG [224f2287] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [224f2287] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [224f2287] /home/deploy/apps/aoumi_server/releases/20230101095327 DEBUG [224f2287] Finished in 0.276 seconds with exit status 0 (successful). INFO [c6a7ac40] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074155 as deploy@54.179.173.86 DEBUG [c6a7ac40] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074155 INFO [c6a7ac40] Finished in 0.264 seconds with exit status 0 (successful). DEBUG [0ebc051d] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [0ebc051d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [0ebc051d] Finished in 0.302 seconds with exit status 0 (successful). INFO [c81afa4c] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101095327 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [c81afa4c] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101095327 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [c81afa4c] Finished in 0.262 seconds with exit status 0 (successful). INFO [15160b0c] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [15160b0c] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [15160b0c] Finished in 0.259 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 17:00:26 +0700 cap development puma:systemd:config INFO --------------------------------------------------------------------------- DEBUG [b25c88c5] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [b25c88c5] Command: ~/.rvm/bin/rvm version DEBUG [b25c88c5] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [b25c88c5] Finished in 2.519 seconds with exit status 0 (successful). DEBUG [bc2dceff] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [bc2dceff] Command: ~/.rvm/bin/rvm current DEBUG [bc2dceff] ruby-3.0.0 DEBUG [bc2dceff] Finished in 0.760 seconds with exit status 0 (successful). DEBUG [142e02d5] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [142e02d5] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [142e02d5] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [142e02d5] Finished in 0.885 seconds with exit status 0 (successful). DEBUG [2d0e78df] Running /usr/bin/env echo ~/.rvm/bin/rvm ruby-3.0.0 do bundle as deploy@54.179.173.86 DEBUG [2d0e78df] Command: /usr/bin/env echo ~/.rvm/bin/rvm ruby-3.0.0 do bundle DEBUG [2d0e78df] /home/deploy/.rvm/bin/rvm ruby-3.0.0 do bundle DEBUG [2d0e78df] Finished in 0.418 seconds with exit status 0 (successful). DEBUG Uploading /tmp/puma_aoumi_server_development.service 0.0% INFO Uploading /tmp/puma_aoumi_server_development.service 100.0% INFO [cc4bf022] Running /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ as deploy@54.179.173.86 DEBUG [cc4bf022] Command: /usr/bin/env sudo mv /tmp/puma_aoumi_server_development.service /etc/systemd/system/ INFO [cc4bf022] Finished in 0.408 seconds with exit status 0 (successful). INFO [604c5506] Running /usr/bin/env sudo /bin/systemctl daemon-reload as deploy@54.179.173.86 DEBUG [604c5506] Command: /usr/bin/env sudo /bin/systemctl daemon-reload INFO [604c5506] Finished in 1.056 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-01 17:00:37 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d1db1a5e] Running ~/.rvm/bin/rvm version as deploy@54.179.173.86 DEBUG [d1db1a5e] Command: ~/.rvm/bin/rvm version DEBUG [d1db1a5e] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [d1db1a5e] Finished in 2.391 seconds with exit status 0 (successful). DEBUG [98fcab54] Running ~/.rvm/bin/rvm current as deploy@54.179.173.86 DEBUG [98fcab54] Command: ~/.rvm/bin/rvm current DEBUG [98fcab54] ruby-3.0.0 DEBUG [98fcab54] Finished in 0.596 seconds with exit status 0 (successful). DEBUG [277f5bdc] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@54.179.173.86 DEBUG [277f5bdc] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [277f5bdc] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [277f5bdc] Finished in 0.918 seconds with exit status 0 (successful). INFO [adc51930] Running /usr/bin/env mkdir -p /tmp as deploy@54.179.173.86 DEBUG [adc51930] Command: /usr/bin/env mkdir -p /tmp INFO [adc51930] Finished in 0.909 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-0dafcd7abb976e9eddea.sh 0.0% INFO Uploading /tmp/git-ssh-0dafcd7abb976e9eddea.sh 100.0% INFO [0e91aae8] Running /usr/bin/env chmod 700 /tmp/git-ssh-0dafcd7abb976e9eddea.sh as deploy@54.179.173.86 DEBUG [0e91aae8] Command: /usr/bin/env chmod 700 /tmp/git-ssh-0dafcd7abb976e9eddea.sh INFO [0e91aae8] Finished in 0.577 seconds with exit status 0 (successful). INFO [0b092c5b] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@54.179.173.86 DEBUG [0b092c5b] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0dafcd7abb976e9eddea.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [0b092c5b] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [0b092c5b] Finished in 3.446 seconds with exit status 0 (successful). INFO [4a719a00] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [4a719a00] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [4a719a00] Finished in 0.626 seconds with exit status 0 (successful). INFO [7690e64c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@54.179.173.86 DEBUG [7690e64c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [7690e64c] Finished in 0.401 seconds with exit status 0 (successful). INFO [34e9a2e3] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@54.179.173.86 DEBUG [34e9a2e3] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [34e9a2e3] Finished in 0.401 seconds with exit status 0 (successful). DEBUG [a5de9ed1] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@54.179.173.86 DEBUG [a5de9ed1] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [a5de9ed1] Finished in 0.870 seconds with exit status 0 (successful). DEBUG [dedf2059] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@54.179.173.86 DEBUG [dedf2059] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [dedf2059] Finished in 0.758 seconds with exit status 0 (successful). DEBUG [be9b52a8] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@54.179.173.86 DEBUG [be9b52a8] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [be9b52a8] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [17d0bcee] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@54.179.173.86 DEBUG [17d0bcee] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [17d0bcee] Finished in 0.576 seconds with exit status 0 (successful). DEBUG [b4b6faf1] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@54.179.173.86 DEBUG [b4b6faf1] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [b4b6faf1] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [b4b6faf1] Finished in 0.698 seconds with exit status 0 (successful). DEBUG [3b6458a4] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@54.179.173.86 DEBUG [3b6458a4] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [3b6458a4] Finished in 0.576 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [ceb77b78] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [ceb77b78] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [ceb77b78] Finished in 0.570 seconds with exit status 0 (successful). INFO [4ce48464] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@54.179.173.86 DEBUG [4ce48464] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0dafcd7abb976e9eddea.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [4ce48464] Finished in 0.626 seconds with exit status 0 (successful). INFO [16d27887] Running /usr/bin/env git remote update --prune as deploy@54.179.173.86 DEBUG [16d27887] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0dafcd7abb976e9eddea.sh" ; /usr/bin/env git remote update --prune ) DEBUG [16d27887] Fetching origin INFO [16d27887] Finished in 4.594 seconds with exit status 0 (successful). DEBUG [36eb52ad] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [36eb52ad] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [36eb52ad] Finished in 0.403 seconds with exit status 0 (successful). INFO [84222506] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101100052 as deploy@54.179.173.86 DEBUG [84222506] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0dafcd7abb976e9eddea.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101100052 ) INFO [84222506] Finished in 0.409 seconds with exit status 0 (successful). INFO [12c5518e] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101100052 as deploy@54.179.173.86 DEBUG [12c5518e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0dafcd7abb976e9eddea.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230101100052 ) INFO [12c5518e] Finished in 0.431 seconds with exit status 0 (successful). DEBUG [6aca4c9c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [6aca4c9c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6aca4c9c] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [e610defa] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@54.179.173.86 DEBUG [e610defa] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-0dafcd7abb976e9eddea.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [e610defa] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [e610defa] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [2958b04f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [2958b04f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi DEBUG [2958b04f] Finished in 0.402 seconds with exit status 0 (successful). INFO [a051d24a] Running /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION as deploy@54.179.173.86 DEBUG [a051d24a] Command: cd /home/deploy/apps/aoumi_server/releases/20230101100052 && /usr/bin/env echo "c4549573956ae59e3ea0b8e68d6288ffb1416771" > REVISION INFO [a051d24a] Finished in 0.403 seconds with exit status 0 (successful). INFO [5750dc35] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101100052 /home/deploy/apps/aoumi_server/releases/20230101100052/config as deploy@54.179.173.86 DEBUG [5750dc35] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101100052 /home/deploy/apps/aoumi_server/releases/20230101100052/config INFO [5750dc35] Finished in 0.404 seconds with exit status 0 (successful). DEBUG [448f1449] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/.env ] as deploy@54.179.173.86 DEBUG [448f1449] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/.env ] DEBUG [448f1449] Finished in 0.401 seconds with exit status 1 (failed). DEBUG [b3102985] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101100052/.env ] as deploy@54.179.173.86 DEBUG [b3102985] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101100052/.env ] DEBUG [b3102985] Finished in 0.404 seconds with exit status 0 (successful). INFO [d0045171] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101100052/.env as deploy@54.179.173.86 DEBUG [d0045171] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101100052/.env INFO [d0045171] Finished in 0.408 seconds with exit status 0 (successful). INFO [7b6c08ab] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101100052/.env as deploy@54.179.173.86 DEBUG [7b6c08ab] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230101100052/.env INFO [7b6c08ab] Finished in 0.405 seconds with exit status 0 (successful). DEBUG [322c5666] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml ] as deploy@54.179.173.86 DEBUG [322c5666] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml ] DEBUG [322c5666] Finished in 0.397 seconds with exit status 1 (failed). DEBUG [0c8faa45] Running [ -f /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml ] as deploy@54.179.173.86 DEBUG [0c8faa45] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml ] DEBUG [0c8faa45] Finished in 0.408 seconds with exit status 0 (successful). INFO [52d5b68e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml as deploy@54.179.173.86 DEBUG [52d5b68e] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml INFO [52d5b68e] Finished in 0.407 seconds with exit status 0 (successful). INFO [0329c72b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml as deploy@54.179.173.86 DEBUG [0329c72b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230101100052/config/database.yml INFO [0329c72b] Finished in 0.414 seconds with exit status 0 (successful). INFO [1b903085] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101100052 /home/deploy/apps/aoumi_server/releases/20230101100052/tmp /home/deploy/apps/aoumi_server/releases/20230101100052/vendor /home/deploy/apps/aoumi_server/releases/20230101100052/public as deploy@54.179.173.86 DEBUG [1b903085] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230101100052 /home/deploy/apps/aoumi_server/releases/20230101100052/tmp /home/deploy/apps/aoumi_server/releases/20230101100052/vendor /home/deploy/apps/aoumi_server/releases/20230101100052/public INFO [1b903085] Finished in 0.415 seconds with exit status 0 (successful). DEBUG [9e5d3e95] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/log ] as deploy@54.179.173.86 DEBUG [9e5d3e95] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/log ] DEBUG [9e5d3e95] Finished in 0.407 seconds with exit status 1 (failed). DEBUG [d61185af] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/log ] as deploy@54.179.173.86 DEBUG [d61185af] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/log ] DEBUG [d61185af] Finished in 0.427 seconds with exit status 0 (successful). INFO [0ab5ec34] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101100052/log as deploy@54.179.173.86 DEBUG [0ab5ec34] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101100052/log INFO [0ab5ec34] Finished in 0.401 seconds with exit status 0 (successful). INFO [d88a48e1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101100052/log as deploy@54.179.173.86 DEBUG [d88a48e1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230101100052/log INFO [d88a48e1] Finished in 0.411 seconds with exit status 0 (successful). DEBUG [f3bf02cf] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids ] as deploy@54.179.173.86 DEBUG [f3bf02cf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids ] DEBUG [f3bf02cf] Finished in 0.407 seconds with exit status 1 (failed). DEBUG [9608c1e1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids ] as deploy@54.179.173.86 DEBUG [9608c1e1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids ] DEBUG [9608c1e1] Finished in 0.493 seconds with exit status 0 (successful). INFO [eb7e9e23] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids as deploy@54.179.173.86 DEBUG [eb7e9e23] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids INFO [eb7e9e23] Finished in 0.438 seconds with exit status 0 (successful). INFO [9501579f] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids as deploy@54.179.173.86 DEBUG [9501579f] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/pids INFO [9501579f] Finished in 0.423 seconds with exit status 0 (successful). DEBUG [52ef5af8] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/cache ] as deploy@54.179.173.86 DEBUG [52ef5af8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/cache ] DEBUG [52ef5af8] Finished in 0.484 seconds with exit status 1 (failed). DEBUG [553f0c3f] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/cache ] as deploy@54.179.173.86 DEBUG [553f0c3f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/cache ] DEBUG [553f0c3f] Finished in 0.425 seconds with exit status 1 (failed). INFO [26c91a11] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/cache as deploy@54.179.173.86 DEBUG [26c91a11] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/cache INFO [26c91a11] Finished in 0.703 seconds with exit status 0 (successful). DEBUG [9993196b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/sockets ] as deploy@54.179.173.86 DEBUG [9993196b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/sockets ] DEBUG [9993196b] Finished in 0.442 seconds with exit status 1 (failed). DEBUG [3096f190] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/sockets ] as deploy@54.179.173.86 DEBUG [3096f190] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/sockets ] DEBUG [3096f190] Finished in 0.410 seconds with exit status 1 (failed). INFO [4306f795] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/sockets as deploy@54.179.173.86 DEBUG [4306f795] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230101100052/tmp/sockets INFO [4306f795] Finished in 0.403 seconds with exit status 0 (successful). DEBUG [993dc2d5] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/vendor/bundle ] as deploy@54.179.173.86 DEBUG [993dc2d5] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/vendor/bundle ] DEBUG [993dc2d5] Finished in 0.405 seconds with exit status 1 (failed). DEBUG [c8605ea9] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/vendor/bundle ] as deploy@54.179.173.86 DEBUG [c8605ea9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/vendor/bundle ] DEBUG [c8605ea9] Finished in 0.406 seconds with exit status 1 (failed). INFO [238883ac] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101100052/vendor/bundle as deploy@54.179.173.86 DEBUG [238883ac] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230101100052/vendor/bundle INFO [238883ac] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [5998c297] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/public/system ] as deploy@54.179.173.86 DEBUG [5998c297] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/public/system ] DEBUG [5998c297] Finished in 0.410 seconds with exit status 1 (failed). DEBUG [01688641] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/public/system ] as deploy@54.179.173.86 DEBUG [01688641] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/public/system ] DEBUG [01688641] Finished in 0.404 seconds with exit status 1 (failed). INFO [acd97232] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101100052/public/system as deploy@54.179.173.86 DEBUG [acd97232] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230101100052/public/system INFO [acd97232] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [cdf7ff26] Running [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/public/uploads ] as deploy@54.179.173.86 DEBUG [cdf7ff26] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230101100052/public/uploads ] DEBUG [cdf7ff26] Finished in 0.402 seconds with exit status 1 (failed). DEBUG [9c553a97] Running [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/public/uploads ] as deploy@54.179.173.86 DEBUG [9c553a97] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230101100052/public/uploads ] DEBUG [9c553a97] Finished in 0.406 seconds with exit status 1 (failed). INFO [9ed3d58c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101100052/public/uploads as deploy@54.179.173.86 DEBUG [9ed3d58c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230101100052/public/uploads INFO [9ed3d58c] Finished in 0.413 seconds with exit status 0 (successful). DEBUG [3b5749f5] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [3b5749f5] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi DEBUG [3b5749f5] Finished in 0.411 seconds with exit status 0 (successful). INFO [9fc319e9] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@54.179.173.86 DEBUG [9fc319e9] Command: cd /home/deploy/apps/aoumi_server/releases/20230101100052 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [9fc319e9] Finished in 0.946 seconds with exit status 0 (successful). INFO [8076b3cd] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@54.179.173.86 DEBUG [8076b3cd] Command: cd /home/deploy/apps/aoumi_server/releases/20230101100052 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [8076b3cd] Finished in 0.977 seconds with exit status 0 (successful). INFO [213431d4] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@54.179.173.86 DEBUG [213431d4] Command: cd /home/deploy/apps/aoumi_server/releases/20230101100052 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [213431d4] Finished in 1.052 seconds with exit status 0 (successful). DEBUG [5c1b5edd] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [5c1b5edd] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi DEBUG [5c1b5edd] Finished in 0.408 seconds with exit status 0 (successful). DEBUG [25811724] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@54.179.173.86 DEBUG [25811724] Command: cd /home/deploy/apps/aoumi_server/releases/20230101100052 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [25811724] The Gemfile's dependencies are satisfied DEBUG [25811724] Finished in 1.010 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [1cd01c17] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [1cd01c17] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230101100052; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230101100052'" 1>&2; false; fi DEBUG [1cd01c17] Finished in 0.408 seconds with exit status 0 (successful). INFO [c223eca6] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@54.179.173.86 DEBUG [c223eca6] Command: cd /home/deploy/apps/aoumi_server/releases/20230101100052 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [c223eca6] Finished in 2.025 seconds with exit status 0 (successful). INFO [2c296305] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101100052 /home/deploy/apps/aoumi_server/releases/current as deploy@54.179.173.86 DEBUG [2c296305] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230101100052 /home/deploy/apps/aoumi_server/releases/current INFO [2c296305] Finished in 0.404 seconds with exit status 0 (successful). INFO [2e262e76] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@54.179.173.86 DEBUG [2e262e76] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [2e262e76] Finished in 0.409 seconds with exit status 0 (successful). DEBUG [2098c468] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@54.179.173.86 DEBUG [2098c468] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [2098c468] 20230101074441 20230101083805 20230101084059 20230101084221 20230101095327 20230101100052 DEBUG [2098c468] Finished in 0.402 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 54.179.173.86 DEBUG [377cc45b] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@54.179.173.86 DEBUG [377cc45b] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [377cc45b] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [7c8f9901] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@54.179.173.86 DEBUG [7c8f9901] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [7c8f9901] /home/deploy/apps/aoumi_server/releases/20230101100052 DEBUG [7c8f9901] Finished in 0.411 seconds with exit status 0 (successful). INFO [8a76fc77] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074441 as deploy@54.179.173.86 DEBUG [8a76fc77] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101074441 INFO [8a76fc77] Finished in 0.412 seconds with exit status 0 (successful). DEBUG [580effec] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@54.179.173.86 DEBUG [580effec] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [580effec] Finished in 0.403 seconds with exit status 0 (successful). INFO [1c66657c] Running /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101100052 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@54.179.173.86 DEBUG [1c66657c] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c4549573956ae59e3ea0b8e68d6288ffb1416771) deployed as release 20230101100052 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [1c66657c] Finished in 0.411 seconds with exit status 0 (successful). INFO [d392075c] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@54.179.173.86 DEBUG [d392075c] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [d392075c] Finished in 0.407 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-03 21:45:08 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [1dab8847] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [1dab8847] Command: ~/.rvm/bin/rvm version DEBUG [1dab8847] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [1dab8847] Finished in 4.826 seconds with exit status 0 (successful). DEBUG [b1171c09] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [b1171c09] Command: ~/.rvm/bin/rvm current DEBUG [b1171c09] ruby-3.0.0 DEBUG [b1171c09] Finished in 1.116 seconds with exit status 0 (successful). DEBUG [97eafde1] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [97eafde1] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [97eafde1] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [97eafde1] Finished in 0.752 seconds with exit status 0 (successful). INFO [c128a65e] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [c128a65e] Command: /usr/bin/env mkdir -p /tmp INFO [c128a65e] Finished in 1.343 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-302a0334d368f686010d.sh 0.0% INFO Uploading /tmp/git-ssh-302a0334d368f686010d.sh 100.0% INFO [9141910b] Running /usr/bin/env chmod 700 /tmp/git-ssh-302a0334d368f686010d.sh as deploy@52.74.130.28 DEBUG [9141910b] Command: /usr/bin/env chmod 700 /tmp/git-ssh-302a0334d368f686010d.sh INFO [9141910b] Finished in 1.439 seconds with exit status 0 (successful). INFO [8b9744df] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [8b9744df] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-302a0334d368f686010d.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [8b9744df] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [8b9744df] Finished in 18.655 seconds with exit status 0 (successful). INFO [0ded2695] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [0ded2695] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [0ded2695] Finished in 1.045 seconds with exit status 0 (successful). INFO [76d40a7d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [76d40a7d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [76d40a7d] Finished in 1.534 seconds with exit status 0 (successful). INFO [8ed9b8c6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [8ed9b8c6] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [8ed9b8c6] Finished in 1.813 seconds with exit status 0 (successful). DEBUG [b65fa43d] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [b65fa43d] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [b65fa43d] Finished in 0.323 seconds with exit status 0 (successful). DEBUG [885e0680] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [885e0680] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [885e0680] Finished in 0.853 seconds with exit status 0 (successful). DEBUG [f850d5fb] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [f850d5fb] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [f850d5fb] Finished in 0.444 seconds with exit status 0 (successful). DEBUG [5c54dc1d] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [5c54dc1d] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [5c54dc1d] Finished in 1.311 seconds with exit status 0 (successful). DEBUG [0c4ccd2f] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [0c4ccd2f] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [0c4ccd2f] c4549573956ae59e3ea0b8e68d6288ffb1416771 DEBUG [0c4ccd2f] Finished in 2.283 seconds with exit status 0 (successful). DEBUG [fdeb8f04] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [fdeb8f04] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [fdeb8f04] Finished in 1.749 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [46f4e8da] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [46f4e8da] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [46f4e8da] Finished in 1.612 seconds with exit status 0 (successful). INFO [0337a2fe] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [0337a2fe] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-302a0334d368f686010d.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [0337a2fe] Finished in 0.514 seconds with exit status 0 (successful). INFO [f8baf34a] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [f8baf34a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-302a0334d368f686010d.sh" ; /usr/bin/env git remote update --prune ) DEBUG [f8baf34a] Fetching origin DEBUG [f8baf34a] From github.com:huythanh176/aoumi_server + c454957...e975bec develop -> develop (forced update) INFO [f8baf34a] Finished in 4.617 seconds with exit status 0 (successful). DEBUG [086c88a3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [086c88a3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [086c88a3] Finished in 0.759 seconds with exit status 0 (successful). INFO [ba14a387] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103144551 as deploy@52.74.130.28 DEBUG [ba14a387] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-302a0334d368f686010d.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103144551 ) INFO [ba14a387] Finished in 8.621 seconds with exit status 0 (successful). INFO [b8fb30aa] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230103144551 as deploy@52.74.130.28 DEBUG [b8fb30aa] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-302a0334d368f686010d.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230103144551 ) INFO [b8fb30aa] Finished in 0.900 seconds with exit status 0 (successful). DEBUG [5b9213e4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [5b9213e4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [5b9213e4] Finished in 1.122 seconds with exit status 0 (successful). DEBUG [42accee8] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [42accee8] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-302a0334d368f686010d.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [42accee8] e975bec6d65d8680ca928054bcdd636124b4836b DEBUG [42accee8] Finished in 3.789 seconds with exit status 0 (successful). DEBUG [a3a9531f] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [a3a9531f] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi DEBUG [a3a9531f] Finished in 0.551 seconds with exit status 0 (successful). INFO [61b28745] Running /usr/bin/env echo "e975bec6d65d8680ca928054bcdd636124b4836b" > REVISION as deploy@52.74.130.28 DEBUG [61b28745] Command: cd /home/deploy/apps/aoumi_server/releases/20230103144551 && /usr/bin/env echo "e975bec6d65d8680ca928054bcdd636124b4836b" > REVISION INFO [61b28745] Finished in 1.085 seconds with exit status 0 (successful). INFO [9ead6eb9] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/20230103144551/config as deploy@52.74.130.28 DEBUG [9ead6eb9] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/20230103144551/config INFO [9ead6eb9] Finished in 1.079 seconds with exit status 0 (successful). DEBUG [2a19f363] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/.env ] as deploy@52.74.130.28 DEBUG [2a19f363] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/.env ] DEBUG [2a19f363] Finished in 1.834 seconds with exit status 1 (failed). DEBUG [dad33429] Running [ -f /home/deploy/apps/aoumi_server/releases/20230103144551/.env ] as deploy@52.74.130.28 DEBUG [dad33429] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230103144551/.env ] DEBUG [dad33429] Finished in 0.290 seconds with exit status 0 (successful). INFO [1e95c2df] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103144551/.env as deploy@52.74.130.28 DEBUG [1e95c2df] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103144551/.env INFO [1e95c2df] Finished in 0.536 seconds with exit status 0 (successful). INFO [5f6705c5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230103144551/.env as deploy@52.74.130.28 DEBUG [5f6705c5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230103144551/.env INFO [5f6705c5] Finished in 0.814 seconds with exit status 0 (successful). DEBUG [f944b0a9] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml ] as deploy@52.74.130.28 DEBUG [f944b0a9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml ] DEBUG [f944b0a9] Finished in 0.291 seconds with exit status 1 (failed). DEBUG [03333143] Running [ -f /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml ] as deploy@52.74.130.28 DEBUG [03333143] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml ] DEBUG [03333143] Finished in 0.620 seconds with exit status 0 (successful). INFO [a407f7f7] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml as deploy@52.74.130.28 DEBUG [a407f7f7] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml INFO [a407f7f7] Finished in 0.616 seconds with exit status 0 (successful). INFO [768d711c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml as deploy@52.74.130.28 DEBUG [768d711c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230103144551/config/database.yml INFO [768d711c] Finished in 0.562 seconds with exit status 0 (successful). INFO [c2f96dc4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/20230103144551/tmp /home/deploy/apps/aoumi_server/releases/20230103144551/vendor /home/deploy/apps/aoumi_server/releases/20230103144551/public as deploy@52.74.130.28 DEBUG [c2f96dc4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/20230103144551/tmp /home/deploy/apps/aoumi_server/releases/20230103144551/vendor /home/deploy/apps/aoumi_server/releases/20230103144551/public INFO [c2f96dc4] Finished in 1.226 seconds with exit status 0 (successful). DEBUG [0d0b8c4b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/log ] as deploy@52.74.130.28 DEBUG [0d0b8c4b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/log ] DEBUG [0d0b8c4b] Finished in 1.021 seconds with exit status 1 (failed). DEBUG [ecd86058] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/log ] as deploy@52.74.130.28 DEBUG [ecd86058] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/log ] DEBUG [ecd86058] Finished in 0.925 seconds with exit status 0 (successful). INFO [9df7e03a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103144551/log as deploy@52.74.130.28 DEBUG [9df7e03a] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103144551/log INFO [9df7e03a] Finished in 2.141 seconds with exit status 0 (successful). INFO [0fb189f9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230103144551/log as deploy@52.74.130.28 DEBUG [0fb189f9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230103144551/log INFO [0fb189f9] Finished in 1.125 seconds with exit status 0 (successful). DEBUG [eabfca26] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids ] as deploy@52.74.130.28 DEBUG [eabfca26] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids ] DEBUG [eabfca26] Finished in 0.546 seconds with exit status 1 (failed). DEBUG [80d57b15] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids ] as deploy@52.74.130.28 DEBUG [80d57b15] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids ] DEBUG [80d57b15] Finished in 2.123 seconds with exit status 0 (successful). INFO [f4d991ed] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids as deploy@52.74.130.28 DEBUG [f4d991ed] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids INFO [f4d991ed] Finished in 1.065 seconds with exit status 0 (successful). INFO [4f1892dd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids as deploy@52.74.130.28 DEBUG [4f1892dd] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/pids INFO [4f1892dd] Finished in 1.263 seconds with exit status 0 (successful). DEBUG [dc1defd8] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/cache ] as deploy@52.74.130.28 DEBUG [dc1defd8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/cache ] DEBUG [dc1defd8] Finished in 1.054 seconds with exit status 1 (failed). DEBUG [70aca968] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/cache ] as deploy@52.74.130.28 DEBUG [70aca968] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/cache ] DEBUG [70aca968] Finished in 0.288 seconds with exit status 1 (failed). INFO [a98c525c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/cache as deploy@52.74.130.28 DEBUG [a98c525c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/cache INFO [a98c525c] Finished in 0.293 seconds with exit status 0 (successful). DEBUG [accaa804] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/sockets ] as deploy@52.74.130.28 DEBUG [accaa804] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/sockets ] DEBUG [accaa804] Finished in 1.118 seconds with exit status 1 (failed). DEBUG [9df25c7d] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/sockets ] as deploy@52.74.130.28 DEBUG [9df25c7d] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/sockets ] DEBUG [9df25c7d] Finished in 1.553 seconds with exit status 1 (failed). INFO [c8976f24] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/sockets as deploy@52.74.130.28 DEBUG [c8976f24] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230103144551/tmp/sockets INFO [c8976f24] Finished in 1.070 seconds with exit status 0 (successful). DEBUG [ff027908] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/vendor/bundle ] as deploy@52.74.130.28 DEBUG [ff027908] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/vendor/bundle ] DEBUG [ff027908] Finished in 0.802 seconds with exit status 1 (failed). DEBUG [732105f6] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/vendor/bundle ] as deploy@52.74.130.28 DEBUG [732105f6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/vendor/bundle ] DEBUG [732105f6] Finished in 1.025 seconds with exit status 1 (failed). INFO [7d8550c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230103144551/vendor/bundle as deploy@52.74.130.28 DEBUG [7d8550c9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230103144551/vendor/bundle INFO [7d8550c9] Finished in 0.395 seconds with exit status 0 (successful). DEBUG [c2c5f9e4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/public/system ] as deploy@52.74.130.28 DEBUG [c2c5f9e4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/public/system ] DEBUG [c2c5f9e4] Finished in 0.583 seconds with exit status 1 (failed). DEBUG [793351f1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/public/system ] as deploy@52.74.130.28 DEBUG [793351f1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/public/system ] DEBUG [793351f1] Finished in 1.033 seconds with exit status 1 (failed). INFO [48b39957] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230103144551/public/system as deploy@52.74.130.28 DEBUG [48b39957] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230103144551/public/system INFO [48b39957] Finished in 0.799 seconds with exit status 0 (successful). DEBUG [d4d38808] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/public/uploads ] as deploy@52.74.130.28 DEBUG [d4d38808] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103144551/public/uploads ] DEBUG [d4d38808] Finished in 0.555 seconds with exit status 1 (failed). DEBUG [67bb738b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/public/uploads ] as deploy@52.74.130.28 DEBUG [67bb738b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103144551/public/uploads ] DEBUG [67bb738b] Finished in 5.940 seconds with exit status 1 (failed). INFO [72ce03f2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230103144551/public/uploads as deploy@52.74.130.28 DEBUG [72ce03f2] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230103144551/public/uploads INFO [72ce03f2] Finished in 0.397 seconds with exit status 0 (successful). DEBUG [a596611e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [a596611e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi DEBUG [a596611e] Finished in 0.346 seconds with exit status 0 (successful). INFO [83d808d7] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [83d808d7] Command: cd /home/deploy/apps/aoumi_server/releases/20230103144551 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [83d808d7] Finished in 0.936 seconds with exit status 0 (successful). INFO [fd50b235] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [fd50b235] Command: cd /home/deploy/apps/aoumi_server/releases/20230103144551 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [fd50b235] Finished in 0.951 seconds with exit status 0 (successful). INFO [3d3f8231] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [3d3f8231] Command: cd /home/deploy/apps/aoumi_server/releases/20230103144551 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [3d3f8231] Finished in 0.916 seconds with exit status 0 (successful). DEBUG [cf95fba6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [cf95fba6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi DEBUG [cf95fba6] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [79855cef] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [79855cef] Command: cd /home/deploy/apps/aoumi_server/releases/20230103144551 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [79855cef] The Gemfile's dependencies are satisfied DEBUG [79855cef] Finished in 1.077 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [f9b5cc9b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [f9b5cc9b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103144551; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103144551'" 1>&2; false; fi DEBUG [f9b5cc9b] Finished in 0.444 seconds with exit status 0 (successful). INFO [d806f59a] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [d806f59a] Command: cd /home/deploy/apps/aoumi_server/releases/20230103144551 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [d806f59a] Finished in 2.160 seconds with exit status 0 (successful). INFO [3b0824e9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [3b0824e9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/current INFO [3b0824e9] Finished in 0.293 seconds with exit status 0 (successful). INFO [442881d6] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [442881d6] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [442881d6] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [91a725c3] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [91a725c3] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [91a725c3] 20230101083805 20230101084059 20230101084221 20230101095327 20230101100052 20230103144551 DEBUG [91a725c3] Finished in 0.291 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 52.74.130.28 DEBUG [1af33d77] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [1af33d77] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [1af33d77] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [989de277] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [989de277] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [989de277] /home/deploy/apps/aoumi_server/releases/20230103144551 DEBUG [989de277] Finished in 0.288 seconds with exit status 0 (successful). INFO [67cbf1e0] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101083805 as deploy@52.74.130.28 DEBUG [67cbf1e0] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101083805 INFO [67cbf1e0] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [7a781539] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [7a781539] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [7a781539] Finished in 0.289 seconds with exit status 0 (successful). INFO [19b44093] Running /usr/bin/env echo "Branch develop (at e975bec6d65d8680ca928054bcdd636124b4836b) deployed as release 20230103144551 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [19b44093] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at e975bec6d65d8680ca928054bcdd636124b4836b) deployed as release 20230103144551 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [19b44093] Finished in 0.297 seconds with exit status 0 (successful). INFO [02ec9ec0] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [02ec9ec0] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [02ec9ec0] Finished in 0.287 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-03 21:50:00 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [513382c0] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [513382c0] Command: ~/.rvm/bin/rvm version DEBUG [513382c0] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [513382c0] Finished in 1.635 seconds with exit status 0 (successful). DEBUG [c9de6557] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [c9de6557] Command: ~/.rvm/bin/rvm current DEBUG [c9de6557] ruby-3.0.0 DEBUG [c9de6557] Finished in 0.470 seconds with exit status 0 (successful). DEBUG [2da64164] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [2da64164] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [2da64164] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [2da64164] Finished in 0.680 seconds with exit status 0 (successful). INFO [ab657237] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [ab657237] Command: /usr/bin/env mkdir -p /tmp INFO [ab657237] Finished in 0.283 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-4d3946075a72698a1bfd.sh 0.0% INFO Uploading /tmp/git-ssh-4d3946075a72698a1bfd.sh 100.0% INFO [9cf17d39] Running /usr/bin/env chmod 700 /tmp/git-ssh-4d3946075a72698a1bfd.sh as deploy@52.74.130.28 DEBUG [9cf17d39] Command: /usr/bin/env chmod 700 /tmp/git-ssh-4d3946075a72698a1bfd.sh INFO [9cf17d39] Finished in 0.289 seconds with exit status 0 (successful). INFO [20f9ff75] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [20f9ff75] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4d3946075a72698a1bfd.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [20f9ff75] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [20f9ff75] Finished in 3.311 seconds with exit status 0 (successful). INFO [44090a43] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [44090a43] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [44090a43] Finished in 0.292 seconds with exit status 0 (successful). INFO [c96e5106] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [c96e5106] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [c96e5106] Finished in 0.286 seconds with exit status 0 (successful). INFO [0ad3e012] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [0ad3e012] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [0ad3e012] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [e795185b] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [e795185b] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [e795185b] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [5cc14be3] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [5cc14be3] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [5cc14be3] Finished in 0.291 seconds with exit status 0 (successful). DEBUG [ba607fc5] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [ba607fc5] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ba607fc5] Finished in 0.296 seconds with exit status 0 (successful). DEBUG [7e55d2c7] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [7e55d2c7] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [7e55d2c7] Finished in 0.288 seconds with exit status 0 (successful). DEBUG [8060d0d9] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [8060d0d9] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [8060d0d9] e975bec6d65d8680ca928054bcdd636124b4836b DEBUG [8060d0d9] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [cc91feff] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [cc91feff] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [cc91feff] Finished in 0.286 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [3de6cf73] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [3de6cf73] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [3de6cf73] Finished in 0.295 seconds with exit status 0 (successful). INFO [e3e81346] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [e3e81346] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4d3946075a72698a1bfd.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [e3e81346] Finished in 0.288 seconds with exit status 0 (successful). INFO [8f9fc800] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [8f9fc800] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4d3946075a72698a1bfd.sh" ; /usr/bin/env git remote update --prune ) DEBUG [8f9fc800] Fetching origin DEBUG [8f9fc800] From github.com:huythanh176/aoumi_server + e975bec...e3bd279 develop -> develop (forced update) INFO [8f9fc800] Finished in 3.541 seconds with exit status 0 (successful). DEBUG [50b392cf] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [50b392cf] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [50b392cf] Finished in 0.331 seconds with exit status 0 (successful). INFO [2adfb66e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103145010 as deploy@52.74.130.28 DEBUG [2adfb66e] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4d3946075a72698a1bfd.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103145010 ) INFO [2adfb66e] Finished in 0.292 seconds with exit status 0 (successful). INFO [9bb59800] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230103145010 as deploy@52.74.130.28 DEBUG [9bb59800] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4d3946075a72698a1bfd.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230103145010 ) INFO [9bb59800] Finished in 0.314 seconds with exit status 0 (successful). DEBUG [11fc639a] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [11fc639a] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [11fc639a] Finished in 0.291 seconds with exit status 0 (successful). DEBUG [1aebc6b5] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [1aebc6b5] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-4d3946075a72698a1bfd.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [1aebc6b5] e3bd279a66275c71b865141f9cd7e4b99ce98b13 DEBUG [1aebc6b5] Finished in 0.292 seconds with exit status 0 (successful). DEBUG [fcb0ec92] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [fcb0ec92] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi DEBUG [fcb0ec92] Finished in 0.293 seconds with exit status 0 (successful). INFO [5d3d4c6f] Running /usr/bin/env echo "e3bd279a66275c71b865141f9cd7e4b99ce98b13" > REVISION as deploy@52.74.130.28 DEBUG [5d3d4c6f] Command: cd /home/deploy/apps/aoumi_server/releases/20230103145010 && /usr/bin/env echo "e3bd279a66275c71b865141f9cd7e4b99ce98b13" > REVISION INFO [5d3d4c6f] Finished in 0.295 seconds with exit status 0 (successful). INFO [2dd54e3b] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103145010 /home/deploy/apps/aoumi_server/releases/20230103145010/config as deploy@52.74.130.28 DEBUG [2dd54e3b] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103145010 /home/deploy/apps/aoumi_server/releases/20230103145010/config INFO [2dd54e3b] Finished in 0.284 seconds with exit status 0 (successful). DEBUG [80f8e84d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/.env ] as deploy@52.74.130.28 DEBUG [80f8e84d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/.env ] DEBUG [80f8e84d] Finished in 0.290 seconds with exit status 1 (failed). DEBUG [62949d18] Running [ -f /home/deploy/apps/aoumi_server/releases/20230103145010/.env ] as deploy@52.74.130.28 DEBUG [62949d18] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230103145010/.env ] DEBUG [62949d18] Finished in 0.287 seconds with exit status 0 (successful). INFO [360274af] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103145010/.env as deploy@52.74.130.28 DEBUG [360274af] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103145010/.env INFO [360274af] Finished in 0.291 seconds with exit status 0 (successful). INFO [d8bd7501] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230103145010/.env as deploy@52.74.130.28 DEBUG [d8bd7501] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230103145010/.env INFO [d8bd7501] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [7b5cbcaf] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml ] as deploy@52.74.130.28 DEBUG [7b5cbcaf] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml ] DEBUG [7b5cbcaf] Finished in 0.288 seconds with exit status 1 (failed). DEBUG [2a0dd53a] Running [ -f /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml ] as deploy@52.74.130.28 DEBUG [2a0dd53a] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml ] DEBUG [2a0dd53a] Finished in 0.286 seconds with exit status 0 (successful). INFO [cca2a491] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml as deploy@52.74.130.28 DEBUG [cca2a491] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml INFO [cca2a491] Finished in 0.289 seconds with exit status 0 (successful). INFO [add8cf2c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml as deploy@52.74.130.28 DEBUG [add8cf2c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230103145010/config/database.yml INFO [add8cf2c] Finished in 0.291 seconds with exit status 0 (successful). INFO [58b88208] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103145010 /home/deploy/apps/aoumi_server/releases/20230103145010/tmp /home/deploy/apps/aoumi_server/releases/20230103145010/vendor /home/deploy/apps/aoumi_server/releases/20230103145010/public as deploy@52.74.130.28 DEBUG [58b88208] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230103145010 /home/deploy/apps/aoumi_server/releases/20230103145010/tmp /home/deploy/apps/aoumi_server/releases/20230103145010/vendor /home/deploy/apps/aoumi_server/releases/20230103145010/public INFO [58b88208] Finished in 0.286 seconds with exit status 0 (successful). DEBUG [cfd0b437] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/log ] as deploy@52.74.130.28 DEBUG [cfd0b437] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/log ] DEBUG [cfd0b437] Finished in 0.295 seconds with exit status 1 (failed). DEBUG [98a13cf9] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/log ] as deploy@52.74.130.28 DEBUG [98a13cf9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/log ] DEBUG [98a13cf9] Finished in 0.288 seconds with exit status 0 (successful). INFO [a45978f8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103145010/log as deploy@52.74.130.28 DEBUG [a45978f8] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103145010/log INFO [a45978f8] Finished in 0.291 seconds with exit status 0 (successful). INFO [b2d3099a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230103145010/log as deploy@52.74.130.28 DEBUG [b2d3099a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230103145010/log INFO [b2d3099a] Finished in 0.287 seconds with exit status 0 (successful). DEBUG [fd198e61] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids ] as deploy@52.74.130.28 DEBUG [fd198e61] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids ] DEBUG [fd198e61] Finished in 0.286 seconds with exit status 1 (failed). DEBUG [e67aa2a1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids ] as deploy@52.74.130.28 DEBUG [e67aa2a1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids ] DEBUG [e67aa2a1] Finished in 0.290 seconds with exit status 0 (successful). INFO [da948f27] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids as deploy@52.74.130.28 DEBUG [da948f27] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids INFO [da948f27] Finished in 0.292 seconds with exit status 0 (successful). INFO [9208f4fe] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids as deploy@52.74.130.28 DEBUG [9208f4fe] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/pids INFO [9208f4fe] Finished in 0.291 seconds with exit status 0 (successful). DEBUG [adb408e4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/cache ] as deploy@52.74.130.28 DEBUG [adb408e4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/cache ] DEBUG [adb408e4] Finished in 0.290 seconds with exit status 1 (failed). DEBUG [de2a397a] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/cache ] as deploy@52.74.130.28 DEBUG [de2a397a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/cache ] DEBUG [de2a397a] Finished in 0.293 seconds with exit status 1 (failed). INFO [82b7ea59] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/cache as deploy@52.74.130.28 DEBUG [82b7ea59] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/cache INFO [82b7ea59] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [3b0d9a84] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/sockets ] as deploy@52.74.130.28 DEBUG [3b0d9a84] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/sockets ] DEBUG [3b0d9a84] Finished in 0.288 seconds with exit status 1 (failed). DEBUG [ae615bd6] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/sockets ] as deploy@52.74.130.28 DEBUG [ae615bd6] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/sockets ] DEBUG [ae615bd6] Finished in 0.290 seconds with exit status 1 (failed). INFO [5a448921] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/sockets as deploy@52.74.130.28 DEBUG [5a448921] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230103145010/tmp/sockets INFO [5a448921] Finished in 0.297 seconds with exit status 0 (successful). DEBUG [80386d77] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/vendor/bundle ] as deploy@52.74.130.28 DEBUG [80386d77] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/vendor/bundle ] DEBUG [80386d77] Finished in 0.293 seconds with exit status 1 (failed). DEBUG [93934b58] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/vendor/bundle ] as deploy@52.74.130.28 DEBUG [93934b58] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/vendor/bundle ] DEBUG [93934b58] Finished in 0.289 seconds with exit status 1 (failed). INFO [230414dd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230103145010/vendor/bundle as deploy@52.74.130.28 DEBUG [230414dd] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230103145010/vendor/bundle INFO [230414dd] Finished in 0.291 seconds with exit status 0 (successful). DEBUG [a272685e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/public/system ] as deploy@52.74.130.28 DEBUG [a272685e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/public/system ] DEBUG [a272685e] Finished in 0.289 seconds with exit status 1 (failed). DEBUG [8c3d6677] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/public/system ] as deploy@52.74.130.28 DEBUG [8c3d6677] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/public/system ] DEBUG [8c3d6677] Finished in 0.289 seconds with exit status 1 (failed). INFO [ccf30c51] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230103145010/public/system as deploy@52.74.130.28 DEBUG [ccf30c51] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230103145010/public/system INFO [ccf30c51] Finished in 0.290 seconds with exit status 0 (successful). DEBUG [7fb7ca23] Running [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/public/uploads ] as deploy@52.74.130.28 DEBUG [7fb7ca23] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230103145010/public/uploads ] DEBUG [7fb7ca23] Finished in 0.290 seconds with exit status 1 (failed). DEBUG [d388673f] Running [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/public/uploads ] as deploy@52.74.130.28 DEBUG [d388673f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230103145010/public/uploads ] DEBUG [d388673f] Finished in 0.288 seconds with exit status 1 (failed). INFO [7cbc45de] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230103145010/public/uploads as deploy@52.74.130.28 DEBUG [7cbc45de] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230103145010/public/uploads INFO [7cbc45de] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [c4ef7f46] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [c4ef7f46] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi DEBUG [c4ef7f46] Finished in 0.289 seconds with exit status 0 (successful). INFO [31219651] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [31219651] Command: cd /home/deploy/apps/aoumi_server/releases/20230103145010 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [31219651] Finished in 0.874 seconds with exit status 0 (successful). INFO [aa128d56] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [aa128d56] Command: cd /home/deploy/apps/aoumi_server/releases/20230103145010 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [aa128d56] Finished in 0.917 seconds with exit status 0 (successful). INFO [c1a6b405] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [c1a6b405] Command: cd /home/deploy/apps/aoumi_server/releases/20230103145010 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [c1a6b405] Finished in 0.921 seconds with exit status 0 (successful). DEBUG [ba5dc484] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [ba5dc484] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi DEBUG [ba5dc484] Finished in 0.289 seconds with exit status 0 (successful). DEBUG [f355ce57] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [f355ce57] Command: cd /home/deploy/apps/aoumi_server/releases/20230103145010 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [f355ce57] The Gemfile's dependencies are satisfied DEBUG [f355ce57] Finished in 0.936 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [222c1418] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [222c1418] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230103145010; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230103145010'" 1>&2; false; fi DEBUG [222c1418] Finished in 0.287 seconds with exit status 0 (successful). INFO [8d8157b1] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [8d8157b1] Command: cd /home/deploy/apps/aoumi_server/releases/20230103145010 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [8d8157b1] Finished in 1.813 seconds with exit status 0 (successful). INFO [127436bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230103145010 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [127436bc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230103145010 /home/deploy/apps/aoumi_server/releases/current INFO [127436bc] Finished in 0.288 seconds with exit status 0 (successful). INFO [e3f6e678] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [e3f6e678] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [e3f6e678] Finished in 0.299 seconds with exit status 0 (successful). DEBUG [fe96b971] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [fe96b971] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [fe96b971] 20230101084059 20230101084221 20230101095327 20230101100052 20230103144551 20230103145010 DEBUG [fe96b971] Finished in 0.289 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 52.74.130.28 DEBUG [c791ea83] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [c791ea83] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [c791ea83] Finished in 0.290 seconds with exit status 0 (successful). DEBUG [12d55844] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [12d55844] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [12d55844] /home/deploy/apps/aoumi_server/releases/20230103145010 DEBUG [12d55844] Finished in 0.287 seconds with exit status 0 (successful). INFO [facc9ea8] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084059 as deploy@52.74.130.28 DEBUG [facc9ea8] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084059 INFO [facc9ea8] Finished in 0.342 seconds with exit status 0 (successful). DEBUG [e19d1a4d] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [e19d1a4d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [e19d1a4d] Finished in 0.288 seconds with exit status 0 (successful). INFO [6e263f93] Running /usr/bin/env echo "Branch develop (at e3bd279a66275c71b865141f9cd7e4b99ce98b13) deployed as release 20230103145010 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [6e263f93] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at e3bd279a66275c71b865141f9cd7e4b99ce98b13) deployed as release 20230103145010 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [6e263f93] Finished in 0.294 seconds with exit status 0 (successful). INFO [074fef3c] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [074fef3c] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [074fef3c] Finished in 0.305 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-19 23:44:03 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [cdbad3a1] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [cdbad3a1] Command: ~/.rvm/bin/rvm version DEBUG [cdbad3a1] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [cdbad3a1] Finished in 2.661 seconds with exit status 0 (successful). DEBUG [13ab08ff] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [13ab08ff] Command: ~/.rvm/bin/rvm current DEBUG [13ab08ff] ruby-3.0.0 DEBUG [13ab08ff] Finished in 0.317 seconds with exit status 0 (successful). DEBUG [a5c0830c] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [a5c0830c] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [a5c0830c] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [a5c0830c] Finished in 0.606 seconds with exit status 0 (successful). INFO [c8d0ebd8] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [c8d0ebd8] Command: /usr/bin/env mkdir -p /tmp INFO [c8d0ebd8] Finished in 0.153 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-3ceeb9b2e89b76e178c2.sh 0.0% INFO Uploading /tmp/git-ssh-3ceeb9b2e89b76e178c2.sh 100.0% INFO [026f6e70] Running /usr/bin/env chmod 700 /tmp/git-ssh-3ceeb9b2e89b76e178c2.sh as deploy@52.74.130.28 DEBUG [026f6e70] Command: /usr/bin/env chmod 700 /tmp/git-ssh-3ceeb9b2e89b76e178c2.sh INFO [026f6e70] Finished in 0.132 seconds with exit status 0 (successful). INFO [5c73150b] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [5c73150b] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ceeb9b2e89b76e178c2.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [5c73150b] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [5c73150b] Finished in 3.377 seconds with exit status 0 (successful). INFO [8169f4bd] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [8169f4bd] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [8169f4bd] Finished in 0.130 seconds with exit status 0 (successful). INFO [a9b70cce] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [a9b70cce] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [a9b70cce] Finished in 0.147 seconds with exit status 0 (successful). INFO [625227c4] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [625227c4] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [625227c4] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [a3324bc5] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [a3324bc5] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [a3324bc5] Finished in 0.129 seconds with exit status 0 (successful). DEBUG [67800021] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [67800021] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [67800021] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [7c395058] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [7c395058] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [7c395058] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [1eedcc05] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [1eedcc05] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [1eedcc05] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [2efd5133] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [2efd5133] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [2efd5133] e3bd279a66275c71b865141f9cd7e4b99ce98b13 DEBUG [2efd5133] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [1cd9b205] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [1cd9b205] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [1cd9b205] Finished in 0.129 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [b5820112] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [b5820112] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [b5820112] Finished in 0.130 seconds with exit status 0 (successful). INFO [1ffd82f2] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [1ffd82f2] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ceeb9b2e89b76e178c2.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [1ffd82f2] Finished in 0.142 seconds with exit status 0 (successful). INFO [69ce3703] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [69ce3703] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ceeb9b2e89b76e178c2.sh" ; /usr/bin/env git remote update --prune ) DEBUG [69ce3703] Fetching origin DEBUG [69ce3703] From github.com:huythanh176/aoumi_server + e3bd279...efc8fb7 develop -> develop (forced update) INFO [69ce3703] Finished in 3.721 seconds with exit status 0 (successful). DEBUG [6d6ec569] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [6d6ec569] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6d6ec569] Finished in 0.133 seconds with exit status 0 (successful). INFO [1db365f6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230119164411 as deploy@52.74.130.28 DEBUG [1db365f6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ceeb9b2e89b76e178c2.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230119164411 ) INFO [1db365f6] Finished in 0.140 seconds with exit status 0 (successful). INFO [ff5887d6] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230119164411 as deploy@52.74.130.28 DEBUG [ff5887d6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ceeb9b2e89b76e178c2.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230119164411 ) INFO [ff5887d6] Finished in 0.208 seconds with exit status 0 (successful). DEBUG [9edfdbab] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [9edfdbab] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9edfdbab] Finished in 0.127 seconds with exit status 0 (successful). DEBUG [2c8d83d1] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [2c8d83d1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-3ceeb9b2e89b76e178c2.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [2c8d83d1] efc8fb779b1096aa6315d47d7321625962f733eb DEBUG [2c8d83d1] Finished in 0.136 seconds with exit status 0 (successful). DEBUG [e4ca09aa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [e4ca09aa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi DEBUG [e4ca09aa] Finished in 0.132 seconds with exit status 0 (successful). INFO [4847beca] Running /usr/bin/env echo "efc8fb779b1096aa6315d47d7321625962f733eb" > REVISION as deploy@52.74.130.28 DEBUG [4847beca] Command: cd /home/deploy/apps/aoumi_server/releases/20230119164411 && /usr/bin/env echo "efc8fb779b1096aa6315d47d7321625962f733eb" > REVISION INFO [4847beca] Finished in 0.132 seconds with exit status 0 (successful). INFO [112258f1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230119164411 /home/deploy/apps/aoumi_server/releases/20230119164411/config as deploy@52.74.130.28 DEBUG [112258f1] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230119164411 /home/deploy/apps/aoumi_server/releases/20230119164411/config INFO [112258f1] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [89561bf4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/.env ] as deploy@52.74.130.28 DEBUG [89561bf4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/.env ] DEBUG [89561bf4] Finished in 0.136 seconds with exit status 1 (failed). DEBUG [8910c67b] Running [ -f /home/deploy/apps/aoumi_server/releases/20230119164411/.env ] as deploy@52.74.130.28 DEBUG [8910c67b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230119164411/.env ] DEBUG [8910c67b] Finished in 0.132 seconds with exit status 0 (successful). INFO [3295ef36] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230119164411/.env as deploy@52.74.130.28 DEBUG [3295ef36] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230119164411/.env INFO [3295ef36] Finished in 0.132 seconds with exit status 0 (successful). INFO [69c07d72] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230119164411/.env as deploy@52.74.130.28 DEBUG [69c07d72] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230119164411/.env INFO [69c07d72] Finished in 0.135 seconds with exit status 0 (successful). DEBUG [e2488d08] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml ] as deploy@52.74.130.28 DEBUG [e2488d08] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml ] DEBUG [e2488d08] Finished in 0.130 seconds with exit status 1 (failed). DEBUG [f3d92159] Running [ -f /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml ] as deploy@52.74.130.28 DEBUG [f3d92159] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml ] DEBUG [f3d92159] Finished in 0.136 seconds with exit status 0 (successful). INFO [51a806ab] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml as deploy@52.74.130.28 DEBUG [51a806ab] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml INFO [51a806ab] Finished in 0.132 seconds with exit status 0 (successful). INFO [cec51ee5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml as deploy@52.74.130.28 DEBUG [cec51ee5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230119164411/config/database.yml INFO [cec51ee5] Finished in 0.135 seconds with exit status 0 (successful). INFO [0b0d4297] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230119164411 /home/deploy/apps/aoumi_server/releases/20230119164411/tmp /home/deploy/apps/aoumi_server/releases/20230119164411/vendor /home/deploy/apps/aoumi_server/releases/20230119164411/public as deploy@52.74.130.28 DEBUG [0b0d4297] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230119164411 /home/deploy/apps/aoumi_server/releases/20230119164411/tmp /home/deploy/apps/aoumi_server/releases/20230119164411/vendor /home/deploy/apps/aoumi_server/releases/20230119164411/public INFO [0b0d4297] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [4240fc22] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/log ] as deploy@52.74.130.28 DEBUG [4240fc22] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/log ] DEBUG [4240fc22] Finished in 0.129 seconds with exit status 1 (failed). DEBUG [d53d082c] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/log ] as deploy@52.74.130.28 DEBUG [d53d082c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/log ] DEBUG [d53d082c] Finished in 0.135 seconds with exit status 0 (successful). INFO [baa7618b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230119164411/log as deploy@52.74.130.28 DEBUG [baa7618b] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230119164411/log INFO [baa7618b] Finished in 0.130 seconds with exit status 0 (successful). INFO [2f74a8dc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230119164411/log as deploy@52.74.130.28 DEBUG [2f74a8dc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230119164411/log INFO [2f74a8dc] Finished in 0.137 seconds with exit status 0 (successful). DEBUG [ce970133] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids ] as deploy@52.74.130.28 DEBUG [ce970133] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids ] DEBUG [ce970133] Finished in 0.129 seconds with exit status 1 (failed). DEBUG [1455c38e] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids ] as deploy@52.74.130.28 DEBUG [1455c38e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids ] DEBUG [1455c38e] Finished in 0.130 seconds with exit status 0 (successful). INFO [62a75d8a] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids as deploy@52.74.130.28 DEBUG [62a75d8a] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids INFO [62a75d8a] Finished in 0.134 seconds with exit status 0 (successful). INFO [e8648b95] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids as deploy@52.74.130.28 DEBUG [e8648b95] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/pids INFO [e8648b95] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [f4cb4c66] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/cache ] as deploy@52.74.130.28 DEBUG [f4cb4c66] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/cache ] DEBUG [f4cb4c66] Finished in 0.135 seconds with exit status 1 (failed). DEBUG [e585e297] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/cache ] as deploy@52.74.130.28 DEBUG [e585e297] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/cache ] DEBUG [e585e297] Finished in 0.134 seconds with exit status 1 (failed). INFO [2f04aab7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/cache as deploy@52.74.130.28 DEBUG [2f04aab7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/cache INFO [2f04aab7] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [091d85c4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/sockets ] as deploy@52.74.130.28 DEBUG [091d85c4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/sockets ] DEBUG [091d85c4] Finished in 0.129 seconds with exit status 1 (failed). DEBUG [c41255f4] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/sockets ] as deploy@52.74.130.28 DEBUG [c41255f4] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/sockets ] DEBUG [c41255f4] Finished in 0.132 seconds with exit status 1 (failed). INFO [cae67ca8] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/sockets as deploy@52.74.130.28 DEBUG [cae67ca8] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230119164411/tmp/sockets INFO [cae67ca8] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [e5b2f2e0] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/vendor/bundle ] as deploy@52.74.130.28 DEBUG [e5b2f2e0] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/vendor/bundle ] DEBUG [e5b2f2e0] Finished in 0.142 seconds with exit status 1 (failed). DEBUG [85294b8b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/vendor/bundle ] as deploy@52.74.130.28 DEBUG [85294b8b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/vendor/bundle ] DEBUG [85294b8b] Finished in 0.135 seconds with exit status 1 (failed). INFO [6f5b9866] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230119164411/vendor/bundle as deploy@52.74.130.28 DEBUG [6f5b9866] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230119164411/vendor/bundle INFO [6f5b9866] Finished in 0.132 seconds with exit status 0 (successful). DEBUG [6c4fdd8b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/public/system ] as deploy@52.74.130.28 DEBUG [6c4fdd8b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/public/system ] DEBUG [6c4fdd8b] Finished in 0.128 seconds with exit status 1 (failed). DEBUG [9c8108d3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/public/system ] as deploy@52.74.130.28 DEBUG [9c8108d3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/public/system ] DEBUG [9c8108d3] Finished in 0.130 seconds with exit status 1 (failed). INFO [6314a41a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230119164411/public/system as deploy@52.74.130.28 DEBUG [6314a41a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230119164411/public/system INFO [6314a41a] Finished in 0.133 seconds with exit status 0 (successful). DEBUG [3ac0122f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/public/uploads ] as deploy@52.74.130.28 DEBUG [3ac0122f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230119164411/public/uploads ] DEBUG [3ac0122f] Finished in 0.134 seconds with exit status 1 (failed). DEBUG [e820268b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/public/uploads ] as deploy@52.74.130.28 DEBUG [e820268b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230119164411/public/uploads ] DEBUG [e820268b] Finished in 0.129 seconds with exit status 1 (failed). INFO [c96ee7b6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230119164411/public/uploads as deploy@52.74.130.28 DEBUG [c96ee7b6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230119164411/public/uploads INFO [c96ee7b6] Finished in 0.134 seconds with exit status 0 (successful). DEBUG [969b123b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [969b123b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi DEBUG [969b123b] Finished in 0.130 seconds with exit status 0 (successful). INFO [fa9f2334] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [fa9f2334] Command: cd /home/deploy/apps/aoumi_server/releases/20230119164411 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [fa9f2334] Finished in 0.974 seconds with exit status 0 (successful). INFO [39fdd01d] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [39fdd01d] Command: cd /home/deploy/apps/aoumi_server/releases/20230119164411 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [39fdd01d] Finished in 0.714 seconds with exit status 0 (successful). INFO [e9148360] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [e9148360] Command: cd /home/deploy/apps/aoumi_server/releases/20230119164411 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [e9148360] Finished in 0.715 seconds with exit status 0 (successful). DEBUG [7a16b19e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [7a16b19e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi DEBUG [7a16b19e] Finished in 0.140 seconds with exit status 0 (successful). DEBUG [d5fd38ff] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [d5fd38ff] Command: cd /home/deploy/apps/aoumi_server/releases/20230119164411 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [d5fd38ff] The Gemfile's dependencies are satisfied DEBUG [d5fd38ff] Finished in 0.881 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [d84fb5ec] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [d84fb5ec] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230119164411; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230119164411'" 1>&2; false; fi DEBUG [d84fb5ec] Finished in 0.133 seconds with exit status 0 (successful). INFO [b62d7f90] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [b62d7f90] Command: cd /home/deploy/apps/aoumi_server/releases/20230119164411 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) DEBUG [b62d7f90] == 20230113072522 CreateDevices: migrating ==================================== -- create_table(:devices) -> 0.1913s -- add_index(:devices, :refresh_token, {:unique=>true}) -> 0.0867s == 20230113072522 CreateDevices: migrated (0.2781s) =========================== INFO [b62d7f90] Finished in 4.166 seconds with exit status 0 (successful). INFO [a56deccb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230119164411 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [a56deccb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230119164411 /home/deploy/apps/aoumi_server/releases/current INFO [a56deccb] Finished in 0.139 seconds with exit status 0 (successful). INFO [020a4f16] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [020a4f16] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [020a4f16] Finished in 0.138 seconds with exit status 0 (successful). DEBUG [c1da5d44] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [c1da5d44] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [c1da5d44] 20230101084221 20230101095327 20230101100052 20230103144551 20230103145010 20230119164411 DEBUG [c1da5d44] Finished in 0.132 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 52.74.130.28 DEBUG [f06d1912] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [f06d1912] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [f06d1912] Finished in 0.130 seconds with exit status 0 (successful). DEBUG [cfc00e1a] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [cfc00e1a] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [cfc00e1a] /home/deploy/apps/aoumi_server/releases/20230119164411 DEBUG [cfc00e1a] Finished in 0.132 seconds with exit status 0 (successful). INFO [d348123b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084221 as deploy@52.74.130.28 DEBUG [d348123b] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101084221 INFO [d348123b] Finished in 0.167 seconds with exit status 0 (successful). DEBUG [cf40d562] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [cf40d562] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [cf40d562] Finished in 0.133 seconds with exit status 0 (successful). INFO [83e3008e] Running /usr/bin/env echo "Branch develop (at efc8fb779b1096aa6315d47d7321625962f733eb) deployed as release 20230119164411 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [83e3008e] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at efc8fb779b1096aa6315d47d7321625962f733eb) deployed as release 20230119164411 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [83e3008e] Finished in 0.137 seconds with exit status 0 (successful). INFO [5b3d11cf] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [5b3d11cf] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [5b3d11cf] Finished in 0.203 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-29 19:26:31 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [40fa7d4f] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [40fa7d4f] Command: ~/.rvm/bin/rvm version DEBUG [40fa7d4f] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [40fa7d4f] Finished in 2.204 seconds with exit status 0 (successful). DEBUG [d925bcdb] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [d925bcdb] Command: ~/.rvm/bin/rvm current DEBUG [d925bcdb] ruby-3.0.0 DEBUG [d925bcdb] Finished in 0.356 seconds with exit status 0 (successful). DEBUG [d160ed50] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [d160ed50] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [d160ed50] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [d160ed50] Finished in 0.779 seconds with exit status 0 (successful). INFO [c0f5321d] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [c0f5321d] Command: /usr/bin/env mkdir -p /tmp INFO [c0f5321d] Finished in 0.181 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-68572d3e646e0a1349b7.sh 0.0% INFO Uploading /tmp/git-ssh-68572d3e646e0a1349b7.sh 100.0% INFO [0ad3a525] Running /usr/bin/env chmod 700 /tmp/git-ssh-68572d3e646e0a1349b7.sh as deploy@52.74.130.28 DEBUG [0ad3a525] Command: /usr/bin/env chmod 700 /tmp/git-ssh-68572d3e646e0a1349b7.sh INFO [0ad3a525] Finished in 0.174 seconds with exit status 0 (successful). INFO [fef926c9] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [fef926c9] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-68572d3e646e0a1349b7.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) INFO --------------------------------------------------------------------------- INFO START 2023-01-29 19:28:27 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [b1280ff8] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [b1280ff8] Command: ~/.rvm/bin/rvm version DEBUG [b1280ff8] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [b1280ff8] Finished in 1.544 seconds with exit status 0 (successful). DEBUG [5ceaac02] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [5ceaac02] Command: ~/.rvm/bin/rvm current DEBUG [5ceaac02] ruby-3.0.0 DEBUG [5ceaac02] Finished in 0.353 seconds with exit status 0 (successful). DEBUG [0e7d78da] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [0e7d78da] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [0e7d78da] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [0e7d78da] Finished in 0.592 seconds with exit status 0 (successful). INFO [d754beba] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [d754beba] Command: /usr/bin/env mkdir -p /tmp INFO [d754beba] Finished in 0.090 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-edeb7d87a3c26ac3d768.sh 0.0% INFO Uploading /tmp/git-ssh-edeb7d87a3c26ac3d768.sh 100.0% INFO [32be08b3] Running /usr/bin/env chmod 700 /tmp/git-ssh-edeb7d87a3c26ac3d768.sh as deploy@52.74.130.28 DEBUG [32be08b3] Command: /usr/bin/env chmod 700 /tmp/git-ssh-edeb7d87a3c26ac3d768.sh INFO [32be08b3] Finished in 0.176 seconds with exit status 0 (successful). INFO [a1ab372b] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [a1ab372b] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-edeb7d87a3c26ac3d768.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a1ab372b] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [a1ab372b] Finished in 3.229 seconds with exit status 0 (successful). INFO [0bfa2b1e] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [0bfa2b1e] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [0bfa2b1e] Finished in 0.172 seconds with exit status 0 (successful). INFO [6c29caf2] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [6c29caf2] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [6c29caf2] Finished in 0.167 seconds with exit status 0 (successful). INFO [cd79d6e1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [cd79d6e1] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [cd79d6e1] Finished in 0.171 seconds with exit status 0 (successful). DEBUG [f9d573eb] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [f9d573eb] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [f9d573eb] Finished in 0.181 seconds with exit status 0 (successful). DEBUG [59c346f7] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [59c346f7] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [59c346f7] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [6bdffe20] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [6bdffe20] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [6bdffe20] Finished in 0.183 seconds with exit status 0 (successful). DEBUG [2e0cb9d7] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [2e0cb9d7] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [2e0cb9d7] Finished in 0.176 seconds with exit status 0 (successful). DEBUG [21f10fd3] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [21f10fd3] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [21f10fd3] efc8fb779b1096aa6315d47d7321625962f733eb DEBUG [21f10fd3] Finished in 0.177 seconds with exit status 0 (successful). DEBUG [61aa3615] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [61aa3615] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [61aa3615] Finished in 0.174 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [856d6d62] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [856d6d62] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [856d6d62] Finished in 0.171 seconds with exit status 0 (successful). INFO [5bfda84d] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [5bfda84d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-edeb7d87a3c26ac3d768.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [5bfda84d] Finished in 0.179 seconds with exit status 0 (successful). INFO [2b2b08bb] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [2b2b08bb] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-edeb7d87a3c26ac3d768.sh" ; /usr/bin/env git remote update --prune ) DEBUG [2b2b08bb] Fetching origin DEBUG [2b2b08bb] From github.com:huythanh176/aoumi_server DEBUG [2b2b08bb] - [deleted] (none) -> task/aum-1_sign_up DEBUG [2b2b08bb] - [deleted] (none) -> task/aum-2_sign_in DEBUG [2b2b08bb] + efc8fb7...a7472e1 develop -> develop (forced update) INFO [2b2b08bb] Finished in 3.402 seconds with exit status 0 (successful). DEBUG [8b31ea5d] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [8b31ea5d] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [8b31ea5d] Finished in 0.166 seconds with exit status 0 (successful). INFO [be28b77f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129122835 as deploy@52.74.130.28 DEBUG [be28b77f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-edeb7d87a3c26ac3d768.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129122835 ) INFO [be28b77f] Finished in 0.176 seconds with exit status 0 (successful). INFO [c217bd21] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230129122835 as deploy@52.74.130.28 DEBUG [c217bd21] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-edeb7d87a3c26ac3d768.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230129122835 ) INFO [c217bd21] Finished in 0.245 seconds with exit status 0 (successful). DEBUG [61e316ad] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [61e316ad] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [61e316ad] Finished in 0.167 seconds with exit status 0 (successful). DEBUG [e6950810] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [e6950810] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-edeb7d87a3c26ac3d768.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [e6950810] a7472e12a254c4a6c3e0338a3a110e9d2016eaca DEBUG [e6950810] Finished in 0.189 seconds with exit status 0 (successful). DEBUG [374ad472] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [374ad472] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi DEBUG [374ad472] Finished in 0.167 seconds with exit status 0 (successful). INFO [99c5933e] Running /usr/bin/env echo "a7472e12a254c4a6c3e0338a3a110e9d2016eaca" > REVISION as deploy@52.74.130.28 DEBUG [99c5933e] Command: cd /home/deploy/apps/aoumi_server/releases/20230129122835 && /usr/bin/env echo "a7472e12a254c4a6c3e0338a3a110e9d2016eaca" > REVISION INFO [99c5933e] Finished in 0.178 seconds with exit status 0 (successful). INFO [46e0acd8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129122835 /home/deploy/apps/aoumi_server/releases/20230129122835/config as deploy@52.74.130.28 DEBUG [46e0acd8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129122835 /home/deploy/apps/aoumi_server/releases/20230129122835/config INFO [46e0acd8] Finished in 0.169 seconds with exit status 0 (successful). DEBUG [eb867726] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/.env ] as deploy@52.74.130.28 DEBUG [eb867726] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/.env ] DEBUG [eb867726] Finished in 0.169 seconds with exit status 1 (failed). DEBUG [1d053f7b] Running [ -f /home/deploy/apps/aoumi_server/releases/20230129122835/.env ] as deploy@52.74.130.28 DEBUG [1d053f7b] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230129122835/.env ] DEBUG [1d053f7b] Finished in 0.173 seconds with exit status 0 (successful). INFO [e6bc3e79] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129122835/.env as deploy@52.74.130.28 DEBUG [e6bc3e79] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129122835/.env INFO [e6bc3e79] Finished in 0.180 seconds with exit status 0 (successful). INFO [01072b40] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230129122835/.env as deploy@52.74.130.28 DEBUG [01072b40] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230129122835/.env INFO [01072b40] Finished in 0.174 seconds with exit status 0 (successful). DEBUG [d5b1108f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml ] as deploy@52.74.130.28 DEBUG [d5b1108f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml ] DEBUG [d5b1108f] Finished in 0.176 seconds with exit status 1 (failed). DEBUG [f4b0a595] Running [ -f /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml ] as deploy@52.74.130.28 DEBUG [f4b0a595] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml ] DEBUG [f4b0a595] Finished in 0.170 seconds with exit status 0 (successful). INFO [32b4513d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml as deploy@52.74.130.28 DEBUG [32b4513d] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml INFO [32b4513d] Finished in 0.178 seconds with exit status 0 (successful). INFO [0115e626] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml as deploy@52.74.130.28 DEBUG [0115e626] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230129122835/config/database.yml INFO [0115e626] Finished in 0.171 seconds with exit status 0 (successful). INFO [066110ce] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129122835 /home/deploy/apps/aoumi_server/releases/20230129122835/tmp /home/deploy/apps/aoumi_server/releases/20230129122835/vendor /home/deploy/apps/aoumi_server/releases/20230129122835/public as deploy@52.74.130.28 DEBUG [066110ce] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129122835 /home/deploy/apps/aoumi_server/releases/20230129122835/tmp /home/deploy/apps/aoumi_server/releases/20230129122835/vendor /home/deploy/apps/aoumi_server/releases/20230129122835/public INFO [066110ce] Finished in 0.165 seconds with exit status 0 (successful). DEBUG [0e455d2f] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/log ] as deploy@52.74.130.28 DEBUG [0e455d2f] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/log ] DEBUG [0e455d2f] Finished in 0.173 seconds with exit status 1 (failed). DEBUG [dc5bc875] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/log ] as deploy@52.74.130.28 DEBUG [dc5bc875] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/log ] DEBUG [dc5bc875] Finished in 0.171 seconds with exit status 0 (successful). INFO [a2fb1d41] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129122835/log as deploy@52.74.130.28 DEBUG [a2fb1d41] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129122835/log INFO [a2fb1d41] Finished in 0.167 seconds with exit status 0 (successful). INFO [f0b40c06] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230129122835/log as deploy@52.74.130.28 DEBUG [f0b40c06] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230129122835/log INFO [f0b40c06] Finished in 0.177 seconds with exit status 0 (successful). DEBUG [f905d631] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids ] as deploy@52.74.130.28 DEBUG [f905d631] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids ] DEBUG [f905d631] Finished in 0.170 seconds with exit status 1 (failed). DEBUG [346b85f5] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids ] as deploy@52.74.130.28 DEBUG [346b85f5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids ] DEBUG [346b85f5] Finished in 0.168 seconds with exit status 0 (successful). INFO [d6639011] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids as deploy@52.74.130.28 DEBUG [d6639011] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids INFO [d6639011] Finished in 0.175 seconds with exit status 0 (successful). INFO [67ca7327] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids as deploy@52.74.130.28 DEBUG [67ca7327] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/pids INFO [67ca7327] Finished in 0.170 seconds with exit status 0 (successful). DEBUG [abe9cc8c] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/cache ] as deploy@52.74.130.28 DEBUG [abe9cc8c] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/cache ] DEBUG [abe9cc8c] Finished in 0.174 seconds with exit status 1 (failed). DEBUG [91104e89] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/cache ] as deploy@52.74.130.28 DEBUG [91104e89] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/cache ] DEBUG [91104e89] Finished in 0.171 seconds with exit status 1 (failed). INFO [51afa217] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/cache as deploy@52.74.130.28 DEBUG [51afa217] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/cache INFO [51afa217] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [b94e3d42] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/sockets ] as deploy@52.74.130.28 DEBUG [b94e3d42] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/sockets ] DEBUG [b94e3d42] Finished in 0.174 seconds with exit status 1 (failed). DEBUG [eb5692cd] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/sockets ] as deploy@52.74.130.28 DEBUG [eb5692cd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/sockets ] DEBUG [eb5692cd] Finished in 0.168 seconds with exit status 1 (failed). INFO [bd5b4db7] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/sockets as deploy@52.74.130.28 DEBUG [bd5b4db7] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230129122835/tmp/sockets INFO [bd5b4db7] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [219e8bab] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/vendor/bundle ] as deploy@52.74.130.28 DEBUG [219e8bab] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/vendor/bundle ] DEBUG [219e8bab] Finished in 0.175 seconds with exit status 1 (failed). DEBUG [47a8f7a1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/vendor/bundle ] as deploy@52.74.130.28 DEBUG [47a8f7a1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/vendor/bundle ] DEBUG [47a8f7a1] Finished in 0.174 seconds with exit status 1 (failed). INFO [1b9ed97b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230129122835/vendor/bundle as deploy@52.74.130.28 DEBUG [1b9ed97b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230129122835/vendor/bundle INFO [1b9ed97b] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [bf6b3258] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/public/system ] as deploy@52.74.130.28 DEBUG [bf6b3258] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/public/system ] DEBUG [bf6b3258] Finished in 0.168 seconds with exit status 1 (failed). DEBUG [b79807f1] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/public/system ] as deploy@52.74.130.28 DEBUG [b79807f1] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/public/system ] DEBUG [b79807f1] Finished in 0.183 seconds with exit status 1 (failed). INFO [c0a9c089] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230129122835/public/system as deploy@52.74.130.28 DEBUG [c0a9c089] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230129122835/public/system INFO [c0a9c089] Finished in 0.176 seconds with exit status 0 (successful). DEBUG [09926773] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/public/uploads ] as deploy@52.74.130.28 DEBUG [09926773] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129122835/public/uploads ] DEBUG [09926773] Finished in 0.171 seconds with exit status 1 (failed). DEBUG [b78499ef] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/public/uploads ] as deploy@52.74.130.28 DEBUG [b78499ef] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129122835/public/uploads ] DEBUG [b78499ef] Finished in 0.157 seconds with exit status 1 (failed). INFO [7769f1e9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230129122835/public/uploads as deploy@52.74.130.28 DEBUG [7769f1e9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230129122835/public/uploads INFO [7769f1e9] Finished in 0.170 seconds with exit status 0 (successful). DEBUG [3fe91aa3] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [3fe91aa3] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi DEBUG [3fe91aa3] Finished in 0.179 seconds with exit status 0 (successful). INFO [36af1795] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [36af1795] Command: cd /home/deploy/apps/aoumi_server/releases/20230129122835 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [36af1795] Finished in 0.927 seconds with exit status 0 (successful). INFO [d3230f87] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [d3230f87] Command: cd /home/deploy/apps/aoumi_server/releases/20230129122835 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [d3230f87] Finished in 0.744 seconds with exit status 0 (successful). INFO [12ee92a8] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [12ee92a8] Command: cd /home/deploy/apps/aoumi_server/releases/20230129122835 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [12ee92a8] Finished in 0.708 seconds with exit status 0 (successful). DEBUG [39dd9fe1] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [39dd9fe1] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi DEBUG [39dd9fe1] Finished in 0.173 seconds with exit status 0 (successful). DEBUG [5cbb985a] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [5cbb985a] Command: cd /home/deploy/apps/aoumi_server/releases/20230129122835 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [5cbb985a] The Gemfile's dependencies are satisfied DEBUG [5cbb985a] Finished in 0.863 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [98659bf8] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [98659bf8] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129122835; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129122835'" 1>&2; false; fi DEBUG [98659bf8] Finished in 0.169 seconds with exit status 0 (successful). INFO [e68c155f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [e68c155f] Command: cd /home/deploy/apps/aoumi_server/releases/20230129122835 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [e68c155f] Finished in 3.570 seconds with exit status 0 (successful). INFO [000c4999] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230129122835 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [000c4999] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230129122835 /home/deploy/apps/aoumi_server/releases/current INFO [000c4999] Finished in 0.191 seconds with exit status 0 (successful). INFO [bc742723] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [bc742723] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [bc742723] Finished in 0.178 seconds with exit status 0 (successful). DEBUG [807cf4d4] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [807cf4d4] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [807cf4d4] 20230101095327 20230101100052 20230103144551 20230103145010 20230119164411 20230129122835 DEBUG [807cf4d4] Finished in 0.180 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 52.74.130.28 DEBUG [c47296a6] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [c47296a6] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [c47296a6] Finished in 0.167 seconds with exit status 0 (successful). DEBUG [9176502e] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [9176502e] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [9176502e] /home/deploy/apps/aoumi_server/releases/20230129122835 DEBUG [9176502e] Finished in 0.178 seconds with exit status 0 (successful). INFO [5ef8974b] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101095327 as deploy@52.74.130.28 DEBUG [5ef8974b] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101095327 INFO [5ef8974b] Finished in 0.209 seconds with exit status 0 (successful). DEBUG [a93b6bc9] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [a93b6bc9] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [a93b6bc9] Finished in 0.170 seconds with exit status 0 (successful). INFO [5431aaeb] Running /usr/bin/env echo "Branch develop (at a7472e12a254c4a6c3e0338a3a110e9d2016eaca) deployed as release 20230129122835 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [5431aaeb] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at a7472e12a254c4a6c3e0338a3a110e9d2016eaca) deployed as release 20230129122835 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [5431aaeb] Finished in 0.173 seconds with exit status 0 (successful). INFO [49c69d25] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [49c69d25] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [49c69d25] Finished in 0.243 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-01-29 19:36:52 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [87a56621] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [87a56621] Command: ~/.rvm/bin/rvm version DEBUG [87a56621] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [87a56621] Finished in 2.052 seconds with exit status 0 (successful). DEBUG [1aceaf70] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [1aceaf70] Command: ~/.rvm/bin/rvm current DEBUG [1aceaf70] ruby-3.0.0 DEBUG [1aceaf70] Finished in 0.382 seconds with exit status 0 (successful). DEBUG [fdf8b610] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [fdf8b610] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [fdf8b610] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [fdf8b610] Finished in 0.524 seconds with exit status 0 (successful). INFO [2099dfda] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [2099dfda] Command: /usr/bin/env mkdir -p /tmp INFO [2099dfda] Finished in 0.203 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-46a99bda860c8980fe8e.sh 0.0% INFO Uploading /tmp/git-ssh-46a99bda860c8980fe8e.sh 100.0% INFO [da05de62] Running /usr/bin/env chmod 700 /tmp/git-ssh-46a99bda860c8980fe8e.sh as deploy@52.74.130.28 DEBUG [da05de62] Command: /usr/bin/env chmod 700 /tmp/git-ssh-46a99bda860c8980fe8e.sh INFO [da05de62] Finished in 0.201 seconds with exit status 0 (successful). INFO [f64cd687] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [f64cd687] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-46a99bda860c8980fe8e.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [f64cd687] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [f64cd687] Finished in 3.042 seconds with exit status 0 (successful). INFO [fe86962c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [fe86962c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [fe86962c] Finished in 0.198 seconds with exit status 0 (successful). INFO [78d53ef1] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [78d53ef1] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [78d53ef1] Finished in 0.196 seconds with exit status 0 (successful). INFO [e9a360e8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [e9a360e8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [e9a360e8] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [6d76e1a3] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [6d76e1a3] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [6d76e1a3] Finished in 0.479 seconds with exit status 0 (successful). DEBUG [e8673f80] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [e8673f80] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [e8673f80] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [1ee6b8b8] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [1ee6b8b8] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [1ee6b8b8] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [8206eba1] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [8206eba1] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [8206eba1] Finished in 0.192 seconds with exit status 0 (successful). DEBUG [a431ab6d] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [a431ab6d] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [a431ab6d] a7472e12a254c4a6c3e0338a3a110e9d2016eaca DEBUG [a431ab6d] Finished in 0.200 seconds with exit status 0 (successful). DEBUG [a4e3816f] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [a4e3816f] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [a4e3816f] Finished in 0.193 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [13f08ed7] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [13f08ed7] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [13f08ed7] Finished in 0.198 seconds with exit status 0 (successful). INFO [1e08803b] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [1e08803b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-46a99bda860c8980fe8e.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [1e08803b] Finished in 0.202 seconds with exit status 0 (successful). INFO [54a657cb] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [54a657cb] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-46a99bda860c8980fe8e.sh" ; /usr/bin/env git remote update --prune ) DEBUG [54a657cb] Fetching origin DEBUG [54a657cb] From github.com:huythanh176/aoumi_server + a7472e1...ca01c40 develop -> develop (forced update) INFO [54a657cb] Finished in 3.564 seconds with exit status 0 (successful). DEBUG [f90db4ba] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [f90db4ba] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f90db4ba] Finished in 0.128 seconds with exit status 0 (successful). INFO [61918c4d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129123700 as deploy@52.74.130.28 DEBUG [61918c4d] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-46a99bda860c8980fe8e.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129123700 ) INFO [61918c4d] Finished in 0.203 seconds with exit status 0 (successful). INFO [43b249c1] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230129123700 as deploy@52.74.130.28 DEBUG [43b249c1] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-46a99bda860c8980fe8e.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230129123700 ) INFO [43b249c1] Finished in 0.281 seconds with exit status 0 (successful). DEBUG [6370163f] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [6370163f] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [6370163f] Finished in 0.192 seconds with exit status 0 (successful). DEBUG [1f2a40ed] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [1f2a40ed] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-46a99bda860c8980fe8e.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [1f2a40ed] ca01c40c299e2ef68a1a44b4aee1d3d2044313d8 DEBUG [1f2a40ed] Finished in 0.199 seconds with exit status 0 (successful). DEBUG [803e5ef6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [803e5ef6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi DEBUG [803e5ef6] Finished in 0.194 seconds with exit status 0 (successful). INFO [99c20421] Running /usr/bin/env echo "ca01c40c299e2ef68a1a44b4aee1d3d2044313d8" > REVISION as deploy@52.74.130.28 DEBUG [99c20421] Command: cd /home/deploy/apps/aoumi_server/releases/20230129123700 && /usr/bin/env echo "ca01c40c299e2ef68a1a44b4aee1d3d2044313d8" > REVISION INFO [99c20421] Finished in 0.199 seconds with exit status 0 (successful). INFO [b23ee95c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129123700 /home/deploy/apps/aoumi_server/releases/20230129123700/config as deploy@52.74.130.28 DEBUG [b23ee95c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129123700 /home/deploy/apps/aoumi_server/releases/20230129123700/config INFO [b23ee95c] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [fa5587eb] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/.env ] as deploy@52.74.130.28 DEBUG [fa5587eb] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/.env ] DEBUG [fa5587eb] Finished in 0.194 seconds with exit status 1 (failed). DEBUG [9af91a3e] Running [ -f /home/deploy/apps/aoumi_server/releases/20230129123700/.env ] as deploy@52.74.130.28 DEBUG [9af91a3e] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230129123700/.env ] DEBUG [9af91a3e] Finished in 0.192 seconds with exit status 0 (successful). INFO [aedc828d] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129123700/.env as deploy@52.74.130.28 DEBUG [aedc828d] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129123700/.env INFO [aedc828d] Finished in 0.197 seconds with exit status 0 (successful). INFO [03b39007] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230129123700/.env as deploy@52.74.130.28 DEBUG [03b39007] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230129123700/.env INFO [03b39007] Finished in 0.195 seconds with exit status 0 (successful). DEBUG [5d04af0d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml ] as deploy@52.74.130.28 DEBUG [5d04af0d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml ] DEBUG [5d04af0d] Finished in 0.194 seconds with exit status 1 (failed). DEBUG [145aa899] Running [ -f /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml ] as deploy@52.74.130.28 DEBUG [145aa899] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml ] DEBUG [145aa899] Finished in 0.199 seconds with exit status 0 (successful). INFO [52b75ee3] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml as deploy@52.74.130.28 DEBUG [52b75ee3] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml INFO [52b75ee3] Finished in 0.205 seconds with exit status 0 (successful). INFO [5ab81ebb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml as deploy@52.74.130.28 DEBUG [5ab81ebb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230129123700/config/database.yml INFO [5ab81ebb] Finished in 0.197 seconds with exit status 0 (successful). INFO [6743e276] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129123700 /home/deploy/apps/aoumi_server/releases/20230129123700/tmp /home/deploy/apps/aoumi_server/releases/20230129123700/vendor /home/deploy/apps/aoumi_server/releases/20230129123700/public as deploy@52.74.130.28 DEBUG [6743e276] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230129123700 /home/deploy/apps/aoumi_server/releases/20230129123700/tmp /home/deploy/apps/aoumi_server/releases/20230129123700/vendor /home/deploy/apps/aoumi_server/releases/20230129123700/public INFO [6743e276] Finished in 0.199 seconds with exit status 0 (successful). DEBUG [d20e9a07] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/log ] as deploy@52.74.130.28 DEBUG [d20e9a07] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/log ] DEBUG [d20e9a07] Finished in 0.193 seconds with exit status 1 (failed). DEBUG [f352c96c] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/log ] as deploy@52.74.130.28 DEBUG [f352c96c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/log ] DEBUG [f352c96c] Finished in 0.199 seconds with exit status 0 (successful). INFO [8455c406] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129123700/log as deploy@52.74.130.28 DEBUG [8455c406] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129123700/log INFO [8455c406] Finished in 0.195 seconds with exit status 0 (successful). INFO [fe6e1ebf] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230129123700/log as deploy@52.74.130.28 DEBUG [fe6e1ebf] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230129123700/log INFO [fe6e1ebf] Finished in 0.193 seconds with exit status 0 (successful). DEBUG [66e3b47d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids ] as deploy@52.74.130.28 DEBUG [66e3b47d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids ] DEBUG [66e3b47d] Finished in 0.194 seconds with exit status 1 (failed). DEBUG [73b2a72e] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids ] as deploy@52.74.130.28 DEBUG [73b2a72e] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids ] DEBUG [73b2a72e] Finished in 0.192 seconds with exit status 0 (successful). INFO [5ef162b3] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids as deploy@52.74.130.28 DEBUG [5ef162b3] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids INFO [5ef162b3] Finished in 0.201 seconds with exit status 0 (successful). INFO [7fc693bb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids as deploy@52.74.130.28 DEBUG [7fc693bb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/pids INFO [7fc693bb] Finished in 0.203 seconds with exit status 0 (successful). DEBUG [56753dea] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/cache ] as deploy@52.74.130.28 DEBUG [56753dea] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/cache ] DEBUG [56753dea] Finished in 0.197 seconds with exit status 1 (failed). DEBUG [32430890] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/cache ] as deploy@52.74.130.28 DEBUG [32430890] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/cache ] DEBUG [32430890] Finished in 0.198 seconds with exit status 1 (failed). INFO [a1233b59] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/cache as deploy@52.74.130.28 DEBUG [a1233b59] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/cache INFO [a1233b59] Finished in 0.197 seconds with exit status 0 (successful). DEBUG [34e95575] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/sockets ] as deploy@52.74.130.28 DEBUG [34e95575] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/sockets ] DEBUG [34e95575] Finished in 0.218 seconds with exit status 1 (failed). DEBUG [37689be8] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/sockets ] as deploy@52.74.130.28 DEBUG [37689be8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/sockets ] DEBUG [37689be8] Finished in 0.206 seconds with exit status 1 (failed). INFO [17423cf1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/sockets as deploy@52.74.130.28 DEBUG [17423cf1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230129123700/tmp/sockets INFO [17423cf1] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [cd9501ab] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/vendor/bundle ] as deploy@52.74.130.28 DEBUG [cd9501ab] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/vendor/bundle ] DEBUG [cd9501ab] Finished in 0.197 seconds with exit status 1 (failed). DEBUG [59eefb0a] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/vendor/bundle ] as deploy@52.74.130.28 DEBUG [59eefb0a] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/vendor/bundle ] DEBUG [59eefb0a] Finished in 0.185 seconds with exit status 1 (failed). INFO [626a4017] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230129123700/vendor/bundle as deploy@52.74.130.28 DEBUG [626a4017] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230129123700/vendor/bundle INFO [626a4017] Finished in 0.204 seconds with exit status 0 (successful). DEBUG [e1b9cb21] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/public/system ] as deploy@52.74.130.28 DEBUG [e1b9cb21] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/public/system ] DEBUG [e1b9cb21] Finished in 0.195 seconds with exit status 1 (failed). DEBUG [f23ad7c3] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/public/system ] as deploy@52.74.130.28 DEBUG [f23ad7c3] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/public/system ] DEBUG [f23ad7c3] Finished in 0.198 seconds with exit status 1 (failed). INFO [1c2083b2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230129123700/public/system as deploy@52.74.130.28 DEBUG [1c2083b2] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230129123700/public/system INFO [1c2083b2] Finished in 0.200 seconds with exit status 0 (successful). DEBUG [420434c3] Running [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/public/uploads ] as deploy@52.74.130.28 DEBUG [420434c3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230129123700/public/uploads ] DEBUG [420434c3] Finished in 0.199 seconds with exit status 1 (failed). DEBUG [e77a9367] Running [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/public/uploads ] as deploy@52.74.130.28 DEBUG [e77a9367] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230129123700/public/uploads ] DEBUG [e77a9367] Finished in 0.202 seconds with exit status 1 (failed). INFO [af49d037] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230129123700/public/uploads as deploy@52.74.130.28 DEBUG [af49d037] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230129123700/public/uploads INFO [af49d037] Finished in 0.194 seconds with exit status 0 (successful). DEBUG [3545f720] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [3545f720] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi DEBUG [3545f720] Finished in 0.196 seconds with exit status 0 (successful). INFO [18735629] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [18735629] Command: cd /home/deploy/apps/aoumi_server/releases/20230129123700 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [18735629] Finished in 0.731 seconds with exit status 0 (successful). INFO [f7440d01] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [f7440d01] Command: cd /home/deploy/apps/aoumi_server/releases/20230129123700 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [f7440d01] Finished in 0.738 seconds with exit status 0 (successful). INFO [ba93fd6c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [ba93fd6c] Command: cd /home/deploy/apps/aoumi_server/releases/20230129123700 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [ba93fd6c] Finished in 0.732 seconds with exit status 0 (successful). DEBUG [e38132ce] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [e38132ce] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi DEBUG [e38132ce] Finished in 0.201 seconds with exit status 0 (successful). DEBUG [fabeefd2] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [fabeefd2] Command: cd /home/deploy/apps/aoumi_server/releases/20230129123700 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [fabeefd2] The Gemfile's dependencies are satisfied DEBUG [fabeefd2] Finished in 0.800 seconds with exit status 0 (successful). INFO The Gemfile's dependencies are satisfied, skipping installation INFO [deploy:migrate] Run `rake db:migrate` DEBUG [413167e0] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [413167e0] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230129123700; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230129123700'" 1>&2; false; fi DEBUG [413167e0] Finished in 0.200 seconds with exit status 0 (successful). INFO [8346721d] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [8346721d] Command: cd /home/deploy/apps/aoumi_server/releases/20230129123700 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [8346721d] Finished in 1.729 seconds with exit status 0 (successful). INFO [7e9240d9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230129123700 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [7e9240d9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230129123700 /home/deploy/apps/aoumi_server/releases/current INFO [7e9240d9] Finished in 0.198 seconds with exit status 0 (successful). INFO [d4774255] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [d4774255] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [d4774255] Finished in 0.206 seconds with exit status 0 (successful). DEBUG [d6bc279d] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [d6bc279d] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [d6bc279d] 20230101100052 20230103144551 20230103145010 20230119164411 20230129122835 20230129123700 DEBUG [d6bc279d] Finished in 0.661 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 52.74.130.28 DEBUG [4b6fc31e] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [4b6fc31e] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [4b6fc31e] Finished in 0.196 seconds with exit status 0 (successful). DEBUG [609d98ea] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [609d98ea] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [609d98ea] /home/deploy/apps/aoumi_server/releases/20230129123700 DEBUG [609d98ea] Finished in 0.200 seconds with exit status 0 (successful). INFO [801e2fc4] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101100052 as deploy@52.74.130.28 DEBUG [801e2fc4] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230101100052 INFO [801e2fc4] Finished in 0.240 seconds with exit status 0 (successful). DEBUG [ce7b0907] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [ce7b0907] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [ce7b0907] Finished in 0.198 seconds with exit status 0 (successful). INFO [48ef31bd] Running /usr/bin/env echo "Branch develop (at ca01c40c299e2ef68a1a44b4aee1d3d2044313d8) deployed as release 20230129123700 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [48ef31bd] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at ca01c40c299e2ef68a1a44b4aee1d3d2044313d8) deployed as release 20230129123700 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [48ef31bd] Finished in 0.202 seconds with exit status 0 (successful). INFO [d8778f02] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [d8778f02] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [d8778f02] Finished in 0.239 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-02-26 00:57:53 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [6002dd66] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [6002dd66] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 00:58:55 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [83617bbf] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [83617bbf] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:01:12 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [f9be5937] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [f9be5937] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:01:35 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ddc8ba64] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [ddc8ba64] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:02:47 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [e0dd3abe] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [e0dd3abe] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:05:25 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [b37e1058] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [b37e1058] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:07:45 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [5751f422] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [5751f422] Command: ~/.rvm/bin/rvm version DEBUG [5751f422] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [5751f422] Finished in 2.608 seconds with exit status 0 (successful). DEBUG [52dd100a] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [52dd100a] Command: ~/.rvm/bin/rvm current DEBUG [52dd100a] ruby-3.0.0 DEBUG [52dd100a] Finished in 1.128 seconds with exit status 0 (successful). DEBUG [e50302d2] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [e50302d2] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [e50302d2] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [e50302d2] Finished in 0.778 seconds with exit status 0 (successful). INFO [23804d1d] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [23804d1d] Command: /usr/bin/env mkdir -p /tmp INFO [23804d1d] Finished in 0.480 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-026118b8f9d1d76090c2.sh 0.0% INFO Uploading /tmp/git-ssh-026118b8f9d1d76090c2.sh 100.0% INFO [227ecf35] Running /usr/bin/env chmod 700 /tmp/git-ssh-026118b8f9d1d76090c2.sh as deploy@52.74.130.28 DEBUG [227ecf35] Command: /usr/bin/env chmod 700 /tmp/git-ssh-026118b8f9d1d76090c2.sh INFO [227ecf35] Finished in 0.547 seconds with exit status 0 (successful). INFO [5f1f5b5c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [5f1f5b5c] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-026118b8f9d1d76090c2.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [5f1f5b5c] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [5f1f5b5c] Finished in 3.327 seconds with exit status 0 (successful). INFO [03261713] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [03261713] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [03261713] Finished in 0.419 seconds with exit status 0 (successful). INFO [de0e1532] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [de0e1532] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [de0e1532] Finished in 0.584 seconds with exit status 0 (successful). INFO [abb968e5] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [abb968e5] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [abb968e5] Finished in 0.981 seconds with exit status 0 (successful). DEBUG [fea8d10f] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [fea8d10f] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [fea8d10f] Finished in 0.410 seconds with exit status 0 (successful). DEBUG [e0a5334c] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [e0a5334c] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [e0a5334c] Finished in 0.610 seconds with exit status 0 (successful). DEBUG [15068364] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [15068364] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [15068364] Finished in 0.827 seconds with exit status 0 (successful). DEBUG [7f15be96] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [7f15be96] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [7f15be96] Finished in 1.814 seconds with exit status 0 (successful). DEBUG [be257baf] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [be257baf] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [be257baf] ca01c40c299e2ef68a1a44b4aee1d3d2044313d8 DEBUG [be257baf] Finished in 0.734 seconds with exit status 0 (successful). DEBUG [24ef5287] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [24ef5287] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [24ef5287] Finished in 1.408 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [7e59d7e9] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [7e59d7e9] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [7e59d7e9] Finished in 0.830 seconds with exit status 0 (successful). INFO [0814ee2c] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [0814ee2c] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-026118b8f9d1d76090c2.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [0814ee2c] Finished in 0.453 seconds with exit status 0 (successful). INFO [ac42085b] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [ac42085b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-026118b8f9d1d76090c2.sh" ; /usr/bin/env git remote update --prune ) DEBUG [ac42085b] Fetching origin DEBUG [ac42085b] From github.com:huythanh176/aoumi_server ca01c40..1b586bd develop -> develop INFO [ac42085b] Finished in 4.066 seconds with exit status 0 (successful). DEBUG [763fe707] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [763fe707] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [763fe707] Finished in 0.650 seconds with exit status 0 (successful). INFO [ddf212f6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230225180803 as deploy@52.74.130.28 DEBUG [ddf212f6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-026118b8f9d1d76090c2.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230225180803 ) INFO [ddf212f6] Finished in 0.909 seconds with exit status 0 (successful). INFO [dcdddb21] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230225180803 as deploy@52.74.130.28 DEBUG [dcdddb21] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-026118b8f9d1d76090c2.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230225180803 ) INFO [dcdddb21] Finished in 0.896 seconds with exit status 0 (successful). DEBUG [68533e8c] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [68533e8c] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [68533e8c] Finished in 0.495 seconds with exit status 0 (successful). DEBUG [4f1ac307] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [4f1ac307] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-026118b8f9d1d76090c2.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [4f1ac307] 1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d DEBUG [4f1ac307] Finished in 0.598 seconds with exit status 0 (successful). DEBUG [62b78253] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230225180803; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230225180803'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [62b78253] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230225180803; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230225180803'" 1>&2; false; fi DEBUG [62b78253] Finished in 0.789 seconds with exit status 0 (successful). INFO [babd16ce] Running /usr/bin/env echo "1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d" > REVISION as deploy@52.74.130.28 DEBUG [babd16ce] Command: cd /home/deploy/apps/aoumi_server/releases/20230225180803 && /usr/bin/env echo "1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d" > REVISION INFO [babd16ce] Finished in 0.557 seconds with exit status 0 (successful). INFO [f3ca109c] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230225180803 /home/deploy/apps/aoumi_server/releases/20230225180803/config as deploy@52.74.130.28 DEBUG [f3ca109c] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230225180803 /home/deploy/apps/aoumi_server/releases/20230225180803/config INFO [f3ca109c] Finished in 1.020 seconds with exit status 0 (successful). DEBUG [f9f01806] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/.env ] as deploy@52.74.130.28 DEBUG [f9f01806] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/.env ] DEBUG [f9f01806] Finished in 0.662 seconds with exit status 1 (failed). DEBUG [66f1f3df] Running [ -f /home/deploy/apps/aoumi_server/releases/20230225180803/.env ] as deploy@52.74.130.28 DEBUG [66f1f3df] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230225180803/.env ] DEBUG [66f1f3df] Finished in 0.816 seconds with exit status 0 (successful). INFO [6c1107ba] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230225180803/.env as deploy@52.74.130.28 DEBUG [6c1107ba] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230225180803/.env INFO [6c1107ba] Finished in 0.672 seconds with exit status 0 (successful). INFO [70d98a26] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230225180803/.env as deploy@52.74.130.28 DEBUG [70d98a26] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230225180803/.env INFO [70d98a26] Finished in 0.455 seconds with exit status 0 (successful). DEBUG [3b091ba8] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml ] as deploy@52.74.130.28 DEBUG [3b091ba8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml ] DEBUG [3b091ba8] Finished in 0.921 seconds with exit status 1 (failed). DEBUG [da004edb] Running [ -f /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml ] as deploy@52.74.130.28 DEBUG [da004edb] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml ] DEBUG [da004edb] Finished in 0.587 seconds with exit status 0 (successful). INFO [62dd957c] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml as deploy@52.74.130.28 DEBUG [62dd957c] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml INFO [62dd957c] Finished in 1.089 seconds with exit status 0 (successful). INFO [4122c739] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml as deploy@52.74.130.28 DEBUG [4122c739] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230225180803/config/database.yml INFO [4122c739] Finished in 0.862 seconds with exit status 0 (successful). INFO [d1e7d904] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230225180803 /home/deploy/apps/aoumi_server/releases/20230225180803/tmp /home/deploy/apps/aoumi_server/releases/20230225180803/vendor /home/deploy/apps/aoumi_server/releases/20230225180803/public as deploy@52.74.130.28 DEBUG [d1e7d904] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230225180803 /home/deploy/apps/aoumi_server/releases/20230225180803/tmp /home/deploy/apps/aoumi_server/releases/20230225180803/vendor /home/deploy/apps/aoumi_server/releases/20230225180803/public INFO [d1e7d904] Finished in 0.428 seconds with exit status 0 (successful). DEBUG [71b8f861] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/log ] as deploy@52.74.130.28 DEBUG [71b8f861] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/log ] DEBUG [71b8f861] Finished in 1.305 seconds with exit status 1 (failed). DEBUG [c248f0a2] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/log ] as deploy@52.74.130.28 DEBUG [c248f0a2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/log ] DEBUG [c248f0a2] Finished in 0.563 seconds with exit status 0 (successful). INFO [6410dd70] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230225180803/log as deploy@52.74.130.28 DEBUG [6410dd70] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230225180803/log INFO [6410dd70] Finished in 0.745 seconds with exit status 0 (successful). INFO [04bf59cb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230225180803/log as deploy@52.74.130.28 DEBUG [04bf59cb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230225180803/log INFO [04bf59cb] Finished in 1.846 seconds with exit status 0 (successful). DEBUG [7ebec1ef] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids ] as deploy@52.74.130.28 DEBUG [7ebec1ef] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids ] DEBUG [7ebec1ef] Finished in 0.725 seconds with exit status 1 (failed). DEBUG [f32d44c9] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids ] as deploy@52.74.130.28 DEBUG [f32d44c9] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids ] DEBUG [f32d44c9] Finished in 0.882 seconds with exit status 0 (successful). INFO [d5bb07f3] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids as deploy@52.74.130.28 DEBUG [d5bb07f3] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids INFO [d5bb07f3] Finished in 1.289 seconds with exit status 0 (successful). INFO [a12339c3] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids as deploy@52.74.130.28 DEBUG [a12339c3] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/pids INFO [a12339c3] Finished in 1.063 seconds with exit status 0 (successful). DEBUG [63e670d3] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/cache ] as deploy@52.74.130.28 DEBUG [63e670d3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/cache ] DEBUG [63e670d3] Finished in 0.530 seconds with exit status 1 (failed). DEBUG [85918b8c] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/cache ] as deploy@52.74.130.28 DEBUG [85918b8c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/cache ] DEBUG [85918b8c] Finished in 1.016 seconds with exit status 1 (failed). INFO [e780393a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/cache as deploy@52.74.130.28 DEBUG [e780393a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/cache INFO [e780393a] Finished in 0.751 seconds with exit status 0 (successful). DEBUG [7c25b150] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/sockets ] as deploy@52.74.130.28 DEBUG [7c25b150] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/sockets ] DEBUG [7c25b150] Finished in 0.480 seconds with exit status 1 (failed). DEBUG [d65644eb] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/sockets ] as deploy@52.74.130.28 DEBUG [d65644eb] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/sockets ] DEBUG [d65644eb] Finished in 0.433 seconds with exit status 1 (failed). INFO [426ed013] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/sockets as deploy@52.74.130.28 DEBUG [426ed013] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230225180803/tmp/sockets INFO [426ed013] Finished in 0.461 seconds with exit status 0 (successful). DEBUG [55a78c62] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/vendor/bundle ] as deploy@52.74.130.28 DEBUG [55a78c62] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/vendor/bundle ] DEBUG [55a78c62] Finished in 0.610 seconds with exit status 1 (failed). DEBUG [ce0068a8] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/vendor/bundle ] as deploy@52.74.130.28 DEBUG [ce0068a8] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/vendor/bundle ] DEBUG [ce0068a8] Finished in 0.382 seconds with exit status 1 (failed). INFO [a52cc7fb] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230225180803/vendor/bundle as deploy@52.74.130.28 DEBUG [a52cc7fb] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230225180803/vendor/bundle INFO [a52cc7fb] Finished in 0.472 seconds with exit status 0 (successful). DEBUG [61d63558] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/public/system ] as deploy@52.74.130.28 DEBUG [61d63558] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/public/system ] DEBUG [61d63558] Finished in 0.458 seconds with exit status 1 (failed). DEBUG [7f8ac042] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/public/system ] as deploy@52.74.130.28 DEBUG [7f8ac042] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/public/system ] DEBUG [7f8ac042] Finished in 0.959 seconds with exit status 1 (failed). INFO [9b6b2029] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230225180803/public/system as deploy@52.74.130.28 DEBUG [9b6b2029] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230225180803/public/system INFO [9b6b2029] Finished in 0.406 seconds with exit status 0 (successful). DEBUG [b22175ce] Running [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/public/uploads ] as deploy@52.74.130.28 DEBUG [b22175ce] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230225180803/public/uploads ] DEBUG [b22175ce] Finished in 1.123 seconds with exit status 1 (failed). DEBUG [5a04d9cc] Running [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/public/uploads ] as deploy@52.74.130.28 DEBUG [5a04d9cc] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230225180803/public/uploads ] DEBUG [5a04d9cc] Finished in 0.614 seconds with exit status 1 (failed). INFO [4cc3733e] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230225180803/public/uploads as deploy@52.74.130.28 DEBUG [4cc3733e] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230225180803/public/uploads INFO [4cc3733e] Finished in 1.227 seconds with exit status 0 (successful). DEBUG [d447089d] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230225180803; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230225180803'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [d447089d] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230225180803; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230225180803'" 1>&2; false; fi DEBUG [d447089d] Finished in 0.472 seconds with exit status 0 (successful). INFO [d8fe41a9] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [d8fe41a9] Command: cd /home/deploy/apps/aoumi_server/releases/20230225180803 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [d8fe41a9] Finished in 1.473 seconds with exit status 0 (successful). INFO [0d27dc82] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [0d27dc82] Command: cd /home/deploy/apps/aoumi_server/releases/20230225180803 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [0d27dc82] Finished in 2.196 seconds with exit status 0 (successful). INFO [d9b6af37] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [d9b6af37] Command: cd /home/deploy/apps/aoumi_server/releases/20230225180803 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [d9b6af37] Finished in 1.431 seconds with exit status 0 (successful). DEBUG [6ce012bf] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230225180803; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230225180803'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [6ce012bf] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230225180803; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230225180803'" 1>&2; false; fi DEBUG [6ce012bf] Finished in 0.626 seconds with exit status 0 (successful). DEBUG [d348948c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [d348948c] Command: cd /home/deploy/apps/aoumi_server/releases/20230225180803 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [d348948c] The following gems are missing DEBUG [d348948c] * bootsnap (1.16.0) DEBUG [d348948c] * config (4.1.0) DEBUG [d348948c] * devise (4.9.0) DEBUG [d348948c] * dotenv-rails (2.8.1) DEBUG [d348948c] * jwt (2.7.0) DEBUG [d348948c] * mysql2 (0.5.5) DEBUG [d348948c] * puma (5.6.5) DEBUG [d348948c] * rack-cors (2.0.0) DEBUG [d348948c] * rails (7.0.4.2) DEBUG [d348948c] * msgpack (1.6.0) DEBUG [d348948c] * dry-validation (1.10.0) DEBUG [d348948c] * bcrypt (3.1.18) DEBUG [d348948c] * railties (7.0.4.2) DEBUG [d348948c] * responders (3.1.0) DEBUG [d348948c] * dotenv (2.8.1) DEBUG [d348948c] * rack (2.2.6.2) DEBUG [d348948c] * actioncable (7.0.4.2) DEBUG [d348948c] * actionmailbox (7.0.4.2) DEBUG [d348948c] * actionmailer (7.0.4.2) DEBUG [d348948c] * actionpack (7.0.4.2) DEBUG [d348948c] * actiontext (7.0.4.2) DEBUG [d348948c] * actionview (7.0.4.2) DEBUG [d348948c] * activejob (7.0.4.2) DEBUG [d348948c] * activemodel (7.0.4.2) DEBUG [d348948c] * activerecord (7.0.4.2) DEBUG [d348948c] * activestorage (7.0.4.2) DEBUG [d348948c] * activesupport (7.0.4.2) DEBUG [d348948c] * concurrent-ruby (1.2.2) DEBUG [d348948c] * dry-core (1.0.0) DEBUG [d348948c] * dry-schema (1.13.0) DEBUG [d348948c] * zeitwerk (2.6.7) DEBUG [d348948c] * mail (2.8.1) DEBUG [d348948c] * net-imap (0.3.4) DEBUG [d348948c] * net-pop (0.1.2) DEBUG [d348948c] * net-smtp (0.3.3) DEBUG [d348948c] * rails-html-sanitizer (1.5.0) DEBUG [d348948c] * globalid (1.1.0) DEBUG [d348948c] * nokogiri (1.14.2) DEBUG [d348948c] * erubi (1.12.0) DEBUG [d348948c] * minitest (5.17.0) DEBUG [d348948c] * tzinfo (2.0.6) DEBUG [d348948c] * dry-configurable (1.0.1) DEBUG [d348948c] * dry-logic (1.5.0) DEBUG [d348948c] * dry-types (1.7.1) DEBUG [d348948c] * date (3.3.3) DEBUG [d348948c] * net-protocol (0.2.1) DEBUG [d348948c] * loofah (2.19.1) DEBUG [d348948c] * racc (1.6.2) DEBUG [d348948c] * dry-inflector (1.0.0) DEBUG [d348948c] * timeout (0.3.2) DEBUG [d348948c] Install missing gems with `bundle install` DEBUG [d348948c] Finished in 2.972 seconds with exit status 1 (failed). INFO [92091c66] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet as deploy@52.74.130.28 DEBUG [92091c66] Command: cd /home/deploy/apps/aoumi_server/releases/20230225180803 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:32:03 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [0e71b747] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [0e71b747] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:32:20 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [ac88991c] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [ac88991c] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-26 01:33:12 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [eb78b146] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [eb78b146] Command: ~/.rvm/bin/rvm version INFO --------------------------------------------------------------------------- INFO START 2023-02-27 20:42:16 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [d17f623f] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [d17f623f] Command: ~/.rvm/bin/rvm version DEBUG [d17f623f] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [d17f623f] Finished in 5.537 seconds with exit status 0 (successful). DEBUG [8a87a330] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [8a87a330] Command: ~/.rvm/bin/rvm current DEBUG [8a87a330] ruby-3.0.0 DEBUG [8a87a330] Finished in 0.719 seconds with exit status 0 (successful). DEBUG [8f46dd89] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [8f46dd89] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [8f46dd89] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [8f46dd89] Finished in 1.896 seconds with exit status 0 (successful). INFO [73aab113] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [73aab113] Command: /usr/bin/env mkdir -p /tmp INFO [73aab113] Finished in 1.122 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-c65ff58bf605507eee3b.sh 0.0% INFO Uploading /tmp/git-ssh-c65ff58bf605507eee3b.sh 100.0% INFO [84bdce4c] Running /usr/bin/env chmod 700 /tmp/git-ssh-c65ff58bf605507eee3b.sh as deploy@52.74.130.28 DEBUG [84bdce4c] Command: /usr/bin/env chmod 700 /tmp/git-ssh-c65ff58bf605507eee3b.sh INFO [84bdce4c] Finished in 2.349 seconds with exit status 0 (successful). INFO [a182000c] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [a182000c] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c65ff58bf605507eee3b.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [a182000c] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [a182000c] Finished in 3.582 seconds with exit status 0 (successful). INFO [b720c845] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [b720c845] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [b720c845] Finished in 0.546 seconds with exit status 0 (successful). INFO [1e77ac9d] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [1e77ac9d] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [1e77ac9d] Finished in 0.490 seconds with exit status 0 (successful). INFO [6264ec39] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [6264ec39] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [6264ec39] Finished in 1.753 seconds with exit status 0 (successful). DEBUG [9b96482e] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [9b96482e] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [9b96482e] Finished in 1.689 seconds with exit status 0 (successful). DEBUG [78fbe631] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [78fbe631] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [78fbe631] Finished in 3.150 seconds with exit status 0 (successful). DEBUG [e1f619f1] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [e1f619f1] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [e1f619f1] Finished in 0.747 seconds with exit status 0 (successful). DEBUG [b9703a83] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [b9703a83] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [b9703a83] Finished in 0.854 seconds with exit status 0 (successful). DEBUG [eca786ce] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [eca786ce] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [eca786ce] ca01c40c299e2ef68a1a44b4aee1d3d2044313d8 DEBUG [eca786ce] Finished in 0.830 seconds with exit status 0 (successful). DEBUG [c6b8e7ff] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [c6b8e7ff] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [c6b8e7ff] Finished in 0.689 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [340c9fa6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [340c9fa6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [340c9fa6] Finished in 0.434 seconds with exit status 0 (successful). INFO [386f7d56] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [386f7d56] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c65ff58bf605507eee3b.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [386f7d56] Finished in 0.503 seconds with exit status 0 (successful). INFO [7ef6c5f9] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [7ef6c5f9] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c65ff58bf605507eee3b.sh" ; /usr/bin/env git remote update --prune ) DEBUG [7ef6c5f9] Fetching origin INFO [7ef6c5f9] Finished in 3.331 seconds with exit status 0 (successful). DEBUG [634bf7c4] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [634bf7c4] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [634bf7c4] Finished in 0.463 seconds with exit status 0 (successful). INFO [15eebee7] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230227134243 as deploy@52.74.130.28 DEBUG [15eebee7] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c65ff58bf605507eee3b.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230227134243 ) INFO [15eebee7] Finished in 0.745 seconds with exit status 0 (successful). INFO [a5521fc6] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230227134243 as deploy@52.74.130.28 DEBUG [a5521fc6] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c65ff58bf605507eee3b.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230227134243 ) INFO [a5521fc6] Finished in 1.216 seconds with exit status 0 (successful). DEBUG [9efc77d6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [9efc77d6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [9efc77d6] Finished in 1.536 seconds with exit status 0 (successful). DEBUG [4c815834] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [4c815834] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-c65ff58bf605507eee3b.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [4c815834] 1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d DEBUG [4c815834] Finished in 1.476 seconds with exit status 0 (successful). DEBUG [f8307d82] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [f8307d82] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi DEBUG [f8307d82] Finished in 1.189 seconds with exit status 0 (successful). INFO [0fa58b13] Running /usr/bin/env echo "1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d" > REVISION as deploy@52.74.130.28 DEBUG [0fa58b13] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && /usr/bin/env echo "1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d" > REVISION INFO [0fa58b13] Finished in 1.174 seconds with exit status 0 (successful). INFO [32de7c87] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230227134243 /home/deploy/apps/aoumi_server/releases/20230227134243/config as deploy@52.74.130.28 DEBUG [32de7c87] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230227134243 /home/deploy/apps/aoumi_server/releases/20230227134243/config INFO [32de7c87] Finished in 2.297 seconds with exit status 0 (successful). DEBUG [c5661583] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/.env ] as deploy@52.74.130.28 DEBUG [c5661583] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/.env ] DEBUG [c5661583] Finished in 0.573 seconds with exit status 1 (failed). DEBUG [ab0f7b44] Running [ -f /home/deploy/apps/aoumi_server/releases/20230227134243/.env ] as deploy@52.74.130.28 DEBUG [ab0f7b44] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230227134243/.env ] DEBUG [ab0f7b44] Finished in 0.531 seconds with exit status 0 (successful). INFO [61e25471] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230227134243/.env as deploy@52.74.130.28 DEBUG [61e25471] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230227134243/.env INFO [61e25471] Finished in 0.399 seconds with exit status 0 (successful). INFO [ed0fc97a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230227134243/.env as deploy@52.74.130.28 DEBUG [ed0fc97a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230227134243/.env INFO [ed0fc97a] Finished in 1.055 seconds with exit status 0 (successful). DEBUG [8237af1b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml ] as deploy@52.74.130.28 DEBUG [8237af1b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml ] DEBUG [8237af1b] Finished in 0.910 seconds with exit status 1 (failed). DEBUG [4e367ef9] Running [ -f /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml ] as deploy@52.74.130.28 DEBUG [4e367ef9] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml ] DEBUG [4e367ef9] Finished in 0.930 seconds with exit status 0 (successful). INFO [4467fa31] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml as deploy@52.74.130.28 DEBUG [4467fa31] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml INFO [4467fa31] Finished in 0.532 seconds with exit status 0 (successful). INFO [10925560] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml as deploy@52.74.130.28 DEBUG [10925560] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230227134243/config/database.yml INFO [10925560] Finished in 1.014 seconds with exit status 0 (successful). INFO [072eabb6] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230227134243 /home/deploy/apps/aoumi_server/releases/20230227134243/tmp /home/deploy/apps/aoumi_server/releases/20230227134243/vendor /home/deploy/apps/aoumi_server/releases/20230227134243/public as deploy@52.74.130.28 DEBUG [072eabb6] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230227134243 /home/deploy/apps/aoumi_server/releases/20230227134243/tmp /home/deploy/apps/aoumi_server/releases/20230227134243/vendor /home/deploy/apps/aoumi_server/releases/20230227134243/public INFO [072eabb6] Finished in 0.430 seconds with exit status 0 (successful). DEBUG [1928486e] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/log ] as deploy@52.74.130.28 DEBUG [1928486e] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/log ] DEBUG [1928486e] Finished in 0.459 seconds with exit status 1 (failed). DEBUG [8aff0c5f] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/log ] as deploy@52.74.130.28 DEBUG [8aff0c5f] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/log ] DEBUG [8aff0c5f] Finished in 1.221 seconds with exit status 0 (successful). INFO [4f9e2b54] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230227134243/log as deploy@52.74.130.28 DEBUG [4f9e2b54] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230227134243/log INFO [4f9e2b54] Finished in 0.816 seconds with exit status 0 (successful). INFO [26d776f6] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230227134243/log as deploy@52.74.130.28 DEBUG [26d776f6] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230227134243/log INFO [26d776f6] Finished in 0.948 seconds with exit status 0 (successful). DEBUG [e3d3d5e7] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids ] as deploy@52.74.130.28 DEBUG [e3d3d5e7] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids ] DEBUG [e3d3d5e7] Finished in 0.514 seconds with exit status 1 (failed). DEBUG [fea99e2c] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids ] as deploy@52.74.130.28 DEBUG [fea99e2c] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids ] DEBUG [fea99e2c] Finished in 1.564 seconds with exit status 0 (successful). INFO [63d5aa45] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids as deploy@52.74.130.28 DEBUG [63d5aa45] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids INFO [63d5aa45] Finished in 1.708 seconds with exit status 0 (successful). INFO [5771c407] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids as deploy@52.74.130.28 DEBUG [5771c407] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/pids INFO [5771c407] Finished in 1.031 seconds with exit status 0 (successful). DEBUG [ece0e565] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/cache ] as deploy@52.74.130.28 DEBUG [ece0e565] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/cache ] DEBUG [ece0e565] Finished in 1.156 seconds with exit status 1 (failed). DEBUG [c4919424] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/cache ] as deploy@52.74.130.28 DEBUG [c4919424] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/cache ] DEBUG [c4919424] Finished in 0.852 seconds with exit status 1 (failed). INFO [098910c9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/cache as deploy@52.74.130.28 DEBUG [098910c9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/cache INFO [098910c9] Finished in 1.122 seconds with exit status 0 (successful). DEBUG [09a80043] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/sockets ] as deploy@52.74.130.28 DEBUG [09a80043] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/sockets ] DEBUG [09a80043] Finished in 2.576 seconds with exit status 1 (failed). DEBUG [23066d07] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/sockets ] as deploy@52.74.130.28 DEBUG [23066d07] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/sockets ] DEBUG [23066d07] Finished in 0.883 seconds with exit status 1 (failed). INFO [03d243d9] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/sockets as deploy@52.74.130.28 DEBUG [03d243d9] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230227134243/tmp/sockets INFO [03d243d9] Finished in 0.591 seconds with exit status 0 (successful). DEBUG [6cc886ae] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/vendor/bundle ] as deploy@52.74.130.28 DEBUG [6cc886ae] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/vendor/bundle ] DEBUG [6cc886ae] Finished in 0.933 seconds with exit status 1 (failed). DEBUG [537a6e87] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/vendor/bundle ] as deploy@52.74.130.28 DEBUG [537a6e87] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/vendor/bundle ] DEBUG [537a6e87] Finished in 1.237 seconds with exit status 1 (failed). INFO [32761a3b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230227134243/vendor/bundle as deploy@52.74.130.28 DEBUG [32761a3b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230227134243/vendor/bundle INFO [32761a3b] Finished in 1.563 seconds with exit status 0 (successful). DEBUG [a13a85f9] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/public/system ] as deploy@52.74.130.28 DEBUG [a13a85f9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/public/system ] DEBUG [a13a85f9] Finished in 1.173 seconds with exit status 1 (failed). DEBUG [5c36a980] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/public/system ] as deploy@52.74.130.28 DEBUG [5c36a980] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/public/system ] DEBUG [5c36a980] Finished in 0.518 seconds with exit status 1 (failed). INFO [f1dbeb2c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230227134243/public/system as deploy@52.74.130.28 DEBUG [f1dbeb2c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230227134243/public/system INFO [f1dbeb2c] Finished in 0.859 seconds with exit status 0 (successful). DEBUG [8858948b] Running [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/public/uploads ] as deploy@52.74.130.28 DEBUG [8858948b] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230227134243/public/uploads ] DEBUG [8858948b] Finished in 1.126 seconds with exit status 1 (failed). DEBUG [ab556405] Running [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/public/uploads ] as deploy@52.74.130.28 DEBUG [ab556405] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230227134243/public/uploads ] DEBUG [ab556405] Finished in 0.802 seconds with exit status 1 (failed). INFO [410441f4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230227134243/public/uploads as deploy@52.74.130.28 DEBUG [410441f4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230227134243/public/uploads INFO [410441f4] Finished in 0.976 seconds with exit status 0 (successful). DEBUG [a106e2fa] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [a106e2fa] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi DEBUG [a106e2fa] Finished in 1.848 seconds with exit status 0 (successful). INFO [020c1c54] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [020c1c54] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [020c1c54] Finished in 1.087 seconds with exit status 0 (successful). INFO [0de25c83] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [0de25c83] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [0de25c83] Finished in 2.049 seconds with exit status 0 (successful). INFO [69a2c7fb] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [69a2c7fb] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [69a2c7fb] Finished in 1.410 seconds with exit status 0 (successful). DEBUG [955a0a23] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [955a0a23] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi DEBUG [955a0a23] Finished in 1.303 seconds with exit status 0 (successful). DEBUG [8893a961] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [8893a961] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [8893a961] The following gems are missing DEBUG [8893a961] * bootsnap (1.16.0) DEBUG [8893a961] * config (4.1.0) DEBUG [8893a961] * devise (4.9.0) DEBUG [8893a961] * dotenv-rails (2.8.1) DEBUG [8893a961] * mysql2 (0.5.5) DEBUG [8893a961] * rails (7.0.4.2) DEBUG [8893a961] * dry-validation (1.10.0) DEBUG [8893a961] * railties (7.0.4.2) DEBUG [8893a961] * responders (3.1.0) DEBUG [8893a961] * actioncable (7.0.4.2) DEBUG [8893a961] * actionmailbox (7.0.4.2) DEBUG [8893a961] * actionmailer (7.0.4.2) DEBUG [8893a961] * actionpack (7.0.4.2) DEBUG [8893a961] * actiontext (7.0.4.2) DEBUG [8893a961] * actionview (7.0.4.2) DEBUG [8893a961] * activejob (7.0.4.2) DEBUG [8893a961] * activemodel (7.0.4.2) DEBUG [8893a961] * activerecord (7.0.4.2) DEBUG [8893a961] * activestorage (7.0.4.2) DEBUG [8893a961] * activesupport (7.0.4.2) DEBUG [8893a961] * dry-schema (1.13.0) DEBUG [8893a961] * mail (2.8.1) DEBUG [8893a961] * net-imap (0.3.4) DEBUG [8893a961] * net-smtp (0.3.3) DEBUG [8893a961] * rails-html-sanitizer (1.5.0) DEBUG [8893a961] * globalid (1.1.0) DEBUG [8893a961] * dry-configurable (1.0.1) DEBUG [8893a961] * dry-logic (1.5.0) DEBUG [8893a961] * dry-types (1.7.1) DEBUG [8893a961] * date (3.3.3) DEBUG [8893a961] * loofah (2.19.1) DEBUG [8893a961] Install missing gems with `bundle install` DEBUG [8893a961] Finished in 1.646 seconds with exit status 1 (failed). INFO [2f18380a] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet as deploy@52.74.130.28 DEBUG [2f18380a] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet INFO [2f18380a] Finished in 26.534 seconds with exit status 0 (successful). INFO [deploy:migrate] Run `rake db:migrate` DEBUG [08989ecc] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [08989ecc] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230227134243; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230227134243'" 1>&2; false; fi DEBUG [08989ecc] Finished in 0.535 seconds with exit status 0 (successful). INFO [881384f9] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [881384f9] Command: cd /home/deploy/apps/aoumi_server/releases/20230227134243 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) INFO [881384f9] Finished in 4.913 seconds with exit status 0 (successful). INFO [370827c4] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230227134243 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [370827c4] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230227134243 /home/deploy/apps/aoumi_server/releases/current INFO [370827c4] Finished in 0.477 seconds with exit status 0 (successful). INFO [72b7efcd] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [72b7efcd] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [72b7efcd] Finished in 0.456 seconds with exit status 0 (successful). DEBUG [cbc9886d] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [cbc9886d] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [cbc9886d] 20230103144551 20230103145010 20230119164411 20230129122835 20230129123700 20230225180803 20230227134243 DEBUG [cbc9886d] Finished in 0.460 seconds with exit status 0 (successful). INFO Keeping 5 of 7 deployed releases on 52.74.130.28 DEBUG [b37016c6] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [b37016c6] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [b37016c6] Finished in 0.502 seconds with exit status 0 (successful). DEBUG [6cd3c0c5] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [6cd3c0c5] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [6cd3c0c5] /home/deploy/apps/aoumi_server/releases/20230227134243 DEBUG [6cd3c0c5] Finished in 0.570 seconds with exit status 0 (successful). INFO [bdb5112f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/20230103145010 as deploy@52.74.130.28 DEBUG [bdb5112f] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230103144551 /home/deploy/apps/aoumi_server/releases/20230103145010 INFO [bdb5112f] Finished in 0.468 seconds with exit status 0 (successful). DEBUG [e3f91c9c] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [e3f91c9c] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [e3f91c9c] Finished in 1.213 seconds with exit status 0 (successful). INFO [a8489637] Running /usr/bin/env echo "Branch develop (at 1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d) deployed as release 20230227134243 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [a8489637] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at 1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d) deployed as release 20230227134243 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [a8489637] Finished in 0.488 seconds with exit status 0 (successful). INFO [6519631b] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [6519631b] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [6519631b] Finished in 0.529 seconds with exit status 0 (successful). INFO --------------------------------------------------------------------------- INFO START 2023-04-01 01:13:24 +0700 cap development deploy INFO --------------------------------------------------------------------------- DEBUG [14df9ab3] Running ~/.rvm/bin/rvm version as deploy@52.74.130.28 DEBUG [14df9ab3] Command: ~/.rvm/bin/rvm version DEBUG [14df9ab3] rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] DEBUG [14df9ab3] Finished in 2.642 seconds with exit status 0 (successful). DEBUG [8ec174ee] Running ~/.rvm/bin/rvm current as deploy@52.74.130.28 DEBUG [8ec174ee] Command: ~/.rvm/bin/rvm current DEBUG [8ec174ee] ruby-3.0.0 DEBUG [8ec174ee] Finished in 0.450 seconds with exit status 0 (successful). DEBUG [762b6136] Running ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version as deploy@52.74.130.28 DEBUG [762b6136] Command: ~/.rvm/bin/rvm ruby-3.0.0 do ruby --version DEBUG [762b6136] ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux] DEBUG [762b6136] Finished in 0.673 seconds with exit status 0 (successful). INFO [2d05f064] Running /usr/bin/env mkdir -p /tmp as deploy@52.74.130.28 DEBUG [2d05f064] Command: /usr/bin/env mkdir -p /tmp INFO [2d05f064] Finished in 0.164 seconds with exit status 0 (successful). DEBUG Uploading /tmp/git-ssh-1a16a94b63502989bb16.sh 0.0% INFO Uploading /tmp/git-ssh-1a16a94b63502989bb16.sh 100.0% INFO [8f35c05d] Running /usr/bin/env chmod 700 /tmp/git-ssh-1a16a94b63502989bb16.sh as deploy@52.74.130.28 DEBUG [8f35c05d] Command: /usr/bin/env chmod 700 /tmp/git-ssh-1a16a94b63502989bb16.sh INFO [8f35c05d] Finished in 0.223 seconds with exit status 0 (successful). INFO [dac7605e] Running /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD as deploy@52.74.130.28 DEBUG [dac7605e] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1a16a94b63502989bb16.sh" ; /usr/bin/env git ls-remote git@github.com:huythanh176/aoumi_server.git HEAD ) DEBUG [dac7605e] 18d4045e78fd73cd18b9563cf13b7a24525043d4 HEAD INFO [dac7605e] Finished in 2.868 seconds with exit status 0 (successful). INFO [dc494de8] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [dc494de8] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/releases INFO [dc494de8] Finished in 0.174 seconds with exit status 0 (successful). INFO [7bbe5f56] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads as deploy@52.74.130.28 DEBUG [7bbe5f56] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/shared/public/uploads INFO [7bbe5f56] Finished in 0.242 seconds with exit status 0 (successful). INFO [82f880ae] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config as deploy@52.74.130.28 DEBUG [82f880ae] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/shared /home/deploy/apps/aoumi_server/shared/config INFO [82f880ae] Finished in 0.219 seconds with exit status 0 (successful). DEBUG [48f557f7] Running [ -f /home/deploy/apps/aoumi_server/shared/.env ] as deploy@52.74.130.28 DEBUG [48f557f7] Command: [ -f /home/deploy/apps/aoumi_server/shared/.env ] DEBUG [48f557f7] Finished in 0.227 seconds with exit status 0 (successful). DEBUG [06a4bfc8] Running [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] as deploy@52.74.130.28 DEBUG [06a4bfc8] Command: [ -f /home/deploy/apps/aoumi_server/shared/config/database.yml ] DEBUG [06a4bfc8] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [ceba4664] Running [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] as deploy@52.74.130.28 DEBUG [ceba4664] Command: [ -f /home/deploy/apps/aoumi_server/shared/puma.rb ] DEBUG [ceba4664] Finished in 0.219 seconds with exit status 0 (successful). DEBUG [5df6dcb4] Running [ -f /home/deploy/apps/aoumi_server/current/REVISION ] as deploy@52.74.130.28 DEBUG [5df6dcb4] Command: [ -f /home/deploy/apps/aoumi_server/current/REVISION ] DEBUG [5df6dcb4] Finished in 0.233 seconds with exit status 0 (successful). DEBUG [a86e6dfe] Running /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null as deploy@52.74.130.28 DEBUG [a86e6dfe] Command: /usr/bin/env cat /home/deploy/apps/aoumi_server/current/REVISION 2>/dev/null DEBUG [a86e6dfe] 1b586bdf72ffb5f501f2a10d7dcaaf68d7ee955d DEBUG [a86e6dfe] Finished in 0.249 seconds with exit status 0 (successful). DEBUG [d20e0da0] Running [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] as deploy@52.74.130.28 DEBUG [d20e0da0] Command: [ -f /home/deploy/apps/aoumi_server/repo/HEAD ] DEBUG [d20e0da0] Finished in 0.247 seconds with exit status 0 (successful). INFO The repository mirror is at /home/deploy/apps/aoumi_server/repo DEBUG [f9178ff6] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [f9178ff6] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [f9178ff6] Finished in 0.227 seconds with exit status 0 (successful). INFO [7f4aac8a] Running /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git as deploy@52.74.130.28 DEBUG [7f4aac8a] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1a16a94b63502989bb16.sh" ; /usr/bin/env git remote set-url origin git@github.com:huythanh176/aoumi_server.git ) INFO [7f4aac8a] Finished in 0.235 seconds with exit status 0 (successful). INFO [20a6a195] Running /usr/bin/env git remote update --prune as deploy@52.74.130.28 DEBUG [20a6a195] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1a16a94b63502989bb16.sh" ; /usr/bin/env git remote update --prune ) DEBUG [20a6a195] Fetching origin DEBUG [20a6a195] From github.com:huythanh176/aoumi_server 1b586bd..c42a434 develop -> develop INFO [20a6a195] Finished in 3.248 seconds with exit status 0 (successful). DEBUG [00716603] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [00716603] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [00716603] Finished in 0.125 seconds with exit status 0 (successful). INFO [c8d5f19f] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230331181333 as deploy@52.74.130.28 DEBUG [c8d5f19f] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1a16a94b63502989bb16.sh" ; /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230331181333 ) INFO [c8d5f19f] Finished in 0.245 seconds with exit status 0 (successful). INFO [27b6007b] Running /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230331181333 as deploy@52.74.130.28 DEBUG [27b6007b] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1a16a94b63502989bb16.sh" ; /usr/bin/env git archive develop | /usr/bin/env tar -x -f - -C /home/deploy/apps/aoumi_server/releases/20230331181333 ) INFO [27b6007b] Finished in 0.324 seconds with exit status 0 (successful). DEBUG [e4f1d6f3] Running if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [e4f1d6f3] Command: if test ! -d /home/deploy/apps/aoumi_server/repo; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/repo'" 1>&2; false; fi DEBUG [e4f1d6f3] Finished in 0.223 seconds with exit status 0 (successful). DEBUG [b93d3e58] Running /usr/bin/env git rev-list --max-count=1 develop as deploy@52.74.130.28 DEBUG [b93d3e58] Command: cd /home/deploy/apps/aoumi_server/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-1a16a94b63502989bb16.sh" ; /usr/bin/env git rev-list --max-count=1 develop ) DEBUG [b93d3e58] c42a4345784392b9d1fd66ed097bf86e4b0a6ee2 DEBUG [b93d3e58] Finished in 0.230 seconds with exit status 0 (successful). DEBUG [1d3f1865] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [1d3f1865] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi DEBUG [1d3f1865] Finished in 0.237 seconds with exit status 0 (successful). INFO [25bd455c] Running /usr/bin/env echo "c42a4345784392b9d1fd66ed097bf86e4b0a6ee2" > REVISION as deploy@52.74.130.28 DEBUG [25bd455c] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && /usr/bin/env echo "c42a4345784392b9d1fd66ed097bf86e4b0a6ee2" > REVISION INFO [25bd455c] Finished in 0.237 seconds with exit status 0 (successful). INFO [a05b2e80] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230331181333 /home/deploy/apps/aoumi_server/releases/20230331181333/config as deploy@52.74.130.28 DEBUG [a05b2e80] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230331181333 /home/deploy/apps/aoumi_server/releases/20230331181333/config INFO [a05b2e80] Finished in 0.229 seconds with exit status 0 (successful). DEBUG [c6cd93e3] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/.env ] as deploy@52.74.130.28 DEBUG [c6cd93e3] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/.env ] DEBUG [c6cd93e3] Finished in 0.228 seconds with exit status 1 (failed). DEBUG [d56e6c3d] Running [ -f /home/deploy/apps/aoumi_server/releases/20230331181333/.env ] as deploy@52.74.130.28 DEBUG [d56e6c3d] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230331181333/.env ] DEBUG [d56e6c3d] Finished in 0.234 seconds with exit status 0 (successful). INFO [e9efda5e] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230331181333/.env as deploy@52.74.130.28 DEBUG [e9efda5e] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230331181333/.env INFO [e9efda5e] Finished in 0.229 seconds with exit status 0 (successful). INFO [c699e69a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230331181333/.env as deploy@52.74.130.28 DEBUG [c699e69a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/.env /home/deploy/apps/aoumi_server/releases/20230331181333/.env INFO [c699e69a] Finished in 0.224 seconds with exit status 0 (successful). DEBUG [93651b66] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml ] as deploy@52.74.130.28 DEBUG [93651b66] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml ] DEBUG [93651b66] Finished in 0.225 seconds with exit status 1 (failed). DEBUG [447e33ca] Running [ -f /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml ] as deploy@52.74.130.28 DEBUG [447e33ca] Command: [ -f /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml ] DEBUG [447e33ca] Finished in 0.238 seconds with exit status 0 (successful). INFO [4ba6f9bf] Running /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml as deploy@52.74.130.28 DEBUG [4ba6f9bf] Command: /usr/bin/env rm /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml INFO [4ba6f9bf] Finished in 0.220 seconds with exit status 0 (successful). INFO [9cc4b1cd] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml as deploy@52.74.130.28 DEBUG [9cc4b1cd] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/config/database.yml /home/deploy/apps/aoumi_server/releases/20230331181333/config/database.yml INFO [9cc4b1cd] Finished in 0.231 seconds with exit status 0 (successful). INFO [7543c063] Running /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230331181333 /home/deploy/apps/aoumi_server/releases/20230331181333/tmp /home/deploy/apps/aoumi_server/releases/20230331181333/vendor /home/deploy/apps/aoumi_server/releases/20230331181333/public as deploy@52.74.130.28 DEBUG [7543c063] Command: /usr/bin/env mkdir -p /home/deploy/apps/aoumi_server/releases/20230331181333 /home/deploy/apps/aoumi_server/releases/20230331181333/tmp /home/deploy/apps/aoumi_server/releases/20230331181333/vendor /home/deploy/apps/aoumi_server/releases/20230331181333/public INFO [7543c063] Finished in 0.236 seconds with exit status 0 (successful). DEBUG [873cdec9] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/log ] as deploy@52.74.130.28 DEBUG [873cdec9] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/log ] DEBUG [873cdec9] Finished in 0.241 seconds with exit status 1 (failed). DEBUG [d9487f29] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/log ] as deploy@52.74.130.28 DEBUG [d9487f29] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/log ] DEBUG [d9487f29] Finished in 0.231 seconds with exit status 0 (successful). INFO [80420398] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230331181333/log as deploy@52.74.130.28 DEBUG [80420398] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230331181333/log INFO [80420398] Finished in 0.229 seconds with exit status 0 (successful). INFO [a5c4238a] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230331181333/log as deploy@52.74.130.28 DEBUG [a5c4238a] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/log /home/deploy/apps/aoumi_server/releases/20230331181333/log INFO [a5c4238a] Finished in 0.252 seconds with exit status 0 (successful). DEBUG [51f7773d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids ] as deploy@52.74.130.28 DEBUG [51f7773d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids ] DEBUG [51f7773d] Finished in 0.222 seconds with exit status 1 (failed). DEBUG [c118765b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids ] as deploy@52.74.130.28 DEBUG [c118765b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids ] DEBUG [c118765b] Finished in 0.251 seconds with exit status 0 (successful). INFO [47e6262f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids as deploy@52.74.130.28 DEBUG [47e6262f] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids INFO [47e6262f] Finished in 0.229 seconds with exit status 0 (successful). INFO [24e1167b] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids as deploy@52.74.130.28 DEBUG [24e1167b] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/pids /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/pids INFO [24e1167b] Finished in 0.241 seconds with exit status 0 (successful). DEBUG [181a99f8] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/cache ] as deploy@52.74.130.28 DEBUG [181a99f8] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/cache ] DEBUG [181a99f8] Finished in 0.223 seconds with exit status 1 (failed). DEBUG [64f5b2cd] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/cache ] as deploy@52.74.130.28 DEBUG [64f5b2cd] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/cache ] DEBUG [64f5b2cd] Finished in 0.236 seconds with exit status 1 (failed). INFO [01ec39bc] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/cache as deploy@52.74.130.28 DEBUG [01ec39bc] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/cache /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/cache INFO [01ec39bc] Finished in 0.219 seconds with exit status 0 (successful). DEBUG [91a998e4] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/sockets ] as deploy@52.74.130.28 DEBUG [91a998e4] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/sockets ] DEBUG [91a998e4] Finished in 0.225 seconds with exit status 1 (failed). DEBUG [c559727b] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/sockets ] as deploy@52.74.130.28 DEBUG [c559727b] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/sockets ] DEBUG [c559727b] Finished in 0.285 seconds with exit status 1 (failed). INFO [be4c07e2] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/sockets as deploy@52.74.130.28 DEBUG [be4c07e2] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/tmp/sockets /home/deploy/apps/aoumi_server/releases/20230331181333/tmp/sockets INFO [be4c07e2] Finished in 0.355 seconds with exit status 0 (successful). DEBUG [0e26e6b2] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/vendor/bundle ] as deploy@52.74.130.28 DEBUG [0e26e6b2] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/vendor/bundle ] DEBUG [0e26e6b2] Finished in 0.303 seconds with exit status 1 (failed). DEBUG [dbca6941] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/vendor/bundle ] as deploy@52.74.130.28 DEBUG [dbca6941] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/vendor/bundle ] DEBUG [dbca6941] Finished in 0.271 seconds with exit status 1 (failed). INFO [182633b5] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230331181333/vendor/bundle as deploy@52.74.130.28 DEBUG [182633b5] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/vendor/bundle /home/deploy/apps/aoumi_server/releases/20230331181333/vendor/bundle INFO [182633b5] Finished in 0.279 seconds with exit status 0 (successful). DEBUG [9fe9039d] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/public/system ] as deploy@52.74.130.28 DEBUG [9fe9039d] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/public/system ] DEBUG [9fe9039d] Finished in 0.281 seconds with exit status 1 (failed). DEBUG [502240a5] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/public/system ] as deploy@52.74.130.28 DEBUG [502240a5] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/public/system ] DEBUG [502240a5] Finished in 0.299 seconds with exit status 1 (failed). INFO [8afbd35c] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230331181333/public/system as deploy@52.74.130.28 DEBUG [8afbd35c] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/system /home/deploy/apps/aoumi_server/releases/20230331181333/public/system INFO [8afbd35c] Finished in 0.259 seconds with exit status 0 (successful). DEBUG [6e107e22] Running [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/public/uploads ] as deploy@52.74.130.28 DEBUG [6e107e22] Command: [ -L /home/deploy/apps/aoumi_server/releases/20230331181333/public/uploads ] DEBUG [6e107e22] Finished in 0.266 seconds with exit status 1 (failed). DEBUG [ab99cad2] Running [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/public/uploads ] as deploy@52.74.130.28 DEBUG [ab99cad2] Command: [ -d /home/deploy/apps/aoumi_server/releases/20230331181333/public/uploads ] DEBUG [ab99cad2] Finished in 0.352 seconds with exit status 1 (failed). INFO [3eaa9541] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230331181333/public/uploads as deploy@52.74.130.28 DEBUG [3eaa9541] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/shared/public/uploads /home/deploy/apps/aoumi_server/releases/20230331181333/public/uploads INFO [3eaa9541] Finished in 0.298 seconds with exit status 0 (successful). DEBUG [7c45f75b] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [7c45f75b] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi DEBUG [7c45f75b] Finished in 0.310 seconds with exit status 0 (successful). INFO [9ccd64c4] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true as deploy@52.74.130.28 DEBUG [9ccd64c4] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local deployment true INFO [9ccd64c4] Finished in 1.279 seconds with exit status 0 (successful). INFO [64ef0d06] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle as deploy@52.74.130.28 DEBUG [64ef0d06] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local path /home/deploy/apps/aoumi_server/shared/bundle INFO [64ef0d06] Finished in 0.865 seconds with exit status 0 (successful). INFO [40586f7f] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test as deploy@52.74.130.28 DEBUG [40586f7f] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle config --local without development:test INFO [40586f7f] Finished in 0.724 seconds with exit status 0 (successful). DEBUG [2727ab3e] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [2727ab3e] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi DEBUG [2727ab3e] Finished in 0.279 seconds with exit status 0 (successful). DEBUG [a370a59c] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle check as deploy@52.74.130.28 DEBUG [a370a59c] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle check DEBUG [a370a59c] The following gems are missing DEBUG [a370a59c] * active_model_serializers (0.10.13) DEBUG [a370a59c] * pagy (6.0.2) DEBUG [a370a59c] * paranoia (2.6.1) DEBUG [a370a59c] * case_transform (0.2) DEBUG [a370a59c] * jsonapi-renderer (0.2.2) DEBUG [a370a59c] Install missing gems with `bundle install` DEBUG [a370a59c] Finished in 1.176 seconds with exit status 1 (failed). INFO [47aeead7] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet as deploy@52.74.130.28 DEBUG [47aeead7] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && ~/.rvm/bin/rvm ruby-3.0.0 do bundle install --jobs 4 --quiet INFO [47aeead7] Finished in 5.486 seconds with exit status 0 (successful). INFO [deploy:migrate] Run `rake db:migrate` DEBUG [6fe3b4b6] Running if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [6fe3b4b6] Command: if test ! -d /home/deploy/apps/aoumi_server/releases/20230331181333; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases/20230331181333'" 1>&2; false; fi DEBUG [6fe3b4b6] Finished in 0.301 seconds with exit status 0 (successful). INFO [e49da604] Running ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate as deploy@52.74.130.28 DEBUG [e49da604] Command: cd /home/deploy/apps/aoumi_server/releases/20230331181333 && ( export RAILS_ENV="development" ; ~/.rvm/bin/rvm ruby-3.0.0 do bundle exec rake db:migrate ) DEBUG [e49da604] == 20230227135020 CreatePosts: migrating ====================================== -- create_table(:posts) -> 0.2105s -- add_index(:posts, :author_id, {:unique=>true}) -> 0.1029s -- add_index(:posts, :deleted_at, {:unique=>true}) -> 0.0582s == 20230227135020 CreatePosts: migrated (0.3719s) ============================= == 20230303165318 DeviseCreateAdmins: migrating =============================== -- create_table(:admins) -> 0.0524s -- add_index(:admins, :email, {:unique=>true}) -> 0.0602s -- add_index(:admins, :reset_password_token, {:unique=>true}) -> 0.0581s -- add_index(:admins, :deleted_at, {:unique=>true}) -> 0.0409s == 20230303165318 DeviseCreateAdmins: migrated (0.2118s) ====================== INFO [e49da604] Finished in 5.256 seconds with exit status 0 (successful). INFO [0447a6e1] Running /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230331181333 /home/deploy/apps/aoumi_server/releases/current as deploy@52.74.130.28 DEBUG [0447a6e1] Command: /usr/bin/env ln -s /home/deploy/apps/aoumi_server/releases/20230331181333 /home/deploy/apps/aoumi_server/releases/current INFO [0447a6e1] Finished in 0.253 seconds with exit status 0 (successful). INFO [bf60630d] Running /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server as deploy@52.74.130.28 DEBUG [bf60630d] Command: /usr/bin/env mv /home/deploy/apps/aoumi_server/releases/current /home/deploy/apps/aoumi_server INFO [bf60630d] Finished in 0.265 seconds with exit status 0 (successful). DEBUG [81c08d95] Running /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases as deploy@52.74.130.28 DEBUG [81c08d95] Command: /usr/bin/env ls -x /home/deploy/apps/aoumi_server/releases DEBUG [81c08d95] 20230119164411 20230129122835 20230129123700 20230225180803 20230227134243 20230331181333 DEBUG [81c08d95] Finished in 0.270 seconds with exit status 0 (successful). INFO Keeping 5 of 6 deployed releases on 52.74.130.28 DEBUG [a2cee322] Running [ -d /home/deploy/apps/aoumi_server/current ] as deploy@52.74.130.28 DEBUG [a2cee322] Command: [ -d /home/deploy/apps/aoumi_server/current ] DEBUG [a2cee322] Finished in 0.319 seconds with exit status 0 (successful). DEBUG [4fd60499] Running /usr/bin/env readlink /home/deploy/apps/aoumi_server/current as deploy@52.74.130.28 DEBUG [4fd60499] Command: /usr/bin/env readlink /home/deploy/apps/aoumi_server/current DEBUG [4fd60499] /home/deploy/apps/aoumi_server/releases/20230331181333 DEBUG [4fd60499] Finished in 0.287 seconds with exit status 0 (successful). INFO [366c599f] Running /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230119164411 as deploy@52.74.130.28 DEBUG [366c599f] Command: /usr/bin/env rm -rf /home/deploy/apps/aoumi_server/releases/20230119164411 INFO [366c599f] Finished in 0.346 seconds with exit status 0 (successful). DEBUG [8f0a0426] Running if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi as deploy@52.74.130.28 DEBUG [8f0a0426] Command: if test ! -d /home/deploy/apps/aoumi_server/releases; then echo "Directory does not exist '/home/deploy/apps/aoumi_server/releases'" 1>&2; false; fi DEBUG [8f0a0426] Finished in 0.288 seconds with exit status 0 (successful). INFO [46f13830] Running /usr/bin/env echo "Branch develop (at c42a4345784392b9d1fd66ed097bf86e4b0a6ee2) deployed as release 20230331181333 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log as deploy@52.74.130.28 DEBUG [46f13830] Command: cd /home/deploy/apps/aoumi_server/releases && /usr/bin/env echo "Branch develop (at c42a4345784392b9d1fd66ed097bf86e4b0a6ee2) deployed as release 20230331181333 by nals_macbook_155" >> /home/deploy/apps/aoumi_server/revisions.log INFO [46f13830] Finished in 0.305 seconds with exit status 0 (successful). INFO [73bc6e27] Running /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development as deploy@52.74.130.28 DEBUG [73bc6e27] Command: /usr/bin/env sudo /bin/systemctl restart puma_aoumi_server_development INFO [73bc6e27] Finished in 0.310 seconds with exit status 0 (successful).