I am trying to deploy a rails application with capistrano, and getting
the following error after deploy:migrate.
* executing `deploy:start'
triggering before callbacks for `deploy:start'
* executing `make_spin_script_executable'
* executing "cd /home/melvin/public_html/fibjproductions.com/current
&& chmod +x script/spin"
servers: ["fibjproductions.com"]
[fibjproductions.com] executing command
command finished
* executing "cd /home/melvin/public_html/fibjproductions.com/current
&& sudo - p 'sudo password: ' -u melvin nohup script/spin"
servers: ["fibjproductions.com"]
[fibjproductions.com] executing command
*** [err :: fibjproductions.com] script/spin: 1: /home/melvin/
public_html/fibjproductions.com/current/script/process/spawner:
Permission denied
command finished
command "cd /home/melvin/public_html/fibjproductions.com/current &&
sudo -p 'sudo password: ' -u melvin nohup script/spin" failed on
fibjproductions.com
I added the make_spin_script_executable to the deploy.rb file to
remove the error message that it cannot run script/spin. It now seems
to run it, but with the error message for ~/process/spawner. It looks
like an error with the line in the script/spin file (based on the err
line), but that file has only one line,
/home/melvin/public_html/fibjproductions.com/current/script/process/
spawner -p 8000 -i 2 -e production
the permissions on the spin file is as follows:
-rwxrwxr-x 1 melvin www-data 102 Jun 19 05:23 spin
Going to the domain address gives the following error. 502 Bad
Gateway.
Any ideas on the cause of the problem, I just need to be pointed in
the right direction.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---