Skip to content

Fix rsync error 23 in Cloudways deployment#10

Merged
ideag merged 2 commits into
trunkfrom
copilot/fix-deploy-website-workflow-fail
Mar 29, 2026
Merged

Fix rsync error 23 in Cloudways deployment#10
ideag merged 2 commits into
trunkfrom
copilot/fix-deploy-website-workflow-fail

Conversation

Copilot AI commented Mar 29, 2026

Copy link
Copy Markdown

The deploy-website workflow fails with rsync error 23 ("some files/attrs were not transferred") when deploying to Cloudways.

Changes

.github/workflows/deploy-website.yml

Replaced rsync archive mode with explicit flags:

- rsync -avz -e "ssh ..." --delete
+ rsync -rtvzL --no-perms --no-owner --no-group -e "ssh ..." --delete
  • -L: Dereference symlinks (copy target files instead of symlinks)
  • --no-perms --no-owner --no-group: Skip permission/ownership preservation (shared hosting restriction)

The -a flag includes -l (preserve symlinks as symlinks). Broken symlinks or symlinks pointing outside the source tree trigger error 23. Following symlinks with -L copies actual file content, making deployments robust on managed hosting.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • download.cypress.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node index.js --exec install (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

Copilot AI linked an issue Mar 29, 2026 that may be closed by this pull request
Replace -a flag with explicit flags and add -L to follow symlinks.
Add --no-perms --no-owner --no-group to avoid permission issues.
This prevents "some files/attrs were not transferred" error.

Agent-Logs-Url: https://github.com/tinypluginlabs/demo/sessions/6538ea5e-cb6c-487b-ac52-a6ae64e119e0

Co-authored-by: ideag <3252474+ideag@users.noreply.github.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying demo-static with  Cloudflare Pages  Cloudflare Pages

Latest commit: ffff257
Status:⚡️  Build in progress...

View logs

Copilot AI changed the title [WIP] Fix workflow fail in deploy website process Fix rsync error 23 in Cloudways deployment Mar 29, 2026
Copilot AI requested a review from ideag March 29, 2026 08:36
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
demo ffff257 Mar 29 2026, 08:36 AM

@ideag ideag marked this pull request as ready for review March 29, 2026 08:55
@ideag ideag merged commit da6571e into trunk Mar 29, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

workflow fail

2 participants