stopping or uninstalling universal search on dsm 7

2021-01-07

Quick post to keep note of something useful. Hope it helps you as well in case you look for it. I used to stop services on my Synology using either the synoservicecfg command, the synoservicectl command, or the synoservice one. I never understood which one was the correct one.

It seems that Synology has removed all these commands with the upcoming DSM7, now in beta.

The new command to use is synopkg (/usr/syno/bin/synopkg). And here I show how to use it for stopping and/or removing Universal Search (DSM feature to index your content for quick search.).

Stop a service with synopkg stop <package> (create a startup task to disable it permanently):

/usr/syno/bin/synopkg stop SynoFinder
{"action":"prepare","error":{"code":0},"stage":"prepare","success":true}

Check the service status with synopkg status <package>

/usr/syno/bin/synopkg status SynoFinder
SynoFinder package is stopped
Status: [1]

Uninstall a service with synopkg uninstall <package>.

/usr/syno/bin/synopkg uninstall SynoFinder
{"action":"prepare","error":{"code":0},"stage":"prepare","success":true}

Let’s check again that the removal was successful:

/usr/syno/bin/synopkg status SynoFinder
No such package SynoFinder
Status: [255]

Find a list of all installed services with /usr/syno/bin/synopkg list and use the package name without the -version part.


I do not use a commenting system anymore, but I would be glad to read your feedback. Feel free to contact me.