facing some problems with bringing my code per atlassian/rsync-deploy on my ubuntu server.
INFO: Executing the pipe..
INFO: Starting RSYNC deployment to serverIP:../../var/www/domain.com/*...
rsync -rp --delete-after --no-perms --exclude=wp-content/object-cache.php --exclude=wp-content/uploads/* . bitbucket@serverIP:../../var/www/domain.com/*
rsync: mkstemp /var/www/domain.com/htdocs/.git/.HEAD.zduRbf failed: Permission denied (13)
On staging with the same settings there is no problem.
My bitbucket-pipelines.yml is original with these changes:
EXTRA_ARGS: '--no-perms --exclude=wp-content/object-cache.php --exclude=wp-content/uploads/*'
Any idea, how I prevent generating this fault?
Hi @Georg Baur ,
Based on the output, it looks that rsync is trying to create a temporary file but fails due to permission errors.
When you define the pipe atlassian/rsync-deploy in your bitbucket-pipelines.yml file, you specify the user on the remote host to connect as.
Could you please check if this user has write permissions on the directory you are deploying to on your server?
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events