Mirkom63
@Mirkom63
Я программист

Почему не деплоится?

Начинаю деплоить и вылезает такая ошибка, когда дохожу до шага с бандлом.
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 app@78.155.219.102: 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 app@78.155.219.102: 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 app@78.155.219.102
 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 app@78.155.219.102
 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 app@78.15…
 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 app@78.155.219.102
 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 app@78.155.…
 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…
  • Вопрос задан
  • 242 просмотра
Решения вопроса 1
b0nn1e
@b0nn1e
Alcohol & Ruby on Rails
Возможно у вас не хватает память во время уствановки.
Попробуйте добавить SWAP.
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы