Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails when destination path is a subsite or subdomain #43

Open
guyvanbael opened this issue Jun 29, 2016 · 3 comments
Open

fails when destination path is a subsite or subdomain #43

guyvanbael opened this issue Jun 29, 2016 · 3 comments

Comments

@guyvanbael
Copy link

guyvanbael commented Jun 29, 2016

syncing fails when destination path is a subsite (like subsites/subdomain.domain.ext or subsites/subdomain.ext)

@dingjie: screenshot deleted due to reveal of your username and hostname in log window

@guyvanbael guyvanbael changed the title fails when destination is a subiste fails when destination path is a subsite or subdomain Jun 29, 2016
@dingjie
Copy link
Owner

dingjie commented Jun 29, 2016

Destination path does not cause the failure from rsync, I use site names as folder names for all my projects which works well.

"23 Partial transfer due to error" threw by rsync is for everything that could not be transferred.

One situation I can repeat the error is to change the permission of a remote file before sync, which shows the result as below, also you can see the full rsync command from console of chromium inspector.

snap20160630-0

  1. Does the folder of project root exist in remote?
  2. Did you check the permission or owner of your files under .git/ for both local and remote?
  3. Did you commit the project with different account like root? (As I see the error occurred when you tried to sync the .git directory)

You can also try executing the full rsync command from inspector in terminal to find out the problem if all above suggestions do not help you.

@guyvanbael
Copy link
Author

if i run the command from terminal i get following error
rsync: failed to set times on "/data/sites/web/samennaarmeerbe/subsites/encountervlaanderen.be/.": Operation not permitted (1)
if i try to put it in a separate subdir (adding /test after destination), all goes well (i also update rsync to version 3.1.2 since osx ships with 2.6.9)

@guyvanbael
Copy link
Author

syncing from atom gives me the same error-description (Partial transfer due to error, please review your config file.), but the syncing is done correctly now. I tested creating a file, changing a file, deleting a file.

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

No branches or pull requests

2 participants