Tuesday, August 23, 2016

Uninstalling Synology Cloud Station Mac -- and why you would never have installed it in the first place.

Synology Cloud Station aka Cloud Station Drive stopped working reliably for me in El Capitan.

That’s when I discovered there’s no uninstaller.


I have a rule of not installing Mac apps that can’t be easily uninstalled [1]. Clearly I screwed up. In my experience if a Mac apps doesn’t have a clean uninstall it’s not going to work out well.

Uninstall directions for Ubuntu mention a buried uninstall script in ./Cloudstation; I have Finder set to show invisible files (I like running this way) so I found the Mac version of this in /Users/jfaughnan/.CloudStation (you might be able to open this using Finder Go). I couldn’t find an uninstall script in the Mac package though. I didn’t find anything useful on Synology forums; a site that markets a (worthless) Mac uninstaller app gave generic directions.

This is what I did. I think EasyFind will do most of the work for you - just search on Synology.

  1. Exited Synology Cloud Station from the blue cloud icon Finder bar thing.
  2. Searched Activity Monitor for Synology and Cloud. Found two processes called “synology cloud station drive finder integration” and killed both.
  3. Deleted /Applications/Synology Cloud Station.app
  4. Deleted /Users/jfaughnan/.CloudStation
  5. Used EasyFind.app (love it) to search for all files and folders containing “synology” including Invisible Files and Folders and Package Contents. It found a ton of crap. For example: /private/var/folders/5c/gx565vx110gcdhxn10mbddfh0000gp/T/com.synology.CloudStation.FinderSync [2][3]. I deleted that and several more. I’ve included below a set of partial screenshots form Easy Find (shame I don’t know enough unix to do this in shells and dump results). It’s a mess, but in practice I only had to delete 3-4 things to clear them all out. (If you have other Synology tools installed you’ll probably damage them too, but really you shouldn’t let Synology touch your Mac.)
  6. Log out and then in again to confirm Finder iteration is gone.
Ugh. What a mistake that was.
Examples from EasyFind (many of these are package contents, so only need to find Package or Folder and delete the lots)

- fn -

[1] Lack of OS uninstall support is one of the historic defects of macOS / OS X.

[2] cmd-opt-c to copy file path is the best feature of El Capitan. Almost as good as old cmd-opt-shift-v for paste as plain text.

[3] There are lots of weird files in ‘5c’, looks like some kind of cache/dumping ground. I just deleted the Synology one. There’s also a com.microsoft.OneDrive-mac.FinderSync in there. Turns out Finder Sync is a newish OS X API that does a lot of interesting things (probably with bugs and Finder screw-ups, knowing Apple):

… The Finder Sync extension point lets you cleanly and safely modify the Finder’s user interface to express file synchronization status and control. Unlike most extension points, Finder Sync does not add features to a host app. Instead, it lets you modify the behavior of the Finder itself….

… With a Finder Sync extension you register one or more folders for the system to monitor. Your Finder Sync extension then sets badges, labels, and contextual menus for any items in the monitored folders. You can also use the extension point’s API to add a toolbar button to the Finder window or a sidebar icon for the monitored folder…

… Finder Sync supports apps that synchronize the contents of a local folder with a remote data source. It improves user experience by providing immediate visual feedback directly in the Finder. Badges display the sync state of each item, and contextual menus let users manage folder contents. Custom toolbar buttons can invoke global actions, such as opening a monitored folder or forcing a sync operation…

…  the user may have multiple copies of your extension running at once, and some may be very short lived…

Update 8/23/2016: I can’t kill the Finder integration on Emily’s Mac. Keeps returning. This thing must have malware in its code base.

1 comment:

Real Imaginary said...

Thank you for the post. I am having the same issue removing the folder icon. Ugh!!