ruby on rails - Bundle stderr: ArgumentError: "...tmp/pids/unicorn.pid" not writable. How to solve it? -
i deploying code capistrano , while process, error that
sshkit::runner::executeerror: exception while executing deployer@ip: exception while executing deployer@ip: bundle exit status: 1 bundle stdout: bundler: failed load command: unicorn (/home/deployer/apps/project/shared/bundle/ruby/2.4.0/bin/unicorn) bundle stderr: argumenterror: directory pid=/home/deployer/apps/project/current/tmp/pids/unicorn.pid not writable how solve issue? need set in deploy.rb file?
i've tried manually create pids directory, set permissions on 777 (mkdir -m 777 pids), nothing helped.
how can make directory writable?
this may duplicate of this.
also sure path right? think pids dir should under _shared dir_ , not current (which symbolic link realease/something)
if path hardcoded try changing /home/deployer/apps/project/shared/tmp/pids/unicorn.pid
Comments
Post a Comment