私はCapistranoでDigital Oceanにレールアプリケーションを配備しようとしています。 paaggeliログインRails、Capistrano、bitbucket、permission denied(publickey)
:私はこの
00:00 git:check
01 git ls-remote [email protected]:paaggeli/mutetale.git HEAD
01 Permission denied (publickey).
01 fatal: Could not read from remote repository.
01
01 Please make sure you have the correct access rights
01 and the repository exists.
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host
46.101.112.45: Exception while executing on host 46.101.112.45: git exit status: 128
git stdout: Nothing written
git stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
SSHKit::Runner::ExecuteError: Exception while executing on host 46.101.112.45: git exit status: 128
git stdout: Nothing written
git stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
SSHKit::Command::Failed: git exit status: 128
git stdout: Nothing written
git stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Tasks: TOP => deploy:initial
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing on host 46.101.112.45: Exception while executing on host 46.101.112.45: git exit status: 128
git stdout: Nothing written
git stderr: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
capistrano.logファイルサーバーのリターンにssh -T [email protected]
を実行
DEBUG Uploading /tmp/git-ssh-mutetale-production-ubuntu.sh 0.0%
INFO Uploading /tmp/git-ssh-mutetale-production-ubuntu.sh 100.0%
INFO [1baad1b1] Running /usr/bin/env chmod 700 /tmp/git-ssh-mutetale-production-ubuntu.sh on 46.101.112.45
DEBUG [1baad1b1] Command: (export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.4.1" ; /usr/bin/env chmod 700 /tmp/git-ssh-mutetale-production-ubuntu.sh)
INFO [1baad1b1] Finished in 0.156 seconds with exit status 0 (successful).
INFO [2cd1c0fa] Running /usr/bin/env git ls-remote [email protected]:paaggeli/mutetale.git HEAD on 46.101.112.45
DEBUG [2cd1c0fa] Command: (export RBENV_ROOT="$HOME/.rbenv" RBENV_VERSION="2.4.1" GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-mutetale-production-ubuntu.sh" ; /usr/bin/env git ls-remote [email protected]:paaggeli/mutetale.git HEAD)
DEBUG [2cd1c0fa] Permission denied (publickey).
DEBUG [2cd1c0fa] fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
を取得します。
gitまたはhgを使用してBitbucketに接続できます。シェルアクセスは無効です。
今日同じエラーを得ました。しかし、'00:21 bundler:install 'でこの点が打ち切られました。かなり同じエラーログ。 –
スワップメモリを追加すると私の問題が解決しました。可能であればサーバーをアップグレードしようとしてください –
応答@AkashPinnakaありがとうございますが、まだ私は同じエラーがあります –