Lsyncd Exits with <rsync error: some files/attrs were not transferred>

425 views
Skip to first unread message

Madan Prabhu

unread,
Feb 20, 2017, 2:32:55 AM2/20/17
to lsyncd
Dear Folks,

I'm one of millions happy users of lsyncd for my daily activities. It works fine for my huge file directories.

But, in just a week back; it's not working and few directories not copied and inotify watches are also not created.

Due to the following error;

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]


This is due to the files, which were temporarily created in the production live servers. All those files are starts with . [dot].

I have configured to exclude the files which are starts with dot in the lua config file. But, initial rsync even tries to sync these files.

I also included insist flag as true.

Axel Kittenberger

unread,
Feb 20, 2017, 3:51:58 AM2/20/17
to lsyncd
This is due to a yet unresolved bug in rsync:

https://bugzilla.samba.org/show_bug.cgi?id=12569

It regards the new rsync 3.1.x --delete-missing-args feature Lsyncd 2.2.0 and 2.2.1 try to take use of.

Current solution: upgrade to Lsyncd 2.2.2 which reverts to the previous inclusion mask generation to workaround this bug.

Why this? --delete-missing-args should be more efficient than the "--exclude=* --include=-" way Lsyncd 2.1.x used rsync and 2.2.2 now reverted to again until there is a rsync released with this fixed.

Kind regards, Axel




--
You received this message because you are subscribed to the Google Groups "lsyncd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsyncd+unsubscribe@googlegroups.com.
To post to this group, send email to lsy...@googlegroups.com.
Visit this group at https://groups.google.com/group/lsyncd.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages