Closed magary4 closed 7 years ago
well unox nowdays uses watchdog, not fswatch, in some cases, this seems to lead not better, rather worse results - probably as in your case.
You might consider migrating to native_osx since i will not put any time in debuggin fswatch/macfsevents issues cause by the low level implementations. That is just waste of time and does not scale anyway.
So if unox+watchdog does not work for you use case, you should (that or this way) migrate to native_osx
As I have wrote in description, I have tried both strategies. In unison-mode file .pid appears and disappears when i open site first time In native_osx-mode file .pid even not appears This is terminal-log:
Digest: sha256:ecf4184fc985e0f2fa6a0bfabcc5dd78008785dc5b04eca68fe5987e9d8796db Status: Downloaded newer image for eugenmayer/unison:hostsync ok starting initial sync of end-docker-sync success Sync container started
Despite of sync_strategy: native_osx
Also I cannot work with my other projects anymore That is the output from another project
ok Starting native_osx
ok pf-docker-sync container not running
ok creating pf-docker-sync container
command docker run -v pf-docker-sync:/app_sync -v /Users/anuk/www/pfleiderer:/host_sync -e VOLUME=/sync -e TZ=${TZ-readlink /etc/localtime | sed -e 's,/usr/share/zoneinfo/,,'
} -e UNISON_EXCLUDES="" -e UNISON_SYNC_PREFER="-prefer /host_sync" -e MAX_INOTIFY_WATCHES="100000" --privileged --name pf-docker-sync -d eugenmayer/unison:hostsync
ok starting initial sync of pf-docker-sync
but even file *.pid is not appears
you are the only person right now with such an issue, so i recommend looking for a local configuration issue. Be it some pid leftovers, maybe a restart, try to restart the docker engine and then run docker system prune
and try to run docker-sync again
Closing due to inactivity
Error/Feature Requestion/Docs
I have been using docker-sync on my Mac for half year, but I have got problems yesterday: It crashes after first synchronisation
Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system. warning Could not find unison-fsmonitor (unox) binary in $PATH. Trying to install now command brew tap eugenmayer/dockersync && brew install eugenmayer/dockersync/unox I will install unox through brew for you?
also in log file:
I have tried to run
brew tap eugenmayer/dockersync && brew install eugenmayer/dockersync/unox
and a lot another variants to install and to solve the problemI have also updated brew and upgraded brew and gems, I have tried to uninstall docker-sync and install it again,
Docker Driver
d4m
Sync strategy
native_osx, unison
your docker-sync.yml
OS
OSX 10.11.6
I have run it in loop now via bash-script each 10 seconds to have posibilities to work, please help me to find the problem