Error while trying to copy to a assets_manifest_backup directory inside the app root

314 views
Skip to first unread message

Jose Nova

unread,
Jun 23, 2014, 4:29:36 PM6/23/14
to capis...@googlegroups.com
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:

INFO[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.

Reply all
Reply to author
Forward
0 new messages