Ich Bereitstellung von Code mit Capistrano und während des Prozesses, erhalte ich die Fehlermeldung, dassBündel stderr: ArgumentError: "... tmp/pids/unicorn.pid" nicht beschreibbar. Wie man es löst?
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
Wie löse ich dieses Problem? Muss ich etwas in der Datei deploy.rb
einstellen?
Ich habe versucht, manuell erstellen pids
Verzeichnis, Berechtigungen auf 777 (mkdir -m 777 pids
), aber nichts half.
Wie kann ich dieses Verzeichnis schreibbar machen?