Restart/Deploy - Reaper can't find PID

Hi

I’ve been using Capistrano to deploy my application for around 3
months now, and in the last week or so the reaper part of the
restart/deploy tasks is failing with the following message:

executing task restart

  • executing “/home/user/myapp/current/script/process/reaper
    –dispatcher=dispatch.fcgi”
    servers: [“myapp.com”]
    [myapp.com] executing command
    ** [out :: myapp.com] reaper: invalid option:
    –dispatcher=dispatch.fcgi
    ** [out :: myapp.com] Couldn’t find any pid file in
    ‘/home/user/myapp/current/tmp/pids’ matching ‘dispatch.*.pid’
    command finished

I’m running edge rails (about 3 or 4 revisions behind the 1.1.3
release), and the app doesn’t restart properly. I end up having to
call killall manually.

Does anyone know how I can fix the problem or what is causing it?

Please note that I’m running on a shared host.

Regards,

Elliot

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs