web-deploy
web-deploy copied to clipboard
Error: The process '/usr/bin/rsync' failed with exit code 255
Bug Description A clear and concise description of what the bug is.
My Action Config
on:
push:
# !!!!!!! TODO Fill Out !!!!!!!
My Action Log
# Paste Log here
Bug Description A clear and concise description of what the bug is.
My Action Config
on: push: # !!!!!!! TODO Fill Out !!!!!!!
My Action Log
# Paste Log here
You need to set the folder user ownership at your server.
- Make sure the destination directory is owned by the user running rsync.
- Use chown to change ownership if needed. For example:
sudo chown -R user /path/to/destination
"user" is your server username
Also if you do not have the rsync installed in your linux server, you need to run
sudo apt update && sudo apt install rsync -y
Hey @michellavezzo I managed to get it working after installing Rsync—thank you so much!
Regarding ownership permissions, I encountered a similar issue while using LAMP Packaged by Bitnami on a Lightsail VPS. I couldn't create files until I stumbled upon this fix:
sudo chown -R bitnami:daemon /opt/bitnami/apache/htdocs
sudo chmod -R g+w /opt/bitnami/apache/htdocs
Do you think this setup should work fine?
I've got another question about the rsync options. It appears that the deployment doesn't work when specifying exclusions without these options: --archive --verbose --compress --human-readable --progress --delete-after. Are these necessary? If so, any idea why?
Thanks in advance for your help! 🙏
Hey @michellavezzo I managed to get it working after installing Rsync—thank you so much!
Regarding ownership permissions, I encountered a similar issue while using LAMP Packaged by Bitnami on a Lightsail VPS. I couldn't create files until I stumbled upon this fix:
sudo chown -R bitnami:daemon /opt/bitnami/apache/htdocs sudo chmod -R g+w /opt/bitnami/apache/htdocs
Do you think this setup should work fine?
I've got another question about the rsync options. It appears that the deployment doesn't work when specifying exclusions without these options: --archive --verbose --compress --human-readable --progress --delete-after. Are these necessary? If so, any idea why?
Thanks in advance for your help! 🙏
To be honest, I don't know how to answer your questions hehe, but I hope a good citizen has his answers.