2017-07-26 3 views
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)に権限を設定しましたが、何も助けにはなりませんでした。

このディレクトリを書き込み可能にするにはどうすればよいですか?

答えて

0

thisの複製でもよい。

また、正しいパスが正しいですか?私はPIDSのdirはパスがハードコードされた試しが/home/deployer/apps/project/shared/tmp/pids/unicorn.pid

にそれを変更している場合

realease/somethingへのシンボリックリンクになっている)_shared dir_はなく電流であるべきだと思います

関連する問題