ruby on rails - capistrano not restarting, stopping but update is working -
I have recently changed the machine, and there are some bad spots to update the rail. The server itself was as such Was there. Everything seemed fine, but not capistrano when I make changes and update to SVN, then
cap deploy
is correct to the repository The new version is placed on the server. Logging does not show anything from normal to the terminal running the Casistaran, but obviously there is no resumption because the server continues to run. Running
Product
Donate- iMac: Apple's restore $ cap deploy: Restart * execution * Deployed: * Accelerator executed: smf_restart * * Accelerator executed: smf_stop * * Execute "sudo -p 'sudo password:' svcadm disabled / network / statutory / urban production 'server: [" www.urbanisti. Ca "] Password: [www.urbanisti.ca] Command command executed * Accelerator executed: smf_start '* executed" sudo -p' sudo password: 'svcadm enable -r / network / mongrel / urbanistica-production' server: ["Www.urbanisti.ca"] [www.urbanisti.ca] Command command executed * Accelerator executing: restart_apache * * 'sudo -p' sudo executed password: 'svcadm refresh svc: / network / http: cswapache2' Server: ["www.urbanisti.ca"] [www.urbanisti.ca] Command command executed
but there is no clear change. What's going on? Also does not show changes: it's still running the old version which predicts an update.
The problem appears in your custom (or, at least non-built-in) restart function. The task accelerator: smf_restart
, and the associated smf_stop
and smf_start
tasks, which are being asked, are not part of the standard Capitorno Suite. Do you write those works themselves or are they from a Capistron expanse? If so, then what is the expansion?
If you can post links to that extension or post your caption if you have written them yourself, then people will know more specifically what is going wrong.
Comments
Post a Comment