unox icon indicating copy to clipboard operation
unox copied to clipboard

unison-fsmonitor symlink is not created

Open bedrich-schindler opened this issue 7 years ago • 2 comments
trafficstars

Hello,

I would like to report the problem that occurs after successful installation of unox. We use unox with unison and docker-sync on MacOS High Sierra, we have everything is up-to-date and we install unox using brew.

I installed unison, unox and docker-sync on my device more than 6 months ago and everything went good that time. When we tried to install same stack few days ago (also today) on other devices, we observed that file watcher does not work. I started to debug it on one of our company device and I found that unison is installed in /usr/bin/Cellar/unison/2.48.4_1/bin/unison and symlink /usr/local/bin/unison points to that executable. Although unox is installed in /usr/bin/Cellar/unox/0.2.0_1/bin/unison-fsmonitor, symlink /usr/local/bin/unison-fsmonitor does NOT exist. When I manually create this symlink then everything works as expected.

I am afraid that I cannot provide you more details about this problem. On my Mac works everything as expected, on three other Mac it does not create symlink, so I had to fix like this ln -s /usr/local/bin/Cellar/unox/0.2.0_1/bin/unison-fsmonitor unison-fsmonitor.

Thank you for your time you spent on tools like this, it helps a lot!

bedrich-schindler avatar Mar 16 '18 14:03 bedrich-schindler

We've been seeing the issue here a few times. For us, it manifests as this error when starting docker-sync: Fatal error: No file monitoring helper program found

brew unlink unox && brew link unox seems to solve the issue for us, and is a bit cleaner than manually doing ln -s.

But yes, this is an issue that should probably be fixed.

greggilbert avatar Mar 26 '18 20:03 greggilbert

Is your problem solved

uzkjzjjz avatar Mar 24 '23 09:03 uzkjzjjz