I am currently working with Bedrock for WordPress and until now it really worked quite…okay. Now I am getting an error at deployment, so the deployment tasks fails.

I lately changed some minor stuff and wanted to deploy it. So I pushed everything to my staging repo and executed

bundle exec cap staging deploy 

in my console. A previous check with

bundle exec cap staging deploy:check

was successfully. But when I wanted to deploy, it fails currently (it worked a few days before) and I got this error in console:

00:24 deploy:sync
01 rsync -avzO --exclude-from='config/upload_excludes.txt' -e 'ssh' web/app/uploads/ *user*@*server*:/var/www/wp-wordpress-kwf/shared/web/app/uploads
(Backtrace restricted to imported tasks)
cap aborted!
Errno::ENOENT: No such file or directory - ( export WP_ENV="staging" ; /usr/bin/env rsync -avzO --exclude-from='config/upload_excludes.txt' -e 'ssh' web/app/uploads/ *user*@*server*:/var/www/wp-wordpress-kwf/shared/web/app/uploads )

Tasks: TOP => deploy:sync
(See full trace by running task with --trace)
The deploy has failed with an error: No such file or directory - ( export WP_ENV="staging" ; /usr/bin/env rsync -avzO --exclude-from='config/upload_excludes.txt' -e 'ssh' web/app/uploads/ *user*@*server*:/var/www/wp-wordpress-kwf/shared/web/app/uploads )

[*I masked my user and server here]

So I really dont now what to do here. Any help would be highly appreciated! Thanks in advance!

Read more here: WordPress Bedrock deployment fails at deploy:sync task


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: