0
私はカピストラーノでコードを展開して処理しながら、午前、私はバンドルstderr:ArgumentError: "... tmp/pids/unicorn.pid"は書き込み不可能です。どのようにそれを解決するには?
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: Exception while executing as [email protected]: bundle exit status: 1
bundle stdout: bundler: failed to load command: unicorn (/home/deployer/apps/project/shared/bundle/ruby/2.4.0/bin/unicorn)
bundle stderr: ArgumentError: directory for pid=/home/deployer/apps/project/current/tmp/pids/unicorn.pid not writable
がどのように私はこの問題を解決しないとエラーが出ますか? deploy.rb
ファイルに何かを設定する必要はありますか?
私は手動でpids
ディレクトリを作成しようとしましたが、777(mkdir -m 777 pids
)に権限を設定しましたが、何も助けにはなりませんでした。
このディレクトリを書き込み可能にするにはどうすればよいですか?