1

カピストラーノを使用してubuntuサーバーにデプロイしています

簡単な応答:

ubuntu@planhop.net として実行中: 無効なエンコード

以下にログが添付されています詳細な応答は次のとおりです。

    ** ステージングを呼び出す (first_time)
    ** ステージングの実行
    ** load:defaults を呼び出す (first_time)
    ** load:defaults を実行
    ** rvm:hook を呼び出します (first_time)
    ** rvm:hook を実行
    キャップは中止されました!

と:

    SSHKit::Runner::ExecuteError: ubuntu@planhop.net として実行中の例外: 無効なエンコード
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:15:in `ブロック内のレスキュー (2 レベル) in実行する'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:11:in `ブロック (2 レベル) in execute'
    OpenSSL::PKey::EC::Point::エラー: 無効なエンコーディング
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/openssl.rb:160:in `initialize'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/openssl.rb:160:in `new'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/openssl.rb:160:in `read_keyblob'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/buffer.rb:289:in `read_keyblob'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/buffer.rb:248:in `read_key'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:108:in `parse_key'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:75: in `parse_line'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:62:in `block (3レベル) in parse_file'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:60:「各行」
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:60:in `block (2レベル) in parse_file'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:58:in `open'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:58:in `parse_file のブロック'
    /Users/shubham.gupta/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/mutex_m.rb:74:in `synchronize'
    /Users/shubham.gupta/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/mutex_m.rb:74:in `mu_synchronize'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:47:in `parse_file'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:18:in `keys_for'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:122:in `block in search_for'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:121:「マップ」内
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh/known_hosts.rb:121:in `search_for'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/session.rb:96:in `host_keys'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/algorithms.rb:230:in `prepare_preferred_algorithms!'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/algorithms.rb:119:in `initialize'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/session.rb:86:in `new'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh/transport/session.rb:86:in `initialize'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh.rb:237:in `new'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/net-ssh-4.2.0/lib/net/ssh.rb:237:「開始」
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/connection_pool.rb:59:in `call'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/connection_pool.rb:59:in `with'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh.rb:176:in `with_ssh'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/netssh.rb:129:in `execute_command'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/abstract.rb:141:in `create_command_and_executeのブロック'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/abstract.rb:141:in `tap'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/abstract.rb:141:in `create_command_and_execute'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/abstract.rb:55:in `test'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/capistrano-rvm-0.1.2/lib/capistrano/tasks/rvm.rake:21:in `ブロック (3 レベル) in '
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/abstract.rb:29:in `instance_exec'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/backends/abstract.rb:29:in `run'
    /Users/shubham.gupta/.rvm/gems/ruby-2.3.1@rails5/gems/sshkit-1.15.1/lib/sshkit/runners/parallel.rb:12:in `ブロック (2 レベル) in execute'
    タスク: TOP => rvm:hook
4

0 に答える 0