2016-04-08 28 views
1

私はCapistranoを介してレールアプリケーションをデプロイする際に問題があります。以下はデプロイメントプロセスのログです。SSHKit :: Runner :: ExecuteError:実行中の例外

DEBUG [9d92ed37] Command: cd /var/www/PROJECT-NAME/releases/20160408041814 && /usr/local/rvm/bin/rvm ruby-2.2.1 do bundle install --path /var/www/PROJECT-NAME/shared/bundle --without development test --deployment --quiet 
DEBUG [9d92ed37] bash: line 1: 2027 Killed     /usr/local/rvm/bin/rvm ruby-2.2.1 do bundle install --path /var/www/PROJECT-NAME/shared/bundle --without development test --deployment --quiet 
(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: 2027 Killed     /usr/local/rvm/bin/rvm ruby-2.2.1 do bundle install --path /var/www/PROJECT-NAME/shared/bundle --without development test --deployment --quiet 

SSHKit::Command::Failed: bundle exit status: 137 
bundle stdout: Nothing written 
bundle stderr: bash: line 1: 2027 Killed     /usr/local/rvm/bin/rvm ruby-2.2.1 do bundle install --path /var/www/PROJECT-NAME/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: 2027 Killed     /usr/local/rvm/bin/rvm ruby-2.2.1 do bundle install --path /var/www/PROJECT-NAME/shared/bundle --without development test --deployment --quiet 
[email protected]:/dipak/sites/PROJECT-NAMEs-Latest$ 

これに対する解決策は何かを理解できません。それはうまく動作する前に、突然それは私にエラーを与えている。

ストレージに問題がある場合、ロットのスペースがあります。

Filesystem  Size Used Avail Use% Mounted on 
udev   230M  0 230M 0% /dev 
tmpfs   49M 616K 49M 2% /run 
/dev/vda1  20G 8.4G 11G 46%/
tmpfs   245M 4.0K 245M 1% /dev/shm 
tmpfs   5.0M  0 5.0M 0% /run/lock 
tmpfs   245M  0 245M 0% /sys/fs/cgroup 
tmpfs   49M  0 49M 0% /run/user/0 

答えて

0

あなたはカピストラーノを実行している間、私がレビューラムのためhtopの使用お使いのLinuxサーバ にスワップ2GBのメモリを追加することができ、4GBのRAMを持つ私のサーバーでは、これはアウトいっぱいでした。そこで、2GBのスワップとカピストラノを追加しました。 https://hk.godaddy.com/en/help/add-memory-swap-centos-17328

関連する問題