A
A
Alexander Petrov2016-10-24 22:13:11
Ruby on Rails
Alexander Petrov, 2016-10-24 22:13:11

Why doesn't it deploy?

I start to deploy and I get this error when I get to the step with the bundle.

bundler:install
      01 ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development test --deployment --quiet
      01 bash: line 1: 20581 Killed                  ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development test --deploy…
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: bundle exit status: 137
bundle stdout: Nothing written
bundle stderr: bash: line 1: 20581 Killed                  ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development test --deployment --quiet

SSHKit::Command::Failed: bundle exit status: 137
bundle stdout: Nothing written
bundle stderr: bash: line 1: 20581 Killed                  ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development test --deployment --quiet

Tasks: TOP => deploy:updated => bundler:install
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as [email protected]: bundle exit status: 137
bundle stdout: Nothing written
bundle stderr: bash: line 1: 20581 Killed                  ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development test --deployment --quiet

** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:

 DEBUG [4f1d792b] Command: [ -L /home/app/project/holodspecprom/releases/20161024190615/public/system ]
 DEBUG [4f1d792b] Finished in 0.051 seconds with exit status 1 (failed).
 DEBUG [eb8cb78a] Running [ -d /home/app/project/holodspecprom/releases/20161024190615/public/system ] as [email protected]
 DEBUG [eb8cb78a] Command: [ -d /home/app/project/holodspecprom/releases/20161024190615/public/system ]
 DEBUG [eb8cb78a] Finished in 0.045 seconds with exit status 0 (successful).
  INFO [abb5abbe] Running /usr/bin/env rm -rf /home/app/project/holodspecprom/releases/20161024190615/public/system as [email protected]
 DEBUG [abb5abbe] Command: /usr/bin/env rm -rf /home/app/project/holodspecprom/releases/20161024190615/public/system
  INFO [abb5abbe] Finished in 0.053 seconds with exit status 0 (successful).
  INFO [5fe2adb2] Running /usr/bin/env ln -s /home/app/project/holodspecprom/shared/public/system /home/app/project/holodspecprom/releases/20161024190615/public/system as [email protected]…
 DEBUG [5fe2adb2] Command: /usr/bin/env ln -s /home/app/project/holodspecprom/shared/public/system /home/app/project/holodspecprom/releases/20161024190615/public/system
  INFO [5fe2adb2] Finished in 0.051 seconds with exit status 0 (successful).
 DEBUG [71103fec] Running [ -L /home/app/project/holodspecprom/releases/20161024190615/public/assets ] as [email protected]
 DEBUG [71103fec] Command: [ -L /home/app/project/holodspecprom/releases/20161024190615/public/assets ]
 DEBUG [71103fec] Finished in 0.051 seconds with exit status 0 (successful).
 DEBUG [78ef0355] Running if test ! -d /home/app/project/holodspecprom/releases/20161024190615; then echo "Directory does not exist '/home/app/project/holodspecprom/releases/201610…
 DEBUG [78ef0355] Command: if test ! -d /home/app/project/holodspecprom/releases/20161024190615; then echo "Directory does not exist '/home/app/project/holodspecprom/releases/20161…
 DEBUG [78ef0355] Finished in 0.044 seconds with exit status 0 (successful).
  INFO [38150ad9] Running ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development test --deployment --quiet as [email protected]…
 DEBUG [38150ad9] Command: cd /home/app/project/holodspecprom/releases/20161024190615 && ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle…
 DEBUG [38150ad9] 	bash: line 1: 20581 Killed                  ~/.rvm/bin/rvm 2.3.0 do bundle install --path /home/app/project/holodspecprom/shared/bundle --without development tes…

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Andreev, 2016-10-24
@Mirkom63

Perhaps you do not have enough memory during installation.
Try adding SWAP.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question