-
Notifications
You must be signed in to change notification settings - Fork 478
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
Only sync when launch after upgrade to 10.15.1 #587
Comments
have the same problem |
I have too this problem. Files are synchronized once, after running lsyncd.
Log file: lsyncd.log Wed Dec 18 15:01:43 2019 Normal: --- Startup, daemonizing --- Log file: lsyncd.status Lsyncd status report at Wed Dec 18 14:59:07 2019 Sync1 source=PATH_TO_PROJECT_1 Inotify watching 0 directories |
I have been seeing the same thing. I am using ssh to handle this, but i see the same thing in the status log with nothing being watched. I have yet to find anything that has made any change whatsoever. |
Have the same problem as well right after updating to 10.15.3 (Catalina). Tried a bunch of things including giving rsync , lsyncd access to File System, removing all filtering options, changing target directories. Nothing worked |
has the same problem |
Honestly I dropped OSX support for quite a while now. Sorry. If someone wants to do this, he or she has to fork this project. |
I noticed that 10.15.3 is adding "/System/Volumes/Data" as prefix to the path returned by fsevents. So this issue can be fixed by removing this prefix in fsevents.c / handle_event Works fine in 10.15 after that |
Hi @stef1205, can you share the changes you made? |
Sure, here you go.
There might other things I was testing but look for the two strncmp lines that test if the path starts with "/System/Volumes/Data”
SK
… On 12 Jun 2020, at 3:56 am, Daniel Julius Lasiman ***@***.***> wrote:
Hi @stef1205 <https://github.com/stef1205>, can you share the changes you made?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#587 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AL6GULMISSUYL7QV4HU53XTRWELGTANCNFSM4J2IPVZA>.
|
Note: I managed to resolve this issue on 10.15.6 without touching source code by simply prepending "/System/Volumes/Data/" to the source path defined in my config file. |
Hello Dylan, My solution was to get rid of "/System/Volumes/Data" in fsevents.c:
} |
Apparently, beginning with macOS 10.15 Catalina, fsevent paths are prefixed with "/System/Volumes/Data". Remove it to restore event notification feature on macOS. Fixes lsyncd#587
No description provided.
The text was updated successfully, but these errors were encountered: