Versions:

   - Ruby 2.0.0
   - Capistrano 3.2.1
   - Rake 10.3.2 / Rails 4.0.4

Platform:

   - Working on Windows
   - Deploying to Ubuntu 10.04

Logs:

   - Please past logs (as completely as possible to a 3rd party pasting 
   service such as pastie.org)

Files:

   - Capfile
   - deploy.rb
   - Stage files (production.rb, staging.rb)



*Error while deploying:*

I*NFO[8ec33617] Running /usr/bin/env cp 
/var/www/apps/lafunda/releases/20140623193552/public/assets/manifest* 
/var/www/apps/lafunda/releases/20140623193552/assets_manifest_backup on 
190.4.89.88*

*DEBUG[8ec33617] Command: cd /var/www/apps/lafunda/releases/20140623193552 
&& /usr/bin/env cp 
/var/www/apps/lafunda/releases/20140623193552/public/assets/manifest* 
/var/www/apps/lafunda/releases/20140623193552/assets_manifest_backup*

*INFO[255bf1a9] Running /usr/bin/env cp 
/var/www/apps/lafunda/releases/20140623193552/public/assets/manifest* 
/var/www/apps/lafunda/releases/20140623193552/assets_manifest_backup on 
190.4.89.88*

*DEBUG[255bf1a9] Command: cd /var/www/apps/lafunda/releases/20140623193552 
&& /usr/bin/env cp 
/var/www/apps/lafunda/releases/20140623193552/public/assets/manifest* 
/var/www/apps/lafunda/releases/20140623193552/assets_manifest_backup*

*DEBUG[8ec33617]         cp: target 
`/var/www/apps/lafunda/releases/20140623193552/assets_manifest_backup' is 
not a directory*
*cap aborted!*

*SSHKit::Runner::ExecuteError: Exception while executing on host 
190.4.89.88: cp*
*exit status: 1*
*cp stdout: Nothing written*
*cp stderr: Nothing written*

*SSHKit::Command::Failed: cp exit status: 1*
*cp stdout: Nothing written*
*cp stderr: Nothing written*

*Tasks: TOP => deploy:assets:backup_manifest*
*(See full trace by running task with --trace)*
*The deploy has failed with an error: #<SSHKit::Runner::ExecuteError: 
Exception w*
*hile executing on host 190.4.89.88: cp exit status: 1*
*cp stdout: Nothing written*
*cp stderr: Nothing written*


As far as I understand Capistrano is trying to copy the file to a 
assets_manifest_backup directory in the apps root? This dir doesnt exists.
Running *deploy:assets:backup_manifest *will just ask me for the current 
directory which I dont have as this is a cold deploy.

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/e30f734e-418d-4a2e-9932-1eef22276835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to