I’ve got Capistrano working perfectly except for one thing: On each deploy, Capistrano fails to restart the FastCGI process. The output shows:
Couldn't find any pid file in '/home/vocaro/researchpla.net/current/tmp/pids' matching 'dispatch.[0-9]*.pid'
(also looked for processes matching "/home/vocaro/researchpla.net/current/public/dispatch.fcgi")
When I look in the current/tmp/pids/ directory on the production server, I never see any files.
I know there are workarounds, such as modifying the restart task to kill any dispatch.fgci process it finds, but I’d still like to know why the pid files aren’t being created.
I’ve read the wiki article but can’t find any mention of this problem. Any suggestions?